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.

Thanks!

-StephenS

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

    Add a comment
    10|10000 characters needed characters exceeded

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

    Hi,

    Try using HTTP trace tool.

    Thanks and Regards,

    gopal

    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.