cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Hoegg <rho...@isisnetworks.net>
Subject Re: Startup error
Date Wed, 30 Apr 2003 03:22:27 GMT
Off the top of my head,  here are a couple suggestions:

1. Use the new Cocoon 2.1 Milestone 1 distribution.  It is available in 
the download section of http://cocoon.apache.org
2. Copy blocks.properties to local.blocks.properties and 
build.properties to local.build.properties.  Fire up your favorite text 
editor and update them.  They wre intuitive enough for me to figure out 
what to do.  I might suggest turning off as many blocks as you can 
because of your deadline pressure.
3. Use ant to run the "war" or "webapp" build target, depending if you 
need to change anything in the webapp or if you just need to show that 
you can get cocoon running on your servlet container.  Like so: ant webapp
4. Don't forget to check the tomcat endorsed libs as specified in the 
Installing doco on the site.

Good luck
--
Ryan Hoegg
ISIS Networks
http://www.isisnetworks.net

Alex Nelson wrote:

>I am having a difficult time getting a new installation of Cocoon2 to
>start up. I have a clean install of RedHat 8.0. I downloaded the latest
>tomcat rpms from the apache site as well as the latest copy of the j2se
>sdk. I checked out the Cocoon2 source from cvs and compiled it using the
>build.sh script. When I copy the cocoon.war file to the webapps
>directory and restart tomcat, I get the following error:
>
>2003-04-29 22:49:53 HostConfig[localhost]: Deploying configuration
>descriptor admin.xml
>2003-04-29 22:50:04 HostConfig[localhost]: Deploying configuration
>descriptor manager.xml
>2003-04-29 22:50:04 WebappLoader[/manager]: Deploying class repositories
>to work directory /var/tomcat4/work/Standalone/localhost/manager
>2003-04-29 22:50:05 ContextConfig[/manager]: Configured an authenticator
>for method BASIC
>2003-04-29 22:50:05 StandardManager[/manager]: Seeding random number
>generator class java.security.SecureRandom
>2003-04-29 22:50:05 StandardManager[/manager]: Seeding of random number
>generator has been completed
>2003-04-29 22:50:05 StandardWrapper[/manager:default]: Loading container
>servlet default
>2003-04-29 22:50:05 default: init
>2003-04-29 22:50:05 StandardWrapper[/manager:invoker]: Loading container
>servlet invoker
>2003-04-29 22:50:05 invoker: init
>2003-04-29 22:50:05 jsp: init
>2003-04-29 22:50:05 HostConfig[localhost]: Expanding web application
>archive cocoon.war
>2003-04-29 22:50:05 StandardHost[localhost]: Installing web application
>at context path /cocoon from URL file:/var/tomcat4/webapps/cocoon
>2003-04-29 22:50:05 WebappLoader[/cocoon]: Deploying class repositories
>to work directory /var/tomcat4/work/Standalone/localhost/cocoon
>2003-04-29 22:50:05 WebappLoader[/cocoon]: Deploy class files
>/WEB-INF/classes to /var/tomcat4/webapps/cocoon/WEB-INF/classes
>2003-04-29 22:50:05 StandardManager[/cocoon]: Seeding random number
>generator class java.security.SecureRandom
>2003-04-29 22:50:05 StandardManager[/cocoon]: Seeding of random number
>generator has been completed
>2003-04-29 22:50:05 StandardWrapper[/cocoon:Cocoon2]: Marking servlet
>Cocoon2 as unavailable
>2003-04-29 22:50:05 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(Unknown Source)
>	at org.apache.catalina.core.StandardWrapper.load(Unknown Source)
>	at org.apache.catalina.core.StandardContext.loadOnStartup(Unknown
>Source)
>	at org.apache.catalina.core.StandardContext.start(Unknown Source)
>	at org.apache.catalina.core.ContainerBase.addChildInternal(Unknown
>Source)
>	at org.apache.catalina.core.ContainerBase.addChild(Unknown Source)
>	at org.apache.catalina.core.StandardHost.addChild(Unknown Source)
>	at org.apache.catalina.core.StandardHostDeployer.install(Unknown
>Source)
>	at org.apache.catalina.core.StandardHost.install(Unknown Source)
>	at org.apache.catalina.startup.HostConfig.deployWARs(Unknown Source)
>	at org.apache.catalina.startup.HostConfig.deployApps(Unknown Source)
>	at org.apache.catalina.startup.HostConfig.start(Unknown Source)
>	at org.apache.catalina.startup.HostConfig.lifecycleEvent(Unknown
>Source)
>	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown
>Source)
>	at org.apache.catalina.core.ContainerBase.start(Unknown Source)
>	at org.apache.catalina.core.StandardHost.start(Unknown Source)
>	at org.apache.catalina.core.ContainerBase.start(Unknown Source)
>	at org.apache.catalina.core.StandardEngine.start(Unknown Source)
>	at org.apache.catalina.core.StandardService.start(Unknown Source)
>	at org.apache.catalina.core.StandardServer.start(Unknown Source)
>	at org.apache.catalina.startup.Catalina.start(Unknown Source)
>	at org.apache.catalina.startup.Catalina.execute(Unknown Source)
>	at org.apache.catalina.startup.Catalina.process(Unknown Source)
>	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.Bootstrap.main(Unknown Source)
>----- Root Cause -----
>java.lang.ClassNotFoundException:
>org.apache.cocoon.servlet.CocoonServlet
>	at org.apache.catalina.loader.WebappClassLoader.loadClass(Unknown
>Source)
>	at org.apache.catalina.loader.WebappClassLoader.loadClass(Unknown
>Source)
>	at org.apache.catalina.core.StandardWrapper.loadServlet(Unknown Source)
>	at org.apache.catalina.core.StandardWrapper.load(Unknown Source)
>	at org.apache.catalina.core.StandardContext.loadOnStartup(Unknown
>Source)
>	at org.apache.catalina.core.StandardContext.start(Unknown Source)
>	at org.apache.catalina.core.ContainerBase.addChildInternal(Unknown
>Source)
>	at org.apache.catalina.core.ContainerBase.addChild(Unknown Source)
>	at org.apache.catalina.core.StandardHost.addChild(Unknown Source)
>	at org.apache.catalina.core.StandardHostDeployer.install(Unknown
>Source)
>	at org.apache.catalina.core.StandardHost.install(Unknown Source)
>	at org.apache.catalina.startup.HostConfig.deployWARs(Unknown Source)
>	at org.apache.catalina.startup.HostConfig.deployApps(Unknown Source)
>	at org.apache.catalina.startup.HostConfig.start(Unknown Source)
>	at org.apache.catalina.startup.HostConfig.lifecycleEvent(Unknown
>Source)
>	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown
>Source)
>	at org.apache.catalina.core.ContainerBase.start(Unknown Source)
>	at org.apache.catalina.core.StandardHost.start(Unknown Source)
>	at org.apache.catalina.core.ContainerBase.start(Unknown Source)
>	at org.apache.catalina.core.StandardEngine.start(Unknown Source)
>	at org.apache.catalina.core.StandardService.start(Unknown Source)
>	at org.apache.catalina.core.StandardServer.start(Unknown Source)
>	at org.apache.catalina.startup.Catalina.start(Unknown Source)
>	at org.apache.catalina.startup.Catalina.execute(Unknown Source)
>	at org.apache.catalina.startup.Catalina.process(Unknown Source)
>	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.Bootstrap.main(Unknown Source)
>
>2003-04-29 22:50:05 StandardWrapper[/cocoon:default]: Loading container
>servlet default
>2003-04-29 22:50:05 default: init
>2003-04-29 22:50:05 StandardWrapper[/cocoon:invoker]: Loading container
>servlet invoker
>2003-04-29 22:50:05 invoker: init
>2003-04-29 22:50:05 jsp: init
>
>
>
>Does anyone have any solutions to this? I need to find one quickly as my
>client is looking to use cocoon for a project. I need to get the proof
>of concept up and running as quickly as possible. Thanks in advance for
>your help.
>


---------------------------------------------------------------------
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