I installed Tomcat 5.5 yesterday, with limited success.  It took me until a
few hours ago to manage to get all of the ports and such things set
correctly, so that everything would run properly.  I then tried to install a
servlet that I created, and then restart Tomcat.  It won't start.  The
progress bar goes until about halfway, when it disappears and the service
remains stopped.  I've Googled the problem, copied files around, changed
environment variables, rebooted my machine, and reinstalled Tomcat with no
success.

Here are two logs that may be of consequence:

stdout:
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: java.lang.NoClassDefFoundError:
org/apache/commons/logging/LogFactory
        at org.apache.naming.NamingContext.<clinit>(NamingContext.java:58)
        at
org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingContextListener.java:206)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
        at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:693)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        ... 6 more
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.logging.LogFactory
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        ... 11 more

and Catalina:
Jan 30, 2009 11:02:12 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path: C:\Program
Files\Apache Software Foundation\Tomcat
5.5\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\CBuilderX\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\program
files\java\jdk1.6.0_05\bin;C:\Program
Files\jEdit;C:\php;C:\WINDOWS\Microsoft.NET\Framework\v3.5;C:\Program
Files\QuickTime\QTSystem\;C:\Program Files\Apache Software Foundation\Tomcat
5.5\bin;
Jan 30, 2009 11:02:12 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jan 30, 2009 11:02:12 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 718 ms

-- 
View this message in context: 
http://www.nabble.com/Tomcat-5.5-service-won%27t-start-tp21760087p21760087.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to