[jboss-dev-forums] [Design of JBoss/Tomcat Integration] - Re: Programmatic configuration of jvmRoute
bstansberry@jboss.com
do-not-reply at jboss.com
Fri Oct 26 10:41:45 EDT 2007
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#4099340
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099340
More information about the jboss-dev-forums
mailing list