cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <>
Subject [jira] Commented: (CXF-3194) Probem when i deploy a war contening cxf-bundle-minimal-2.2.11.jar in jboss 6.M5
Date Thu, 16 Dec 2010 15:18:04 GMT


Andreas Veithen commented on CXF-3194:

I don't know. I encountered the issue with xmlbeans embedded in an OSGi bundle, and for that
case, there is another solution (adding an Import-Package). So for me, there was no need to
get an xmlbeans JAR without these interfaces. I would simply look at the last xmlbeans version,
and if they are still there, maybe ask on the xmlbeans mailing list.

> Probem when i deploy a war contening cxf-bundle-minimal-2.2.11.jar in jboss 6.M5 
> ---------------------------------------------------------------------------------
>                 Key: CXF-3194
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.11
>         Environment: Linux Ubuntu
> JBoss 6.0.0.M5
>            Reporter: Sandra T
> I have a war that imports cxf-bundle-minimal-2.2.11.jar. And cxf-bundle-minimal-2.2.11.jar
needs xmlbeans-2.4.0.jar.
> When I deploy my war, I have the following error in JBoss : 
> Caused by: java.lang.RuntimeException: Error visiting resource: VFSResourceContext @
org/apache/xmlbeans/impl/store/Xobj$DetailEntryXobj.class / BaseClassLoader@ffab3f{vfs:///home/sandraT/Logiciels/jboss-},
visitor: org.jboss.scanning.annotations.plugins.GenericAnnotationVisitor@c41d96
> 	at org.jboss.scanning.plugins.visitor.IgnoreSetErrorHandler.handleError(
> 	at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.visit(
> 	at org.jboss.scanning.annotations.plugins.AnnotationsScanningPlugin.visit(
> 	at org.jboss.scanning.spi.helpers.ScanningPluginWrapper.visit(
> 	at org.jboss.classloading.plugins.visitor.FederatedResourceVisitor.visit(
> 	at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(
> 	... 50 more
> Caused by: java.lang.LinkageError: loader constraint violation in interface itable initialization:
when resolving method "$ElementXobj.getSchemaTypeInfo()Lorg/w3c/dom/TypeInfo;"
the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current
class, org/apache/xmlbeans/impl/store/Xobj$ElementXobj, and the class loader (instance of
<bootloader>) for interface org/w3c/dom/Element have different Class objects for the
type org/w3c/dom/TypeInfo used in the signature
> 	at java.lang.Class.getDeclaredConstructors0(Native Method) [:1.6.0_16]
> 	at java.lang.Class.privateGetDeclaredConstructors( [:1.6.0_16]
> 	at java.lang.Class.getDeclaredConstructors( [:1.6.0_16]
> 	at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getDeclaredConstructors(
> 	at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getConstructors(
> 	at org.jboss.reflect.plugins.ClassInfoImpl.getDeclaredConstructors(
> 	at org.jboss.scanning.plugins.visitor.ClassHierarchyResourceVisitor.handleClass(
> 	at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.doVisit(
> 	at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.visit(
> 	... 54 more
> what is the workaround for this problem?
> Sanrda

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message