jQuery in Action, 3rd edition
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Error LlistenerStart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Error LlistenerStart" Watch "Error LlistenerStart" New topic

Error LlistenerStart

Bahman Robin

Joined: Feb 15, 2009
Posts: 4
Hi Guys,
I understand there are lots of Tomcat listenerStart error on the web happening in different situations. Might be it's due to the lack of stack trace.
Mine is one of them, might be there is a tiny mistake in somewhere, I don't know by now. I want to try it here too. This is the situation:
I was testing ServletContextListener then noticed the status of my web app directory (ListenerTest) showing on tomcat manager is "false".
Server log shows: error listenerStart.

web dir : webapps->ListenerTest->WEB-INF->web.xml, classes -> com -> example ->Dog.class, ListenerTester.class, MyServletContextListener.class.
CLASSPATH : /library/Tomcat6/lib/(servlet-api.jar)


ListenerTester class:

MyServletContextListener class:


I was running it on MAC OS. I appreciate your help.
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper

Joined: Apr 07, 2010
Posts: 2099

Hi Bahman,

Thanks for starting a new thread. Please use the code tags when posting code, that makes it easier to read.

I don't see any obvious mistakes. You can try to things: deploy the same web-app on another server (Tomcat5.5, Jboss, Glasfish) and the other option is to make the .war file by hand, just to verify that the structure is not the problem (war by hand)

Bahman Robin

Joined: Feb 15, 2009
Posts: 4
It works now.
Thanks Frits for your help.
I created a war file and that's it.
But I still do not know what exactly the container was missing during running the test before creating war file.
I agree. Here's the link: http://aspose.com/file-tools
subject: Error LlistenerStart
It's not a secret anymore!