[xwiki-users] Another Take on JBoss Classloading Issue
Hi I am still trying to figure out why I cannot deploy XWiki on JBoss without messing around with the Class Loader. After removing some of the duplicate archives I was expecting that it would work but still when it tries to lookup the DataSource on the JNDI server it fails: org.hibernate.HibernateException: Could not find datasource: java:/ jdbc/XWikiDS knowing the internals of JBoss good enough I suspect that it is a class loading issue. Going through the stack trace I found this line of code inside the XWiki.class (line 994) in the trunk when it tries to load the Hibernate Migration Manager: Object result = Class.forName(storeclass).getConstructor(classes).newInstance(args); As far as I can remember shouldn't a J2EE application use the Context Class Loader instead (Thread.currentThread.getContextClassLoader()) instead of the Class' Class Loader? Any ideas? Andreas Schaefer CEO of Madplanet.com Inc. Email: [email protected] [email protected] Twitter; andy_mpc AIM: [email protected]
participants (1)
-
Andreas Schaefer