wrapper.conf 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. #encoding=UTF-8
  2. # Configuration files must begin with a line specifying the encoding
  3. # of the the file.
  4. #********************************************************************
  5. # Wrapper License Properties (Ignored by Community Edition)
  6. #********************************************************************
  7. # Professional and Standard Editions of the Wrapper require a valid
  8. # License Key to start. Licenses can be purchased or a trial license
  9. # requested on the following pages:
  10. # http://wrapper.tanukisoftware.com/purchase
  11. # http://wrapper.tanukisoftware.com/trial
  12. # Include file problems can be debugged by removing the first '#'
  13. # from the following line:
  14. ##include.debug
  15. # The Wrapper will look for either of the following optional files for a
  16. # valid License Key. License Key properties can optionally be included
  17. # directly in this configuration file.
  18. #include ../conf/wrapper-license.conf
  19. #include ../conf/wrapper-license-%WRAPPER_HOST_NAME%.conf
  20. # The following property will output information about which License Key(s)
  21. # are being found, and can aid in resolving any licensing problems.
  22. #wrapper.license.debug=TRUE
  23. #********************************************************************
  24. # Wrapper Localization
  25. #********************************************************************
  26. # Specify the locale which the Wrapper should use. By default the system
  27. # locale is used.
  28. #wrapper.lang=en_US # en_US or ja_JP
  29. # Specify the location of the Wrapper's language resources. If these are
  30. # missing, the Wrapper will default to the en_US locale.
  31. wrapper.lang.folder=../lang
  32. # Default is 30, 0 means never timeout
  33. # wrapper.startup.timeout=30
  34. # wrapper.ping.timeout=30
  35. # wrapper.shutdown.timeout=30
  36. wrapper.startup.timeout=0
  37. wrapper.ping.timeout=300
  38. wrapper.shutdown.timeout=0
  39. #********************************************************************
  40. # Wrapper Java Properties
  41. #********************************************************************
  42. # Java Application
  43. # Locate the java binary on the system PATH:
  44. wrapper.java.command=java
  45. # Specify a specific java binary:
  46. #set.JAVA_HOME=/java/path
  47. #wrapper.java.command=%JAVA_HOME%/bin/java
  48. # Tell the Wrapper to log the full generated Java command line.
  49. #wrapper.java.command.loglevel=INFO
  50. # Java Main class. This class must implement the WrapperListener interface
  51. # or guarantee that the WrapperManager class is initialized. Helper
  52. # classes are provided to do this for you. See the Integration section
  53. # of the documentation for details.
  54. wrapper.java.mainclass=com.sagacloud.util.compute_engine.fjd.ComputeEngineMain
  55. # Java Classpath (include wrapper.jar) Add class path elements as
  56. # needed starting from 1
  57. wrapper.java.classpath.1=../lib/wrapper.jar
  58. wrapper.java.classpath.2=../lib/compute-engine-2.2.4.2.jar
  59. # Java Library Path (location of Wrapper.DLL or libwrapper.so)
  60. wrapper.java.library.path.1=../lib
  61. # Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode.
  62. wrapper.java.additional.auto_bits=TRUE
  63. # Java Additional Parameters
  64. wrapper.java.additional.1=-XX:-UseGCOverheadLimit
  65. # Initial Java Heap Size (in MB)
  66. #wrapper.java.initmemory=3
  67. wrapper.java.initmemory=4096
  68. # Maximum Java Heap Size (in MB)
  69. #wrapper.java.maxmemory=64
  70. wrapper.java.maxmemory=32768
  71. # Application parameters. Add parameters as needed starting from 1
  72. wrapper.app.parameter.1=<YourMainClass>
  73. #********************************************************************
  74. # Wrapper Logging Properties
  75. #********************************************************************
  76. # Enables Debug output from the Wrapper.
  77. # wrapper.debug=TRUE
  78. # Format of output for the console. (See docs for formats)
  79. wrapper.console.format=PM
  80. # Log Level for console output. (See docs for log levels)
  81. wrapper.console.loglevel=INFO
  82. # Log file to use for wrapper output logging.
  83. wrapper.logfile=../logs/wrapper.log
  84. # Format of output for the log file. (See docs for formats)
  85. wrapper.logfile.format=LPTM
  86. # Log Level for log file output. (See docs for log levels)
  87. wrapper.logfile.loglevel=INFO
  88. # Maximum size that the log file will be allowed to grow to before
  89. # the log is rolled. Size is specified in bytes. The default value
  90. # of 0, disables log rolling. May abbreviate with the 'k' (kb) or
  91. # 'm' (mb) suffix. For example: 10m = 10 megabytes.
  92. wrapper.logfile.maxsize=0
  93. # Maximum number of rolled log files which will be allowed before old
  94. # files are deleted. The default value of 0 implies no limit.
  95. wrapper.logfile.maxfiles=0
  96. # Log Level for sys/event log output. (See docs for log levels)
  97. wrapper.syslog.loglevel=NONE
  98. #********************************************************************
  99. # Wrapper General Properties
  100. #********************************************************************
  101. # Allow for the use of non-contiguous numbered properties
  102. wrapper.ignore_sequence_gaps=TRUE
  103. # Do not start if the pid file already exists.
  104. wrapper.pidfile.strict=TRUE
  105. # Title to use when running as a console
  106. wrapper.console.title=wrapper-compute-engine
  107. #********************************************************************
  108. # Wrapper JVM Checks
  109. #********************************************************************
  110. # Detect DeadLocked Threads in the JVM. (Requires Standard Edition)
  111. wrapper.check.deadlock=TRUE
  112. wrapper.check.deadlock.interval=60
  113. wrapper.check.deadlock.action=RESTART
  114. wrapper.check.deadlock.output=FULL
  115. # Out Of Memory detection.
  116. # (Simple match)
  117. wrapper.filter.trigger.1000=java.lang.OutOfMemoryError
  118. # (Only match text in stack traces if -XX:+PrintClassHistogram is being used.)
  119. #wrapper.filter.trigger.1000=Exception in thread "*" java.lang.OutOfMemoryError
  120. #wrapper.filter.allow_wildcards.1000=TRUE
  121. wrapper.filter.action.1000=RESTART
  122. wrapper.filter.message.1000=The JVM has run out of memory.
  123. #********************************************************************
  124. # Wrapper Email Notifications. (Requires Professional Edition)
  125. #********************************************************************
  126. # Common Event Email settings.
  127. #wrapper.event.default.email.debug=TRUE
  128. #wrapper.event.default.email.smtp.host=<SMTP_Host>
  129. #wrapper.event.default.email.smtp.port=25
  130. #wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification
  131. #wrapper.event.default.email.sender=<Sender email>
  132. #wrapper.event.default.email.recipient=<Recipient email>
  133. # Configure the log attached to event emails.
  134. #wrapper.event.default.email.attach_log=TRUE
  135. #wrapper.event.default.email.maillog.lines=50
  136. #wrapper.event.default.email.maillog.format=LPTM
  137. #wrapper.event.default.email.maillog.loglevel=INFO
  138. # Enable specific event emails.
  139. #wrapper.event.wrapper_start.email=TRUE
  140. #wrapper.event.jvm_prelaunch.email=TRUE
  141. #wrapper.event.jvm_start.email=TRUE
  142. #wrapper.event.jvm_started.email=TRUE
  143. #wrapper.event.jvm_deadlock.email=TRUE
  144. #wrapper.event.jvm_stop.email=TRUE
  145. #wrapper.event.jvm_stopped.email=TRUE
  146. #wrapper.event.jvm_restart.email=TRUE
  147. #wrapper.event.jvm_failed_invocation.email=TRUE
  148. #wrapper.event.jvm_max_failed_invocations.email=TRUE
  149. #wrapper.event.jvm_kill.email=TRUE
  150. #wrapper.event.jvm_killed.email=TRUE
  151. #wrapper.event.jvm_unexpected_exit.email=TRUE
  152. #wrapper.event.wrapper_stop.email=TRUE
  153. # Specify custom mail content
  154. wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n
  155. #********************************************************************
  156. # Wrapper Windows NT/2000/XP Service Properties
  157. #********************************************************************
  158. # WARNING - Do not modify any of these properties when an application
  159. # using this configuration file has been installed as a service.
  160. # Please uninstall the service before modifying this section. The
  161. # service can then be reinstalled.
  162. # Name of the service
  163. wrapper.name=wrapper-compute-engine
  164. # Display name of the service
  165. wrapper.displayname=wrapper-compute-engine
  166. # Description of the service
  167. wrapper.description=wrapper-compute-engine
  168. # Service dependencies. Add dependencies as needed starting from 1
  169. wrapper.ntservice.dependency.1=
  170. # Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START
  171. wrapper.ntservice.starttype=AUTO_START
  172. # Allow the service to interact with the desktop.
  173. wrapper.ntservice.interactive=false