[jboss-user] [Installation, Configuration & DEPLOYMENT] - EAR deployment problem
pesho4uka
do-not-reply at jboss.com
Sun Nov 11 09:45:12 EST 2007
Hello. I am using jboss 4.0.5, JSF and EJB3.0. I have created two ear files for two modules of e-commerce solution the customer application and the admin panel. Both application share a common web jar and ejbs.
My customer application.xml looks like this:
<display-name>The facecart application ear</display-name>
ecm.core.jar
ecm.facade.jar
ecm.facade_client.jar
ecm.web.jar
ecm.web.customer.jar
<web-uri>ecm.web.customer.war</web-uri><context-root>/ecm.web.customer</context-root>
commons-fileupload.jar
My admin panel application looks like:
<display-name>The facecart application ear</display-name>
ecm.core.jar
ecm.facade.jar
ecm.facade_client.jar
ecm.web.jar
ecm.web.merchant.jar
<web-uri>ecm.web.merchant.war</web-uri>
<context-root>/ecm.web.merchant</context-root>
As you can see they share the same jar files with small exception.
In ecm.web.jar I have some JSF managed beans they are described in the faces-config.xml inside the META-INF folder. So my problem is that:
When I start the customer application. I cannot start the merchant applications later. The managed bens are missing and the resource bundles are not loaded.
If I start the admin application. Happens the same but with the customers application. What is going on??
Can you please help me? How to deploy the two WARS without interfering each other. Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103483#4103483
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103483
More information about the jboss-user
mailing list