Hello,

i am working on a web application and one of its module uses axis2
webservice with ws security rampart.
The application running on a linux server, and currently all the files
related to application moved to windows file server and all the jks files
also.

So while setting, org.apache.ws.security.crypto.merlin.file  for rampart
configuration ,


now getting an exception

12:49:32,674 ERROR [org.apache.rampart.util.RampartUtil] (pool-16-thread-1)
Error loading crypto properties.:
org.apache.ws.security.WSSecurityException: null cannot create instance
        at
deployment.webapp.war//org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:122)
        at
deployment.webapp.war//org.apache.rampart.util.RampartUtil.createCrypto(RampartUtil.java:347)
        at
deployment.webapp.war//org.apache.rampart.util.RampartUtil.getSignatureCrypto(RampartUtil.java:397)
        at
deployment.webapp.war//org.apache.rampart.RampartEngine.process(RampartEngine.java:137)
        at
deployment.webapp.war//org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)
        at
deployment.webapp.war//org.apache.axis2.engine.Phase.invokeHandler(Phase.java:335)
        at
deployment.webapp.war//org.apache.axis2.engine.Phase.invoke(Phase.java:308)
        at
deployment.webapp.war//org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
        at
deployment.webapp.war//org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
        at
deployment.webapp.war//org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:357)
        at
deployment.webapp.war//org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:414)
        at
deployment.webapp.war//org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
        at
deployment.webapp.war//org.apache.axis2.client.OperationClient.execute(OperationClient.java:150)
        at
deployment.webapp.war//com.external.service.ServiceStub.receiptRequest(ServiceStub.java:182)
        at
deployment.webapp.war//com.external.service.ServiceStubHandler.sendAndProcessResponse(ServiceStubHandler.java:206)
        at
deployment.webapp.war//com.external.service.ServiceStubHandler.processServiceRequest(ServiceStubHandler.java:179)
        at
deployment.webapp.war//com.external.service.ServiceStubHandler.requestService(ServiceStubHandler.java:97)
        at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: org.apache.ws.security.components.crypto.CredentialException:
Proxy file (smb://fileserver/cert/cert.jks) not found.
        at
deployment.webapp.war//org.apache.ws.security.components.crypto.Merlin.loadInputStream(Merlin.java:337)
        at
deployment.webapp.war//org.apache.ws.security.components.crypto.Merlin.loadProperties(Merlin.java:179)
        at
deployment.webapp.war//org.apache.ws.security.components.crypto.Merlin.<init>(Merlin.java:140)
        at
deployment.webapp.war//org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:117)
        ... 22 more
Caused by: java.io.FileNotFoundException: smb:/fileserver/cert/cert.jks (No
such file or directory)
        at java.base/java.io.FileInputStream.open0(Native Method)
        at java.base/java.io.FileInputStream.open(FileInputStream.java:196)
        at
java.base/java.io.FileInputStream.<init>(FileInputStream.java:139)
        at java.base/java.io.FileInputStream.<init>(FileInputStream.java:94)
        at
deployment.webapp.war//org.apache.ws.security.components.crypto.Merlin.loadInputStream(Merlin.java:332)


Can anyone please help 

Thanks.



--
Sent from: http://axis.8716.n7.nabble.com/Axis-Java-User-f3.html

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to