cancel
Showing results for 
Search instead for 
Did you mean: 

Which portal server is my app using?

stephen_spalding
Contributor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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...

Answers (1)

Answers (1)

former_member193769
Active Contributor
0 Kudos

Hi,

Try using HTTP trace tool.

Thanks and Regards,

gopal