cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Butler, Mark" <Mark_But...@hplb.hpl.hp.com>
Subject RE: [SHOWSTOPPER] Issues with DELI
Date Thu, 31 Jan 2002 09:49:57 GMT
Berin,

I'm looking into this now.

I can confirm neither Deli or Jena use system.exit() (however an earlier
version of Deli in the cvs did - please check you are using deli-0.41.jar).

If I remove Xerces-1.4.4.jar and run C2 I get a total different message to
you - please tell me exactly what you are doing so I can repeat the problem?

See errors below:

A Servlet Exception Has Occurred
Exception Report:
javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw
exception
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:875)
	at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:621)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:215)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2366)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1005)
	at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1098
)
	at java.lang.Thread.run(Thread.java:484)

Root Cause:
java.lang.Error: Unable to setup SAX parserjava.lang.ClassCastException:
org.apache.crimson.jaxp.SAXParserFactoryImpl
	at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.(Defau
ltConfigurationBuilder.java:92)
	at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.(Defau
ltConfigurationBuilder.java:64)
	at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:582)
	at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:165)
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:856)
	at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:621)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:215)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2366)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1005)
	at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1098
)
	at java.lang.Thread.run(Thread.java:484)

regards

Mark

> -----Original Message-----
> From: Berin Loritsch [mailto:bloritsch@apache.org]
> Sent: 30 January 2002 21:20
> To: cocoon-dev@xml.apache.org
> Subject: [SHOWSTOPPER] Issues with DELI
> 
> 
> The Deli classes require Xerces 1.4.4 so badly that it will 
> kill the JVM if it is not there!
> Please, any maintainers of Deli, get rid of the artificial 
> requirement of the specific Xerces
> class, and make sure there is no System.exit() calls in the 
> code base.  As long as these two
> problems exist, I cannot in good conscience support it in Cocoon.
> 
> Below is the stack trace sent to System.out from Tomcat.
> 
> --------------------------------------------------------------
> --------------------------------
> 
> java.lang.reflect.InvocationTargetException: 
> java.lang.NoClassDefFoundError: org/apache/xerces/framework/XMLParser
>          at 
> org.apache.cocoon.components.deli.DeliImpl.initialize(DeliImpl
> .java:125)
>          at 
> org.apache.avalon.excalibur.component.DefaultComponentFactory.
> newInstance(DefaultComponentFactory.java:183)
>          at 
> org.apache.avalon.excalibur.component.ThreadSafeComponentHandl
> er.initialize(ThreadSafeComponentHandler.java:84)
>          at 
> org.apache.avalon.excalibur.component.ExcaliburComponentManage
> r.initialize(ExcaliburComponentManager.java:167)
>          at org.apache.cocoon.Cocoon.initialize(Cocoon.java:271)
>          at 
> org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonSer
> vlet.java:991)
>          at 
> org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:308)
>          at 
> org.apache.tomcat.facade.ServletHandler.doInit(ServletHandler.
> java:410)
>          at 
> org.apache.tomcat.facade.ServletHandler.init(ServletHandler.java:265)
>          at 
> org.apache.tomcat.facade.LoadOnStartupInterceptor.contextInit(
> LoadOnStartupInterceptor.java:136)
>          at org.apache.tomcat.core.Context.init(Context.java:537)
>          at 
> org.apache.tomcat.core.ContextManager.init(ContextManager.java:531)
>          at 
> org.apache.tomcat.startup.EmbededTomcat.initContextManager(Emb
> ededTomcat.java:245)
>          at org.apache.tomcat.startup.Tomcat.start(Tomcat.java:149)
>          at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:92)
>          at java.lang.reflect.Method.invoke(Native Method)
>          at 
> org.apache.tomcat.util.IntrospectionUtils.execute(Introspectio
> nUtils.java:87)
>          at org.apache.tomcat.startup.Main.execute(Main.java:322)
>          at org.apache.tomcat.startup.Main.main(Main.java:189)
> 
> -- 
> 
> "They that give up essential liberty to obtain a little 
> temporary safety
>   deserve neither liberty nor safety."
>                  - Benjamin Franklin
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

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


Mime
View raw message