File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Exception sending context initialized event to listener Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Spring
Reply Bookmark "Exception sending context initialized event to listener " Watch "Exception sending context initialized event to listener " New topic
Author

Exception sending context initialized event to listener

vikka sharma
Greenhorn

Joined: Jan 27, 2011
Posts: 3

When i am running my application it give me this exception:-

Exception sending context initialized event to listener instance of class org.springframework.web.util.Log4jConfigListener
java.lang.ExceptionInInitializerError



But this problem is not permanent. Id i remove the log4j entries from web.xml and restart p.c and then again add log4j entries and start the server, then the application works fine.
I noticed that when the application is deployed and when i undeploy and again deploy the same application, this problem emerge.

Please help me ........ i am facing this problem from 3 months...
Tekchand Prasad
Ranch Hand

Joined: Oct 20, 2005
Posts: 32
It cause when multiple jar file for log4j is available to application.
From web/application server and from build path(Included from other path rather than web/application server)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception sending context initialized event to listener
 
Similar Threads
Maven - FileNotFoundException
i am using Hibernate with Seam and getting errors
JBoss and Netbeans 6.5 workaround is not working
Exception at deployment
Exception sending context initialized