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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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.
 
Don't get me started about those stupid light bulbs.
 
subject: Filtering ClassLoader causing ClassNotFoundException: org.hibernate.event.EventListeners$2