[jboss-user] [JBoss Portal] - Re: JBoss Portal - EAR Deploy Problem

CJEMSINC do-not-reply at jboss.com
Mon Jan 19 17:15:36 EST 2009


I could not deploy an ear but I can rename my ear as a .SAR under the following conditions

The packages are in a jar file and located in the [SAR]/lib directory
The jboss-service.xml will not get picked up by the class loader unless it is in the [SAR]/META-INF directory.


It should look like this

myPortal.sar
    /lib
         /org/myPackage/myClass.class
   /META-INF
         jboss-service.xml

I set this up in eclipse and export as an ear, then rename it to SAR.  Hope this helps.

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

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



More information about the jboss-user mailing list