Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #23965

Re: Setting a property for System.getProperty()

Newsgroups comp.lang.java.programmer
Date 2013-05-09 09:01 -0700
References <38d76348-f691-439f-b476-50eeb2908c14@googlegroups.com>
Message-ID <5201e2c5-8699-43f2-87b6-96c37bd16583@googlegroups.com> (permalink)
Subject Re: Setting a property for System.getProperty()
From RVic <rvince99@hotmail.com>

Show all headers | View raw


I need to set it outside of of the running application, so the -D option is what I need to invoke. However, THis is a war archive running under tomcat, started (in script) with:

sudo service tomcat-$SITE start

How would you invoke the -Dcn.env="mirror" in this?

Thanks for your help here guys! RVic

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Setting a property for System.getProperty() RVic <rvince99@hotmail.com> - 2013-05-09 07:53 -0700
  Re: Setting a property for System.getProperty() lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-05-09 16:22 +0100
  Re: Setting a property for System.getProperty() Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-05-09 11:33 -0400
  Re: Setting a property for System.getProperty() RVic <rvince99@hotmail.com> - 2013-05-09 09:01 -0700
    Re: Setting a property for System.getProperty() Arne Vajhøj <arne@vajhoej.dk> - 2013-05-09 21:51 -0400
  Re: Setting a property for System.getProperty() RVic <rvince99@hotmail.com> - 2013-05-09 09:14 -0700
    Re: Setting a property for System.getProperty() markspace <markspace@nospam.nospam> - 2013-05-09 09:48 -0700
      Re: Setting a property for System.getProperty() Arne Vajhøj <arne@vajhoej.dk> - 2013-05-09 21:57 -0400

csiph-web