hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard Lewis Ship <>
Subject Re: ApplicationRuntimeException when constructing HiveMind registry in JBoss
Date Wed, 23 Mar 2005 13:11:44 GMT
Looks like conflicting versions of Javassist.

On Tue, 22 Mar 2005 18:20:39 -0300, Marcus Brito <> wrote:
> Hivemind is probably using a version of javassist that comes bundled
> with JBoss, instead of the version deployed with your web application.
> I can't bash the awful classloader implementation in JBoss bad
> enough... UnifiedClassloader3, anyone?
> Anyways, there's a way out: you need to isolate your web applications
> from the classloader hell. First, locate the tomcat service in your
> jboss instalation, and open the META-INF/jboss-service.xml inside the
> tomcat service folder. Now change the following attributes in this
> file:
> Java2ClassLoadingCompliance: false
> UseJBossWebLoader: false
> You *may* leave the first attribute as 'true'. It's concerned about
> how tomcat should deal with the conflicting classloading
> specifications: Java2 mandates that all classloaders delegates to it's
> parent before trying to locate the class, while the Servlet
> specification says that containers should try to locate classes
> *before* delegating to the parent classloader. The default, true,
> means that the tomcat will follow the Java2 specification. Setting
> this to 'false' will make tomcat follow the servlet specification.
> The second attribute is your heaven: set this to false to tell the
> tomcat service inside jboss to forget about the hellish JBoss
> classloader. Now you can live happily everafter.
> -- Marcus Brito
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message