r2 - 26 Apr 2007 - 08:51:57 - TanDunlinYou are here: TWiki >  Main Web  >  ElixirReport > ElixirReportServerCookbook > Headlessmode

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 :

  1. Include argument 'Djava.awt.headless=true' in the startup script
  2. 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 :

  1. 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

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback