I didn't mean to say ClassNotFound, I meant NoClassDefFound.  But yeah, I don't 
get it.  Although, an idea just popped into my head.  If you look at the stack 
trace, the error originates from a Hibernate class.  I had the hibernate jar 
files in my server lib directory (because that's just how it was when I 
installed JBoss).  So as I understand it, classes inside a war are isolated in 
that war.  So if the Hibernate classes that reside outside the war are trying 
to setup the 2nd level cache stuff, and I put the jar that supports that 
(ehcache.jar) in the war, Hibernate won't be able to see that, and thus the 
error.  Which means that instead of moving my jars out of the war, I could 
probably move the hibernate jars inside the war.  I'll test that out.

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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to