Installation guide

7
Setting up Pramati Server as a Service
Pramati Server can be installed as a service on Windows or as a daemon on Unix based
systems. This helps the administrators in ensuring that the server is always available on
system start. Pramati Server uses the Java Services Wrapper (version 3.0.5) to install Server
as service on Windows or a daemon in Unix based systems. Java Services Wrapper is an
open source tool, which eases the process of installing any Java application as a service by
moving all JVM configuration into a platform independent configuration file. More
information on Java Services wrapper is available at http://wrapper.tanukisoftware.org/.
All necessary files for setting up Pramati Server as a service are present in the
<install_dir>/services/ directory.
Setting up Pramati Server as a Service on Windows
In this section we will discuss how to set up the Default Server as service on Windows.
Make sure you have all the files specified in the table are available before proceeding any
further:
To install the server as a service:
File Description
\bin\license.txt A text file describing the copyrights of the use of the Wrapper Service.
Provided by TanukiSoftware.org.
\bin\readme.txt A text file describing the instructions for installing the Wrapper Services.
\bin\setup.bat This file sets the server install path to an environment variable
\bin\Wrapper.dll A library file
\bin\Wrapper.exe This is an executable file that is invoked to install the Java application as a
service
\bin\wrapper.jar The Java Services Wrapper classes are present in this executable JAR file
\j2eeserver\pramati_ser
ver_default.conf
A configuration file used to launch the server with pre-defined
startup parameters like setting classpath, JVM options etc
\j2eeserver\install_serve
r_default.bat
A batch file used to install the service on Windows
\j2eeserver\remove_ser
ver_defaultbat
A batch script to remove the default service