You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by IB...@aol.com on 2001/08/27 22:15:36 UTC
Can't run under JBoss2.4/Tomcat3.2.3 (org.xml.sax.SAXNotSupportedException)
Hi,
I'm trying to get Cocoon2b2 going with the JBoss2.4/Tomcat3.2.3 bundle. To
the best of my knowledge I followed the Cocoon install instructions for the
JBoss2.2.2/Tomcat3.2.2 bundle to the letter, but am getting the exception
below. Has anyone tried to use cocoon with this new JBoss release? I'm
running under Cygwin. I can view the Tomcat intro page at
http://localhost:8080 with no problem. It looks like an xml parser error.
I double checked that $JBOSS_HOME/lib/xerces_1_4_1.jar was in the
JBOSS_CLASSPATH. If there is any more information that I could provide
(logs etc.) just let me know.
Thanks!
Ian
Cocoon 2 - Internal servlet error
----------------------------------------------------------------------------
----
type internal-servlet-error
message Internal servlet error
description Cocoon was not initialized.
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
request-uri
/cocoon/
embedded exception
org.xml.sax.SAXNotSupportedException: Property:
http://xml.org/sax/properties/lexical-handler
embedded exception stacktrace
org.xml.sax.SAXNotSupportedException: Property:
http://xml.org/sax/properties/lexical-handler
at
org.apache.crimson.parser.XMLReaderImpl.setProperty(XMLReaderImpl.java:248)
at org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:67)
at org.apache.cocoon.Cocoon.configure(Cocoon.java:216)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:160)
at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:634)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:164)
at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java:130)
at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.jboss.tomcat.TomcatEntry.initContext(TomcatEntry.java:144)
at
org.jboss.tomcat.EmbeddedTomcatServiceSX.performDeploy(EmbeddedTomcatService
SX.java:134)
at org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:185)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30
)
at
sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl
.java:48)
at java.lang.reflect.Method.invoke(Method.java:306)
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:501)
at
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:464)
at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:208)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30
)
at
sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl
.java:48)
at java.lang.reflect.Method.invoke(Method.java:306)
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.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30
)
at
sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl
.java:48)
at java.lang.reflect.Method.invoke(Method.java:306)
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(Configurati
onService.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:30
)
at
sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl
.java:48)
at java.lang.reflect.Method.invoke(Method.java:306)
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:210)
at org.jboss.Main$1.run(Main.java:116)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.Main.main(Main.java:112)
exception
org.apache.avalon.framework.configuration.ConfigurationException: Error
trying to load configurations
stacktrace
org.apache.avalon.framework.configuration.ConfigurationException: Error
trying to load configurations
at org.apache.cocoon.Cocoon.configure(Cocoon.java:220)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:160)
at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:634)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:164)
at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java:130)
at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.jboss.tomcat.TomcatEntry.initContext(TomcatEntry.java:144)
at
org.jboss.tomcat.EmbeddedTomcatServiceSX.performDeploy(EmbeddedTomcatService
SX.java:134)
at org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:185)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30
)
at
sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl
.java:48)
at java.lang.reflect.Method.invoke(Method.java:306)
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:501)
at
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:464)
at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:208)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30
)
at
sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl
.java:48)
at java.lang.reflect.Method.invoke(Method.java:306)
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.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30
)
at
sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl
.java:48)
at java.lang.reflect.Method.invoke(Method.java:306)
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(Configurati
onService.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:30
)
at
sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl
.java:48)
at java.lang.reflect.Method.invoke(Method.java:306)
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:210)
at org.jboss.Main$1.run(Main.java:116)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.Main.main(Main.java:112)
Caused by: org.xml.sax.SAXNotSupportedException: Property:
http://xml.org/sax/properties/lexical-handler
at
org.apache.crimson.parser.XMLReaderImpl.setProperty(XMLReaderImpl.java:248)
at org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:67)
at org.apache.cocoon.Cocoon.configure(Cocoon.java:216)
... 49 more
.
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Can't run under JBoss2.4/Tomcat3.2.3 (org.xml.sax.SAXNotSupportedException)
Posted by Gianugo Rabellino <g....@bibop.it>.
On Mon, Aug 27, 2001 at 04:15:36PM -0400, IBrandt@aol.com wrote:
>
> Hi,
>
> I'm trying to get Cocoon2b2 going with the JBoss2.4/Tomcat3.2.3 bundle. To
> the best of my knowledge I followed the Cocoon install instructions for the
> JBoss2.2.2/Tomcat3.2.2 bundle to the letter, but am getting the exception
> below. Has anyone tried to use cocoon with this new JBoss release? I'm
> running under Cygwin. I can view the Tomcat intro page at
Here (Linux is being run) I succeeded with almost no problem. Please
double check that:
1. you edited the Jboss run script and got rid of the JAXP envs and of
the crimson.jar, putting xerces in place of crimson (lines 23-24-25);
2. you moved away crimson.jar from jboss/lib and copied xerces in this
place;
3. you removed any occurence of jaxp.jar (both in jboss and tomcat) and
copied xerces in tomcat/lib;
4. you renamed parser.jar to zparser.jar in tomcat/lib.
This was enough for me. Although YMMV, it should be pretty
straightforward: let me know if you still have problems.
Ciao,
--
Gianugo Rabellino
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>