|
From: Christian M. <chr...@ta...> - 2011-06-15 02:18:20
|
Hi Venkata, It seems the timeout for the JVM to stop in a timely manner expired: http://wrapper.tanukisoftware.com/doc/english/prop-jvm-exit-timeout.html Hence that, the Wrapper will kill the application forcibly and exit with exit code 1. The default value for wrapper.jvm_exit.timeout is 15 seconds, so probably you need to extend the timeout to a more appropriate value for you. Hope this helps you out. Best Regards, Christian On Wed, Jun 15, 2011 at 8:11 AM, Venkata Jakka (vejakka) <ve...@ci...> wrote: > > Hi All, > > > I am able to setup JBoss Application server as Windows service using > JavaWebService . But i see some error while stoping the window service. Log > info details are below. > > > INFO | jvm 1 | 2011/06/14 16:03:03 | 16:03:03,210 INFO [AjpProtocol] > Pausing Coyote AJP/1.3 on ajp-127.0.0.1-8999 > ERROR | wrapper | 2011/06/14 16:03:03 | Shutdown failed: Timed out waiting > for the JVM to terminate. > ERROR | wrapper | 2011/06/14 16:03:04 | JVM did not exit on request, > terminated > STATUS | wrapper | 2011/06/14 16:03:04 | <-- Wrapper Stopped > > > Even i went and checked the event log, it shows the error message as "exit > code return by wrapper.exe is 1. " > > Any suggestions / advise are required. > > Thanks > Venkat > > > Please find my configuration file detils below. > ============================= > > set.JBOSS_HOME=C:\newScale\jboss-4.2.3.GA > set.JAVA_HOME=C:\thirdparty\sun\win32\jdk1.6.0_12 > wrapper.java.command=%JAVA_HOME%/bin/java > # Java Main class. > wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp > # Java Classpath (include wrapper.jar) > wrapper.java.classpath.1=%JBOSS_HOME%/bin/run.jar > wrapper.java.classpath.2=%JAVA_HOME%/lib/tools.jar > wrapper.java.classpath.3=%JBOSS_HOME%/lib/wrapper.jar > # Java Library Path (location of Wrapper.DLL or libwrapper.so) > #For 32-bit architectures > wrapper.java.library.path.1=%JBOSS_HOME%/lib > #For 64-bit architectures > #wrapper.java.library.path.1=%JBOSS_HOME%/bin/native/lib64 > # Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit > mode. > wrapper.java.additional.auto_bits=TRUE > # Java Additional Parameters > # JVM settings > wrapper.java.additional.1=-server > wrapper.java.additional.2=-XX:MaxPermSize=512m > wrapper.java.additional.3=-Dprogram.name=run.bat > wrapper.java.additional.4=-Djava.endorsed.dirs=../lib/endorsed > wrapper.java.additional.5=-Dorg.jboss.resolver.warning=true > wrapper.java.additional.6=-Dsun.rmi.dgc.client.gcInterval=3600000 > wrapper.java.additional.7=-Dsun.rmi.dgc.server.gcInterval=3600000 > wrapper.java.additional.8=-Djava.net.preferIPv4Stack=true > wrapper.java.additional.9=-Dorg.tanukisoftware.wrapper.WrapperManager.mbean=false > # Initial Java Heap Size (in MB) > wrapper.java.initmemory=128 > # 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.app.parameter.2=-c RequestCenter > > #******************************************************************** > # 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 > #wra...@ap...@ > wrapper.name=RequestCenterServiceJWS > # Display name of the service > #wra...@ap...@ > wrapper.displayname=RequestCenter Service JWS > # Description of the service > #wra...@ap...@ > wrapper.description=This is for Paris RequestCenter Service JWS testing > wrapper.shutdown.timeout=30 > > #******************************************************************** > # 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=C:\newScale\logs\wrapperRC.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=1m > # 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=20 > > > > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |