on 11-15-2007 9:51 PM
Hi!
From where can this information obtained that the port is really
50000?
regards
sas
Sas,
You can get your Server url and port number like this.
String hostName = TaskBinder.getCurrentTask().getProtocolAdapter().getServerName();
int port = TaskBinder.getCurrentTask().getProtocolAdapter().getServerPort();
wdComponentAPI.getMessageManager().reportSuccess("hostName :"+hostName "port :"port);
Regards,
Sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sridhar!
Where is the best suitplace place to edit these lines whithin
WebDynpro Project ?
String hostName = TaskBinder.getCurrentTask().getProtocolAdapter().getServerName();
int port = TaskBinder.getCurrentTask().getProtocolAdapter().getServerPort();
wdComponentAPI.getMessageManager().reportSuccess("hostName :"+hostName "port :"port);
Hi Mr. Sas,
The Standard convention to be followed for checking the J2EE port no. is, 5<instance no.>00. You will know the instance number if you would have installed the WAS setup. Else if you have remote access to the server, you may check the folder name F:\usr\sap\J2E\<JC(instance no.)> to get the instance number.
Hope this helps.
Regards,
Rekha Malavathu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello!
TaskBinder is unknown . Whats wrong. Did I forget to import any Java package?
reagards
sas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.