> -----Original Message-----
> From: Mukul Bhatnagar [mailto:mukul....@gmail.com]
> Sent: Monday, March 31, 2014 12:40 PM
> To: users@tomcat.apache.org
> Subject: Fwd: Need urgent help - Removing jvmoptions from tomcat
> service
> 
> ---------- Forwarded message ----------
> From: Mukul Bhatnagar <mukul....@gmail.com>
> Date: Mon, Mar 31, 2014 at 10:59 PM
> Subject: Need urgent help - Removing jvmoptions from tomcat service
> To: users-h...@tomcat.apache.org
> 
> 
> 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: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to