• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

SEVERE: Error listenerStart

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Saloon Keeper
Posts: 24314
167
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Tim, but .. Still, it doesn't work. More clue?
 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Whats the new error/info.
Please paste them.
 
andree surya
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Still the same error, without complain about servlet.jar.
 
Tim Holloway
Saloon Keeper
Posts: 24314
167
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic