Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 10th, 2011, 12:43 PM
Registered User
 
Join Date: May 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default tomcat SEVERE: Error listenerStart

Hi,

I deployed a grails web app to tomcat/webapps/

When I navigate to the url, I got the
Http Status 404 The requested resource () is not available.

My project named Polymers. And below is the log from catalina.out

Much appreciated if you have any suggestion why I tomcat is giving the error. Thanks!


May 10, 2011 12:33:11 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
May 10, 2011 12:33:11 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 10, 2011 12:33:11 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 621 ms
May 10, 2011 12:33:11 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 10, 2011 12:33:11 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
May 10, 2011 12:33:11 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
May 10, 2011 12:33:11 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
May 10, 2011 12:33:11 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive Polymers.war
May 10, 2011 12:33:12 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
May 10, 2011 12:33:12 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/Polymers] startup failed due to previous errors
May 10, 2011 12:33:13 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
May 10, 2011 12:33:13 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
May 10, 2011 12:33:13 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
May 10, 2011 12:33:13 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory test
May 10, 2011 12:33:13 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 10, 2011 12:33:13 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 10, 2011 12:33:13 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/35 config=null
May 10, 2011 12:33:13 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1869 ms
 
Old June 30th, 2011, 04:29 AM
Registered User
Points: 6, Level: 1
Points: 6, Level: 1 Points: 6, Level: 1 Points: 6, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default I am facing same problem.

Hi khoailang,

Please let me know if you could resolve this problem.

Thanks in advance.

Thanks and Regards,
SachinJadhav.
 
Old June 30th, 2011, 01:12 PM
Registered User
 
Join Date: May 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

SachinJadhag,


The errors I got was caused by duplicated of jar dependencies in WEB-INF/lib/ . In my case, mysql-connectorj and slf4j were having duplicates.

Check your web-app WEB-INF/lib/ and see if you have any duplicates. Remove them and restart tomcat. Depending on how you build your project, you can delete them permanently when it builds a war file.

Good luck!

khoailang
 
Old July 1st, 2011, 03:35 AM
Registered User
Points: 6, Level: 1
Points: 6, Level: 1 Points: 6, Level: 1 Points: 6, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default :-(

Checked it...

Thanks for your quick suggestion. I see not duplicates for jar files. There is only one copy of each required jar file.

Any other pointers Please?

Thanks and Regards,
Sachin Jadhav.





Similar Threads
Thread Thread Starter Forum Replies Last Post
SEVERE: Error listenerStart myst Apache Tomcat 0 August 1st, 2010 04:33 PM
Tomcat startup issue : SEVERE: Error listenerStart tinkugitu Apache Tomcat 3 December 5th, 2007 08:19 AM
Error ListenerStart ndkicha_1981 Spring 1 September 12th, 2007 11:25 PM
Tomcat +SEVERE: Remote Host /127.0.0.1 SocketExcep ItsNeverLateToStartAgain Apache Tomcat 1 September 4th, 2007 06:17 AM
2 severe problems plz help me naveed77 VB Databases Basics 1 July 26th, 2006 03:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.