[ome-devel] OMERO 5.0.3+ jvmcfg usage

Josh Moore josh at glencoesoftware.com
Thu Oct 9 09:19:21 BST 2014


On Oct 9, 2014, at 9:45 AM, S Simard wrote:

> Hello all,

Hi Seb,

> I'm playing with the new omero.jvmcfg options, and it seems that the former "heap-dump-tmp" target in templates.xml has been replaced with "bin/omero config set omero.jvmcfg.heap_dump tmp".
> 
> However, using this setting (on Oracle and OpenJDK 1.7), the server fails to start (tested on 5.0.3 and 5.0.5).
> From logs/master.err, it looks like the JVM options get mangled:
> Unrecognized VM option 'HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp'
> Error: Could not create the Java Virtual Machine.
> 
> Is this a known thing? (Note that using "omero.jvmcfg.heap_dump on" works fine)

No, it was unknown. Thanks for reporting! I've opened PR [3100] which should
fix the issue. As a workaround, use "on" but set:

  bin/omero config set -- omero.jvmcfg.append '-XX:HeapDumpPath=/tmp'

All the best,
~Josh.

> Thanks,
> Sebastien

[3100] https://github.com/openmicroscopy/openmicroscopy/pull/3100



More information about the ome-devel mailing list