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:45:47 UTC

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

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


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.


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

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

Freeman Fang reassigned SMXCOMP-790:
------------------------------------

    Assignee: Freeman Fang

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


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

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


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

Posted by "Dan Powell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMXCOMP-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61364#action_61364 ] 

Dan Powell commented on SMXCOMP-790:
------------------------------------

That binding customization was not added until version 2.1.10 so there is no change with or without it in version 2.1.3.  In version 2.1.3 access to the "content" was available by default, removed in 2.1.4, and added back as a binding customization option in 2.1.10.

Comparing version 2.1.12 (the default for this version of cxf-se) and 2.2.1.1 the generated code is nearly identical and fails to deploy.

> 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
>            Assignee: Freeman Fang
>         Attachments: generated-sources.diff, jaxb-bindings-test-cxf.tar.gz, jaxb-bindings-test.tar.gz, pom.xml
>
>
> 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.


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

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

Freeman Fang commented on SMXCOMP-790:
--------------------------------------

Hi,

I get something new. 
Your testcase for cxf standalone actually build servicemodel from wsdl(but in smx actually it will build servicemodel from class), when you run it with mvn -Pserver, you can see a log like
Aug 31, 2010 5:20:00 PM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromWSDL
In this case, it works well(I guess your extra binding file get picked up in this case)

You generated impl class automatically which has wsdlLocation annotation, so in standalone cxf it will build servicemodel from wsdl.
I will append the testcase I modified a little bit which intend to build servicemodel from class(same as we do in smx), you can see the same problem in SMX, when you run with mvn -Pserver you will see error like
[INFO] An exception occured while executing the Java class. null

start tag has already been written


So now we get same behavior for both smx and cxf side, with extra jaxb binding files, we get error when build servicemodel from class. Currently I'm not sure this is a real cxf side issue or there's something wrong in your binding files(or the way you didn't specify binding file correctly), you may need post questions on cxf maillinglist, where I believe you can get more help.

Freeman 



> 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
>            Assignee: Freeman Fang
>         Attachments: generated-sources.diff, jaxb-bindings-test-cxf.tar.gz, jaxb-bindings-test.tar.gz, pom.xml
>
>
> 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.


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

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

Freeman Fang commented on SMXCOMP-790:
--------------------------------------

link the discussion on mailling list for this issue

http://servicemix.396122.n5.nabble.com/CXF-SE-with-JAX-WS-Binding-Files-td2473562.html#a2473562

> 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
>            Assignee: Freeman Fang
>         Attachments: generated-sources.diff, jaxb-bindings-test-cxf.tar.gz, jaxb-bindings-test.tar.gz, pom.xml
>
>
> 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.


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

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

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

    Attachment: pom.xml
                generated-sources.diff

POM using jaxb-xjc/jaxb-impl 2.1.3 and diff of generated classes.  The difference of interest, I suspect, is the inclusion of the @XmlMixed annotation - that this annotation isn't available at runtime, maybe?

> 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
>            Assignee: Freeman Fang
>         Attachments: generated-sources.diff, jaxb-bindings-test.tar.gz, pom.xml
>
>
> 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.


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

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

Freeman Fang resolved SMXCOMP-790.
----------------------------------

    Resolution: Won't Fix

> 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
>            Assignee: Freeman Fang
>         Attachments: generated-sources.diff, jaxb-bindings-test-cxf-revision.tar, jaxb-bindings-test-cxf.tar.gz, jaxb-bindings-test.tar.gz, pom.xml
>
>
> 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.


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

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

Freeman Fang updated SMXCOMP-790:
---------------------------------

    Attachment: jaxb-bindings-test-cxf-revision.tar

attach the standalone cxf testcase I modified a little bit

> 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
>            Assignee: Freeman Fang
>         Attachments: generated-sources.diff, jaxb-bindings-test-cxf-revision.tar, jaxb-bindings-test-cxf.tar.gz, jaxb-bindings-test.tar.gz, pom.xml
>
>
> 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.


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

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

Freeman Fang commented on SMXCOMP-790:
--------------------------------------

Hi,

>From the diff of generated classes, I can clearly see that the code generated by jaxb-xjc/jaxb-impl 2.1.3 has no @XmlMixed at all, so the jaxb binding file didn't get picked up for 2.1.3. With 2.1.3, just like no jaxb binding file at all.
I noticed in your pom.xml you use defaultOptions to configure cxf-codegen-plugin, I'm sure this is the correct to specify wsdls with binding files, your current configuration is like

{code}
            <configuration>
              <defaultOptions>
                <extraargs>
                  <extraarg>-impl</extraarg>
                </extraargs>
              </defaultOptions>
            </configuration>
 {code}

I think you should use

{code}
                      <configuration>
                        <wsdlOptions>
                                <wsdlOption>
                                    <wsdl>${basedir}/src/main/resources/wsdl/pinger.wsdl</wsdl>
                                     <bindingFiles>
                                         <bindingFile>${basedir}/src/main/resources/defaultBinding.xml</bindingFile>
                                     </bindingFiles>

                                    <extraargs>
                                        <extraarg>-verbose</extraarg>
                                        <extraarg>-impl</extraarg>
                                    </extraargs>
                                </wsdlOption>
                            </wsdlOptions>
                      </configuration>
{code}

With this configuration, you may see there's actually something wrong in your jaxb binding files.

Freeman

> 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
>            Assignee: Freeman Fang
>         Attachments: generated-sources.diff, jaxb-bindings-test-cxf.tar.gz, jaxb-bindings-test.tar.gz, pom.xml
>
>
> 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.


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

Posted by "Dan Powell (JIRA)" <ji...@apache.org>.
     [ 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-cxf.tar.gz

Standalone CXF test case that works.

> 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
>            Assignee: Freeman Fang
>         Attachments: generated-sources.diff, jaxb-bindings-test-cxf.tar.gz, jaxb-bindings-test.tar.gz, pom.xml
>
>
> 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.