[jboss-dev] jars in sars visible from ears, my arse!

Anil Saldhana Anil.Saldhana at redhat.com
Mon Sep 21 11:39:30 EDT 2009


A sar uses jboss-service.xml as its DD just as an EAR uses application.xml

I think that may be your predicament at the moment.

Andrew Dinn wrote:
>>>> Apologies for the title. A more pictorial perspective might help.
>>>>
>>>> server/default/deploy
>>>>    jbossxts.sar
>>>>      META-INF/application.xml
>>>>         
>> Why do you have an application.xml in your sar file?
>>     
>
> Because the sar contains, amongst other things, several war files. The 
> application.xml contains module entries of type web which advertise the 
> presence of these wars and specify their context-root. Is this not 
> considered kosher for a .sar file? If not then what is?
>
> n.b. I have tried to advertise the presence of the .jar files in the 
> .sar by adding module entries of type java to the application.xml but 
> this makes no difference to their visibility outside of the .sar file.
>
> regards,
>
>
> Andrew Dinn
> -----------




More information about the jboss-development mailing list