Skip to content

Commit

Permalink
Adding specifications to Windows configuration (#168) (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
lidiazuin authored Dec 6, 2023
1 parent 41fc8d9 commit d7a9f4d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions modules/ROOT/pages/jmx-metrics.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ With this setup, you can connect to JMX monitoring of the Neo4j server using `<I
The file-based password authentication stores the password in clear text and is intended only for development use.
====

You can set your password for JMX remote access and save it in the _conf/jmx.password_ configuration file.
Note that on Unix-based systems, the _jmx.password_ file needs to be owned by the user that runs the server, and has permissions set to `0600`.
You can set your password for JMX remote access and save it in the _conf/jmx.password_ (Unix) and _c:\jmx.password_ (Windows) configuration file.
Note that the _jmx.password_ file needs to be owned by the user that runs the server and has permissions set to `0600`.

[source, properties]
----
Expand All @@ -141,6 +141,14 @@ server.jvm.additional=-Dcom.sun.management.jmxremote.password.file=/absolute/pat
server.jvm.additional=-Dcom.sun.management.jmxremote.access.file=/absolute/path/to/conf/jmx.access
----

On Windows, you need to change `/` to `\`:

[source, properties]
----
dbms.jvm.additional=-Dcom.sun.management.jmxremote.password.file=\absolute\path\to\conf\jmx.password
dbms.jvm.additional=-Dcom.sun.management.jmxremote.access.file=\absolute\path\to\conf\jmx.access
----

With this setup, you can connect to JMX monitoring of the Neo4j server using `<IP-OF-SERVER>:3637`, with the username `monitor`, and the password `password_to_be_changed`.


Expand Down

0 comments on commit d7a9f4d

Please sign in to comment.