You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/10/14 13:30:27 UTC
DO NOT REPLY [Bug 13595] New: -
Tomcat doesn't start when examples aren't installed
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13595>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13595
Tomcat doesn't start when examples aren't installed
Summary: Tomcat doesn't start when examples aren't installed
Product: Tomcat 4
Version: 4.1.12
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: Other
Component: Connector:Coyote HTTP/1.1
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: Maarten.Coene@qmedit.com
Hi,
I installed Tomcat without the examples. If I try to start Tomcat, I get the
following error in the logs:
Created catalinaLoader in: C:\Program Files\Apache Group\Tomcat 4.1\server\lib
14-okt-2002 13:25:13 org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
14-okt-2002 13:25:13 org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
14-okt-2002 13:25:14 org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
14-okt-2002 13:25:16 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.BootstrapService.start
(BootstrapService.java:245)
at org.apache.catalina.startup.BootstrapService.main
(BootstrapService.java:307)
Caused by: java.lang.IllegalArgumentException: Document base C:\Program
Files\Apache Group\Tomcat 4.1\webapps\examples does not exist or is not a
readable directory
at org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:193)
at org.apache.catalina.core.StandardContext.start
(StandardContext.java:3397)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1188)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start
(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:2189)
at org.apache.catalina.startup.CatalinaService.start
(CatalinaService.java:271)
... 6 more
If I manually create the examples dir, Tomcat starts normally...
I'm using:
- Windows XP
- JDK 1.4.1
- Tomcate 4.1.12 LITE
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>