you need to declare separate loader repositories for your SAR archives
Thank you for the quick reply!
Actually I don't use SAR archives but only two service.xml files in the deploy directory which look like that:
and the MBean definition with main class and object name.
How exactly can I then declare the different loader repositories? Unfortunately I haven't got deep JBoss knowledge yet, having considered only the deployment basics so far.
Any hints on how you go about doing that?
<loader-repository> tag in your service.xml file.
I do not see <loader-repository> in the DTD service descriptor of the current JBOSS 3.0.7 AdminDevel manual.
Is it only available in newer versions?
IIRC, 3.0.x only has <loader-repository> in EAR packages (jboss-app.xml), 3.2.x has it as part of the service deployment descriptor as well.