Did you find a resolution for this? I have the same problem...
I've tried putting the 'unfound' jar in the server/lib, and this works. But it is far from a good solution.
Moderated: HIJACK, and for future reference, META-INF/application.xml
Hi. I have the same problem, only that my EAR worked in JBoss 4.0.2, and doesn't in JBoss 4.0.3sp1. I mean, I got the same "Could not find ManagedConnectionFactory class:" and "java.lang.ClassNotFoundException: No ClassLoaders found for: " error. Any ideas of why this happening?
P.S.: What did that last message mean?
I managed to find the solution to this problem by including the ds.xml file in the ear file and adding an entry in jboss-app.xml inside IntegrationTests.ear
However, this is not my preferred solution as I would like to be able to modify and deploy ds.xml outside the ear file without having to redeploy the whole ear file.
Has anyone managed to get this to work this way?
<module> <service>OutputAdapter-ds.xml</service> </module>
Actually, I think i might not be able to change the data source dinamically without restarting my ear:
Am i correct?
Solved the problem about not finding the ManagedConnectionFactory class when the ds.xml file is deployed outside the ear.
I hadn't set the class loading configuration properly. The settings I had in jboss-app.xml file inside the ear were hiding this class from being found when the ds file was deployed.
thanks very much to everyone and sorry for any inconvenience cause :-$