|
From: Leif M. <le...@ta...> - 2006-09-28 12:37:55
|
Mike, Try adding the following property. wrapper.java.command.loglevel=INFO This will cause the Java command to be logged. You can then see exactly what is going on. You can also try copying this command into a batch file. If you remove the -Dwrapper.key=xxx command line option, the command can be used to run the JVM without using the wrapper. The wrapper doesn't do any thing special in this area, so there must be something different about the arguments being passed to the JVM. Post your command and someone may have some ideas for you. Cheers, Leif Mike Streeton wrote: > > I am trying to get the java option aggressive heap to work. I have put > the following lines in the wrapper.conf: > > > > # Java Additional Parameters > > wrapper.java.additional.1=-server > > wrapper.java.additional.2=-XX:+UseParallelGC > > wrapper.java.additional.3=-XX:+AggressiveHeap > > > > # Initial Java Heap Size (in MB) > > #wrapper.java.initmemory=3 > > > > # Maximum Java Heap Size (in MB) > > #wrapper.java.maxmemory=256 > > > > The following appears in the log: > > > > STATUS | wrapper | 2006/09/28 10:44:55 | --> Wrapper Started as Service > > STATUS | wrapper | 2006/09/28 10:44:55 | Launching a JVM... > > ERROR | wrapper | 2006/09/28 10:45:00 | JVM exited while loading the > application. > > INFO | jvm 1 | 2006/09/28 10:45:00 | Error occurred during > initialization of VM > > INFO | jvm 1 | 2006/09/28 10:45:00 | Could not reserve enough > space for object heap > > > > The application will start okay without the wrapper, but fails with > the wrapper, at start up it will use no more than 20M. > > > > I have tried it with 3.1.2 and 3.2.1 version. > > > > Any Ideas? > > > > Thanks > > > > Mike > > > > > > www.ardentia.com <http://www.ardentia.com> the home of NetSearch > |