"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 .


<jboss-app>
  | <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
http://anonsvn.jboss.org/repos/jbossas/trunk/testsuite/src/resources/deployers/ear2/META-INF/jboss-app.xml


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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to