Skip to content

Commit 6aee9da

Browse files
committed
fix configuration example
1 parent b611f11 commit 6aee9da

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ thread in java is costlier than coroutine, facing large amount of connections th
334334
#turn on run tool mode, t means Tool
335335
jvm_options "-javaagent:jars/nginx-clojure-0.2.7.jar=tmb";
336336

337-
#for clojure, you should append clojure core jar, e.g -Djava.class.path=jars/nginx-clojure-0.2.7.jar:mypath-xxx/clojure-1.5.1.jar,please replace ':' with ';' on windows
337+
#for clojure, you should append clojure core jar, e.g -Xbootclasspath/a:jars/nginx-clojure-0.2.7.jar:mypath-xxx/clojure-1.5.1.jar,please replace ':' with ';' on windows
338338
jvm_options "-Xbootclasspath/a:jars/nginx-clojure-0.2.7.jar";
339339
...
340340
}
@@ -386,9 +386,9 @@ thread in java is costlier than coroutine, facing large amount of connections th
386386
jvm_options "-Xbootclasspath/a:jars/nginx-clojure-0.2.7.jar:jars/clojure-1.5.1.jar";
387387

388388
#coroutine-udfs is a directory to put your User Defined Class Waving Configuration File
389-
#for win32, class path seperator is ";", e.g "-Djava.class.path=coroutine-udfs;YOUR_CLASSPATH_HERE"
389+
#for win32, class path seperator is ";", e.g "coroutine-udfs;YOUR_CLASSPATH_HERE"
390390
#Note: DON NOT put nginx-clojure & clojure runtime jars here, because they have been appened to the jvm bootclasspath
391-
jvm_options "-Djava.class.path=coroutine-udfs:YOUR_CLASSPATH_HERE";
391+
jvm_classpath "coroutine-udfs:YOUR_CLASSPATH_HERE";
392392

393393

394394
#copy the waving configuration file generated from previous step to you any classpath dir e.g. coroutine-udfs

Configuration.md.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ <h4>
284284
<span class="pl-c">#turn on run tool mode, t means Tool</span>
285285
<span class="pl-k">jvm_options</span> <span class="pl-s">"-javaagent:jars/nginx-clojure-0.2.7.jar=tmb"</span>;
286286

287-
<span class="pl-c">#for clojure, you should append clojure core jar, e.g -Djava.class.path=jars/nginx-clojure-0.2.7.jar:mypath-xxx/clojure-1.5.1.jar,please replace ':' with ';' on windows</span>
287+
<span class="pl-c">#for clojure, you should append clojure core jar, e.g -Xbootclasspath/a:jars/nginx-clojure-0.2.7.jar:mypath-xxx/clojure-1.5.1.jar,please replace ':' with ';' on windows</span>
288288
<span class="pl-k">jvm_options</span> <span class="pl-s">"-Xbootclasspath/a:jars/nginx-clojure-0.2.7.jar"</span>;
289289
...
290290
}</pre></div>
@@ -336,9 +336,9 @@ <h4>
336336
<span class="pl-k">jvm_options</span> <span class="pl-s">"-Xbootclasspath/a:jars/nginx-clojure-0.2.7.jar:jars/clojure-1.5.1.jar"</span>;
337337

338338
<span class="pl-c">#coroutine-udfs is a directory to put your User Defined Class Waving Configuration File</span>
339-
<span class="pl-c">#for win32, class path seperator is ";", e.g "-Djava.class.path=coroutine-udfs;YOUR_CLASSPATH_HERE"</span>
339+
<span class="pl-c">#for win32, class path seperator is ";", e.g "coroutine-udfs;YOUR_CLASSPATH_HERE"</span>
340340
<span class="pl-c">#Note: DON NOT put nginx-clojure &amp; clojure runtime jars here, because they have been appened to the jvm bootclasspath</span>
341-
<span class="pl-k">jvm_options</span> <span class="pl-s">"-Djava.class.path=coroutine-udfs:YOUR_CLASSPATH_HERE"</span>;
341+
<span class="pl-k">jvm_classpath</span> <span class="pl-s">"coroutine-udfs:YOUR_CLASSPATH_HERE"</span>;
342342

343343

344344
<span class="pl-c">#copy the waving configuration file generated from previous step to you any classpath dir e.g. coroutine-udfs</span>

configuration.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ <h4>
386386
<span class="pl-c">#turn on run tool mode, t means Tool</span>
387387
<span class="pl-k">jvm_options</span> <span class="pl-s">"-javaagent:jars/nginx-clojure-0.2.7.jar=tmb"</span>;
388388

389-
<span class="pl-c">#for clojure, you should append clojure core jar, e.g -Djava.class.path=jars/nginx-clojure-0.2.7.jar:mypath-xxx/clojure-1.5.1.jar,please replace ':' with ';' on windows</span>
389+
<span class="pl-c">#for clojure, you should append clojure core jar, e.g -Xbootclasspath/a:jars/nginx-clojure-0.2.7.jar:mypath-xxx/clojure-1.5.1.jar,please replace ':' with ';' on windows</span>
390390
<span class="pl-k">jvm_options</span> <span class="pl-s">"-Xbootclasspath/a:jars/nginx-clojure-0.2.7.jar"</span>;
391391
...
392392
}</pre></div>
@@ -438,9 +438,9 @@ <h4>
438438
<span class="pl-k">jvm_options</span> <span class="pl-s">"-Xbootclasspath/a:jars/nginx-clojure-0.2.7.jar:jars/clojure-1.5.1.jar"</span>;
439439

440440
<span class="pl-c">#coroutine-udfs is a directory to put your User Defined Class Waving Configuration File</span>
441-
<span class="pl-c">#for win32, class path seperator is ";", e.g "-Djava.class.path=coroutine-udfs;YOUR_CLASSPATH_HERE"</span>
441+
<span class="pl-c">#for win32, class path seperator is ";", e.g "coroutine-udfs;YOUR_CLASSPATH_HERE"</span>
442442
<span class="pl-c">#Note: DON NOT put nginx-clojure &amp; clojure runtime jars here, because they have been appened to the jvm bootclasspath</span>
443-
<span class="pl-k">jvm_options</span> <span class="pl-s">"-Djava.class.path=coroutine-udfs:YOUR_CLASSPATH_HERE"</span>;
443+
<span class="pl-k">jvm_classpath</span> <span class="pl-s">"coroutine-udfs:YOUR_CLASSPATH_HERE"</span>;
444444

445445

446446
<span class="pl-c">#copy the waving configuration file generated from previous step to you any classpath dir e.g. coroutine-udfs</span>

0 commit comments

Comments
 (0)