• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error configuring application listener of class listeners.SessionLi

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic