You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Jeff Barrett (JIRA)" <ji...@apache.org> on 2007/02/09 19:24:05 UTC
[jira] Created: (AXIS2-2154)
org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
-----------------------------------------------------------------------
Key: AXIS2-2154
URL: https://issues.apache.org/jira/browse/AXIS2-2154
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: jaxws
Reporter: Jeff Barrett
org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
This problem is seen in the Continum builds of Apache Axis2. Since this causes the Continum build to fail, the test has been commented out of JAXWSTest (Committed revision 505375).
The test runs successfully on Windows and Linux.
Failure from target/test-reports/TEST-org.apache.axis2.jaxws.framework.JAXWSTest.txt:
=====================================================================================
Testcase: testAttachmentByteArrayAPI11(org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests): Caused an ERROR
Image is null
javax.xml.ws.soap.SOAPFaultException: Image is null
at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.createSystemException(MethodMarshallerUtils.java:946)
at org.apache.axis2.jaxws.client.BaseDispatch.getFaultResponse(BaseDispatch.java:360)
at org.apache.axis2.jaxws.client.BaseDispatch.invoke(BaseDispatch.java:129)
at org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests.testAttachmentByteArrayAPI11(MtomSampleByteArrayTests.java:60)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2154)
org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488477 ]
Rich Scheuerle commented on AXIS2-2154:
---------------------------------------
This test is still failing even after applying the new MTOM flow.
> org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
> -----------------------------------------------------------------------
>
> Key: AXIS2-2154
> URL: https://issues.apache.org/jira/browse/AXIS2-2154
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Reporter: Jeff Barrett
>
> org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
> This problem is seen in the Continum builds of Apache Axis2. Since this causes the Continum build to fail, the test has been commented out of JAXWSTest (Committed revision 505375).
> The test runs successfully on Windows and Linux.
> Failure from target/test-reports/TEST-org.apache.axis2.jaxws.framework.JAXWSTest.txt:
> =====================================================================================
> Testcase: testAttachmentByteArrayAPI11(org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests): Caused an ERROR
> Image is null
> javax.xml.ws.soap.SOAPFaultException: Image is null
> at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.createSystemException(MethodMarshallerUtils.java:946)
> at org.apache.axis2.jaxws.client.BaseDispatch.getFaultResponse(BaseDispatch.java:360)
> at org.apache.axis2.jaxws.client.BaseDispatch.invoke(BaseDispatch.java:129)
> at org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests.testAttachmentByteArrayAPI11(MtomSampleByteArrayTests.java:60)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2154)
org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
Posted by "Nick Gallardo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471797 ]
Nick Gallardo commented on AXIS2-2154:
--------------------------------------
It looks like the request is being unmarshalled on the server side, but only the wrapper is unmarshalled. The following check fails:
if (request == null) {
throw new WebServiceException("Null input received.");
} else if (request.getImageData() == null) {
throw new WebServiceException("Image is null");
}
meaning that JAXB created an ImageDepot object, but the actual image data inside of it was omitted.
> org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
> -----------------------------------------------------------------------
>
> Key: AXIS2-2154
> URL: https://issues.apache.org/jira/browse/AXIS2-2154
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Reporter: Jeff Barrett
>
> org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
> This problem is seen in the Continum builds of Apache Axis2. Since this causes the Continum build to fail, the test has been commented out of JAXWSTest (Committed revision 505375).
> The test runs successfully on Windows and Linux.
> Failure from target/test-reports/TEST-org.apache.axis2.jaxws.framework.JAXWSTest.txt:
> =====================================================================================
> Testcase: testAttachmentByteArrayAPI11(org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests): Caused an ERROR
> Image is null
> javax.xml.ws.soap.SOAPFaultException: Image is null
> at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.createSystemException(MethodMarshallerUtils.java:946)
> at org.apache.axis2.jaxws.client.BaseDispatch.getFaultResponse(BaseDispatch.java:360)
> at org.apache.axis2.jaxws.client.BaseDispatch.invoke(BaseDispatch.java:129)
> at org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests.testAttachmentByteArrayAPI11(MtomSampleByteArrayTests.java:60)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-2154)
org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rich Scheuerle resolved AXIS2-2154.
-----------------------------------
Resolution: Won't Fix
I received notes from Brent Ulbricht (IBM) indicating that he cannot recreate this problem.
My suspicion is that the root of the problem is in the JAXB runtime code, and not the JAX-WS engine.
> org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
> -----------------------------------------------------------------------
>
> Key: AXIS2-2154
> URL: https://issues.apache.org/jira/browse/AXIS2-2154
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Reporter: Jeff Barrett
> Assignee: Rich Scheuerle
>
> org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
> This problem is seen in the Continum builds of Apache Axis2. Since this causes the Continum build to fail, the test has been commented out of JAXWSTest (Committed revision 505375).
> The test runs successfully on Windows and Linux.
> Failure from target/test-reports/TEST-org.apache.axis2.jaxws.framework.JAXWSTest.txt:
> =====================================================================================
> Testcase: testAttachmentByteArrayAPI11(org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests): Caused an ERROR
> Image is null
> javax.xml.ws.soap.SOAPFaultException: Image is null
> at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.createSystemException(MethodMarshallerUtils.java:946)
> at org.apache.axis2.jaxws.client.BaseDispatch.getFaultResponse(BaseDispatch.java:360)
> at org.apache.axis2.jaxws.client.BaseDispatch.invoke(BaseDispatch.java:129)
> at org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests.testAttachmentByteArrayAPI11(MtomSampleByteArrayTests.java:60)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2154)
org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
Posted by "David Illsley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472735 ]
David Illsley commented on AXIS2-2154:
--------------------------------------
Trace from last week at [1] (For some reason, everything is traced twice.)
The interesting bit (I think) starts at "17107 [main] DEBUG httpclient.wire.content" where it appears that the image is not correctly serialised into the wire (at least when I tried it on a windows box, it printed out a lot more than 32 x [0x0]
[1] http://ws.zones.apache.org/~illsleyd/TEST-org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests.txt
> org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
> -----------------------------------------------------------------------
>
> Key: AXIS2-2154
> URL: https://issues.apache.org/jira/browse/AXIS2-2154
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Reporter: Jeff Barrett
>
> org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
> This problem is seen in the Continum builds of Apache Axis2. Since this causes the Continum build to fail, the test has been commented out of JAXWSTest (Committed revision 505375).
> The test runs successfully on Windows and Linux.
> Failure from target/test-reports/TEST-org.apache.axis2.jaxws.framework.JAXWSTest.txt:
> =====================================================================================
> Testcase: testAttachmentByteArrayAPI11(org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests): Caused an ERROR
> Image is null
> javax.xml.ws.soap.SOAPFaultException: Image is null
> at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.createSystemException(MethodMarshallerUtils.java:946)
> at org.apache.axis2.jaxws.client.BaseDispatch.getFaultResponse(BaseDispatch.java:360)
> at org.apache.axis2.jaxws.client.BaseDispatch.invoke(BaseDispatch.java:129)
> at org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests.testAttachmentByteArrayAPI11(MtomSampleByteArrayTests.java:60)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-2154)
org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas updated AXIS2-2154:
------------------------------------
Assignee: Rich Scheuerle
> org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
> -----------------------------------------------------------------------
>
> Key: AXIS2-2154
> URL: https://issues.apache.org/jira/browse/AXIS2-2154
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Reporter: Jeff Barrett
> Assignee: Rich Scheuerle
>
> org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
> This problem is seen in the Continum builds of Apache Axis2. Since this causes the Continum build to fail, the test has been commented out of JAXWSTest (Committed revision 505375).
> The test runs successfully on Windows and Linux.
> Failure from target/test-reports/TEST-org.apache.axis2.jaxws.framework.JAXWSTest.txt:
> =====================================================================================
> Testcase: testAttachmentByteArrayAPI11(org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests): Caused an ERROR
> Image is null
> javax.xml.ws.soap.SOAPFaultException: Image is null
> at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.createSystemException(MethodMarshallerUtils.java:946)
> at org.apache.axis2.jaxws.client.BaseDispatch.getFaultResponse(BaseDispatch.java:360)
> at org.apache.axis2.jaxws.client.BaseDispatch.invoke(BaseDispatch.java:129)
> at org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests.testAttachmentByteArrayAPI11(MtomSampleByteArrayTests.java:60)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2154)
org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471856 ]
Rich Scheuerle commented on AXIS2-2154:
---------------------------------------
Interesting..
Does anyone have client/server trace for this issue ? It would be nice to see if the JAXBAttachment Marshaller/Unmarshaller code is being invoked.
> org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
> -----------------------------------------------------------------------
>
> Key: AXIS2-2154
> URL: https://issues.apache.org/jira/browse/AXIS2-2154
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Reporter: Jeff Barrett
>
> org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
> This problem is seen in the Continum builds of Apache Axis2. Since this causes the Continum build to fail, the test has been commented out of JAXWSTest (Committed revision 505375).
> The test runs successfully on Windows and Linux.
> Failure from target/test-reports/TEST-org.apache.axis2.jaxws.framework.JAXWSTest.txt:
> =====================================================================================
> Testcase: testAttachmentByteArrayAPI11(org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests): Caused an ERROR
> Image is null
> javax.xml.ws.soap.SOAPFaultException: Image is null
> at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.createSystemException(MethodMarshallerUtils.java:946)
> at org.apache.axis2.jaxws.client.BaseDispatch.getFaultResponse(BaseDispatch.java:360)
> at org.apache.axis2.jaxws.client.BaseDispatch.invoke(BaseDispatch.java:129)
> at org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests.testAttachmentByteArrayAPI11(MtomSampleByteArrayTests.java:60)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org