Can we run JBossWS-CXF and a custom CXF?
Issue
- We are using JBoss EAP 5.1 with the JBoss version of CXF installed. This is working fine. However, we have one application that requires a newer version of CXF.
- How can we isolate this into a different classloader so that both versions of CXF can be used without conflict? Currently we are getting errors like this:
ERROR [org.springframework.web.context.ContextLoader] (main) Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restContainer': Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.util.List' for property 'serviceBeans'; nested exception is java.lang.ClassCastException: class org.apache.cxf.transport.jms.ClientBehaviorPolicyType
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.