• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

java.lang.ClassNotFoundException: org.hibernate.event.EventListeners$2 on weblogic server stop

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i get the following execption while stoping the weblogic 10.3.2 server.

<Apr 6, 2011 5:46:53 PM IST> <Error> <Deployer> <BEA-149250> <Unable to unprepare application sam_test.ear'.
java.lang.ClassNotFoundException: org.hibernate.event.EventListeners$2
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
Truncated. see log file for complete stacktrace

Caused By: java.lang.ClassNotFoundException: org.hibernate.event.EventListeners$2
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
Truncated. see log file for complete stacktrace
>

 
Greenhorn
Posts: 7
Oracle Redhat Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi pavan,

It seems that you are missing "hibernate-core-x.x.x.jar" in your classpath which has the required class which is needed "org.hibernate.event.EventListeners$2 ". As you dont have this jar thats the reason you are getting this error.

Caused By: java.lang.ClassNotFoundException: org.hibernate.event.EventListeners$2

You can put that jar in your domain lib and restart you server that would solve your issue.
 
thinkpavan pavan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ravish,
Thnks for the reply. I have the hibernate.xxxx.jar in my lib directory. And use hibernate extensively in my application. how ever i see this only on server stop.
 
reply
    Bookmark Topic Watch Topic
  • New Topic