axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-4228) SAAJ test cases no longer work with IBM's SDK
Date Sat, 07 Feb 2009 11:31:02 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671450#action_12671450
] 

Andreas Veithen commented on AXIS2-4228:
----------------------------------------

I saw the 2 test failures with the 1.6 JDK bundled with IBM's Eclipse distribution [1]. It
has something to do with null namespaces (<text xmlns="">). This JDK also has a bug
that causes Maven to crash [2], so that I'm not able to debug this in an effective way. I
also tested with the latests 1.6 JDK from IBM on Linux and there it works.

[1] http://www.ibm.com/developerworks/java/jdk/eclipse/
[2] http://jira.codehaus.org/browse/MNG-3580

> SAAJ test cases no longer work with IBM's SDK
> ---------------------------------------------
>
>                 Key: AXIS2-4228
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4228
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: saaj
>            Reporter: Roy A. Wood Jr.
>            Assignee: Roy A. Wood Jr.
>
> In rev. 733910, the introduction of the custom test runners broke the tests when the
tests are built with IBM's JDK.
> The paths to the following factories are different for IBM:
>                       System.setProperty("javax.xml.soap.MessageFactory",
>             		"com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl");
>             	System.setProperty("javax.xml.soap.SOAPFactory",
>             		"com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl");
>             	System.setProperty("javax.xml.soap.SOAPConnectionFactory",
>             		"com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnectionFactory");
>             	System.setProperty("javax.xml.soap.MetaFactory",
>             		"com.sun.xml.messaging.saaj.soap.SAAJMetaFactoryImpl");
> The simple fix is to properly set these system properties when using IBM's JDK.

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