[jboss-user] [Installation, Configuration & Deployment] - multiple class loaders found for pkg

rdoust do-not-reply at jboss.com
Tue Jul 25 18:33:05 EDT 2006


I am still trying to move an EAR which had successfully deployed in JBoss 4.0.1 to JBoss 4.0.4. The EAR contains a WAR and several JARs. I had problems getting the application to work until I found a post by Adrian Brock that explains how to use the pre-4.0.2 classloading configuration. The problem was that I was getting a ClassCastException when using the PortableRemoteObject.narrow method to retrieve a class that would allow access to an EJBHome object. After changing the configuration files to support the pre-4.0.2 classloading, I got past this problem. Now, however, I have a new problem when an EJB attempts to create an instance of a private inner class on initialization. It's getting a java.lang.IllegalAccessException, which to me, sounds like I have more class loading issues. I'm also seeing entries in server.log that say:
multiple class loaders found for pkg: [package name] when the EJB Jar file is deployed.
Is there anyplace that someone can direct me to where I can learn all that I need to know about class loading issues that result from deploying EARs, WARs, and JARs to an EJB container in the post 4.0.1 era?

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

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



More information about the jboss-user mailing list