• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error configuring application listener of class listeners.SessionLi

 
Yuma Shankar
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic