|
From: Tony A. <Ton...@ru...> - 2005-02-23 19:15:03
|
Hello,
I have the wrapper configured and working but wanted to crank up the
amount of memory available so I set the wrapper.java.initmemory to be
1024 and the wrapper.java.maxmemory to be 2048. Previously I have them
set to 1024 for init and 1280 for max and it starts the application
fine. If I try to use a value bigger than 1280 it always fails. How can
I get this to work for more memory. I am using this on a Window2003
server with 4GB ram and about 3.5GB unutilized? I am using JVM 1.4.2_06
on ther server and using it to start JBoss. Any help would be greatly
appreciated.
thanks,
Here is my wrapper.conf if that is any help:
#********************************************************************
# Wrapper Version 3.1.2
#********************************************************************
# Java Application
wrapper.java.command=D:\java\j2sdk1.4.2_06\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=D:\JBoss\jboss_tomcat\jboss\server\tomcatEclipse\lib\wrapper.jar
wrapper.java.classpath.2=D:\java\j2sdk1.4.2_06\lib\tools.jar
wrapper.java.classpath.3=D:\JBoss\jboss_tomcat\jboss\bin\run.jar
# Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=D:\JBoss\jboss_tomcat\jboss\server\tomcatEclipse\lib
# Java Additional Parameters - Remote Debugging Disabled (default)
wrapper.java.additional.1=-server
-Dprogram.name=D:\JBoss\jboss_tomcat\jboss\bin\run.bat
wrapper.java.additional.2=-Dpropfile=D:\RcDepWarJB\summit\assnlist.properties
wrapper.java.additional.3=-Dcontextfile=D:\RcDepWarJB\summit\context.properties
wrapper.java.additional.4=-Drc.plugins=D:\RcPlugins
wrapper.java.additional.5=-Drc.serverConfigFile=D:\RcDepWarJB\summit\config.properties
wrapper.java.additional.6=-Drc.debugLevel=2 -XX:MaxPermSize=256m
-XX:PermSize=64m -Djava.rmi.server.hostname=localhost
# Java Additional Parameters - Remote Debugging Enabled
# wrapper.java.additional.1=-server
-Dprogram.name=D:\JBoss\jboss_tomcat\jboss\bin\run.bat
#
wrapper.java.additional.2=-Dpropfile=D:\RcDepWarJB\summit\assnlist.properties
#
wrapper.java.additional.3=-Dcontextfile=D:\RcDepWarJB\summit\context.properties
# wrapper.java.additional.4=-Drc.plugins=D:\RcPlugins
-Drc.serverConfigFile=D:\RcDepWarJB\summit\config.properties
# wrapper.java.additional.5=-Drc.debugLevel=2 -XX:MaxPermSize=256m
-XX:PermSize=64m -Djava.rmi.server.hostname=localhost
# wrapper.java.additional.6=-Xdebug
-Xrunjdwp:server=y,transport=dt_socket,address=4142,suspend=n
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=1024
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=1280
# 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=tomcatEclipse
Tony Awbrey
RuffaloCODY, LLC.
Phone: 319.730.2480
Fax: 319.362.7457
Address: 65 Kirkwood North Road SW
Cedar Rapids, IA 52404
IBM Certified Specialist --
iSeries Technical Solutions Design V4R5
iSeries Solution Sales V5R3
|