If it were changed programatically (which, given the earlier part of the thread, is very
probably not necessary) it would just be as part of the startup sequence of JBossWeb,
before the AJP connector is even started. E.g.
TomcatDeployer does what it does now which results in parsing server.xml, Engine object
being created.
Added step: TomcatDeployer sees it's configured with useJK=true, sees
Engine.getJvmRoute() == null, so it creates a jvmRoute value based on the global server Id
and calls Engine.setJvmRoute().
Existing process continues: TomcatDeployer.startConnectors() gets called when the signal
comes in that the overall AS start is done.
Previously unstated: the user would of course have to know how JBossWeb is going to
convert the server Id into a jvmRoute, and use the correct worker name in
workers.properties.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099340#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...