Hi,
I found a funny problem on jBoss 2.2.2
I have a compound key primary key class that consists of two attributes

In my entity bean, ejbLoad function

 MyPKclass pk = (MyPKclass) entityContext.getPrimaryKey();

It threw ClassCastException, and I printed out the class loader by using

entityContext.getPrimaryKey().getClass.getClassLoader.getClass.getName()

it gave me org.apche.tomcat.loader.AdaptiveClassLoader2 instead of
java.net.URLClassLoader.

it works fine with jBoss 2.2.1, and the class loader is
java.netURLClassLoader

any idea ????

tia

Penn


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to