[jboss-user] [JCA/JBoss] - Re: Help With RARDeployment Errors

vickyk do-not-reply at jboss.com
Mon Jun 2 10:40:01 EDT 2008

"maverick18" wrote : 
  | The only diff being that when I deploy it as part of the ear, the -ds.xml file has a slight difference in the rar-name i.e.
  | <rar-name>myapp.ear#myapp-ra.rar</rar-name>

Huh ..... -ds.xml file is not present in the EAR which is scoped .
So the classes like MCF/CF etc will not be visible to the -ds.xml deployment.

Couple of things you can try to get this working 
1) Include the -ds.xml in the EAR .
2) Make the -ds.xml as a part of seperate deployment unit(may be sar) whose loader-repository points to the same as defined for your EAR .

I hope you understand thoroughly what you are doing before making the choices as explained above .

  | <loader-repository>myapp:loader=myapp.ear
  | </loader-repository>
  | myapp-login.sar
  | </jboss-app> 

The myapp-login.sar should be in  tag , your -ds.xml can also be placed inside the module tag ....

Have a look at this one for reference

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

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

More information about the jboss-user mailing list