It look like a problem with hibernate using Class.forName rather than
the Thread.currentThread().getContextClassLoader(). Class.forName
forces the class in question to be visible vis that class loader of the
calling class or one of its parents. This is too restrictive for a framework
in an arbitrary server environment. If you replace the Class.forName
call with the thread context class loader and it still does not work then
come back.

2003-04-01 22:33:41,439 ERROR [org.jboss.ejb.plugins.LogInterceptor]
Unexpected Error:
java.lang.NoClassDefFoundError: org/apache/bcel/generic/DCONST
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at net.sf.cglib.CodeGenerator.class$(CodeGenerator.java:63)
at net.sf.cglib.CodeGenerator.<init>(CodeGenerator.java:105)
at net.sf.cglib.KeyFactoryGenerator.<init>(KeyFactoryGenerator.java:93)
at net.sf.cglib.KeyFactory.create(KeyFactory.java:114)

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

----- Original Message -----
From: "Anders Engström" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 03, 2003 9:38 AM
Subject: [JBoss-user] JBoss 3.2RC4 and Hibernate2




-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to