[jboss-user] [JCA/JBoss] - Re: deployment of RAR inside of EAR

adrian@jboss.org do-not-reply at jboss.com
Fri Feb 8 10:38:18 EST 2008

"pecks1976" wrote : No one knows the answer... :(

No, you're just expecting an SLA that is not a feature of this forum.

Read this:

e.g. typically I only visit these forums once every week or two.

anonymous wrote : 
  | Maybe I didn't include enough information?

The log for a start.

anonymous wrote : 
  | Perhaps I can re-phrase the question as "what are the differences, in terms of deployment, between a standalone RAR file and one that is included in an EAR?".

Guess 1:
A -ds.xml is deployed before an ear so it wouldn't be suprising if it couldn't find
the classes - see Vicky's comment

Guess 2:
If the ear is scoped and the -ds.xml is outside the ear 
then you also have to tell the -ds.xml what classloader repository to use.

If you don't it will use the default repository which won't know about any classes
from the ear.

This is the same as for a -service.xml that depends upon a scoped ear:


  | <connection-factories>
  |    <loader-repository>jboss.j2ee:service=EARDeployment,url=myapp.ear</loader-repository>
  | <etc/>

Or whatever you called the scoped repository in jboss-app.xml

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

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

More information about the jboss-user mailing list