Suggest you look at deploying in an ear file.

I put all jars/wars into the root of the EAR and then reference them in 
META-INF/application.xml.

i.e.

<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/j2ee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="1.4" 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd";>
  <display-name>MyAppEAR</display-name>
  
        PortletUtils.jar
   
  
        jboss-seam.jar
    
  
        jboss-seam-ui.jar
  
    
    MyAppEJB.jar
  
  
    
      <web-uri>MyAppWeb.war</web-uri>
    
  



Don't forget META-INF/jboss-app.xml to define your class loader i.e.

<jboss-app>
      <loader-repository> 
      seam.jboss.org:loader=myapp-loader
      </loader-repository> 
</jboss-app> 

Hope this helps.
Andy.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980538
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to