permaculture playing cards*
The moose likes Servlets and the fly likes Error configuring application listener of class listeners.SessionLi Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Error configuring application listener of class listeners.SessionLi" Watch "Error configuring application listener of class listeners.SessionLi" New topic
Author

Error configuring application listener of class listeners.SessionLi

Yuma Shankar
Greenhorn

Joined: Jun 07, 2005
Posts: 24
I just configured Eclipse 3.0 with Tomcat 5.5 using the Sysdeo plugin. And I am able to run jsp pages, but I am unable to run servlets.

Tomcat restart log also dispalys the following error:
SEVERE: Error configuring application listener of class listeners.SessionListener

I created a TomCat project with the default options i.e. update server.xml and use default directory structure.

I also copied the sample web.xml file and changed the <servlet> and <servlet-mapping> tags . I kept the listener tag the same as in the example i.e.

<listener>
<listener-class>listeners.ContextListener</listener-class>
</listener>
<listener>
<listener-class>listeners.SessionListener</listener-class>
</listener>



Any help is appreciated!
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

If you want a war file that's known to work, grab one from http://simple.souther.us and drop it in the CATALINA_HOME/webapps.

SimpleServlet is about as straight forward as they come.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error configuring application listener of class listeners.SessionLi