cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Walsh <a...@grummen.net>
Subject Re: [newbie][2.1rc1] LinkageError: SerializationHandler violates loader constraints
Date Sun, 10 Aug 2003 02:35:28 GMT
Hi Joerg,

It seems to only be a problem when I use it under Tomcat. I'm running
Tomcat 4.1.27 on win 2000. I've put the xalan, xerces, and xmlapis jars
in the tomcat endorsed directories, but still get this error and end up
with a blank page. I tried it with Jetty tho and it works fine, so I
guess it's a classloader issue with Tomcat?

Thanks,
Adam


On Sun, 2003-08-10 at 08:04, Joerg Heinicke wrote:
> Seems to be not a problem of XMLForm but of Cocoon deployment in 
> general. What's your environment? Do you get any generated page?
> 
> Joerg
> 
> grummen.net@grummen.net wrote:
> 
> > Hi Everyone,
> > 
> > I've just pulled down cocoon 2.1 rc1 and am trying to get the XMLForm Wizard's
> > How-To running. I've followed the steps at
> > http://cocoon.apache.org/2.1/howto/xmlform-wizard/howto-xmlform-wizard.html but
> > I seem to be ending up with a blank screen and the stacktrace below in the logs.
> > I've probably done something stupid, but I'm feeling a bit stuck at this point.
> > Any help would be appreciated! 
> > 
> > Thanks in advance,
> > Adam
> > 
> > 2003-08-07 19:45:00 StandardWrapperValve[Cocoon]: Servlet.service() for servlet
> > Cocoon threw exception
> > javax.servlet.ServletException: Servlet execution threw an exception
> > 	at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> > 	at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> > 	at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
> > 	at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> > 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> > 	at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> > 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
> > 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> > 	at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> > 	at
> > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
> > 	at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> > 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
> > 	at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> > 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> > 	at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> > 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> > 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
> > 	at
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
> > 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
> > 	at
> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
> > 	at java.lang.Thread.run(Thread.java:534)
> > ----- Root Cause -----
> > java.lang.LinkageError: Class org/apache/xml/serializer/SerializationHandler
> > violates loader constraints
> > 	at java.lang.ClassLoader.defineClass0(Native Method)
> > 	at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
> > 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
> > 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
> > 	at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
> > 	at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
> > 	at java.security.AccessController.doPrivileged(Native Method)
> > 	at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
> > 	at
> > org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:621)
> > 	at
> > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:958)
> > 	at
> > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857)
> > 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
> > 	at java.lang.ClassLoader.defineClass0(Native Method)
> > 	at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
> > 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
> > 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
> > 	at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
> > 	at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
> > 	at java.security.AccessController.doPrivileged(Native Method)
> > 	at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
> > 	at
> > org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:621)
> > 	at
> > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:958)
> > 	at
> > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857)
> > 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
> > 	at java.lang.ClassLoader.defineClass0(Native Method)
> > 	at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
> > 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
> > 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
> > 	at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
> > 	at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
> > 	at java.security.AccessController.doPrivileged(Native Method)
> > 	at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
> > 	at
> > org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:621)
> > 	at
> > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:958)
> > 	at
> > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857)
> > 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
> > 	at
> > org.apache.xalan.xsltc.runtime.AbstractTranslet.<init>(AbstractTranslet.java:109)
> > 	at error2html.<init>()
> > 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> > 	at
> > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> > 	at
> > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> > 	at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> > 	at java.lang.Class.newInstance0(Class.java:308)
> > 	at java.lang.Class.newInstance(Class.java:261)
> > 	at
> > org.apache.xalan.xsltc.trax.TemplatesImpl.getTransletInstance(TemplatesImpl.java:329)
> > 	at org.apache.xalan.xsltc.trax.TemplatesImpl.newTransformer(TemplatesImpl.java:358)
> > 	at
> > org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTransformerHandler(TransformerFactoryImpl.java:835)
> > 	at
> > org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:328)
> > 	at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:302)
> > 	at
> > org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:393)
> 
> ...
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
-- 
Adam Walsh <adam@grummen.net>


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


Mime
View raw message