|
From: Patrick B. <PBu...@ec...> - 2012-07-06 04:01:20
|
We have parameters for our java application set up in our config files and those are working fine. But we want to be able to send an additional parameter when we start the service. Can we send a parameter from the command line when starting a service? And how do we recognize that this is a parameter that we want to send on to the java application? That is, I want to be able to start the service with a command such as "sc start service1 parm1=potatoes" and have "potatoes" sent as a specific argument to my java application. Thanks. Patrick Burghardt Software Engineer III http://www.ecova.com/ PBu...@ec... T 513 763 3107 http://twitter.com/#!/ecovainc http://www.linkedin.com/groups/Ecova-Inc-4117932 https://www.facebook.com/ecovainc http://www.youtube.com/ecovainc http://www.ecova.com/insider To learn more visit file:///C:/Program%20Files/Exclaimer/www.ecova.com CONFIDENTIALITYNOTICE: This email transmittal and any accompanying attachments contains information from sender which is business sensitive, proprietary, confidential and may be legally privileged. The information is only for the use of the intended recipient(s). If you are NOT the intended recipient: 1. Do not read, copy, use or disclose this communication to others; 2. Immediately notify the sender of the error by return email or call 509.329.7606; and 3. Delete the original file from your computer system and destroy all copies of the transmittal in any form, including archived copies. |