wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes Filtering ClassLoader causing ClassNotFoundException: org.hibernate.event.EventListeners$2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Filtering ClassLoader causing ClassNotFoundException: org.hibernate.event.EventListeners$2" Watch "Filtering ClassLoader causing ClassNotFoundException: org.hibernate.event.EventListeners$2" New topic
Author

Filtering ClassLoader causing ClassNotFoundException: org.hibernate.event.EventListeners$2

thinkpavan pavan
Greenhorn

Joined: Apr 06, 2011
Posts: 6
Hi,

I have added filtering clasloader( weblogic-application.xml with <prefer-application-packages> <package-name>org.apache.log4j.*</package-name> <package-name>antlr.*</package-name></prefer-application-packages>) after doing this, i am getting a ClassNotFoundException on server stop. I have the hibernate jar file in the web application lib direcotry.
This is the structure of my application.
Sample.ear
META-INF
weblogic-application.xml
application.xml
test.war
WEB-INF
lib
hibernate3.jar
..........

all the other functions work well. but this is irritating on the server stop.
Any help would be greatly appriciated.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Filtering ClassLoader causing ClassNotFoundException: org.hibernate.event.EventListeners$2
 
Similar Threads
Deployment error NoClassDefFoundError: org.hibernate.cfg.Configuration on Oracle 11g App Server
EJB interfaces not found by client classes
new bee weblogic classloading
Unable to load jar on Weblogic11g server startup.
Type mismatch: cannot convert from AccessType to XmlAccessType