tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Sickler <richard.sick...@avagotech.com>
Subject Problem on Tomcat 6.0.20
Date Tue, 02 Feb 2010 02:58:04 GMT
Hi,

I have a small web app that I've created using NetBeans 6.1 IDE.
It works fine on my IDE/development system, but when I copy the war,
(WebApplication2.war)
to c:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps on my
Windows Server 2008 machine,
and rename it to ROOT.war  (There is no WebApplication war or directory.
Nothing in stderr, stdout, manager, localhost, or jakarta_service logs.)
Upon starting the Tomcat service I receive the following:

Feb 1, 2010 6:33:13 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: C:\Program Files\Apache Software Foundation\Tomcat
6.0\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\PROGRA~1\Java\jre6\bin;
Feb 1, 2010 6:33:13 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
Feb 1, 2010 6:33:13 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 366 ms
Feb 1, 2010 6:33:13 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 1, 2010 6:33:13 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Feb 1, 2010 6:33:14 PM org.apache.catalina.core.StandardContext
resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base C:\Program Files\Apache
Software Foundation\Tomcat 6.0\webapps\WebApplication2 does not exist or is
not a readable directory
    at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
    at
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4048)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
    at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
    at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
    at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
    at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
    at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
    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:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Feb 1, 2010 6:33:14 PM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
Feb 1, 2010 6:33:14 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Feb 1, 2010 6:33:14 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/WebApplication2] startup failed due to previous errors
Feb 1, 2010 6:33:14 PM org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/WebApplication2]
has not been started
Feb 1, 2010 6:33:14 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive ROOT.war
Feb 1, 2010 6:33:14 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-80
Feb 1, 2010 6:33:14 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Feb 1, 2010 6:33:14 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/16  config=null
Feb 1, 2010 6:33:14 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 748 ms

(There is no WebApplication war or directory.  Nothing in stderr, stdout,
manager, localhost, or jakarta_service logs.)
What am I doing wrong?  Thanks for any help.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message