BTW: The wrapper:install installs an old version of the wrapper which only supports linux. As we have solaris and linux, I upgraded the wrapper and changed it to support both OSes. It does means it's very manual to set a new server to use the wrapper which is why I would like to do everything from the main server which is working fine on each server.
-----Original Message----- From: Guillaume Nodet [mailto:[email protected]] Sent: 27 November 2009 13:59 To: users Subject: Re: How do I set the JVM args for sub-instance of karaf? So you have created an instance, installed the wrapper feature, and launched the wrapper:install command from the instance, right ? If so, you should have a file named [root]/instances/k1/etc/xxx-wrapper.conf which is the configuration file for JSW. Just edit this file and change the properties named wrapper.java.additional.xxx On Fri, Nov 27, 2009 at 10:17, peter lawrey <[email protected]> wrote: > We have a number of instances of karaf which are sub-instances of the > main instance. > > How do we set command line arguments like `admin:start -o` does? > > e.g. > > -Dcom.sun.management.jmxremote.port=9004 > > > > We want this to be set when the services are restarted automatically. > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

