• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
thinkpavan pavan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic