Hello,
   I'm having trouble taking out the KeyStore file from the Axis2 war file.
As long as it is in the Axis2.war/WEB-INF/classes directory, everything
works fine. I'm using JBoss 4.0.5 and would like to put KeyStore file
outside the Axis2.war file. I tried putting it in Jboss/server/default/lib ;
Jboss/server/conf, jboss-4.0.5.GA\server\default\conf\props and also
manually updated the JBoss CLASSPATH in the run.bat file but doesn't work.

The properties  file (test.properties) has the following contents. I have
placed this file in jboss-4.0.5.GA\server\default\conf\props, which works
fine.

org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
org.apache.ws.security.components.crypto.Merlin
org.apache.ws.security.crypto.merlin.keystore.type=jks
org.apache.ws.security.crypto.merlin.keystore.password=password
org.apache.ws.security.crypto.merlin.keystore.alias=uattest
org.apache.ws.security.crypto.merlin.alias.password=password
org.apache.ws.security.crypto.merlin.file=TestKeyStore

If I keep the TestKeyStore  in Axis2.war/WEB-INF/classes folder, it works
fine.

I have placed the TestKeyStore in conf/props folder and mentioned the below
paths.

org.apache.ws.security.crypto.merlin.file=C:\jboss-4.0.5.GA\server\default\conf\props\TestKeyStore
org.apache.ws.security.crypto.merlin.file=C:\\jboss-4.0.5.GA\\server\\default\\conf\\props\\TestKeyStore
org.apache.ws.security.crypto.merlin.file=C:/jboss-4.0.5.GA/server/default/conf/props/TestKeyStore
org.apache.ws.security.crypto.merlin.file=%JBOSS_HOME%\\server\\default\\conf\\props\\TestKeyStore
org.apache.ws.security.crypto.merlin.file=%JBOSS_HOME%/server/default/conf/props/TestKeyStore




Can someone please suggest me how to put make the KeyStore file available to
Axis2.war after it is deployed?

I'm putting Axis2.war in an ear which contains some jars and 2 other war
files.

Any help would be greatly appreciated.

Thanks,
Sridhar.

Reply via email to