cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Ratcliffe" <a...@mrigitech.com>
Subject RE: Initialization Problem
Date Fri, 31 Dec 2004 01:19:31 GMT
It looks like you are missing the Cocoon/Avalon jar files, they should be in
your application's WEB-INF/lib directory.

Can you run the webapp in your Cocoon build directory, using the command
'cocoon servlet' on Windows or
'./cocoon.sh servlet' on *nix?

Cheers
Adam
  -----Original Message-----
  From: kodjo baah [mailto:kodjo_baah@hotmail.com]
  Sent: Friday, 31 December 2004 4:59 a.m.
  To: users@cocoon.apache.org
  Subject: Initialization Problem


  I am using tomcat 5.0.28.
  I downloaded the sources for cocoon-2.1.5.1 and cocoon-2.1.6.
  I am able to run the build.bat file without any problems. But when
  i deploy it and try to run it, i get the following error:

  starting and stopping tomcat does not seem to have any effect on the
  problem..
  Initialization Problem
  Message: org.apache.cocoon.components.cprocessor.TreeProcessor

  Description:
org.apache.avalon.framework.configuration.ConfigurationException: Could not
get class

  Sender: org.apache.cocoon.servlet.CocoonServlet

  Source: Cocoon Servlet

  cause

java.lang.ClassNotFoundException:
org.apache.cocoon.components.cprocessor.TreeProcessor
  request-uri

/cocoon/
  full exception chain stacktrace

org.apache.avalon.framework.configuration.ConfigurationException: Could not
get class
	at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.configure(Ex
caliburComponentManager.java:456)
	at
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.
java:240)
	at org.apache.cocoon.Cocoon.configure(Cocoon.java:413)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:270)
	at
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil
.java:283)
	at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1382
)
	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:480)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:10
29)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
4013)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
	at org.apache.catalina.core.StandardService.start(StandardService.java:480)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
	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.start(Bootstrap.java:287)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Caused by: java.lang.ClassNotFoundException:
org.apache.cocoon.components.cprocessor.TreeProcessor
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1340)
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1189)
	at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.configure(Ex
caliburComponentManager.java:442)
	... 23 more

  stacktrace

java.lang.ClassNotFoundException:
org.apache.cocoon.components.cprocessor.TreeProcessor
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1340)
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1189)
	at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.configure(Ex
caliburComponentManager.java:442)
	at
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.
java:240)
	at org.apache.cocoon.Cocoon.configure(Cocoon.java:413)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:270)
	at
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil
.java:283)
	at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1382
)
	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:480)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:10
29)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
4013)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
	at org.apache.catalina.core.StandardService.start(StandardService.java:480)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
	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.start(Bootstrap.java:287)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)

  Apache Cocoon 2.1.6




----------------------------------------------------------------------------
--
  MSN Premium gives you PC protection, junk-mail filters, advanced
communication tools and great software like MSN Encarta® Premium. Click here
for a FREE
trial! ---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional
commands, e-mail: users-help@cocoon.apache.org

Mime
View raw message