geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Haynes" <edwardahay...@gmail.com>
Subject Java Service Wrapper
Date Wed, 22 Mar 2006 19:28:16 GMT
I just got Geronimo running as a windows service on my XP machine using Java
Service Wrapper http://wrapper.tanukisoftware.org/ . Anyone else here use
it? Has anyone had issues with it? Here is my wrapper.conf file if anyone is
interested:

#********************************************************************
# Wrapper Properties
#********************************************************************
# Java Application
wrapper.java.command=C:\j2sdk1.4.2_10\bin\java

# Java Main class.  This class must implement the WrapperListener interface
#  or guarantee that the WrapperManager class is initialized.  Helper
#  classes are provided to do this for you.  See the Integration section
#  of the documentation for details.
wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperStartStopApp

# Java Classpath (include wrapper.jar)  Add class path elements as
#  needed starting from 1
wrapper.java.classpath.1=../lib/wrapper.jar
wrapper.java.classpath.2=../lib/geronimo-qname_1.1_spec-1.0.jar
wrapper.java.classpath.3=../lib/geronimo-common-1.0.jar
wrapper.java.classpath.4=../lib/geronimo-kernel-1.0.jar
wrapper.java.classpath.5=../lib/geronimo-system-1.0.jar
wrapper.java.classpath.6=../lib/geronimo-util-1.0.jar
wrapper.java.classpath.7=../lib/cglib-nodep-2.1_3.jar
wrapper.java.classpath.8=../lib/commons-cli-1.0.jar
wrapper.java.classpath.9=../lib/commons-logging-1.0.4.jar
wrapper.java.classpath.10=../lib/log4j-1.2.8.jar
wrapper.java.classpath.11=../lib/mx4j-3.0.1.jar
wrapper.java.classpath.12=../lib/mx4j-remote-3.0.1.jar
wrapper.java.classpath.13=../lib/endorsed/xercesImpl-2.6.2.jar
wrapper.java.classpath.14=../lib/endorsed/xmlParserAPIs-2.2.1.jar
wrapper.java.classpath.15=../lib/geronimo-deploy-tool-1.0.jar
wrapper.java.classpath.16=client.jar
wrapper.java.classpath.17=deployer.jar
wrapper.java.classpath.18=server.jar
wrapper.java.classpath.19=shutdown.jar

# Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=../lib

# Java Additional Parameters
wrapper.java.additional.1=-Dorg.apache.geronimo.base.dir=C:\geronimo-1.0
wrapper.java.additional.2=-Djava.io.tmpdir=C:\geronimo-1.0\var\temp

# Initial Java Heap Size (in MB)
#wrapper.java.initmemory=3

# Maximum Java Heap Size (in MB)
#wrapper.java.maxmemory=64

# Application parameters.  Add parameters as needed starting from 1
wrapper.app.parameter.1=org.apache.geronimo.system.main.Daemon
wrapper.app.parameter.2=0
wrapper.app.parameter.3=org.apache.geronimo.deployment.cli.StopServer
wrapper.app.parameter.4=false
wrapper.app.parameter.5=4
wrapper.app.parameter.6=--user
wrapper.app.parameter.7=system
wrapper.app.parameter.8=--password
wrapper.app.parameter.9=manager

#********************************************************************
# Wrapper Logging Properties
#********************************************************************
# Format of output for the console.  (See docs for formats)
wrapper.console.format=PM

# Log Level for console output.  (See docs for log levels)
wrapper.console.loglevel=INFO

# Log file to use for wrapper output logging.
wrapper.logfile=../logs/wrapper.log

# Format of output for the log file.  (See docs for formats)
wrapper.logfile.format=LPTM

# Log Level for log file output.  (See docs for log levels)
wrapper.logfile.loglevel=INFO

# Maximum size that the log file will be allowed to grow to before
#  the log is rolled. Size is specified in bytes.  The default value
#  of 0, disables log rolling.  May abbreviate with the 'k' (kb) or
#  'm' (mb) suffix.  For example: 10m = 10 megabytes.
wrapper.logfile.maxsize=0

# Maximum number of rolled log files which will be allowed before old
#  files are deleted.  The default value of 0 implies no limit.
wrapper.logfile.maxfiles=0

# Log Level for sys/event log output.  (See docs for log levels)
wrapper.syslog.loglevel=NONE

#********************************************************************
# Wrapper Windows Properties
#********************************************************************
# Title to use when running as a console
wrapper.console.title=Geronimo J2EE Server

#********************************************************************
# Wrapper Windows NT/2000/XP Service Properties
#********************************************************************
# WARNING - Do not modify any of these properties when an application
#  using this configuration file has been installed as a service.
#  Please uninstall the service before modifying this section.  The
#  service can then be reinstalled.

# Name of the service
wrapper.ntservice.name=Geronimo

# Display name of the service
wrapper.ntservice.displayname=Geronimo J2EE Server

# Description of the service
wrapper.ntservice.description=Geronimo J2EE Server

# Service dependencies.  Add dependencies as needed starting from 1
wrapper.ntservice.dependency.1=

# Mode in which the service is installed.  AUTO_START or DEMAND_START
wrapper.ntservice.starttype=AUTO_START

# Allow the service to interact with the desktop.
wrapper.ntservice.interactive=false

Mime
View raw message