cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Rogers <nrog...@library.wisc.edu>
Subject Re: Binary installation vs Source installation
Date Wed, 30 Apr 2003 17:13:47 GMT
When Tomcat is unpacking the cocoon.war file, it gives the following 
error.  Presumably it cannot find one of the classes it is looking for.  
If this was the case, you'd think the binary would suffer from the same 
problem.

2003-04-30 11:18:23 StandardHost[localhost]: Installing web application 
at context path /cocoon from URL file:C:/Program Files/Apache 
Group/Tomcat 4.1/webapps/cocoon
2003-04-30 11:18:23 WebappLoader[/cocoon]: Deploying class repositories 
to work directory C:\Program Files\Apache Group\Tomcat 
4.1\work\Standalone\localhost\cocoon
2003-04-30 11:18:23 WebappLoader[/cocoon]: Deploy class files 
/WEB-INF/classes to C:\Program Files\Apache Group\Tomcat 
4.1\webapps\cocoon\WEB-INF\classes
2003-04-30 11:18:23 StandardManager[/cocoon]: Seeding random number 
generator class java.security.SecureRandom
2003-04-30 11:18:23 StandardManager[/cocoon]: Seeding of random number 
generator has been completed
2003-04-30 11:18:23 StandardWrapper[/cocoon:Cocoon2]: Marking servlet 
Cocoon2 as unavailable
2003-04-30 11:18:23 StandardContext[/cocoon]: Servlet /cocoon threw 
load() exception
javax.servlet.ServletException: Wrapper cannot find servlet class 
org.apache.cocoon.servlet.CocoonServlet or a class it depends on
    at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:891)
    at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
    at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3420)
    at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
    at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
    at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
    at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:307)
    at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
    at 
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:492)
    at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:400)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
    at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
    at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
    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:2190)
    at 
org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
    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)
----- Root Cause -----
java.lang.ClassNotFoundException: org.apache.cocoon.servlet.CocoonServlet
    at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1443)
    at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1289)
    at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:885)
    at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
    at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3420)
    at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
    at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
    at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
    at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:307)
    at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
    at 
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:492)
    at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:400)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
    at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
    at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
    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:2190)
    at 
org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
    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)

2003-04-30 11:18:23 StandardWrapper[/cocoon:default]: Loading container 
servlet default
2003-04-30 11:18:23 StandardWrapper[/cocoon:invoker]: Loading container 
servlet invoker

> What does "bombs out" mean specifically?

> At 12:51 PM 4/30/2003, you wrote:
>
>> I have been trying to build 2.0.4 from source; it bombs out when 
>> loading in Tomcat.  I am not sure of the reason so I tried the binary 
>> distribution.  I dropped it into my tomcat/webapp folder and it just 
>> worked.  Does anyone know what process is used for creating the 
>> binaries that would cause them to work but not the source? I did 
>> notice the war file was about 1MB larger when using the prebuilt war.
>




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message