Skip to Content
author's profile photo
Former Member

J2EE ClusterID of the executing node in program

Hello All,

Can anybody help me with sample code to find ClusterID of the J2EE server node on which the program is running.

Trying to make some sort of debugging code to generate an iView which will tell that which server user is attached to based on the ClusterID.

I guess this code may need to read J2EE core services or depend on JSESSIONID cookie.

Thanks In advance.

Regards

Ashutosh

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Feb 11, 2005 at 11:38 PM

    Hello Ash,

    What version are you using? With NetWeaver I found that it wasn't the JSESSIONID cookie, but saplb_, e.g., I could append "?saplb_=618025250" to the URL and it would to that Java server node. I double checked it by adding a test html file to each irj\root directory (and called it with "irj/test.html?saplb_*=<clusterid>").

    Cheers,

    Sean

    Add comment
    10|10000 characters needed characters exceeded