Created
May 19, 2017 17:12
-
-
Save cjcolvar/e3dc290c6a49c68c7c8a3a37afcdc401 to your computer and use it in GitHub Desktop.
fcrepo_wrapper config that enables jmx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Place any default configuration for solr_wrapper here | |
port: 8984 | |
enable_jms: false | |
fcrepo_home_dir: tmp/fcrepo4-development-data | |
java_options: | |
- '-Dfcrepo.log.http.api=WARN' | |
- '-Dfcrepo.log.kernel=ERROR' | |
- '-Dfcrepo.home=tmp/fcrepo4-development-data' | |
- '-Dfcrepo.spring.jms.configuration=file:///Users/cjcolvar/.rvm/gems/ruby-2.3.1/gems/fcrepo_wrapper-0.7.0/data/spring-noop.xml' | |
- '-Dcom.sun.management.jmxremote' | |
- '-Dspring.profiles.active=metrics.jmx' | |
- '-Xmx512m' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This enables jmx when running a fedora server via fcrepo_wrapper. You'll need to copy the java options from the running fedora process before you make these changes so you can get the path to the spring-noop.xml file. Once you have fedora running with this config then you can use jconsole to see a little bit more details about a running fedora server.