You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Dan Powell (JIRA)" <ji...@apache.org> on 2010/08/23 03:48:47 UTC

[jira] Updated: (SMXCOMP-790) IllegalStateException Deploying CXF-SE Service Unit with JAX-WS Binding Files

     [ https://issues.apache.org/activemq/browse/SMXCOMP-790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Powell updated SMXCOMP-790:
-------------------------------

    Attachment: jaxb-bindings-test.tar.gz

Test case illustrating issue.

> IllegalStateException Deploying CXF-SE Service Unit with JAX-WS Binding Files
> -----------------------------------------------------------------------------
>
>                 Key: SMXCOMP-790
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-790
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-cxf-se
>    Affects Versions: servicemix-cxf-se-2010.01
>         Environment: Linux x86_64
> java version "1.6.0_21"
> Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
> Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)
> xjc version "JAXB 2.1.10 in JDK 6"
> JavaTM Architecture for XML Binding(JAXB) Reference Implementation, (build JAXB 2.1.10 in JDK 6)
>            Reporter: Dan Powell
>         Attachments: jaxb-bindings-test.tar.gz
>
>
> I need to use a binding file to customize the generated classes for my services (specifically generateMixedExtensions).  The cxf-codegen-plugin correctly observes the binding file and generates the correct classes, but the cxf-se component throws an IllegalStateException deploying the SU. Without the binding file, my service deploys properly.  
> If I specify version jaxb-xjc and jaxb-impl version 2.1.3 as plugin dependencies for the cxf-codegen-plugin then it deploys.  I've tried building a servicemix-cxf-bc based on the 2010.01 tag but with 2.2.1.1 XJC but still get the same IllegalStateException. 
> The service also starts correctly with the binding file on standalone CXF version 2.2.9.
> Information on this specific binding customization, if relevant, can be found at http://blogs.sun.com/mgrebac/entry/handling_extended_mixed_content_in.

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