aspose file tools*
The moose likes Servlets and the fly likes Catalina: IllegalStateException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Catalina: IllegalStateException" Watch "Catalina: IllegalStateException" New topic
Author

Catalina: IllegalStateException

Lalit Mehra
Ranch Hand

Joined: Jun 08, 2010
Posts: 383

Hi all I was just going through the stuff once again and decided to do it the HeadFirst Way so chose the to implement the listener mechanism to an old book example and got this error ...

FAIL - Encountered exception java.lang.IllegalStateException: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/Beer-v1] has not been started


on adding the following lines to the web.xml file



this is the listener class



http://plainoldjavaobject.blogspot.in
Lalit Mehra
Ranch Hand

Joined: Jun 08, 2010
Posts: 383

!!! got the error ... !!!

had to mark the listener class as public ...

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Catalina: IllegalStateException
 
Similar Threads
Problem invoking a servlet directly from FireFox browser
Servlet filter question
Problems with Tomcat
Head First code compiling?
programmably reload servlet context data