|
From: Leif M. <le...@ta...> - 2010-04-08 23:06:06
|
Andrew, As Hubert said, by default, the wrapper.java.additional.N properties need to be consecutive. However, it is possible to enable gaps with the wrapper.ignore_sequence_gaps property, added in version 3.3.6 http://wrapper.tanukisoftware.org/doc/english/prop-java-additional-n.html http://wrapper.tanukisoftware.org/doc/english/prop-ignore-sequence-gaps.html In either case, you can verify that you have set up the properties correctly by setting the wrapper.java.command.loglevel=INFO property and rerunning your application. This will cause the full Java command line to be included in the wrapper.log file: http://wrapper.tanukisoftware.org/doc/english/prop-java-command-loglevel.html If this does not show you the problem, please send me your wrapper.conf file along with the top of your wrapper.log file showing the above command line output. Cheers, Leif On Fri, Apr 9, 2010 at 4:42 AM, Hubert Felber <Hub...@ab...> wrote: > Is the order of parameters correct? Don't leave a gap. > With a process viewer check the command line parameters of the created > java child process. > Hubert > >>>> Andrew-X Griffin 08.04.10 19.48 Uhr >>> > Hi all - > > I'm struggling with something seemingly simple. In my .conf file, I > specify the following VM parameter: > > wrapper.java.additional.30=-Dalert.monitor.client.config=myClient.properti > es > > But the line System.getProperty("alert.monitor.client.config"); always > returns null. > > The parameter number is unique, for what it's worth. I am using the > WrapperSimpleApp implementation, version 3.3.6. > > Any help is greatly appreciated - > > Andrew |