|
From: Edvard R. <edv...@cr...> - 2009-02-05 14:48:08
|
Hi Leif, Thanks for the reply. >Could you please post your wrapper.conf file? Sure, you'll find it at the end of this mail. >Also, what OS are you running? Windows 2003 Server >Is this Wrapper 3.3.2? Currently I'm running an older verison but when I upgraded the java version and the problem occurred I downloaded and installed version 3.3.2 but still had the same error. Cheers, /Eddie -----------------------------------8<--------------------------- #******************************************************************** # Wrapper Properties #******************************************************************** # 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 # Java Additional Parameters wrapper.java.additional.1=-Dprogram.name=run.bat -XX:+AggressiveHeap -Dlegatus.sitename=%COMPUTERNAME% -Djava.rmi.server.hostname=legatus02.softhouse.se -Djava.rmi.server.useLocalHostname=false -Dlegatus.serverid=2 # Initial Java Heap Size (in MB) wrapper.java.initmemory=900 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=1200 # Application parameters. Add parameters as needed starting from 1 wrapper.app.parameter.1=org.jboss.Main -c all #******************************************************************** # 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=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=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=JBoss # Display name of the service wrapper.ntservice.displayname=JBoss Application Server # Description of the service wrapper.ntservice.description=JBoss Application 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=true #******************************************************************** # Wrapper Filter Properties #******************************************************************** # Restart JBoss if an OutOfMemoryError occurs wrapper.filter.trigger.1=java.lang.OutOfMemoryError wrapper.filter.action.1=RESTART Thanks, Leif On Tue, Feb 3, 2009 at 8:46 PM, Edvard Robertsson <edv...@cr...> wrote: > Hi, > > I'm trying to run JBoss as a service using the wrapper and it doesn't work > with the latest releases of the Java SDK (I've tried 1.6.0_10 and > 1.6.0_11). I get the following error message in the wrapper log file: > > STATUS | wrapper | 2009/01/12 16:28:30 | Launching a JVM... > INFO | jvm 4 | 2009/01/12 16:28:30 | Error occurred during initialization of > VM > INFO | jvm 4 | 2009/01/12 16:28:30 | Could not reserve enough space for code > cache > ERROR | wrapper | 2009/01/12 16:28:30 | JVM exited while loading the > application. > > However, if I use an older version of Java (1.6.0_03) then everything works > fine. > > Any ideas? > > Cheers, > /Eddie ------------------------------------------------------------------------ ------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |