summaryrefslogtreecommitdiff
path: root/www/cocoon/files/message-advanced.in
blob: 868b590b6e2e00a39dfc21ea420b58fc19ac0ee8 (plain)
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.6"