instance-id instead of jvmRoute in JBoss 7

If you are looking for a jvmRoute parameter in JBoss 7, you have come to the right place.

I was looking for the same, and after some search, I found that you can use instance-id instead of jvmRoute in JBoss 7.

To configure jvmRoute, you have to do following.

  • Go to JBoss/standalone/configuration folder
  • Add the following in standalone.xml, look for the line having domain:web


<subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false" instance-id="server1>

It’s easy. Isn’t it? Learn more about JBoss here.