Joined: Thu Jul 26, 2007 2:39 pm Posts: 2
|
When i try to login to my app deployed on websphere, i get this exception
-----
java.lang.ClassCastException: net.sf.hibernate.impl.SessionFactoryImpl$QueryCacheKeyFactory$$KeyFactoryByCGLIB$$601120ed
at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
at net.sf.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:237)
... 32 more
----
This issue does not occur if i set the class loader policy to parent first in websphere.Any reasons why?
I need to keep application first for the class loader.....PLEASE HELP
|
|