Uploaded image for project: 'ServiceMix 4'
  1. ServiceMix 4
  2. SMX4-518

Camel NMR component WSSecurityTest fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 4.2.0
    • 4.4.0
    • None
    • None

    Description

      When running the features/camel/servicemix-camel unit test on a Mac with JDK 1.6 installed, the WSSecurityTest fails.

      java.lang.RuntimeException: org.apache.ws.security.components.crypto.Merlin cannot create instance
      	at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:225)
      	at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:176)
      	at org.apache.cxf.ws.security.wss4j.AbstractWSS4JInterceptor.loadSignatureCrypto(AbstractWSS4JInterceptor.java:178)
      	at org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:137)
      	at org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor.access$200(WSS4JOutInterceptor.java:47)
      	at org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor$WSS4JOutInterceptorInternal.handleMessage(WSS4JOutInterceptor.java:236)
      	at org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor$WSS4JOutInterceptorInternal.handleMessage(WSS4JOutInterceptor.java:122)
      	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
      	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:484)
      	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:310)
      	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:262)
      	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
      	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)
      <snip>
      Caused by: org.apache.ws.security.components.crypto.CredentialException: Failed to load credentials.
      	at org.apache.ws.security.components.crypto.AbstractCrypto.load(AbstractCrypto.java:174)
      	at org.apache.ws.security.components.crypto.AbstractCrypto.<init>(AbstractCrypto.java:135)
      	at org.apache.ws.security.components.crypto.Merlin.<init>(Merlin.java:71)
      	... 42 more
      Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
      	at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:771)
      	at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)
      	at java.security.KeyStore.load(KeyStore.java:1185)
      	at org.apache.ws.security.components.crypto.AbstractCrypto.load(AbstractCrypto.java:168)
      	... 44 more
      Caused by: java.security.UnrecoverableKeyException: Password verification failed
      	at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:769)
      	... 47 more
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            gertvanthienen Gert Vanthienen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: