on 07-22-2008 7:59 PM
Hello all,
In my jsp dyn page java application, what code would I use to figure out which physical portal server I am connected to? I realize that I could find the server node number from the saplb_* cookie, but I really don't want to mess with having to translate that.
Thanks!
-StephenS
Hi Stephen,
Try following code:
String systemID = System.getProperty("SAPSYSTEMNAME");
//for Instance Info or for Server info
System.getProperty("Host");
The instance host name.
System.getProperty("HttpPort");
The HTTP port.
System.getProperty("HttpsPort");
The HTTPS port.
System.getProperty("Name");
The name of the instance.
System.getProperty("Description");
for complete list of properties visit:-
http://help.sap.com/saphelp_nw04/helpdata/en/18/58dc3efc966856e10000000a114084/frameset.htm
this solves your problem...
Regards,
yogesh...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try using HTTP trace tool.
Thanks and Regards,
gopal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.