|
From: <Mar...@si...> - 2011-05-23 12:19:10
|
Hi everyone This is my first post... We have a java app which we run as a service using the Java Service Wrapper... In our wrapper.conf file we pass in four parameters (shown below).... # Application parameters. Add parameters as needed starting from 1 wrapper.app.parameter.1=aero.sita.gsl.bio.services.backEnd.commonCore.externalJms.ExternalJmsServer wrapper.app.parameter.2=spring/biometricServices/consumer/biometricStorageConsumerConfig.xml wrapper.app.parameter.3=spring/biometricServices/consumer/biometricMatchingConsumerConfig.xml wrapper.app.parameter.4=spring/biometricServices/consumer/biometricIdentificationConsumerConfig.xml Parameters 2,3 & 4 are XML files which live inside a jar file that is referenced by our application. I would like to override these files (as they provide just default functionality) and place them in a directory that someone can browse to and update as necessary.... Once we restart our app, the new settings would get read, and used by our app.... I have tried a few things such as... wrapper.java.classpath.32=../xml/spring/biometricServices/consumer/biometricStorageConsumerConfig.xml wrapper.java.classpath.33=../xml/spring/biometricServices/consumer/biometricMatchingConsumerConfig.xml wrapper.java.classpath.34=../xml/spring/biometricServices/consumer/biometricIdentificationConsumerConfig.xml but have had no luck Is there any way I can do this using the wrapper.conf file Thanks in advance for any help you can provide Regards Martin Martin Lynch Associate Programmer Government & Security Solutions SITA Société Internationale de Télécommunications Aéronautiques Office Tel: +353 (0)74 91 94 700 Direct Tel: +353 (0)74 91 94 781 CVS 293 4781 Fax: +353 (0) 74 91 94 717 Email: mar...@si... This document is strictly confidential and intended only for use by the addressee unless otherwise stated. If you are not the intended recipient, please notify the sender immediately and delete it from your system. |