0 Replies Latest reply on Nov 11, 2007 9:45 AM by pesho4uka

    EAR deployment problem

    pesho4uka

      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.