struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Erickson <>
Subject Re: RE: [S2] Race condition in SpringObjectFactory class loader
Date Sun, 01 Feb 2009 18:05:16 GMT
Yeah I keep the xwork jar local to my app in the web-inf/lib folder, and
verified repeatedly that my work directory was clean.. but no dice. Does
anyone know of a way to instrument the classloader to output the class its
defining and where from? I still believe it is some underlying race
condition where two threads are trying to define the same class at the same
time and this would help prove that. Thanks.

On Jan 31, 2009 7:32 PM, "Martin Gainty" <> wrote:


its *remotely* possible that this is a Classloader error ..system
classloader and app classloader both attempting to load different classes
This sort of thing shows up in weblogic/glassfish and websphere app servers
If you dont have it ..take a look at downloading the class here
If you're using 2.1.6 Struts I vote for placing xwork 2.1.2.jar in

also.. clean off $TOMCAT_HOME/work folder

Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official
business of Sender. This transmission is of a confidential nature and Sender
does not endorse distribution to any party other than intended recipient.
Sender does not necessarily endorse content contained within this

> Date: Sat, 31 Jan 2009 11:38:59 -0500
> From:
> To:
> Subject: Re: [S2] Race condition in SpringObjectFactory class loader

> > David Erickson wrote: > > java.lang.LinkageError: loader (instance of >
> org/apache/catalina/l...
Windows Liveā„¢: E-mail. Chat. Share. Get more ways to connect.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message