Open glassfishrobot opened 14 years ago
Reported by anand_mishra@java.net
anand_mishra@java.net said: No category for version 2.0.1 filing issue under 2.0
jdg6688@java.net said: Assign it to the tests.
The policy for the service is not correct. It uses SymmetricBinding with WSS10. Change Wss10:
snajper said: Sreekanth, is this issue still valid?
Was assigned to msreekanth
This issue was imported from java.net JIRA WSIT-1425
Scenario : functional s99 Description : Symmetric binding with TokenType = SAML20 as IssuedToken ( here IssuedToken is taken as ProtectionToken ) with WSTrustContractImpl in STS
Soap log
[HTTP response - http://localhost:8080/jaxws-s99/simple - 500]-- null: HTTP/1.1 500 Internal Server Error Connection: close Content-Length: 0 Date: Tue, 04 May 2010 02:16:29 GMT Server: GlassFish Server Open Source Edition 3 X-Powered-By: Servlet/3.0
========================================================== ../../../functional/logs/run_log/s99-output.txt com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 500: Internal Server Error at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:253) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.createResponsePacket(HttpTransportPipe.java:210) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:172) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:95) at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:133) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) at com.sun.xml.ws.client.Stub.process(Stub.java:319) at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157) 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:140) at $Proxy45.ping(Unknown Source) at simple.client.PingServiceClient.main(Unknown Source)
Server Log
[#|2010-05-04T07:45:45.217+0530|INFO|glassfish3.0|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=24;_ThreadName=Thread-1;|[AutoDeploy] Successfully autodeployed : /space/servers/stage/glassfish/domains/domain1/autodeploy/jaxws-s99-sts.war.|#]
[#|2010-05-04T07:46:29.777+0530|SEVERE|glassfish3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=27;_ThreadName=Thread-1;|javax.xml.ws.WebServiceException: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix "wsse11" (for attribute "TokenType") at [row,col
{unknown-source}]: [22,1041] at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:218) at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:157) at com.sun.xml.ws.message.stream.LazyStreamBasedMessage.cacheMessage(LazyStreamBasedMessage.java:97) at com.sun.xml.ws.message.stream.LazyStreamBasedMessage.getHeaders(LazyStreamBasedMessage.java:135) at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.getAction(SecurityTubeBase.java:1232) at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.initializeInboundProcessingContext(SecurityTubeBase.java:570) at com.sun.xml.wss.jaxws.impl.SecurityServerTube.processRequest(SecurityServerTube.java:266) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:295) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:519) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:288) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189) at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76) 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:1523) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309) at java.lang.Thread.run(Thread.java:619) Caused by: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix "wsse11" (for attribute "TokenType") at [row,col {unknown-source}
]: [22,1041] at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:605) at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:473) at com.ctc.wstx.sr.NsAttributeCollector.resolveNamespaces(NsAttributeCollector.java:179) at com.ctc.wstx.sr.NsInputElementStack.resolveAndValidateElement(NsInputElementStack.java:374) at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2945) at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2846) at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019) at com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator.storeElementAndChildrenNoEx(StreamReaderBufferCreator.java:245) at com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator.storeElementAndChildren(StreamReaderBufferCreator.java:177) at com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator.createElementFragment(StreamReaderBufferCreator.java:126) at com.sun.xml.ws.encoding.StreamSOAPCodec.cacheHeaders(StreamSOAPCodec.java:272) at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:215) ... 43 more
| #] |
[#|2010-05-04T07:46:29.781+0530|SEVERE|glassfish3.0|com.sun.xml.ws.transport.http.HttpAdapter|_ThreadID=27;_ThreadName=Thread-1;|unexpected XML tag. expected:
{http://schemas.xmlsoap.org/soap/envelope/}
Envelope but found:
{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}
SecurityTokenReference com.sun.xml.ws.streaming.XMLStreamReaderException: unexpected XML tag. expected:
{http://schemas.xmlsoap.org/soap/envelope/}
Envelope but found:
{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}
SecurityTokenReference at com.sun.xml.ws.streaming.XMLStreamReaderUtil.verifyTag(XMLStreamReaderUtil.java:214) at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:180) at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:157) at com.sun.xml.ws.message.stream.LazyStreamBasedMessage.cacheMessage(LazyStreamBasedMessage.java:97) at com.sun.xml.ws.message.stream.LazyStreamBasedMessage.getHeaders(LazyStreamBasedMessage.java:135) at com.sun.xml.ws.api.message.Packet.createServerResponse(Packet.java:738) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:303) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:519) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:288) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189) at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76) 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:1523) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309) at java.lang.Thread.run(Thread.java:619)
| #] |
[#|2010-05-04T07:46:55.396+0530|INFO|glassfish3.0|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=24;_ThreadName=Thread-1;|[AutoDeploy] Selecting file /space/servers/stage/glassfish/domains/domain1/autodeploy/jaxws-s100.war for autodeployment.|#]
Environment
Operating System: All Platform: All
Affected Versions
[2.0]