Java Options
Posted: Wed Aug 19, 2009 11:07 am
Hi together!
How can add command line args to the java interpreter that is called by bin/omero admin start. I'd like to change the memory footprint and set the value for the location of the system preferences file to a folder where none root users can write to.
I went through the lib/python/omero/cli.py code and lib/python/omero/plugins but could not really figure out where I can add args, that they get picked up by the program. I tried adding omero.blitz.xargs to etc/grid/default.xml but this did not work. Finally, I modified lib/omero/java.py that it adds JAVA_OPTS found in the environment.
Thanks! Bernhard
How can add command line args to the java interpreter that is called by bin/omero admin start. I'd like to change the memory footprint and set the value for the location of the system preferences file to a folder where none root users can write to.
I went through the lib/python/omero/cli.py code and lib/python/omero/plugins but could not really figure out where I can add args, that they get picked up by the program. I tried adding omero.blitz.xargs to etc/grid/default.xml but this did not work. Finally, I modified lib/omero/java.py that it adds JAVA_OPTS found in the environment.
Thanks! Bernhard