Community

Classloader, class NOT found and blacklisting.

reply from Daniel Escott in JBoss Microcontainer - View the full discussion

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>
   </bean>

 

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.

 

Regards

Dan

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community