> -----Original Message----- > From: Mukul Bhatnagar [mailto:[email protected]] > Sent: Monday, March 31, 2014 12:40 PM > To: [email protected] > Subject: Fwd: Need urgent help - Removing jvmoptions from tomcat > service > > ---------- Forwarded message ---------- > From: Mukul Bhatnagar <[email protected]> > Date: Mon, Mar 31, 2014 at 10:59 PM > Subject: Need urgent help - Removing jvmoptions from tomcat service > To: [email protected] > > > Hi all, > > I am using tomcat as Windows service for my application. I created JVM > options. lets say -Djava.library <some path>. > Now everything runs fine and i do see the java properties using the > command > line: > > tomcat7w.exe //ES//applId > > Now, since everything i am doing is in batch script.When i am > uninstalling the service, the JVMoptions donot get deleted. they stay > there forever and on installing/executing the service, the JVMoptions > get duplicated. > > how do i remove JVMoptions in my script during uninstalltion of tomcat > service, what is the command line for that? > > -- > Warm Regards, > Mukul Bhatnagar >
How are you installing/uninstalling the service/options? Normally, the recommending way of working with the windows service runner (aka Apache Commons Daemon) will uninstall any added/changed options. Perhaps reading the documentation on ACD will give you some insight. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
