Skip to content

Commit d7a9f4d

Browse files
authored
Adding specifications to Windows configuration (#168) (#169)
1 parent 41fc8d9 commit d7a9f4d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

modules/ROOT/pages/jmx-metrics.adoc

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ With this setup, you can connect to JMX monitoring of the Neo4j server using `<I
118118
The file-based password authentication stores the password in clear text and is intended only for development use.
119119
====
120120

121-
You can set your password for JMX remote access and save it in the _conf/jmx.password_ configuration file.
122-
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`.
121+
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.
122+
Note that the _jmx.password_ file needs to be owned by the user that runs the server and has permissions set to `0600`.
123123

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

144+
On Windows, you need to change `/` to `\`:
145+
146+
[source, properties]
147+
----
148+
dbms.jvm.additional=-Dcom.sun.management.jmxremote.password.file=\absolute\path\to\conf\jmx.password
149+
dbms.jvm.additional=-Dcom.sun.management.jmxremote.access.file=\absolute\path\to\conf\jmx.access
150+
----
151+
144152
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`.
145153

146154

0 commit comments

Comments
 (0)