This content has been marked as final.
Show 4 replies
-
1. Re: how to package sar in ear file
cdollar393 Feb 1, 2006 12:28 PM (in response to john_woo)I'm no expert on jboss but this is what I did. I don't have any jboss-app.xml files, but in my application.xml file I have an entry like this:
<module> <ejb>my_service.sar</ejb> </module>
The .sar just has the usual jboss-service.xml file in META-INF. I am running 4.0.3SP1 with EJB3RC2
Hope this helps.
Chris -
2. Re: how to package sar in ear file
draftdog Mar 25, 2006 8:55 AM (in response to john_woo)I usually do my.sar instead of in my application.xml
-
3. Re: how to package sar in ear file
draftdog Mar 25, 2006 8:57 AM (in response to john_woo)woops, that didn't come through very well, I wanted to write this:
I'm using <connector> instead of <ejb>
in application.xml -
4. Re: how to package sar in ear file
draftdog Mar 25, 2006 9:08 AM (in response to john_woo)I just checked something and apparently the right way to do it in JBoss is to use jboss-app.xml
Example:... <!-- The service element specifies a service archive (SAR) to deploy. <module> <service>external.sar</service> </module> ...