[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2587) Investigate why org.jboss.test.ws.jaxws.samples.wssecurity.SimpleDispatchTestCase test is failing

Richard Opalka (JIRA) jira-events at lists.jboss.org
Mon Aug 17 10:37:26 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBWS-2587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Opalka updated JBWS-2587:
---------------------------------

              Summary: Investigate why org.jboss.test.ws.jaxws.samples.wssecurity.SimpleDispatchTestCase test is failing  (was: Investigate why jaxws.samples.wssecurity.* tests are failing when running whole test suite)
    Affects Version/s:     (was:  jbossws-native-3.1.2)
          Description: 
Running org.jboss.test.ws.jaxws.samples.wssecurity.SimpleDispatchTestCase
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.976 sec <<< FAILURE!

16:08:32,570 ERROR [WSSecurityDispatcher] Internal error occured handling inbound message:
org.jboss.ws.extensions.security.exception.FailedCheckException: Decryption was invalid.
	at org.jboss.ws.extensions.security.operation.DecryptionOperation.decryptElement(DecryptionOperation.java:110)
	at org.jboss.ws.extensions.security.operation.DecryptionOperation.process(DecryptionOperation.java:146)
	at org.jboss.ws.extensions.security.SecurityDecoder.decode(SecurityDecoder.java:156)
	at org.jboss.ws.extensions.security.SecurityDecoder.decode(SecurityDecoder.java:195)
	at org.jboss.ws.extensions.security.WSSecurityDispatcher.decodeHeader(WSSecurityDispatcher.java:133)
	at org.jboss.ws.extensions.security.WSSecurityDispatcher.decodeMessage(WSSecurityDispatcher.java:101)
	at org.jboss.ws.extensions.security.jaxws.WSSecurityHandler.handleInboundSecurity(WSSecurityHandler.java:81)
	at org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer.handleInbound(WSSecurityHandlerServer.java:39)
	at org.jboss.wsf.common.handler.GenericHandler.handleMessage(GenericHandler.java:53)
	at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:305)
	at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:142)
	at org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS.callRequestHandlerChain(HandlerDelegateJAXWS.java:97)
	at org.jboss.ws.core.server.ServiceEndpointInvoker.callRequestHandlerChain(ServiceEndpointInvoker.java:125)
	at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:172)
	at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:468)
	at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:294)
	at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:204)
	at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:130)
	at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:87)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.xml.security.encryption.XMLEncryptionException: The element type "genericParam" must be terminated by the matching end-tag "</genericParam>".
Original Exception was org.xml.sax.SAXParseException: The element type "genericParam" must be terminated by the matching end-tag "</genericParam>".
	at org.apache.xml.security.encryption.XMLCipher$Serializer.deserialize(Unknown Source)
	at org.apache.xml.security.encryption.XMLCipher.decryptElement(Unknown Source)
	at org.apache.xml.security.encryption.XMLCipher.doFinal(Unknown Source)
	at org.jboss.ws.extensions.security.operation.DecryptionOperation.decryptElement(DecryptionOperation.java:106)
	... 39 more

This regression was introduced with the following commit: 
http://fisheye.jboss.org/browse/JBossWS/stack/native/trunk/pom.xml?r1=10506&r2=10507


  was:
Results :

Failed tests: 
  testUsernameTokenNegative(org.jboss.test.ws.jaxws.samples.wssecurity.SimpleUsernameTestCase)
  testUsernameTokenNegative(org.jboss.test.ws.jaxws.samples.wssecurity.SimpleDispatchTestCase)

Tests run: 1438, Failures: 2, Errors: 0, Skipped: 0

I'd like to see that fixed. Feel free to reschedule to next release Alessio (since code freeze is away already)
but if you have some time could you have a look now? The strange thing for me is we can't reproduce it on hudson.




> Investigate why org.jboss.test.ws.jaxws.samples.wssecurity.SimpleDispatchTestCase test is failing
> -------------------------------------------------------------------------------------------------
>
>                 Key: JBWS-2587
>                 URL: https://jira.jboss.org/jira/browse/JBWS-2587
>             Project: JBoss Web Services
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-native
>            Reporter: Richard Opalka
>            Assignee: Richard Opalka
>            Priority: Optional
>             Fix For: jbossws-native-3.2.0
>
>
> Running org.jboss.test.ws.jaxws.samples.wssecurity.SimpleDispatchTestCase
> Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.976 sec <<< FAILURE!
> 16:08:32,570 ERROR [WSSecurityDispatcher] Internal error occured handling inbound message:
> org.jboss.ws.extensions.security.exception.FailedCheckException: Decryption was invalid.
> 	at org.jboss.ws.extensions.security.operation.DecryptionOperation.decryptElement(DecryptionOperation.java:110)
> 	at org.jboss.ws.extensions.security.operation.DecryptionOperation.process(DecryptionOperation.java:146)
> 	at org.jboss.ws.extensions.security.SecurityDecoder.decode(SecurityDecoder.java:156)
> 	at org.jboss.ws.extensions.security.SecurityDecoder.decode(SecurityDecoder.java:195)
> 	at org.jboss.ws.extensions.security.WSSecurityDispatcher.decodeHeader(WSSecurityDispatcher.java:133)
> 	at org.jboss.ws.extensions.security.WSSecurityDispatcher.decodeMessage(WSSecurityDispatcher.java:101)
> 	at org.jboss.ws.extensions.security.jaxws.WSSecurityHandler.handleInboundSecurity(WSSecurityHandler.java:81)
> 	at org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer.handleInbound(WSSecurityHandlerServer.java:39)
> 	at org.jboss.wsf.common.handler.GenericHandler.handleMessage(GenericHandler.java:53)
> 	at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:305)
> 	at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:142)
> 	at org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS.callRequestHandlerChain(HandlerDelegateJAXWS.java:97)
> 	at org.jboss.ws.core.server.ServiceEndpointInvoker.callRequestHandlerChain(ServiceEndpointInvoker.java:125)
> 	at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:172)
> 	at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:468)
> 	at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:294)
> 	at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:204)
> 	at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:130)
> 	at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:87)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
> 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
> 	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
> 	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
> 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> 	at java.lang.Thread.run(Thread.java:595)
> Caused by: org.apache.xml.security.encryption.XMLEncryptionException: The element type "genericParam" must be terminated by the matching end-tag "</genericParam>".
> Original Exception was org.xml.sax.SAXParseException: The element type "genericParam" must be terminated by the matching end-tag "</genericParam>".
> 	at org.apache.xml.security.encryption.XMLCipher$Serializer.deserialize(Unknown Source)
> 	at org.apache.xml.security.encryption.XMLCipher.decryptElement(Unknown Source)
> 	at org.apache.xml.security.encryption.XMLCipher.doFinal(Unknown Source)
> 	at org.jboss.ws.extensions.security.operation.DecryptionOperation.decryptElement(DecryptionOperation.java:106)
> 	... 39 more
> This regression was introduced with the following commit: 
> http://fisheye.jboss.org/browse/JBossWS/stack/native/trunk/pom.xml?r1=10506&r2=10507

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list