DevPortal

How do I Customize Default Parameters?


You can start the service using default parameters that are picked up from the configuration file pramati_server_default.conf, which is present in the j2eeserver directory.

The file looks like:

#********************************************************************
# Wrapper Properties
#********************************************************************
#EDIT the following environment variables to suit local settings
set.JAVA_HOME=C:\j2sdk1.4.2_10\
set.ps_root=C:\PServer501016
#Change the node name to install another server instance as a service.
#The service will be registered with name PramatiServer
(PramatiServerdefault for the following setting)
set.node=default
# Java Application
wrapper.java.command=%JAVA_HOME%/bin/java
#wrapper.java.command=C:/j2sdk1.4.2_10/bin/java.exe
wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
# Application parameters. Add parameters as needed starting from 1
# Param 1. Pramati Server Main class
wrapper.app.parameter.1=com.pramati.Server
wrapper.app.parameter.2=-node %node%
wrapper.app.parameter.3=-redirect
........
********************************************************************

To start the service with some pre-defined parameters, the configuration file can be edited for:


© Pramati Technologies 2007 Runs on Pramati Server | Feedback | Legal