Skip to content

Commit

Permalink
solr.cfg: configure JMX host and port separately.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritsvanrees committed Nov 17, 2016
1 parent 29d56a9 commit 3af9ec7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Changelog
6.0a2 (unreleased)
------------------

- solr.cfg: configure JMX host and port separately. [maurits]

- Added upgrade step for registry to upgrade from version 5.0.3.
Otherwise you get KeyError: ``collective.solr.facets`` in the search viewlet.
And on the control panel you get another KeyError: 'Interface
Expand Down
6 changes: 4 additions & 2 deletions solr.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ parts +=
[settings]
solr-host = 127.0.0.1
solr-port = 8983
jmx-host = 127.0.0.1
jmx-port = 8984
solr-min-ram = 128M
solr-max-ram = 256M

Expand Down Expand Up @@ -35,8 +37,8 @@ updateLog = true
requestParsers-enableRemoteStreaming = true
java_opts =
-Dcom.sun.management.jmxremote
-Djava.rmi.server.hostname=127.0.0.1
-Dcom.sun.management.jmxremote.port=8984
-Djava.rmi.server.hostname=${settings:jmx-host}
-Dcom.sun.management.jmxremote.port=${settings:jmx-port}
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-server
Expand Down

0 comments on commit 3af9ec7

Please sign in to comment.