summaryrefslogtreecommitdiff
path: root/www/jetty/files/message-advanced.in
blob: 60f676a9c59a7c0393e570b5f74b745b119a14b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--------------------------------------------------------------------------------
ADVANCED USAGE

If you need to pass special options to Java, please set the
%%APP_NAME%%_flags option in /etc/rc.conf, see examples below:

  # Prevent Java from opening an X11 display

  %%APP_NAME%%_flags="-Djava.awt.headless=true"

  # Increase memory limit of the Java virtual machine

  %%APP_NAME%%_flags="-Xms32m -Xmx256m"

  # Run Java with remote debugging turned on on port 8000

  %%APP_NAME%%_flags="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000"

To specify the java version to use, please use %%APP_NAME%%_java_version:

  %%APP_NAME%%_java_version="1.4"