Open glassfishrobot opened 13 years ago
Reported by msreekanth
@vbkumarjayanti said: This bug is fixed on the Trunk of metro but we did not port it back to 2.1 branch. I am not inclined to port this change right now to 2.1.1 branch. I could port it for an next update release of GlassFish 3.1.1.
I just tested a standalone sample with Same Policy on GlassFish Trunk and i see it is passing.
--request---
<?xml version='1.0' encoding='UTF-8'?>
@vbkumarjayanti said: I tried to run my testcase even on AIX with GF 3.1.1 and it passes there. So i am not sure why the SQE testcase is failing.
msreekanth said: Reopening and assigning it to my self.Since this test case fails in all QE environments and Kumar is not able to reproduce it.Kumar has a servlet client for the same policy file and QE tests are based on Stand alone java client.A slight chance of this being a real issue and Kumar mentioned it to be a not important use case
Extract from Kumars email:
"I see the bug is failing in the SQE tests but my own test created using Netbeans does not fail. The only difference is that my client is a Servlet Client whereas the SQE uses a Standalone client.
So again i can do more investigation and mark it as a candidate for release notes. This unlike the previous one is not a very important usecase (ProtectTokens with Token not in Message). Also i know it is working for me in my sample, so just needs some investigation on why the SQE test fails."
@vbkumarjayanti said: Attached are the client and service. just do asadmin deploy and after that try to access as :
snajper said: It should be clarified whether it is a test or code issue for next release.
File: IncludeTokenNever.war Attached By: @vbkumarjayanti
File: IncludeTokenNeverClient.war Attached By: @vbkumarjayanti
File: soap-log-js65.log Attached By: msreekanth
File: wsit-simple.server.IPingService.xml Attached By: msreekanth
Was assigned to msreekanth
This issue was imported from java.net JIRA WSIT-1558
3 tests are failing in WS Security with the following error in AIX environment.
Exception:
javax.xml.ws.soap.SOAPFaultException: WSS1721: Validation of Reference with URI #_4 failed at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:193) Error : SOAP request NOT sent at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:134) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:123) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:144) at $Proxy40.ping(Unknown Source) at simple.client.PingServiceClientjs65.main(Unknown Source) Caused by: javax.xml.ws.soap.SOAPFaultException: WSS1721: Validation of Reference with URI #_4 failed at com.sun.xml.ws.security.opt.impl.util.SOAPUtil.createSOAPFault(SOAPUtil.java:234) at com.sun.xml.ws.security.opt.impl.util.SOAPUtil.getSOAPFaultException(SOAPUtil.java:203) at com.sun.xml.wss.jaxws.impl.SecurityServerTube.processRequest(SecurityServerTube.java:300) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:314) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:608) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:259) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.invokeAsync(ServletAdapter.java:207) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:159) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:194) at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:80) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:66) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:736) Caused by: java.lang.Exception at com.sun.xml.ws.security.opt.impl.util.SOAPUtil.createSOAPFault(SOAPUtil.java:238) ... 40 more
Please find the attached SOAP log and policy file used.
Environment
AIX, GF3.1.1, Metro 2.1.1 promotion build