You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Gyorgy Orban (JIRA)" <ji...@apache.org> on 2008/09/01 10:31:44 UTC

[jira] Created: (CXF-1777) JAXBDataBinding hard references internal classes from the JAXB Sun RI which are not available in Java 6 any more

JAXBDataBinding hard references internal classes from the JAXB Sun RI which are not available in Java 6 any more
----------------------------------------------------------------------------------------------------------------

                 Key: CXF-1777
                 URL: https://issues.apache.org/jira/browse/CXF-1777
             Project: CXF
          Issue Type: Bug
          Components: JAXB Databinding
    Affects Versions: 2.1.1
         Environment: Sun JDK 1.6.0_06
            Reporter: Gyorgy Orban


The following classes have been moved to a new internal package in Java 6:

com.sun.xml.bind.marshaller.NamespacePrefixMapper;
com.sun.xml.bind.v2.ContextFactory;
com.sun.xml.bind.v2.runtime.JAXBContextImpl;

JAXBDataBinding has hard reference to them. It causes issues when running CXF on Sun JDK 1.6.0_06

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


[jira] Commented: (CXF-1777) JAXBDataBinding hard references internal classes from the JAXB Sun RI which are not available in Java 6 any more

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627691#action_12627691 ] 

Daniel Kulp commented on CXF-1777:
----------------------------------

CXF 2.1.x should work fine with Java 6 (update 4 or later) as long as you use the versions of the jaxb impl and xjc jars that we include with CXF.    (2.1.6)     The jaxb-api jar we include is not needed as that is included in the JDK.



> JAXBDataBinding hard references internal classes from the JAXB Sun RI which are not available in Java 6 any more
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1777
>                 URL: https://issues.apache.org/jira/browse/CXF-1777
>             Project: CXF
>          Issue Type: Bug
>          Components: JAXB Databinding
>    Affects Versions: 2.1.1
>         Environment: Sun JDK 1.6.0_06
>            Reporter: Gyorgy Orban
>
> The following classes have been moved to a new internal package in Java 6:
> com.sun.xml.bind.marshaller.NamespacePrefixMapper;
> com.sun.xml.bind.v2.ContextFactory;
> com.sun.xml.bind.v2.runtime.JAXBContextImpl;
> JAXBDataBinding has hard reference to them. It causes issues when running CXF on Sun JDK 1.6.0_06

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


[jira] Commented: (CXF-1777) JAXBDataBinding hard references internal classes from the JAXB Sun RI which are not available in Java 6 any more

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627783#action_12627783 ] 

Daniel Kulp commented on CXF-1777:
----------------------------------


As a quick update, I've re-run the entire build and testsuite with 1.6.0_07 and all the tests pass and such.

> JAXBDataBinding hard references internal classes from the JAXB Sun RI which are not available in Java 6 any more
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1777
>                 URL: https://issues.apache.org/jira/browse/CXF-1777
>             Project: CXF
>          Issue Type: Bug
>          Components: JAXB Databinding
>    Affects Versions: 2.1.1
>         Environment: Sun JDK 1.6.0_06
>            Reporter: Gyorgy Orban
>
> The following classes have been moved to a new internal package in Java 6:
> com.sun.xml.bind.marshaller.NamespacePrefixMapper;
> com.sun.xml.bind.v2.ContextFactory;
> com.sun.xml.bind.v2.runtime.JAXBContextImpl;
> JAXBDataBinding has hard reference to them. It causes issues when running CXF on Sun JDK 1.6.0_06

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


[jira] Commented: (CXF-1777) JAXBDataBinding hard references internal classes from the JAXB Sun RI which are not available in Java 6 any more

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627639#action_12627639 ] 

Benson Margulies commented on CXF-1777:
---------------------------------------

We don't support the use of the RI. You must put a working version of JAXB into your endorsed directory.

> JAXBDataBinding hard references internal classes from the JAXB Sun RI which are not available in Java 6 any more
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1777
>                 URL: https://issues.apache.org/jira/browse/CXF-1777
>             Project: CXF
>          Issue Type: Bug
>          Components: JAXB Databinding
>    Affects Versions: 2.1.1
>         Environment: Sun JDK 1.6.0_06
>            Reporter: Gyorgy Orban
>
> The following classes have been moved to a new internal package in Java 6:
> com.sun.xml.bind.marshaller.NamespacePrefixMapper;
> com.sun.xml.bind.v2.ContextFactory;
> com.sun.xml.bind.v2.runtime.JAXBContextImpl;
> JAXBDataBinding has hard reference to them. It causes issues when running CXF on Sun JDK 1.6.0_06

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


[jira] Commented: (CXF-1777) JAXBDataBinding hard references internal classes from the JAXB Sun RI which are not available in Java 6 any more

Posted by "Mathieu Gervais (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627522#action_12627522 ] 

Mathieu Gervais commented on CXF-1777:
--------------------------------------

This is actually  true for JDK 1.6.0_04+

> JAXBDataBinding hard references internal classes from the JAXB Sun RI which are not available in Java 6 any more
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1777
>                 URL: https://issues.apache.org/jira/browse/CXF-1777
>             Project: CXF
>          Issue Type: Bug
>          Components: JAXB Databinding
>    Affects Versions: 2.1.1
>         Environment: Sun JDK 1.6.0_06
>            Reporter: Gyorgy Orban
>
> The following classes have been moved to a new internal package in Java 6:
> com.sun.xml.bind.marshaller.NamespacePrefixMapper;
> com.sun.xml.bind.v2.ContextFactory;
> com.sun.xml.bind.v2.runtime.JAXBContextImpl;
> JAXBDataBinding has hard reference to them. It causes issues when running CXF on Sun JDK 1.6.0_06

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


[jira] Resolved: (CXF-1777) JAXBDataBinding hard references internal classes from the JAXB Sun RI which are not available in Java 6 any more

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benson Margulies resolved CXF-1777.
-----------------------------------

    Resolution: Invalid

The problem isn't that anything moved. The problem is that the version of JAXB in the 1.6 JRE is not new enough. See the notes I added to: http://cwiki.apache.org/confluence/display/CXF/FAQ

> JAXBDataBinding hard references internal classes from the JAXB Sun RI which are not available in Java 6 any more
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1777
>                 URL: https://issues.apache.org/jira/browse/CXF-1777
>             Project: CXF
>          Issue Type: Bug
>          Components: JAXB Databinding
>    Affects Versions: 2.1.1
>         Environment: Sun JDK 1.6.0_06
>            Reporter: Gyorgy Orban
>
> The following classes have been moved to a new internal package in Java 6:
> com.sun.xml.bind.marshaller.NamespacePrefixMapper;
> com.sun.xml.bind.v2.ContextFactory;
> com.sun.xml.bind.v2.runtime.JAXBContextImpl;
> JAXBDataBinding has hard reference to them. It causes issues when running CXF on Sun JDK 1.6.0_06

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