[jboss-user] [JBoss Microcontainer] - Classloader, class NOT found and blacklisting.

Daniel Escott do-not-reply at jboss.com
Fri May 28 13:10:59 EDT 2010

Daniel Escott [http://community.jboss.org/people/DanEscott] replied to the discussion

"Classloader, class NOT found and blacklisting."

To view the discussion, visit: http://community.jboss.org/message/545322#545322

Worked it out, might possibly help some other folk down the line.

The %JBOSS_HOME%/server/default/deployers/ear-deployer-jboss-beans.xml file has the scope for the EAR set to isolated, this prevented the outside WAR from reaching the EAR/lib.

   <bean name="EARClassLoaderDeployer">
      <!-- A flag indicating if ear deployments should have their own scoped
         class loader to isolate their classes from other deployments.
      <property name="isolated">false</property>

Depending on the development or production environment the WAR is outside or inside the EAR, so I didn't want to just move it to the server/default/lib.



Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100528/5bc4f8a9/attachment.html 

More information about the jboss-user mailing list