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=13967>.
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=13967

installing without example webapps prevents starting Tomcat

           Summary: installing without example webapps prevents starting
                    Tomcat
           Product: Tomcat 4
           Version: 4.1.12
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Installable Packages
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If the example applications are not selected during install then the physical 
files are not present but they are referenced in the configuration files. The 
result is that Tomcat cannot start.

Workaround:
Delete the context entry below the "<!-- Tomcat Examples Context -->" line in 
<tomcat root>/conf/server.xml

stderr.log:
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:\progra~1
\Tomcat4.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


stdout.log:
Catalina.stop: LifecycleException:  Coyote connector has not been started
LifecycleException:  Coyote connector has not been started
        at org.apache.coyote.tomcat4.CoyoteConnector.stop
(CoyoteConnector.java:1045)
        at org.apache.catalina.core.StandardService.stop
(StandardService.java:546)
        at org.apache.catalina.core.StandardServer.stop
(StandardServer.java:2224)
        at org.apache.catalina.startup.CatalinaService.stop
(CatalinaService.java:293)
        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.stop
(BootstrapService.java:260)
        at org.apache.catalina.startup.BootstrapService.main
(BootstrapService.java:309)
Bootstrap: Service stopped

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>

Reply via email to