4

I joined a new project recently , I see JVMIDs very frequently in the configuration files and Somehow I had never come across JVMIDs in my past projects.

Where can I find it documented , is it something specific to the weblogic servers? Is it meant for precisely identifying a JVM in a clustered environment ?

Nishant
  • 4,659
  • 2
  • 27
  • 43
  • 1
    for example , there is a class that stores the configuration propertiesof the application ,its a singleton class and upon initialization it stores the JVMID .The JVMID is retrieved from an environment variable . – Nishant Jul 17 '12 at 09:02
  • 2
    also I found out that the weblogic appends the JVMID to the jsessionid , separated by "!". – Nishant Jul 17 '12 at 09:08
  • 1
    e.g. a JSESSIONID looks like "1mh0QFnGkFtfsNGSVpcB4Yn3L8zRnCGhJcTxx0Q71Ltz1CyBTyQY!1380954154" . The part after the ! is a JVMID – Nishant Jul 17 '12 at 09:29
  • 4
    Ok see my answer at http://stackoverflow.com/a/6438474/289396 – JoseK Jul 17 '12 at 11:14
  • You may also be able to retrieve the JVMID using the `jps` command-line utility. – Jeff Feb 08 '13 at 19:16

1 Answers1

2

The JVMID is the ID of the current server instance, I don't believe its WLS specfic.

You can get more information around this via this link JVMID

Also this question might be useful.

Weblogic Apache plugin and session stickiness

Community
  • 1
  • 1
Rhys
  • 2,807
  • 8
  • 46
  • 68