Re: Programmatic instruct Tomcat to shutdown

2008-10-18 Thread Maxim Veksler
On Fri, Oct 17, 2008 at 23:07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maxim, Maxim Veksler wrote: I would like to forcefully cause my application server to fail once I discover a situation I can't recover from. We have HA that should

Re: Programmatic instruct Tomcat to shutdown

2008-10-16 Thread Maxim Veksler
notification of a shutdown event. That's the reason for my query of doing ordered shutdown. Thank you for your help. Filip Maxim. Maxim Veksler wrote: Hello, I would like to forcefully cause my application server to fail once I discover a situation I can't recover from. We have HA that should

Programmatic instruct Tomcat to shutdown

2008-10-15 Thread Maxim Veksler
this peacefully. I tried the System.exit(1) trick but this keeps running threads active because they do not get the shutdown notification. How should I properly call server shutdown from my webapp ? Thank you, Maxim. -- Cheers, Maxim Veksler Free as in Freedom - Do u GNU ?

${user.home} and other server.xml tags accepted by Tomcat?

2008-09-28 Thread Maxim Veksler
of these options that tomcat will read? Getting at least a reference to the cataline_home will be very helpful. p.s. I know from ant files that you can do ${env.SOMEVAL} to get the environment, sadly this does not work here. Is there an equivalent alternative ? -- Cheers, Maxim Veksler Free

Re: ${user.home} and other server.xml tags accepted by Tomcat?

2008-09-28 Thread Maxim Veksler
On Sun, Sep 28, 2008 at 2:37 PM, Rainer Jung [EMAIL PROTECTED] wrote: Maxim Veksler schrieb: Hello list, I'm looking for a way to make my tomcat configuration more dynamic without resorting to editing xm files. I considering doing this by using parameter substitution. I've seen from the SSL

Command line parameters inside webapps ?

2008-04-02 Thread Maxim Veksler
simple switch that can be passed to my webapp that would instruct it whether it is running passive or active. I've been googling for this and couldn't find any references to this. Thank you, Maxim. -- Cheers, Maxim Veksler Free as in Freedom - Do u GNU

Re: Command line parameters inside webapps ?

2008-04-02 Thread Maxim Veksler
On Wed, Apr 2, 2008 at 6:36 PM, David kerber [EMAIL PROTECTED] wrote: Yes. You can use System.getProperty( myPropertyName, defaultValue ) to retrieve system parameters set on startup with -DmyPropertyName=myPropertyValue Great thank you. Maxim Veksler wrote: Hello everyone, Can I

Re: Command line parameters inside webapps ?

2008-04-02 Thread Maxim Veksler
On Wed, Apr 2, 2008 at 6:37 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maxim Veksler Subject: Command line parameters inside webapps ? Something of the -Dsomeparameter=somevalue Any system property (a -D setting