cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: [newbie][2.1rc1] LinkageError: SerializationHandler violates loader constraints
Date Sun, 10 Aug 2003 07:59:42 GMT
Yes, it looks so. The interface 
org.apache.xml.serializer.SerializationHandler belongs to Xalan. Do you 
have any unreachable Xalan package in your classpath - whereever you can 
search for it? Maybe anyone else has already solved such an issue? The 
messages I found were not really helpful. At 
http://w6.metronet.com/~wjm/tomcat/2001/Sep/msg00112.html it was a bug 
in Tomcat, but as you can see it's almost 2 years old.

Joerg

Adam Walsh wrote:

> 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)

...

>>>----- 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


Mime
View raw message