[jboss-user] [EJB/JBoss] - Multiple war in one ear, deployed to root context in differe

sverker do-not-reply at jboss.com
Thu Feb 12 19:46:12 EST 2009


I have an application where several sites works with one common back end. That is implemented by having one ear file with multiple war files, one per each site with virtual-host and context-path set in jboss-web.xml.

If I add schema information to application.xml then the ear fails to deploy, it requires context-path to be set for each web module and each has to be unique, i.e. I can't set all to /. It doesn't take into account that those web modules use different virtual host.

The only workaround I've found so far is to not have any schema information in the file, hence it's not validated.

What is the correct way to solve this issue?

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

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209736



More information about the jboss-user mailing list