[esb-issues] [JBoss JIRA] Closed: (JBESB-2957) extraneous xmlsec jar causes WSSecurityException

David Ward (JIRA) jira-events at lists.jboss.org
Thu Nov 5 10:51:05 EST 2009


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

David Ward closed JBESB-2957.
-----------------------------

    Resolution: Done


Committed revision 30024.  (trunk)

Thanks to Daniel Bevenius for the super-quick solution.

> extraneous xmlsec jar causes WSSecurityException
> ------------------------------------------------
>
>                 Key: JBESB-2957
>                 URL: https://jira.jboss.org/jira/browse/JBESB-2957
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Examples, Security, Web Services
>    Affects Versions: 4.7
>         Environment: both AS4+Java5 and AS5+Java6
>            Reporter: David Ward
>            Assignee: David Ward
>             Fix For: 4.7
>
>
> When running the webservice_wssecurity quickstart, the following failure occurs:
> 09:59:19,958 ERROR [WSSecurityDispatcher] Internal error occured handling inbound message:
> org.jboss.ws.extensions.security.exception.WSSecurityException: Could not parse encrypted key: No message with ID "XMLCipher unexpectedly not in UNWRAP_MODE or DECRYPT_MODE..." found in resource bundle "org/apache/xml/security/resource/xmlsecurity"
> at org.jboss.ws.extensions.security.element.EncryptedKey.<init>(EncryptedKey.java:100)
> at org.jboss.ws.extensions.security.element.SecurityHeader.<init>(SecurityHeader.java:89)
> at org.jboss.ws.extensions.security.SecurityDecoder.decode(SecurityDecoder.java:175)
> at org.jboss.ws.extensions.security.WSSecurityDispatcher.decodeMessage(WSSecurityDispatcher.java:219)
> at org.jboss.ws.extensions.security.jaxws.WSSecurityHandler.handleInboundSecurity(WSSecurityHandler.java:83)
> at org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer.handleInbound(WSSecurityHandlerServer.java:41)
> at org.jboss.ws.core.jaxws.handler.GenericHandler.handleMessage(GenericHandler.java:55)
> at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:295)
> at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:140)
> at org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS.callRequestHandlerChain(HandlerDelegateJAXWS.java:97)
> at org.jboss.ws.core.server.ServiceEndpointInvoker.callRequestHandlerChain(ServiceEndpointInvoker.java:127)
> at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:171)
> at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:466)
> at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:284)
> at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:201)
> at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:134)
> at org.jboss.soa.esb.actions.soap.SOAPProcessor.process(SOAPProcessor.java:187)
> at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:634)
> at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:586)
> at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:420)
> at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:540)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: org.apache.xml.security.encryption.XMLEncryptionException: No message with ID "XMLCipher unexpectedly not in UNWRAP_MODE or DECRYPT_MODE..." found in resource bundle "org/apache/xml/security/resource/xmlsecurity"
> at org.apache.xml.security.encryption.XMLCipher.loadEncryptedKey(Unknown Source)
> at org.apache.xml.security.encryption.XMLCipher.loadEncryptedKey(Unknown Source)
> at org.jboss.ws.extensions.security.element.EncryptedKey.<init>(EncryptedKey.java:96)
> ... 23 more
> To fix this, jbossesb-server-4.6/server/default/lib/xmlsec-1.4.3.jar needs to be removed.

-- 
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 esb-issues mailing list