javaee / metro-wsit

https://javaee.github.io/metro-wsit/
Other
9 stars 24 forks source link

MTOM Interop S->S, S->M errors using metro 1.4 & GF V3 (M->S works) #1040

Open glassfishrobot opened 16 years ago

glassfishrobot commented 16 years ago

MTOM Interop S->S errors ~ these tests fail using metro 1.4 and GF V3 prelude

mtom.soap11signenc.client.JAXWSClient 4 0 0 0 4 0 0.00% 11.855 mtom.soap11signonly.client.JAXWSClient 5 0 0 0 5 0 0.00% 10.876 mtom.soap12utf8security.client.JAXWSClient 5 0 0 0 5 0 0.00% 13.085 mtom.soap12utf8securityaug04.client.JAXWSClient 4 0 0 0 4 0 0.00% 13.679

see file:///net/galapago.east/files/share/workspaces/gfv3TP2/tango/qe-tests/mtom/test/results.s2s/index.html

these three sets of tests all fail with the same errors, as shown below:

mtom.soap11signenc.client.JAXWSClient 4 0 0 0 4 0 0.00% 11.855 mtom.soap11signonly.client.JAXWSClient 5 0 0 0 5 0 0.00% 10.876 mtom.soap12utf8security.client.JAXWSClient 5 0 0 0 5 0 0.00% 13.085

testEchoBinaryAsString fail javax.xml.stream.XMLStreamException: Invalid State No 10177 testEchoStringAsBinary fail javax.xml.stream.XMLStreamException: Invalid State No 453 testEchoBinaryFieldAsString fail javax.xml.stream.XMLStreamException: Invalid State No 460 testEchoBinaryArrayAsStringArray fail javax.xml.stream.XMLStreamException: Invalid State No 436

Details for failed test/tests with errors:

testEchoBinaryAsString:

junit.framework.AssertionFailedError: javax.xml.stream.XMLStreamException: Invalid State at junit.framework.Assert.fail(Assert.java:47) at mtom.soap11signenc.client.JAXWSClient.testEchoBinaryAsString(JAXWSClient.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:167) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:118) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41)

testEchoStringAsBinary:

junit.framework.AssertionFailedError: javax.xml.stream.XMLStreamException: Invalid State at junit.framework.Assert.fail(Assert.java:47) at mtom.soap11signenc.client.JAXWSClient.testEchoStringAsBinary(JAXWSClient.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:167) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:118) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41)

testEchoBinaryFieldAsString:

junit.framework.AssertionFailedError: javax.xml.stream.XMLStreamException: Invalid State at junit.framework.Assert.fail(Assert.java:47) at mtom.soap11signenc.client.JAXWSClient.testEchoBinaryFieldAsString(JAXWSClient.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:167) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:118) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41)

testEchoBinaryArrayAsStringArray:

junit.framework.AssertionFailedError: javax.xml.stream.XMLStreamException: Invalid State at junit.framework.Assert.fail(Assert.java:47) at mtom.soap11signenc.client.JAXWSClient.testEchoBinaryArrayAsStringArray(JAXWSClient.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:167) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:118) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41)

mtom.soap12utf8securityaug04.client.JAXWSClient seeing these errors:

Details for failed test/tests with errors:

testEchoBinaryAsString:

junit.framework.AssertionFailedError: A required message information header, To, MessageID, or Action, is not present. at junit.framework.Assert.fail(Assert.java:47) at mtom.soap12utf8securityaug04.client.JAXWSClient.testEchoBinaryAsString(JAXWSClient.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:167) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:118) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41)

testEchoStringAsBinary:

junit.framework.AssertionFailedError: A required message information header, To, MessageID, or Action, is not present. at junit.framework.Assert.fail(Assert.java:47) at mtom.soap12utf8securityaug04.client.JAXWSClient.testEchoStringAsBinary(JAXWSClient.java:89) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:167) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:118) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41)

testEchoBinaryFieldAsString:

junit.framework.AssertionFailedError: A required message information header, To, MessageID, or Action, is not present. at junit.framework.Assert.fail(Assert.java:47) at mtom.soap12utf8securityaug04.client.JAXWSClient.testEchoBinaryFieldAsString(JAXWSClient.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:167) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:118) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41)

testEchoBinaryArrayAsStringArray:

junit.framework.AssertionFailedError: A required message information header, To, MessageID, or Action, is not present. at junit.framework.Assert.fail(Assert.java:47) at mtom.soap12utf8securityaug04.client.JAXWSClient.testEchoBinaryArrayAsStringArray(JAXWSClient.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:167) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:118) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41)

Environment

Operating System: All Platform: Sun

Affected Versions

[1.4]

glassfishrobot commented 16 years ago

Reported by jbenoit@java.net

glassfishrobot commented 16 years ago

jbenoit@java.net said: Created an attachment (id=793) GF domain1 server.log file

glassfishrobot commented 16 years ago

jbenoit@java.net said: Created an attachment (id=794) MTOM Interop S->S testrun output

glassfishrobot commented 16 years ago

jbenoit@java.net said: this is the command i use to run:

% ant -Dxtest.testtype=interop-tango2tango -Dxtest.sjsas.home=$AS_HOME -Dxtest.wsit.dest.dir=/net/galapago.east/files/share/workspaces/gfv3TP2/glassfish/modules -Dxtest.http.host=galapago.east.sun.com -Dxtest.http.port=8080 -Dxtest.useTomcat=false > s2s.out

Fabian noticed this message in server.log:

"WSS0206: Security Requirements have fully not been met"

Bhakti stated:

How do you set keystores and truststores in V3? Just wondering if that is being set properly now [snip] for v3.

I answered : "by following the instructions that Anand from QA team sent:

[snip] 12)go to /tango/qe-tests/gf-setup 13)unzip copyv3.zip file 14)set AS_HOME= 15)cd copyv3 16)run "ant" it will set the certificates on the server. 17)Add WSIT_HOME in domain.xml(/domains/domain1/config).

This can be done manually or by using admin console.

a)Using admin console http://localhost:4848 set -DWSIT_HOME=$

{com.sun.aas.installRoot} in jvm option.(Preffered).

b)Directly modify the domain.xml go to section and add

-DWSIT_HOME=${com.sun.aas.installRoot} and save the file. [snip]" i previously ran MTOM Interop S->S from CVS trunk tango/qe-tests/mtom tests workspace when doing GF V3 testing. since then, Rama has created a new branch of MTOM Interop tests due to changes to support 3.5 endpoints diffs from 3.0 endpoints. i'm now trying using MTOM Interop S->S using the MTOM_INTEROP_UPDATE CVS branch of tango/qe-tests/mtom to see if that makes a difference. i'll post the results once it's done to see if that makes any difference? Bhakti asked if these were the 109 tests or regular jaxws tests, and i answered these are not the 109 tests, they are the regular MTOM interop S->S. it made no difference which tango/qe-tests/mtom workspace i used, trunk or MTOM_INTEROP_UPDATE branch, still same errors. see "Run (when): 2008-09-26 14:26:28.766" posted here [file:///net/galapago.east/files/share/workspaces/jaxws109toi/MTOM_INTEROP_UPDATE/tango/qe-tests/mtom/test/results/index.html](file:///net/galapago.east/files/share/workspaces/jaxws109toi/MTOM_INTEROP_UPDATE/tango/qe-tests/mtom/test/results/index.html) invoked via: % ant -Dxtest.testtype=interop-tango2tango -Dxtest.sjsas.home=$AS_HOME -Dxtest.wsit.dest.dir=/net/galapago.east/files/share/workspaces/gfv3TP2/glassfish/modules -Dxtest.http.host=galapago.east.sun.com -Dxtest.http.port=8080 -Dxtest.useTomcat=false > s2s.out i've already attached to this bug report the run output captured here: % pwd /net/galapago.east/files/share/workspaces/jaxws109toi/MTOM_INTEROP_UPDATE/tango/qe-tests/mtom/test/s2s.out rw-rr- 1 jbenoit staff 482406 Sep 26 14:28 s2s.out GF server.log is attached to this bug report already. GF is installed here: /net/galapago.east/files/share/workspaces/gfv3TP2/glassfish/ if you go to the bottom and search upwards towards the top of this file, you'll encounter stack traces. not sure if i need to be doing something different in tests/config, or RI issue?
glassfishrobot commented 16 years ago

jbenoit@java.net said: MTOM Interop S->M errors too, but M->S works. S->M errors are here: file:///net/galapago.east/files/share/workspaces/jaxws109toi/MTOM_INTEROP_UPDATE/tango/qe-tests/mtom/test/results/testrun_080926-220611/testbag_1/htmlresults/testbag.html

these Test Suites all have same error: soap11signonly.client.JAXWSClient soap12utf8security.client.JAXWSClient soap12utf8securityaug04.client.JAXWSClient

i.e. Test Suite soap11signenc.client.JAXWSClient

testEchoBinaryAsString error java.lang.AssertionError No 5140 testEchoStringAsBinary error java.lang.AssertionError No 478 testEchoBinaryFieldAsString error java.lang.AssertionError No 475 testEchoBinaryArrayAsStringArray error java.lang.AssertionError No 431

Details for failed test/tests with errors:

testEchoBinaryAsString:

javax.xml.ws.WebServiceException: java.lang.AssertionError at com.sun.xml.wss.jaxws.impl.SecurityClientTube.processResponse(SecurityClientTube.java:275) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:608) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439) at com.sun.xml.ws.client.Stub.process(Stub.java:222) at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118) at $Proxy41.echoBinaryAsString(Unknown Source) at soap11signenc.client.JAXWSClient.testEchoBinaryAsString(JAXWSClient.java:34) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:167) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:118) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41) Caused by: java.lang.AssertionError at com.sun.xml.ws.message.stream.StreamMessage.(StreamMessage.java:167) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateMessage(SecurityRecipient.java:244) at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.verifyInboundMessage(SecurityTubeBase.java:452) at com.sun.xml.wss.jaxws.impl.SecurityClientTube.processClientResponsePacket(SecurityClientTube.java:339) at com.sun.xml.wss.jaxws.impl.SecurityClientTube.processResponse(SecurityClientTube.java:272) ... 26 more

testEchoStringAsBinary:

javax.xml.ws.WebServiceException: java.lang.AssertionError at com.sun.xml.wss.jaxws.impl.SecurityClientTube.processResponse(SecurityClientTube.java:275) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:608) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439) at com.sun.xml.ws.client.Stub.process(Stub.java:222) at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118) at $Proxy41.echoStringAsBinary(Unknown Source) at soap11signenc.client.JAXWSClient.testEchoStringAsBinary(JAXWSClient.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:167) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:118) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41) Caused by: java.lang.AssertionError at com.sun.xml.ws.message.stream.StreamMessage.(StreamMessage.java:167) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateMessage(SecurityRecipient.java:244) at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.verifyInboundMessage(SecurityTubeBase.java:452) at com.sun.xml.wss.jaxws.impl.SecurityClientTube.processClientResponsePacket(SecurityClientTube.java:339) at com.sun.xml.wss.jaxws.impl.SecurityClientTube.processResponse(SecurityClientTube.java:272) ... 26 more

testEchoBinaryFieldAsString:

javax.xml.ws.WebServiceException: java.lang.AssertionError at com.sun.xml.wss.jaxws.impl.SecurityClientTube.processResponse(SecurityClientTube.java:275) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:608) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439) at com.sun.xml.ws.client.Stub.process(Stub.java:222) at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118) at $Proxy41.echoBinaryFieldAsString(Unknown Source) at soap11signenc.client.JAXWSClient.testEchoBinaryFieldAsString(JAXWSClient.java:46) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:167) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:118) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41) Caused by: java.lang.AssertionError at com.sun.xml.ws.message.stream.StreamMessage.(StreamMessage.java:167) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateMessage(SecurityRecipient.java:244) at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.verifyInboundMessage(SecurityTubeBase.java:452) at com.sun.xml.wss.jaxws.impl.SecurityClientTube.processClientResponsePacket(SecurityClientTube.java:339) at com.sun.xml.wss.jaxws.impl.SecurityClientTube.processResponse(SecurityClientTube.java:272) ... 26 more

testEchoBinaryArrayAsStringArray:

javax.xml.ws.WebServiceException: java.lang.AssertionError at com.sun.xml.wss.jaxws.impl.SecurityClientTube.processResponse(SecurityClientTube.java:275) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:608) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439) at com.sun.xml.ws.client.Stub.process(Stub.java:222) at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118) at $Proxy41.echoBinaryArrayAsStringArray(Unknown Source) at soap11signenc.client.JAXWSClient.testEchoBinaryArrayAsStringArray(JAXWSClient.java:53) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:167) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:118) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41) Caused by: java.lang.AssertionError at com.sun.xml.ws.message.stream.StreamMessage.(StreamMessage.java:167) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateMessage(SecurityRecipient.java:244) at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.verifyInboundMessage(SecurityTubeBase.java:452) at com.sun.xml.wss.jaxws.impl.SecurityClientTube.processClientResponsePacket(SecurityClientTube.java:339) at com.sun.xml.wss.jaxws.impl.SecurityClientTube.processResponse(SecurityClientTube.java:272) ... 26 more

glassfishrobot commented 16 years ago

jbenoit@java.net said: Created an attachment (id=795) MTOM Interop S->M testrun output file

glassfishrobot commented 16 years ago

ritzmann@java.net said: I can't reproduce the S->S failures in my local environment. I get 38 passes out of 38 for the mtom-interop-tango2tango tests.

I am running GF V3 b27-09_28_2008 and Metro 1.4-5002. I had to adapt some test scripts to make sure that the Metro libraries in V3 are picked up.

glassfishrobot commented 16 years ago

ritzmann@java.net said: Now I ran the tests from the MTOM_INTEROP_UPDATE branch. I still get 38 out of 38 passes. I had to modify the same scripts as on HEAD. Note that I only made the changes for the S->S "interop" tests.

I am running the tests like this:

ant -Dxtest.testtype=interop-tango2tango -Dxtest.sjsas.home=$AS_HOME - Dxtest.wsit.dest.dir=/Users/fr159072/src/glassfish-v3-prelude-b27-09_28_2008/ glassfish/modules -Dxtest.http.host=localhost -Dxtest.http.port=8080 - Dxtest.useTomcat=false

glassfishrobot commented 16 years ago

ritzmann@java.net said: Since only security related tests are failing, there is probably something wrong with your GlassFish setup. I looked at the configuration of galapago.east:/files/share/workspaces/gfv3TP2/glassfish . One thing I noticed is that you don't have the SSL listener enabled. I don't know if the tests are using that but it's probably a good idea to switch it on in any case. Edit glassfish/domains/domain1/config/domain.xml and replace what you have with this:

<http-listener default-virtual-server="server" security-enabled="true" server-name="" address="0.0.0.0" port="8181" id="http -listener-2">

Also make sure you have the X.509v3 certificates installed. I installed the ones from the qe-tests/gf-setup trunk, not the branch.

glassfishrobot commented 16 years ago

ritzmann@java.net said: Assigning to John. It is still possible that this is a real MTOM issue but from where I am sitting it seems more likely to be a test setup issue.

glassfishrobot commented 12 years ago

snajper said: Sreekanth, is this issue still valid?

glassfishrobot commented 16 years ago

File: s2m.out Attached By: jbenoit@java.net

glassfishrobot commented 16 years ago

File: s2s.out Attached By: jbenoit@java.net

glassfishrobot commented 16 years ago

File: server.log.prev Attached By: jbenoit@java.net

glassfishrobot commented 16 years ago

Was assigned to msreekanth

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA WSIT-1040