Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [Installation,
 Configuration & DEPLOYMENT] - Sharing wars between virtual hosts

scott.stark@jboss.org

2007-07-17


Hi,
I'm moving my application from Tomcat to JBoss and I have a question. I need to allow multiple virtual hosts to use the same wars. On Tomcat I did this with hosts described in server.xml and context fragments (TOMCAT_DIR/conf/Catalina/my-host.com/ROOT.xml) for each domain. Within these context fragments I gave each virtual host it's own JNDI key so that it had access to it's data.

In JBoss I have moved the wars into an ear. From what I can gather, virtual hosting is then managed by a jboss-web.xml file in the WEB-INF directory of each WAR. This doesn't seem to give me the option of setting up each context with it's own JNDI key. Can I use the Tomcat context fragments solution in JBoss' jbossweb-tomcat55.sar/conf directory?

Thanks,

Steve

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065029#4065029

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065029
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.