instance-id instead of jvmRoute in JBoss 7

If you are looking for 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 following in standalone.xml, look for the line having domain:web
instance-id="server1"

Ex:

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

It’s easy. Isn’t it?

Reader Interactions

Comments

Your email address will not be published. Required fields are marked *