aspose 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 Spring in Action this week in the Spring 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