-
1. Re: No classloader for ManagedConnectionFactory
rossmason Apr 6, 2005 11:58 PM (in response to galderz)Hi,
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.
Cheers,
Ross -
2. Re: No classloader for ManagedConnectionFactory
adrian.brock Apr 12, 2005 10:07 PM (in response to galderz)Moderated: HIJACK, and for future reference, META-INF/application.xml
-
3. Re: No classloader for ManagedConnectionFactory
dalvarezpy Nov 24, 2005 4:09 PM (in response to galderz)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?
Thanks,
Darío A.
P.S.: What did that last message mean? -
4. Re: No classloader for ManagedConnectionFactory
adrian.brock Nov 28, 2005 10:00 PM (in response to galderz)Read This!!!!!
http://wiki.jboss.org/wiki/Wiki.jsp?page=BadPostHijack -
5. Re: No classloader for ManagedConnectionFactory
galderz Dec 13, 2005 6:31 AM (in response to galderz)Hi Adrian,
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
OutputAdapter-ds.xml
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? -
6. Re: No classloader for ManagedConnectionFactory
galderz Dec 13, 2005 6:33 AM (in response to galderz)i meant:
<module> <service>OutputAdapter-ds.xml</service> </module>
-
7. Re: No classloader for ManagedConnectionFactory
galderz Dec 13, 2005 6:43 AM (in response to galderz)Actually, I think i might not be able to change the data source dinamically without restarting my ear:
http://www.jboss.org/wiki/Wiki.jsp?page=DynamicallyChangeADatasourceWithRestartingOrRedeployingApplicationsDependentOnIt
Am i correct? -
8. Re: No classloader for ManagedConnectionFactory
galderz Dec 13, 2005 8:34 AM (in response to galderz)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 :-$