-
1. Re: Jboss 5.1 hot deploy failed
retep1025 Dec 15, 2009 1:00 PM (in response to retep1025)solved the problem by changing the EarClassLoaderDeployer from false to true
/jboss-5.1.0.GA/server/default/deployers/ear-deployer-jboss-beans.xml
<bean name="EARClassLoaderDeployer" class="org.jboss.deployment.EarClassLoaderDeployer">
<!-- A flag indicating if ear deployments should have their own scoped
class loader to isolate their classes from other deployments.
-->
<property name="isolated">true</property>
</bean> -
2. Re: Jboss 5.1 hot deploy failed
vickyk Dec 16, 2009 11:08 PM (in response to retep1025)retep1025 wrote:
solved the problem by changing the EarClassLoaderDeployer from false to true
I don't understand how setting the isolation to true would help here.
Would it be possible for you to invetigate it more and explain why such settings sorted the issue?
-
3. Re: Jboss 5.1 hot deploy failed
retep1025 Dec 17, 2009 1:12 AM (in response to vickyk)We have about 10 ears deploy in jboss 5.1, and some of the ear shares common libs like: apache-commons etc... I think there is a bug in the hot deploy... it goes into infinate loop trying to load classes and match the already existing class already loaded in other ears.... so by setting isolation to true, we get around the bug
-
4. Re: Jboss 5.1 hot deploy failed
vickyk Dec 17, 2009 1:47 AM (in response to retep1025)retep1025 wrote:
We have about 10 ears deploy in jboss 5.1, and some of the ear shares common libs like: apache-commons etc... I think there is a bug in the hot deploy... it goes into infinate loop trying to load classes and match the already existing class already loaded in other ears.... so by setting isolation to true, we get around the bug
Can you please enable the logs on CL and HDScanner and paste the details here? This might help us to identify the bug if it exists as I think if this is an issue then it needs to be sorted out as it could be critical.