File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Type mismatch: cannot convert from AccessType to XmlAccessType
new bee weblogic classloading
EJB interfaces not found by client classes
Unable to load jar on Weblogic11g server startup.
Deployment error NoClassDefFoundError: org.hibernate.cfg.Configuration on Oracle 11g App Server