I'm having a classloading problem in 3.2.4 that I wasn't having in 3.2.3.

I downloaded 3.2.4, unzipped it, and dropped the same EAR file that was working in 
3.2.3 into the deploy directory. To my surprise, I got a NoClassDefFoundError when 
JBoss complained about not finding a particular class.

I wanted to be sure this is happening in 3.2.4 and not 3.2.3, so I switched back to 
the 3.2.3 server, removed the EAR file from the 3.2.3 deploy directory and deleted the 
tmp and work directories.  I started the 3.2.3 server and redeployed the EAR file. I 
had no problem.  I then repeated the steps on the 3.2.4 server and again got the 
NoClassDefFoundError.

The EAR file contains a non-EJB JAR file that holds the "missing class".  It was 
packaged that way because multiple EJBs make reference to the same class.  Also, the 
EAR file MANIFEST.MF file lists the JAR file containing the "missing" class in its 
Class-Path line. Each of the EJB JAR manifest files also list the same JAR file on the 
Class-Path line.

So it seems the common JAR classes are not loaded by, or at, the time the EJBs are 
being deployed, hence the error.

Any suggestions for handling this situation?

TIA.

Jack

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839462#3839462

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839462


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to