servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Custine (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SM-1188) wsdl-first-cxfse-su samples don't build after upgrading to CXF 2.0.4 SNAPSHOT
Date Wed, 02 Jan 2008 00:51:34 GMT

    [ https://issues.apache.org/activemq/browse/SM-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=40950#action_40950
] 

Chris Custine commented on SM-1188:
-----------------------------------

The first invocation of the codegen plugin works fine, but if there is another CXF module
in the same project that builds later in the build cycle, the codegen plugin fails.  Since
the CXF BC has JUnit test code that calls codegen, it builds fine but the samples fail later.
 It looks like there are some singletons in CXF (PluginLoader, XMLUtils) that might be causing
some JAXP discovery related classloader issues in a multi-module maven project.

Maybe Freeman or Dan can take a look at this from the CXF side, but I will leave this issue
open until we figure it out because this is going to be an issue when more people start using
CXF in Servicemix.

> wsdl-first-cxfse-su samples don't build after upgrading to CXF 2.0.4 SNAPSHOT
> -----------------------------------------------------------------------------
>
>                 Key: SM-1188
>                 URL: https://issues.apache.org/activemq/browse/SM-1188
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-cxf-se
>    Affects Versions: 3.2.2, 3.3
>            Reporter: Chris Custine
>            Priority: Minor
>
> The CXF dependencies were upgraded to 2.0.4-incubator-SNAPSHOT for SM-1168 and since
then the wsdl-first-cxfse-su sample project fails on the cxf codegen step with the following
error:
> [INFO] ------------------------------------------------------------------------
> [INFO] Building ServiceMix :: Samples :: WSDL first :: CXF SE
> [INFO]    task-segment: [clean, install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory /home/ccustine/development/apache/servicemix/smx3.2/samples/cxf-wsdl-first/wsdl-first-cxfse-su/target
> [INFO] [cxf-codegen:wsdl2java {execution: default}]
> Loading FrontEnd jaxws ...
> Loading DataBinding jaxb ...
> wsdl2java -d /home/ccustine/development/apache/servicemix/smx3.2/samples/cxf-wsdl-first/wsdl-first-cxfse-su/target/jaxws
-verbose /home/ccustine/development/apache/servicemix/smx3.2/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/resources/person.wsdl
> wsdl2java - Apache CXF (incubator) 2.0.4-incubator-SNAPSHOT
> Dec 31, 2007 3:00:47 PM org.apache.cxf.tools.validator.internal.WSDL11Validator getWSDLDoc
> INFO: Validate wsdl file:/home/ccustine/development/apache/servicemix/smx3.2/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/resources/person.wsdl
> WSDLToJava Error : java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration
> org.apache.cxf.tools.common.ToolException: java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration

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


Mime
View raw message