Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cocoon 2.1.7

Status
Not open for further replies.

developerinlondon

Programmer
Jan 11, 2003
196
GB
anyone tried installing/using cocoon with tomcat? All I am trying to do is make a xml webservice for making bookings online through our database and thought cocoon was the right direction but it seems theres just about no good documentation on cocoon around and most of the documentations are quite misleading. I still havent been able to get a cocoon servlet running from within tomcat (although it runs from cocoon's own container)

any ideas?
 
- Error configuring application listener of class net.sourceforge.myfaces.webapp.StartupServletContextListener
java.lang.ClassNotFoundException: net.sourceforge.myfaces.webapp.StartupServletContextListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3617)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:894)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:857)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1165)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1304)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1568)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1577)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1557)
at java.lang.Thread.run(Thread.java:595)
- Skipped installing application listeners due to previous error(s)
06-May-2005 13:58:32 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
06-May-2005 13:58:32 org.apache.catalina.core.StandardContext start
SEVERE: Context [/cocoontest] startup failed due to previous errors
 
I would try adding the cocoon jars into TOMCAT_HOME/common/lib ...

--------------------------------------------------
Free Database Connection Pooling Software
 
thanks for that. actually it seems i need to add the following startup option to running JDK:
export CATALINA_OPTS=-Djava.awt.headless=true
i just added it to catalina.sh

but now i am running into a strange problem... tomcat manager seems to have stopped working. it comes up with a page with directory listing only... any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top