axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Annette Vetter" <annet...@gmail.com>
Subject InvocationTargetException
Date Mon, 08 May 2006 08:22:07 GMT
Hi there,

I'm a beginner with web services but I've already developed several simple
ones. Now I wanted to add additional security features ... and it just won't
work.
That's the stack I get:

- Using Crypto Engine [ org.apache.ws.security.components.crypto.Merlin]
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance (Unknown
Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.apache.ws.security.components.crypto.CryptoFactory.loadClass (
CryptoFactory.java:117)
    at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(
CryptoFactory.java:101)
    at org.apache.ws.security.handler.WSHandler.loadSignatureCrypto(
WSHandler.java:400)
    at org.apache.ws.security.handler.WSHandler.doSenderAction(
WSHandler.java:111)
    at org.apache.ws.axis.security.WSDoAllSender.invoke(WSDoAllSender.java
:161)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java :121)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke (Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at com.ttdev.secureservice.client.DIIClient.main(DIIClient.java:30)
Caused by: org.apache.ws.security.components.crypto.CredentialException :
Proxy file (c:/keys/client.ks) not found.[]
    at org.apache.ws.security.components.crypto.Merlin.<init>(Merlin.java
:111)
    ... 16 more
- Unable to instantiate (1): org.apache.ws.security.components.crypto.Merlin
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (Unknown
Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(
CryptoFactory.java:117)
    at org.apache.ws.security.components.crypto.CryptoFactory.getInstance (
CryptoFactory.java:101)
    at org.apache.ws.security.handler.WSHandler.loadSignatureCrypto(
WSHandler.java:400)
    at org.apache.ws.security.handler.WSHandler.doSenderAction(
WSHandler.java:111)
    at org.apache.ws.axis.security.WSDoAllSender.invoke (WSDoAllSender.java
:161)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:121)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at com.ttdev.secureservice.client.DIIClient.main (DIIClient.java:30)
Caused by: org.apache.ws.security.components.crypto.CredentialException:
Proxy file (c:/keys/client.ks) not found.[]
    at org.apache.ws.security.components.crypto.Merlin.<init>(Merlin.java:111)
    ... 16 more
java.lang.InstantiationException:
org.apache.ws.security.components.crypto.Merlin
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(
CryptoFactory.java:125)
    at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(
CryptoFactory.java:101)
    at org.apache.ws.security.handler.WSHandler.loadSignatureCrypto (
WSHandler.java:400)
    at org.apache.ws.security.handler.WSHandler.doSenderAction(
WSHandler.java:111)
    at org.apache.ws.axis.security.WSDoAllSender.invoke(WSDoAllSender.java
:161)
    at org.apache.axis.client.AxisClient.invoke (AxisClient.java:121)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at com.ttdev.secureservice.client.DIIClient.main(DIIClient.java:30)
- Unable to instantiate (2): org.apache.ws.security.components.crypto.Merlin
java.lang.InstantiationException:
org.apache.ws.security.components.crypto.Merlin
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at org.apache.ws.security.components.crypto.CryptoFactory.loadClass (
CryptoFactory.java:125)
    at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(
CryptoFactory.java:101)
    at org.apache.ws.security.handler.WSHandler.loadSignatureCrypto(
WSHandler.java:400)
    at org.apache.ws.security.handler.WSHandler.doSenderAction(
WSHandler.java:111)
    at org.apache.ws.axis.security.WSDoAllSender.invoke(WSDoAllSender.java
:161)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java :121)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke (Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at com.ttdev.secureservice.client.DIIClient.main(DIIClient.java:30)
Exception in thread "main" AxisFault
 faultCode: { http://schemas.xmlsoap.org/soap/envelope/}Server.userException<http://schemas.xmlsoap.org/soap/envelope/%7DServer.userException>
 faultSubcode:
 faultString: java.lang.RuntimeException:
org.apache.ws.security.components.crypto.Merlin cannot create instance
 faultActor:
 faultNode:
 faultDetail:
    {http://xml.apache.org/axis/}stackTrace:java.lang.RuntimeException<http://xml.apache.org/axis/%7DstackTrace:java.lang.RuntimeException>:
org.apache.ws.security.components.crypto.Merlin cannot create instance
    at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(
CryptoFactory.java:130)
    at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(
CryptoFactory.java:101)
    at org.apache.ws.security.handler.WSHandler.loadSignatureCrypto(
WSHandler.java:400)
    at org.apache.ws.security.handler.WSHandler.doSenderAction(
WSHandler.java:111)
    at org.apache.ws.axis.security.WSDoAllSender.invoke (WSDoAllSender.java
:161)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:121)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at com.ttdev.secureservice.client.DIIClient.main (DIIClient.java:30)

    {http://xml.apache.org/axis/}hostname:OGIN03<http://xml.apache.org/axis/%7Dhostname:OGIN03>

java.lang.RuntimeException:
org.apache.ws.security.components.crypto.Merlincannot create instance
    at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:216)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke (Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at com.ttdev.secureservice.client.DIIClient.main (DIIClient.java:30)
Caused by: java.lang.RuntimeException:
org.apache.ws.security.components.crypto.Merlin cannot create instance
    at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(
CryptoFactory.java :130)
    at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(
CryptoFactory.java:101)
    at org.apache.ws.security.handler.WSHandler.loadSignatureCrypto(
WSHandler.java:400)
    at org.apache.ws.security.handler.WSHandler.doSenderAction (
WSHandler.java:111)
    at org.apache.ws.axis.security.WSDoAllSender.invoke(WSDoAllSender.java
:161)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:121)
    ... 6 more

Now - what can I do? Any tips?

Thanks,
Annette

Mime
View raw message