A complete and working wrapper.conf file is provided here for reference:
#******************************************************************** # Wrapper Properties #******************************************************************** # Local Environment Variables set.JAVA_HOME=C:\CA\j2sdk1.4.2_14 set.NETE_SPS_ROOT=C:\CA\eTrust SiteMinder set.NETE_SPS_PATH=%NETE_SPS_ROOT%\agentframework\bin set.IM_EAR=../server/default/deploy/iam_im.ear set.SYSTEM_PATH=%SystemRoot%\SYSTEM32;%SystemRoot%;%SystemRoot%\SYSTEM32\WBEM set.PATH=%IGW_LOC%;%NETE_SPS_PATH%;%NETE_PS_PATH%;%IM_EAR%/library;%SYSTEM_PATH% # Java Application wrapper.java.command=%JAVA_HOME%\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.WrapperSimpleApp # 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=%JAVA_HOME%\lib\tools.jar wrapper.java.classpath.3=./run.jar # Java Library Path (location of Wrapper.DLL or libwrapper.so) wrapper.java.library.path.1=../lib wrapper.java.library.path.2=../server/default/lib wrapper.java.library.path.3=%PATH% # Java Additional Parameters wrapper.java.additional.1=-server wrapper.java.additional.2=-Dprogram.name=run.bat wrapper.java.additional.3=-Djava.security.policy=.\workpoint_client.policy wrapper.java.additional.4=-XX:MaxPermSize=128m wrapper.java.additional.5=-Dsun.rmi.dgc.client.gcInterval=3600000 wrapper.java.additional.6=-Dsun.rmi.dgc.server.gcInterval=3600000 wrapper.java.additional.7=-Xms256m wrapper.java.additional.7=-Xmx512m # Initial Java Heap Size (in MB) wrapper.java.initmemory=256 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=512 # Application parameters. Add parameters as needed starting from 1 wrapper.app.parameter.1=org.jboss.Main #******************************************************************** # 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=DEBUG # 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=10m # 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=5 # 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=CAIdentityManager #******************************************************************** # 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=CAIdentityManager # Display name of the service wrapper.ntservice.displayname=CA Identity Manager # Description of the service wrapper.ntservice.description=CA Identity Manager # 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 |
Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |