• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Properties file outside the war file

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I'm having trouble taking out the KeyStore or the properties file from the Axis2 war file. As long as they are in the Axis2.war/WEB-INF/classes directory, everything works fine. I'm using JBoss 4.0.5 and would like to put KeyStore or the properties file outside the Axis2.war file. I tried putting it in Jboss/server/default/lib ; Jboss/server/conf and also manually updated the JBoss CLASSPATH in the run.bat file but doesn't work.

The properties file (test.properties) in Axis2.war/WEB-INF/classes folder has the following contents.

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 both the TestKeyStore and test.properties files in the Axis2.war/WEB-INF/classes folder, it works fine.

Can someone please suggest me how to put make the properties file or 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
    Bookmark Topic Watch Topic
  • New Topic