Skip to Content

Which portal server is my app using?

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.



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 23, 2008 at 05:26 AM

    Hi Stephen,

    Try following code:

    String systemID = System.getProperty("SAPSYSTEMNAME");
    //for Instance Info or for Server info
    The instance host name.
    The HTTP port.
    The HTTPS port.
    The name of the instance.

    for complete list of properties visit:-

    this solves your problem...



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 23, 2008 at 05:14 AM


    Try using HTTP trace tool.

    Thanks and Regards,


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.