-
1. Re: JBoss2.4.4/Tomcat4.0.1/cocoon2 on linux,win2K
gasperm Jan 3, 2002 3:10 PM (in response to auditd)Hello
I don't know the answer to your question but I didn't manage to install coocon2 on win2000 I get an
java.lang.NoClassDefFoundError: org/xml/sax/SAXException
and jboss won't even start. This happens when I delete crimson.jar as written in the docs. I have xerces-1.4.4.jar in the lib/ dir and included in run.bat .
What is your secret :) on how to install cocoon2?
Thanks
Gasper -
2. Re: JBoss2.4.4/Tomcat4.0.1/cocoon2 on linux,win2K
auditd Jan 3, 2002 10:07 PM (in response to auditd)I just traced steps descibed in Cocoon2 install manual.
step 1. delete crimson.jar, jaxp.jar in $JBOSS_DIST/lib
step 2. delete parser.jar,jaxp.jar in $TOMCAT_HOME/lib for Tomcat ver. < 4.0. in case of TOMCAT 4.0, do nothing.
step 3. edit your $JBOSS_DIST/bin/run.bat referring to above thread.
> Hello
>
> I don't know the answer to your question but I didn't
> manage to install coocon2 on win2000 I get an
>
> java.lang.NoClassDefFoundError:
> org/xml/sax/SAXException
>
> and jboss won't even start. This happens when I
> delete crimson.jar as written in the docs. I have
> xerces-1.4.4.jar in the lib/ dir and included in
> run.bat .
>
> What is your secret :) on how to install cocoon2?
>
> Thanks
>
> Gasper -
3. Re: JBoss2.4.4/Tomcat4.0.1/cocoon2 on linux,win2K
auditd Jan 3, 2002 10:14 PM (in response to auditd)I forgot step4. sorry.
step 4. download xerces package here(http://xml.apache.org/dist/xerces-j/). After unzip, copy xerces_X_X_X.jar to $JBOSS_DIST/lib. -
4. Re: JBoss2.4.4/Tomcat4.0.1/cocoon 2 on linux,win2K
auditd Jan 4, 2002 4:14 AM (in response to auditd)found remedy in this forum's threads.
1. segmentation fault
add follow line in run.sh.(thanks for who answered segmentation-fault problem in this forum)
>> ulimit -s 2048
2. can't find sitemap.xmap error
also found remedy in cocoon2 FAQ.
according to FAQ, cocoon2 needs Xserver to run properly. so after starting X in linux box, above error disappeared.
thanks for all and Happy New Year!!
-- Auditd -
5. Re: JBoss2.4.4/Tomcat4.0.1/cocoon 2 on linux,win2K
sheepe Jan 4, 2002 8:56 AM (in response to auditd)It's usually easier not to replace jaxp/crimson with xerces, then rather include both; and put xerces in the front of the JBoss classpath. Even JBoss3 can run Cocoon2 this way - I have a working setup of these.
Christopher -
6. Re: JBoss2.4.4/Tomcat4.0.1/cocoon 2 on linux,win2K
markus1999 Jan 7, 2002 4:32 AM (in response to auditd)I could not get cocoon2 working
Could you provide exact scripts
for specially for W2000 -
7. Re: JBoss2.4.4/Tomcat4.0.1/cocoon2 on linux,win2K
gasperm Jan 7, 2002 9:26 AM (in response to auditd)Hi
My cocoon2 deploys with JBoss2.4.4/Tomcat4.0.1/cocoon2 setup, but with an exception - below.
I've tried both your auditd, and your Cristopher, setups.
I found out that the jsp example does not work, all other examples do (except sql). I'm in pain because I need the jsp transformation - I'm building my app on it.
Did anyone get the jsp example to work??
Please help me out.
Gasper
Exception:
[ERROR,EmbeddedCatalinaServiceSX] StandardContext[/cocoon]: Servlet /cocoon threw load() exception
javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:871)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3267)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCatalinaServiceSX.java:428)
at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatalinaServiceSX.java:282)
at org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:191)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:505)
at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371)
at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
at $Proxy0.start(Unknown Source)
at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.Main.(Main.java:208)
at org.jboss.Main$1.run(Main.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.Main.main(Main.java:106)
[ERROR,EmbeddedCatalinaServiceSX] ----- Root Cause -----
java.lang.Error: Unable to setup SAX parserjava.lang.ClassCastException: org.apache.crimson.jaxp.SAXParserFactoryImpl
at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.(DefaultConfigurationBuilder.java:42)
at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:433)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:132)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3267)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCatalinaServiceSX.java:428)
at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatalinaServiceSX.java:282)
at org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:191)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:505)
at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371)
at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
at $Proxy0.start(Unknown Source)
at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.Main.(Main.java:208)
at org.jboss.Main$1.run(Main.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.Main.main(Main.java:106) -
8. Re: JBoss2.4.4/Tomcat4.0.1/cocoon2 on linux,win2K
gasperm Jan 7, 2002 9:42 AM (in response to auditd)Ups
I didn't put up the right trace of the exception - above.
Please ignore it!
Sorry.
Gasper
The right exception is:
[INFO,EmbeddedCatalinaServiceSX] jsp: init
[ERROR,EmbeddedCatalinaServiceSX] StandardContext[/cocoon]: Servlet /cocoon threw load() exception
javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:871)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3267)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCatalinaServiceSX.java:428)
at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatalinaServiceSX.java:282)
at org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:191)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:505)
at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371)
at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
at $Proxy0.start(Unknown Source)
at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.Main.(Main.java:208)
at org.jboss.Main$1.run(Main.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.Main.main(Main.java:106)
[ERROR,EmbeddedCatalinaServiceSX] ----- Root Cause -----
java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:103)
at org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:183)
at org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCache.java:165)
at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:138)
at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:324)
at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:266)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3267)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCatalinaServiceSX.java:428)
at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatalinaServiceSX.java:282)
at org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:191)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:505)
at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371)
at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
at $Proxy0.start(Unknown Source)
at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.Main.(Main.java:208)
at org.jboss.Main$1.run(Main.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.Main.main(Main.java:106) -
9. Re: JBoss2.4.4/Tomcat4.0.1/cocoon2 on linux,win2K
markus1999 Jan 8, 2002 2:37 AM (in response to auditd)This is the same exception which I get
help please ! -
10. Re: JBoss2.4.4/Tomcat4.0.1/cocoon2 on linux,win2K
marc.fleury Jan 8, 2002 9:35 AM (in response to auditd)Sorry I can't help here, but when you guys sort out the right setup for coocoon (the classpath and classes stuff is a mess) can you post this to the FAQ? (ADD YOU OWN FAQ entry) so others can find this easily?
thanks and good luck -
11. Re: JBoss2.4.4/Tomcat4.0.1/cocoon 2 on linux,win2K
lenua Apr 21, 2002 11:45 AM (in response to auditd)Dear Christopher!
You had successful attempt to execute JBoss/Tomcat/cocoon 2 on linux?
Please, I search for the help from you.
Describe your environment of performance.
I have made many unsuccessful tests.
Also studied a lot of documentation
Help me, please, with successful attempt
Elena