That makes sense. Thanks.

In any case, we've found a way to workaround this issue which works for
our purposes. Basically, we've moved everything from
jboss/server/default/lib to jboss/lib and moved all the jars from all
the sars to jboss/lib. 

I realize that this basically defeats hot-deploy of any of the sars, but
it works for us since we're running a (very) stripped-down deployment of
JBoss. (This is our first release in which we are moving from straight
Tomcat to JBoss+Tomcat and are in the process of gradually migrating to
J2EE technologies). 

Currently each jar in jboss/lib much be explicitly called out via the
property jboss.boot.library.list. If I were to make the changes to
ServerLoader such that it defaults to the whole directory, is this a
patch which you would consider absorbing? 

If not, no big deal, we have a "launcher" app which we can use to
bootstrap the whole thing.

Thanks,
Rob

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:jboss-user-
> [EMAIL PROTECTED] On Behalf Of Scott M Stark
> Sent: Thursday, September 25, 2003 9:14 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Re:[JBoss-user]ClassCircularityError-
> QueuedPessimisticEJBLock$TxLock
> 
> Version 2 still suffers from deadlock problems because is does not
> reliquish the class loader lock. The only hack to workaround the vm
> issue would be to retry loading after seeing a CCE.
> 
> Robert Cauble wrote:
> 
> > Thanks - I really appreciate the help.
> >
> > Also, is this problem something which you have worked around for
3.2.2?
> > (I'm still seeing it in 3.2.1.). Or is this something which can't be
> > solved until Sun fixes their stuff?
> >
> > I noticed that there is a UnifiedClassLoader2 which looks like it
solved
> > the original deadlock problem by locking the UnifiedLoaderRepository
> > from the loadClass method. It also looks like it didn't have the
> > ClassCircularityError issue that UnifiedClassLoader3 has (since it
never
> > relinquishes the ClassLoader lock via a call to wait).  What was
wrong
> > with this approach such that you switched to UnifiedClassLoader3?
> >
> > Thanks,
> > Rob
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to