|
From: Mike G. <mg...@ch...> - 2008-02-29 07:06:53
|
INFO | jvm 1 | 2007/10/22 08:40:50 | [Requester] - requesting... INFO | jvm 1 | 2007/10/22 08:41:00 | [Processor] - checking for request... INFO | jvm 1 | 2007/10/22 08:41:00 | [Processor] - runtime exception... INFO | jvm 1 | 2007/10/22 08:41:00 | [Requester] - polling for any results... INFO | jvm 1 | 2007/10/22 08:41:00 | [Requester] - runtime exception... INFO | jvm 1 | 2007/10/22 08:42:00 | [Processor] - checking for request... INFO | jvm 1 | 2007/10/22 08:42:00 | [Processor] - runtime exception... INFO | jvm 1 | 2007/10/22 08:42:00 | [Requester] - requesting... INFO | jvm 1 | 2007/10/22 08:42:10 | [Requester] - polling for any results... INFO | jvm 1 | 2007/10/22 08:42:10 | [Requester] - runtime exception... STATUS | wrapper | 2007/10/22 08:42:33 | Service is running. Stopping it... STATUS | wrapper | 2007/10/22 08:42:34 | <-- Wrapper Stopped STATUS | wrapper | 2007/10/22 08:42:36 | Fileretr stopped. STATUS | wrapper | 2007/10/22 08:42:36 | Fileretr removed. ERROR | wrapper | 2007/10/22 08:42:57 | The Fileretr service is not installed - The specified service does not exist as an installed service. (0x424) Any ideas on why the service would be removed? In a thread, my java code captures RuntimeException and then sleeps 20 seconds, then loops again doing the same thing. It encountered several runtimes in a row (for hours most likely) and then suddenly this series of wrapper status messages. Should I put the following property in my wrapper.conf? # restart on exit regardless of exit code wrapper.on_exit.default=RESTART I'm not sure this is appropriate. Is service removal the default behavior if the JVM exists? Here's my entire wrapper.conf if this helps any: # Java Application wrapper.java.command=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.java.classpath.2=../lib/wrapper.jar wrapper.java.classpath.3=../lib/junit-3.8.1.jar wrapper.java.classpath.4=../lib/spring-core-1.2.5.jar wrapper.java.classpath.5=../lib/spring-mock-1.2.5.jar wrapper.java.classpath.6=../lib/spring-beans-1.2.5.jar wrapper.java.classpath.7=../lib/spring-context-1.2.5.jar wrapper.java.classpath.8=../lib/commons-logging-1.0.4.jar wrapper.java.classpath.9=../lib/spring-remoting-1.2.5.jar wrapper.java.classpath.10=../lib/spring-aop-1.2.5.jar wrapper.java.classpath.11=../lib/spring-web-1.2.5.jar wrapper.java.classpath.12=../lib/spring-webmvc-1.2.5.jar wrapper.java.classpath.13=../lib/servlet-api.jar wrapper.java.classpath.14=../lib/commons-httpclient-3.0.jar wrapper.java.classpath.15=../lib/commons-codec-1.2.jar wrapper.java.classpath.16=../lib/jai-codec-1.1.3.jar wrapper.java.classpath.17=../lib/jai-core-1.1.3.jar wrapper.java.classpath.18=../lib/jai-imageio-1.1.jar wrapper.java.classpath.19=../lib/spring-jdbc-1.2.5.jar wrapper.java.classpath.20=../lib/spring-dao-1.2.5.jar wrapper.java.classpath.21=../lib/opencsv-1.6.jar wrapper.java.classpath.22=../lib/fileretr-1.0.jar wrapper.java.classpath.23=../lib/fileretrClient-1.0.jar # Java Library Path (location of Wrapper.DLL or libwrapper.so) wrapper.java.library.path.1=../lib # Java Additional Parameters wrapper.java.additional.1=-Dcom.sun.media.jai.disableMediaLib=true # Initial Java Heap Size (in MB) wrapper.java.initmemory=128 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=128 # Application parameters. Add parameters as needed starting from 1 wrapper.app.parameter.1=com.greco.fileretr.client.http.FileRequestByExtClientService #******************************************************************** # 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=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=4 # 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=Fileretr #******************************************************************** # 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=Fileretr # Display name of the service wrapper.ntservice.displayname=Fileretr # Description of the service wrapper.ntservice.description=Fileretr # 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 # restart on exit regardless of exit code wrapper.on_exit.default=RESTART Thanks in advance. - Mike |