This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SEVERE: Error listenerStart  RSS feed

 
andree surya
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys, please help me with my problem here.
I have two similiar web application, one can be started by tomcat, and another doesn't

One is under webapps/book_store folder, which is working correctly.
Another is under webapps/book_store_jsf, which is almost exactly the same application (except the project name in build.xml), which can't be started by tomcat.

This is the console log when I start the tomcat server:

book_store can be accessed, but book_store_jsf doesn't. Can anyone find out what am I doing wrong here?
I'm aware that in line 16, the log tells me that tomcat doesn't like my servlet-2.3.jar. I've deleted the file, but still it doesn't work.
 
Tim Holloway
Bartender
Posts: 18709
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are on the right track. The servlet.jar file is in Tomcat and shouldn't be included in your WAR. But once you deployed a WAR with it in, the jar kind of hangs around.

Stop Tomcat. Delete the applet WAR and the WAR directory from TOMCAT_HOME/webapps. While you're at it, delete the directory from TOMCAT_HOME/work/Catalina/localhost as well. Redeploy the WAR and restart Tomcat.

It's an annoying Tomcat-ism. If you deploy a WAR and it gets exploded, the exploded version is then considered to be the authoritative version. If you copy in a new WAR file, the updated WAR is ignored.
 
andree surya
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Tim, but .. Still, it doesn't work. More clue?
 
Aneesh Vijendran
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whats the new error/info.
Please paste them.
 
andree surya
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Still the same error, without complain about servlet.jar.
 
Tim Holloway
Bartender
Posts: 18709
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you may find more info in one of the other logfiles. Maybe TOMCAT_HOME/logs/localhost-manager.log.
 
andree surya
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hm .. I can't find any relevant information. But it's okay, now I'm using jetty and it works (I'm in hurry).
Thanks for the response, anyway !
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!