cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenneth Petersen" <Coco...@epetersen.dk>
Subject Cocoon 2 / Tomcat 4.0 / JBoss 2.4.2
Date Tue, 02 Oct 2001 13:24:23 GMT
I am trying to launch Cocoon 2 rc 1 within the integrated JBoss 2.4.2/Tomcat 4.0 environment.
In the initialization process of JBoss the exception mentioned below is thrown. 

Does anyone know how to get the tree products to work together? Help would be much appreciated.


Regards 
KP 

Log file entry: 
[EmbeddedCatalinaServiceSX] AbstractWebContainer.parseWebAppDescriptors, End 
[EmbeddedCatalinaServiceSX] Cocoon2: init 
[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(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.addChild(Unknown Source) 
at org.apache.catalina.core.StandardHost.addChild(Unknown Source) 
at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCatalinaServiceSX.java:349)

at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatalinaServiceSX.java:250)

at org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:181) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28) 
at java.lang.reflect.Method.invoke(Method.java:313) 
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:509) 
at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:468) 
at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:208) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28) 
at java.lang.reflect.Method.invoke(Method.java:313) 
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) 
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) 
at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379) 
at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217) 
at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:353) 
at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107) 
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28) 
at java.lang.reflect.Method.invoke(Method.java:313) 
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:836)

at $Proxy0.start(Unknown Source) 
at org.jboss.util.ServiceControl.start(ServiceControl.java:81) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28) 
at java.lang.reflect.Method.invoke(Method.java:313) 
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) 
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) 
at org.jboss.Main.<init>(Main.java:221) 
at org.jboss.Main$1.run(Main.java:127) 
at java.security.AccessController.doPrivileged(Native Method) 
at org.jboss.Main.main(Main.java:123) 
[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.<init>(DefaultConfigurationBuilder.java:42)

at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:375) 
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:136) 
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.addChild(Unknown Source) 
at org.apache.catalina.core.StandardHost.addChild(Unknown Source) 
at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCatalinaServiceSX.java:349)

at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatalinaServiceSX.java:250)

at org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:181) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28) 
at java.lang.reflect.Method.invoke(Method.java:313) 
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:509) 
at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:468) 
at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:208) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28) 
at java.lang.reflect.Method.invoke(Method.java:313) 
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) 
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) 
at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379) 
at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217) 
at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:353) 
at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107) 
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28) 
at java.lang.reflect.Method.invoke(Method.java:313) 
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:836)

at $Proxy0.start(Unknown Source) 
at org.jboss.util.ServiceControl.start(ServiceControl.java:81) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28) 
at java.lang.reflect.Method.invoke(Method.java:313) 
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) 
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) 
at org.jboss.Main.<init>(Main.java:221) 
at org.jboss.Main$1.run(Main.java:127) 
at java.security.AccessController.doPrivileged(Native Method) 
at org.jboss.Main.main(Main.java:123) 
[EmbeddedCatalinaServiceSX] StandardWrapper[/cocoon:default]: Loading container servlet default

[EmbeddedCatalinaServiceSX] default: init 


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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