You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Chris Custine (JIRA)" <ji...@apache.org> on 2007/12/31 23:16:27 UTC

[jira] Created: (SM-1188) wsdl-first-cxfse-su samples don't build after upgrading to CXF 2.0.4 SNAPSHOT

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


[jira] Updated: (SM-1188) wsdl-first-cxfse-su samples don't build after upgrading to CXF 2.0.4 SNAPSHOT

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Custine updated SM-1188:
------------------------------

    Affects Version/s:     (was: 3.2.1)
                       3.3
                       3.2.2

This issue is only affecting the current 3.3 SNAPSHOT from trunk and unreleased 3.2.2 SNAPSHOT from the bug fix branch.

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


[jira] Commented: (SM-1188) wsdl-first-cxfse-su samples don't build after upgrading to CXF 2.0.4 SNAPSHOT

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=40969#action_40969 ] 

Freeman Fang commented on SM-1188:
----------------------------------

Hi Chris,

I reproduce your problem, that's the classloader issue in cxf, I will fix it up soon. [1] track this in cxf

[1]https://issues.apache.org/jira/browse/CXF-1351

Thanks

Freeman

> 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
>            Assignee: Freeman Fang
>            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.


[jira] Resolved: (SM-1188) wsdl-first-cxfse-su samples don't build after upgrading to CXF 2.0.4 SNAPSHOT

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved SM-1188.
------------------------------

    Resolution: Fixed

fixed by
http://svn.apache.org/viewvc?rev=608369&view=rev

> 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
>            Assignee: Freeman Fang
>            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.


[jira] Assigned: (SM-1188) wsdl-first-cxfse-su samples don't build after upgrading to CXF 2.0.4 SNAPSHOT

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned SM-1188:
--------------------------------

    Assignee: Freeman Fang

> 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
>            Assignee: Freeman Fang
>            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.


[jira] Commented: (SM-1188) wsdl-first-cxfse-su samples don't build after upgrading to CXF 2.0.4 SNAPSHOT

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
    [ 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.