[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Exploded EAR deployment problem

jaikiran do-not-reply at jboss.com
Mon Sep 29 05:24:12 EDT 2008


"tamilsmani" wrote : I have configured all 3 different projects in application.xml in EAR project and I referenced in JBOSS server.
  | 
  | The application.xml file entry as follows:
  | <application>
  |   |   <display-name>VPS_EAR</display-name>
  |   |     <module>
  |   | <ejb>../../../../../../VPS_WORKSPACE\VPS_EJB\classes.jar</ejb>  // The location where my EJB project is exist
  |   |   </module>
  |   |     <module>
  |   |     <web>
  |   |       <web-uri>/../../../../../VPS_WORKSPACE\VPS_WEB\WebContent</web-uri> // The location where my WEB project is exist
  |   |       <context-root>/VPS</context-root>
  |   |     </web>
  |   |   </module> 
  |   | </application>
  |   | 
  |             
  |  

Are you packaging the war and the ejb jar inside the EAR? The application.xml looks incorrect. The path is relative to the root of the ear. So it should look like:

  | <application>
  |   <display-name>VPS_EAR</display-name>
  |     <module>
  | <ejb>classes.jar</ejb>  
  |   </module>
  |     <module>
  |     <web>
  |       <web-uri>WebContent.war</web-uri> 
  |       <context-root>/VPS</context-root>
  |     </web>
  |   </module> 
  | </application>

The jar and the war will be at the root of the EAR.


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

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



More information about the jboss-user mailing list