on 11-16-2007 6:23 AM
Dear Experts
1)How can i get Messageserver port and Messagege server host in development.
Plz send a code snippet.(Belonging to sap j2eeengine)
Hi,
You can use the following code:
String hostName = TaskBinder.getCurrentTask().getProtocolAdapter().getServerName();
int port = TaskBinder.getCurrentTask().getProtocolAdapter().getServerPort();
wdComponentAPI.getMessageManager().reportSuccess("hostName :"+hostName "port :"port);
thanks & regards,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gurram,
Try opening the default portal page.
http://<hostname>:<portno>/index.html
Click System Information. Give user id and pssword if it requests for one.
You will find the message server's host and port from here.
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.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.