neo4j/packaging — Issue #2: custom JVM parameters not supported?
Author: peterneubauer
Created: 2011-11-05 06:31:07+00:00
State: open

Tatham Oddie reported at http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-java-lang-IllegalArgumentException-launching-1-5M02-tp3475370p3475370.html

C:\AzureTemp\Resources\2e546563-a35c-42f6-b903-03317cfdf847\directory\Neo4jInst\neo4j-community-1.5.M02\bin>Neo4j.bat
java.lang.IllegalArgumentException
at java.lang.ProcessImpl.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at org.neo4j.wrapper.ServerProcessConsole.doStart(ServerProcessConsole.java:39)
at org.neo4j.wrapper.ServerProcess.(ServerProcess.java:116)
at org.neo4j.wrapper.ServerProcessConsole.(ServerProcessConsole.java:29)
at org.neo4j.wrapper.NeoServiceWrapper.launchAsConsoleApp(NeoServiceWrapper.java:48)
at org.neo4j.wrapper.NeoServiceWrapper.main(NeoServiceWrapper.java:35)

C:\AzureTemp\Resources\2e546563-a35c-42f6-b903-03317cfdf847\directory\Neo4jInst\neo4j-community-1.5.M02\bin>

Tatham Oddie ✆ tatham@oddie.com.au
Nov 2 (2 days ago)

to Neo4j
It was this line in neo4j-wrapper.conf:

wrapper.java.additional.3=-Xloggc:data/log/neo4j-gc.log

It's commented out by default, but we had it in for some of our perf work.

It seems it's no longer compatible with 1.5M02 even though it's still in the default config files (albeit commented out).