[jboss-user] [The Lizzard's corner] - what value should set for wrapper.java.initmemory & wrapper.
kmthien
do-not-reply at jboss.com
Tue Jun 19 03:13:36 EDT 2007
Hi guys,
I am using jboss4.0.5 installing in Cent OS with memory of 1024MB and jdk 1.5.0_08. Hence, what value should I set for wrapper.java.initmemory and wrapper.java.maxmemory? What actually is the wrapper.java for compare to JAVA_OPTS? my current configuration is like below:
#********************************************************************
# Wrapper Properties
#********************************************************************
# Java Application
set.JAVA_HOME=/usr/java/j2sdk
wrapper.java.command=%JAVA_HOME%/bin/java
set.JBOSS_CONFIG=default
set.JBOSS_HOME=/opt/jboss4
set.JBOSS_LOG=/var/log/jboss4/%JBOSS_CONFIG%
# Use new ticker
wrapper.use_system_time=FALSE
# Java Main class
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=%JBOSS_HOME%/lib/wrapper.jar
wrapper.java.classpath.2=%JBOSS_HOME%/bin/run.jar
wrapper.java.classpath.3=%JAVA_HOME%/lib/tools.jar
# Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=%JBOSS_HOME%/lib
# Java Additional Parameters
wrapper.java.additional.1=-Dprogram.name=run.sh
wrapper.java.additional.2=-Djava.endorsed.dirs=%JBOSS_HOME%/lib/endorsed
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=64
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=128
# Application parameters. Add parameters as needed starting from 1
wrapper.app.parameter.1=org.jboss.Main
wrapper.app.parameter.2=-c
wrapper.app.parameter.3=%JBOSS_CONFIG%
# Port which the native wrapper code will attempt to connect to
wrapper.port=1777
wrapper.startup.timeout=300
wrapper.ping.timeout=300
wrapper.shutdown.timeout=300
wrapper.disable_shutdown_hook=TRUE
wrapper.request_thread_dump_on_failed_jvm_exit=TRUE
#********************************************************************
# 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=%JBOSS_LOG%/server.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=NONE
# 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 NT 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=@app.name@
# Display name of the service
wrapper.ntservice.displayname=@app.long.name@
# Description of the service
wrapper.ntservice.description=@app.description@
# 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
Thanks & Regards,
Mark
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055474#4055474
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055474
More information about the jboss-user
mailing list