[
https://issues.apache.org/activemq/browse/SMX4-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59005#action_59005
]
Gert Vanthienen commented on SMX4-518:
--------------------------------------
A workaround for this issue is to revert the JDK update by Apple as explained
in http://www.toolsforteams.com/roller/blog/entry/don_t_update_java_for.
For now, I have added a profile to exclude the tests on the affected platforms
to ensure we can all build the code without running into this issue (profile
added as part of http://svn.apache.org/viewvc?view=revision&revision=936226)
> Camel NMR component WSSecurityTest fails
> ----------------------------------------
>
> Key: SMX4-518
> URL: https://issues.apache.org/activemq/browse/SMX4-518
> Project: ServiceMix 4
> Issue Type: Bug
> Affects Versions: 4.2.0
> Reporter: Gert Vanthienen
> Fix For: 4.4.0
>
>
> When running the features/camel/servicemix-camel unit test on a Mac with JDK
> 1.6 installed, the WSSecurityTest fails.
> {noformat}
> 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
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.