Hi Matthias, this is typically a case of having several XML jars in your classpath. There's probably an XML jar that provides javax.xml.namespace.QName in the global Tomcat classpath, and maybe another one in your own webapp. Alternatively, RIFE now supports a byte-code instrumentation agent that you can use instead of the classload. This should make any of these issues go away.
More information about using the agent here: http://rifers.org/docs/api/com/uwyn/rife/instrument/RifeAgent.html Hope this helps, Geert On 01 May 2008, at 12:04, Matthias Barmeier wrote: > > Hi, > > when I try to use JAXB2.0 with Rife and Tomcat 6 I got the an > java.lang.LinkageError Exception (details below). > > Is this a configuration error ? > > Ciao > Matthias > > > java.lang.LinkageError > loader constraints violated when linking javax/xml/namespace/QName > class > > at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl > <clinit> ( RuntimeBuiltinLeafInfoImpl.java : 779 ) > at com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl <init> > ( RuntimeTypeInfoSetImpl.java : 25 ) > at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder > createTypeInfoSet ( RuntimeModelBuilder.java : 78 ) > at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder > createTypeInfoSet ( RuntimeModelBuilder.java : 41 ) > at com.sun.xml.bind.v2.model.impl.ModelBuilder <init> ( > ModelBuilder.java : 97 ) > at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder <init> > ( > RuntimeModelBuilder.java : 44 ) > at com.sun.xml.bind.v2.runtime.JAXBContextImpl getTypeInfoSet > ( > JAXBContextImpl.java : 320 ) > at com.sun.xml.bind.v2.runtime.JAXBContextImpl <init> ( > JAXBContextImpl.java : 198 ) > at com.sun.xml.bind.v2.ContextFactory createContext ( > ContextFactory.java : 76 ) > at com.sun.xml.bind.v2.ContextFactory createContext ( > ContextFactory.java : 55 ) > at com.sun.xml.bind.v2.ContextFactory createContext ( > ContextFactory.java : 124 ) > at sun.reflect.NativeMethodAccessorImpl invoke0 ( > NativeMethodAccessorImpl.java ) > at sun.reflect.NativeMethodAccessorImpl invoke ( > NativeMethodAccessorImpl.java : 39 ) > at sun.reflect.DelegatingMethodAccessorImpl invoke ( > DelegatingMethodAccessorImpl.java : 25 ) > at java.lang.reflect.Method invoke ( Method.java : 585 ) > at javax.xml.bind.ContextFinder newInstance > ( ContextFinder.java > : 132 ) > at javax.xml.bind.ContextFinder find ( ContextFinder.java : > 286 ) > 28 more ... > > > -- Geert Bevin Terracotta - http://www.terracotta.org Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Music and words - http://gbevin.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rife-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rife-users?hl=en -~----------~----~----~----~------~----~------~--~---
