Skip to content
This repository was archived by the owner on Jan 30, 2019. It is now read-only.
This repository was archived by the owner on Jan 30, 2019. It is now read-only.

MTOM Interop 109 EJB deployment errors - Path does not chain with any of the trust anchors #991

@glassfishrobot

Description

@glassfishrobot

MTOM 3.5 Interop Tests - JSR 109 EJB deployment using metro 1.3 and GFV2ur2
seeing this error for JAXWSClient's (S->M) and IndigoClient (M->S):

Path does not chain with any of the trust anchors

for these tests:

Test Suite: mtom.​soap11signenc.​client.​JAXWSClient
Methods:
testEchoBinaryAsString fail Path does not chain with any of the trust anchors
testEchoStringAsBinary fail Path does not chain with any of the trust anchors
testEchoBinaryFieldAsString fail Path does not chain with any of the trust anchors
testEchoBinaryArrayAsStringArray fail Path does not chain with any of the
trust anchors

Test Suite: mtom.​soap11signonly.​client.​JAXWSClient
Methods:
testEchoBinaryAsString fail Path does not chain with any of the trust anchors
testEchoBinaryFieldAsString fail Path does not chain with any of the trust anchors
testEchoBinaryArrayAsStringArray fail Path does not chain with any of the
trust anchors
testEchoBinaryHeaderAsString fail Path does not chain with any of the trust anchors

Test Suite: mtom.​soap12utf8security.​client.​JAXWSClient
Methods:
testEchoBinaryAsString fail Path does not chain with any of the trust anchors
testEchoStringAsBinary fail Path does not chain with any of the trust anchors
testEchoBinaryFieldAsString fail Path does not chain with any of the trust anchors
testEchoBinaryArrayAsStringArray fail Path does not chain with any of the
trust anchors
testEchoBinaryHeaderAsString fail Path does not chain with any of the trust anchors

Test Suite: mtom.​soap12utf8securityaug04.​client.​JAXWSClient
Methods:
testEchoBinaryAsString fail Path does not chain with any of the trust anchors
testEchoStringAsBinary fail Path does not chain with any of the trust anchors
testEchoBinaryFieldAsString fail Path does not chain with any of the trust anchors
testEchoBinaryArrayAsStringArray fail Path does not chain with any of the trust
anchors

and here is sample of error details for this last test suite:

Details for failed test/tests with errors:

testEchoBinaryAsString:

junit.framework.AssertionFailedError: Path does not chain with any of the
trust anchors
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:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
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:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191)
at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146)
at
org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82)

testEchoStringAsBinary:

junit.framework.AssertionFailedError: Path does not chain with any of the
trust anchors
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:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
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:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191)
at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146)
at
org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82)

testEchoBinaryFieldAsString:

junit.framework.AssertionFailedError: Path does not chain with any of the
trust anchors
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:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
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:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191)
at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146)
at
org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82)

testEchoBinaryArrayAsStringArray:

junit.framework.AssertionFailedError: Path does not chain with any of the
trust anchors
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:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
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:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191)
at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146)
at
org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82)


IndigoClient (M->S) this seeing same error for these tests:


Details for failed test/tests with errors:

Soap11Utf8SecureSignOnly:EchoBinaryAsString:

junit.framework.AssertionFailedError:
System.Reflection.TargetInvocationException: Exception has been thrown by the
target of an invocation. --->
System.ServiceModel.Security.MessageSecurityException: An unsecured or
incorrectly secured fault was received from the other party. See the inner
FaultException for the fault code and detail. --->
System.ServiceModel.FaultException: Path does not chain with any of the trust
anchors
— End of inner exception stack trace —

Server stack trace:
at
System.ServiceModel.Channels.SecurityChannelFactory1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout) at System.ServiceModel.Channels.SecurityChannelFactory1.SecurityRequestChannel.Request(Message
message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message
message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean
oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan
timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean
oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
at
System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at IMtomTest.EchoBinaryAsString(Byte[] array)
at MtomTestClient.EchoBinaryAsString(Byte[] array)
— End of inner exception stack trace —
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[]
arguments, SignatureStruct& sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[]
arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle
typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean
skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags,
Binder binder, Object target, Object[] providedArgs, ParameterModifier[]
modifiers, CultureInfo culture, String[] namedParams)
at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder
binder, Object target, Object[] args)
at
Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicObject.CallMethod(String
method, Object[] parameters)
at XwsInterop.HostedClient.HostedClientSoapImpl.TestMtomMethods(DynamicProxy
proxy, Boolean skipHeaderTest)
at XwsInterop.HostedClient.HostedClientSoapImpl.runScenario(String
featureName, String scenarioName, HostedClientParameter[] parameters)

at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at indigoclient.IndigoMTOMClient.testMTOMClient(IndigoMTOMClient.java:65)
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:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
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:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191)
at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146)
at
org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82)

Here are the other tests that are seeing this error for IndigoClient (M->S):

Soap11Utf8SecureSignOnly:EchoStringAsBinary:
Soap11Utf8SecureSignOnly:EchoBinaryArrayAsStringArray:
Soap11Utf8SecureSignOnly:EchoBinaryFieldAsString:
Soap11Utf8SecureSignOnly:EchoBinaryHeaderAsString:
Soap11Utf8SecureSignEncrypt:EchoBinaryAsString:
Soap11Utf8SecureSignEncrypt:EchoStringAsBinary:
Soap11Utf8SecureSignEncrypt:EchoBinaryArrayAsStringArray:
Soap11Utf8SecureSignEncrypt:EchoBinaryFieldAsString:
Soap12Utf8WithSecurityEnabled:EchoBinaryAsString:
Soap12Utf8WithSecurityEnabled:EchoStringAsBinary:
Soap12Utf8WithSecurityEnabled:EchoBinaryArrayAsStringArray:
Soap12Utf8WithSecurityEnabled:EchoBinaryFieldAsString:
Soap12Utf8WithSecurityEnabled:EchoBinaryHeaderAsString:

Environment

Operating System: All
Platform: Sun

Affected Versions

[1.3]

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions