|
From: Andrew-X G. <and...@db...> - 2010-04-09 08:27:02
|
Thanks gents - We do have some gaps in the number (because we will be using .conf file inclusions quite a bit, and we can't expect the implementors to know which numbers have used) so we have specified the wrapper.ignore_sequence_gaps=TRUE parameter. I will try the log level idea, though, that will be helpful. -----Original Message----- From: le...@ta... [mailto:le...@ta...] Sent: Friday, April 09, 2010 12:01 AM To: wra...@li... Subject: Re: [Wrapper-user] Antw: System.getProperty not working? 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.ht ml 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.h tml 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.prop > erti > 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 -------------------------------------------------------------------------- ---- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional EU corporate and regulatory disclosures. |