cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjay Kumar <rite2san...@gmail.com>
Subject Problem while deploying cocoon on JRUN 4.0
Date Thu, 14 Oct 2004 21:54:33 GMT
Hi,

I have been trying so hard to deploy the cocoon war file without any
success. It worked like a charm when I deployed the war file on Tomcat
5. Thanks for you help in advance..
================================
Environment 
================================
Windows 2000 Professional
JDK  1.4.1
JRUN 4. 0 (With Updater 2.0 patch)
Cocoon 2.1.5.1 (used a build command to first build the source files.
Then used build war command to build the war file)
======================
JRUN log 
======================
10/14 13:56:18 info Deploying web application
"file:/C:/cocoon-2.1.5.1/build/cocoon-2.1.5.1/cocoon.war" from:
file:/C:/cocoon-2.1.5.1/build/cocoon-2.1.5.1/cocoon.war
10/14 13:56:30 user JSPServlet: init
10/14 13:56:48 user Cocoon: init
10/14 13:56:52 error Could not pre-load servlet: Cocoon
java.lang.NoClassDefFoundError: org/apache/log4j/Layout
	at org.apache.commons.logging.impl.Log4jFactory.getInstance(Log4jFactory.java:140)
	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:257)
	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:390)
	at org.apache.xindice.client.xmldb.DatabaseImpl.<clinit>(DatabaseImpl.java:47)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:140)
	at org.apache.cocoon.components.source.impl.XMLDBSourceFactory.configure(XMLDBSourceFactory.java:89)
	at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:240)
	at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:269)
	at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
	at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:703)
	at org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedComponentSelector.java:233)
	at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:240)
	at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:269)
	at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
	at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:276)
	at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:297)
	at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:107)
	at org.apache.excalibur.source.impl.SourceResolverImpl.service(SourceResolverImpl.java:132)
	at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:182)
	at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:255)
	at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
	at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:234)
	at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:275)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.compose(TreeProcessor.java:194)
	at org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:212)
	at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:250)
	at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
	at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:522)
	at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:527)
	at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:306)
	at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
	at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1360)
	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:481)
	at jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1204)
	at jrun.servlet.WebApplicationService.preloadServlets(WebApplicationService.java:762)
	at jrun.servlet.WebApplicationService.postStart(WebApplicationService.java:257)
	at jrun.deployment.DeployerService.initModules(DeployerService.java:711)
	at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242)
	at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
	at jrun.deployment.DeployerService.deployPersistentURL(DeployerService.java:1570)
	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 com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
	at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
	at jrunx.kernel.agents.JRunAdminService.invoke(JRunAdminService.java:127)
	at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at jrunx.rmi.RMIBroker.invokeService(RMIBroker.java:281)
	at jrunx.rmi.RMIBroker.invoke(RMIBroker.java:137)
	at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
	at sun.rmi.transport.Transport$1.run(Transport.java:148)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
	at java.lang.Thread.run(Thread.java:536)

10/14 13:56:53 user webdav: init

==================
Cocoon Log:  core.log
==================
WARN    (2004-10-14) 14:05.29:984   [cocoon] (Unknown-URI)
Unknown-thread/CocoonServlet: Servlet initialization argument
'configurations' not specified, attempting to use
'/WEB-INF/cocoon.xconf'
INFO    (2004-10-14) 14:05.30:215   [cocoon] (Unknown-URI)
Unknown-thread/CocoonServlet: Reloading from:
file:C:/JRun4/servers/default/SERVER-INF/temp/cocoon.war1239511624/WEB-INF/cocoon.xconf
==================

Regards,
Sanjay

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


Mime
View raw message