You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

I want to set the client host to a value other than the preset value ("localhost"). Can please advice how it should be set?
Configure it through the context/Default.properties file not seems work as the file will disappear after I restart the application. In the Run tab, the Context tab is not editable.
Please advice.
Thanks.
Regards,
Yong
Offline
Hi
If you want to set the context value, you should set it in Contexts viewer, not in runjob viewer. Then, press Ctrl+Space bar to use the context.
Best regards
shong
Offline

Hi Shong,
Ok. I can set the value in context tab. Can you advise, how should I set if I want to change the value of portStats to value other than "3334"?
From the java codes of the job, I can see the value can overridden if there is a parameter named "--state_port=XX" being assigned. But how should I pass in this parameter? I tried to change this value in the context/.properties file but it doesn't seems work.
Please advice.
Thanks.
Regards,
Yong
Last edited by Yong (2007-11-23 11:02:34)
Offline
Hi
how should I set if I want to change the value of portStats to value other than "3334"?
Do you want to change the port values to other values instead of 3334? if so, define a context 'port' in context viewer and set its values. Then, press Ctrl+Space bar and select: context.port in port fileds.
Best regards
shong
Offline

Hi,
Changes I make by press Ctrl + Space bar should be in the job.java file right?
I observed the changes make, cannot be saved. It will back to its default value : 3334 after I run / debug it.
How should I set the java file to take the value from the context view?
Please advice.
thanks.
Regards,
Yong
Last edited by Yong (2007-11-23 11:44:13)
Offline
Hi
Can you show a screenshot of your job ?
Best regards
shong
Offline
Hi
Your screenshots should contain context viewer, your job design and where would you use the context.
Best regards
shong
Offline

Hi,
I'm still trying on the webservices. I suspect that the port and proxy I'm using is not allow me to access the web service. So I'm trying to change the port in the code by using the context. Not sure this will be the correct way to go.
Please advice.
Thanks.
Regards,
Yong
Offline
Pages: 1