Headless Mode (Unix System)
Running Elixir Server without a monitor, mouse or keyboard.
In unix environments, it usually means that X or an equivalent windowing system does not have to be present.
Steps :
- Include argument 'Djava.awt.headless=true' in the startup script
- Include symbol '&' at the end of the startup script
Code Snippet
$JAVACMD -mx512M
-Djava.awt.headless=true -Delixir.home=.. -Delixir.config=../config -jar -Djava.security.auth.login.config=../config/auth.conf -Djava.security.policy=../config/java2.policy RepertoireServer-Launcher.jar
&
IMPT : Required JDK 1.4 and later
-Server (Unix System)
If you are using SUN JVM, you can tune the performance of the Elixir Report Server by using the following
parameters: -server and -Djava.awt.headless=true. Headless mode is as described above.
The "-server" option is used to select the Java HotSpot Server VM. By default, the Java HotSpot Client VM
is selected.
Steps :
- Include argument '-server' in the startup script
Code Snippet
$JAVACMD -mx512M
-server -Djava.awt.headless=true -Delixir.home=.. -Delixir.config=../config -jar -Djava.security.auth.login.config=../config/auth.conf -Djava.security.policy=../config/java2.policy RepertoireServer-Launcher.jar
&
The -client and -server systems are different binaries. They are essentially two different compilers
(JITs) interfacing to the same runtime system. The client system is optimal for applications which need
fast startup times or small footprints, the server system is optimal for applications where the performance
is most important. In general the client system is better on GUIs. Some of the other differences include
the compilation policy used, heap defaults, and inlining policy.
The above two parameters are SUN JVM specific, if you are using JVM other than Sun, please kindly check
with your respective software vendor on the parameters for tunning the performance of the Elixir Report
Server.
--
TanDunlin - 17 Apr 2006