Created
November 5, 2015 20:25
-
-
Save samukasmk/f30ffb77485de8c52187 to your computer and use it in GitHub Desktop.
Exemplo de wrapper.conf do mule
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#encoding=UTF-8 | |
#******************************************************************** | |
# System Properties | |
#******************************************************************** | |
# Location of your Mule installation. | |
wrapper.java.additional.1=-Dmule.home="%MULE_HOME%" | |
wrapper.java.additional.1.stripquotes=TRUE | |
wrapper.java.additional.2=-Dmule.base="%MULE_HOME%" | |
wrapper.java.additional.2.stripquotes=TRUE | |
# Sets IPv4 addresses in order to avoid multicasting issues | |
wrapper.java.additional.3=-Djava.net.preferIPv4Stack=TRUE | |
wrapper.java.additional.4=-XX:MaxPermSize=512m | |
wrapper.java.additional.5=-Xmx2048m | |
# *** IMPORTANT *** | |
# If you enable any of the options below, you _must_ change the <n> to be a | |
# consecutive number (based on the number of additional properties) otherwise | |
# Java will not parse this properties file correctly! | |
# (see http://wrapper.tanukisoftware.org/doc/english/prop-java-additional-n.html) | |
# *** IMPORTANT *** | |
# Stack traces are truncated in the logs by default | |
#wrapper.java.additional.<n>=-Dmule.verbose.exceptions=true | |
# Debug remotely, the application will wait for the external debugger to connect. | |
#wrapper.java.additional.<n>=-Xdebug | |
#wrapper.java.additional.<n>=-Xnoagent | |
#wrapper.java.additional.<n>=-Djava.compiler=NONE | |
#wrapper.java.additional.<n>=-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 | |
# Specify an HTTP proxy if you are behind a firewall. | |
#wrapper.java.additional.<n>=-Dhttp.proxyHost=YOUR_HOST | |
#wrapper.java.additional.<n>=-Dhttp.proxyPort=YOUR_PORT | |
#wrapper.java.additional.<n>=-Dhttp.proxyUsername=YOUR_USER_NAME | |
#wrapper.java.additional.<n>=-Dhttp.proxyPassword=YOUR_PASSWORD | |
# Identification of your Mule server | |
#wrapper.java.additional.<n>=-Dmule.serverId=YOUR_MULE_SERVER | |
#wrapper.java.additional.<n>=-Dmule.clusterId=YOUR_MULE_CLUSTER | |
#wrapper.java.additional.<n>=-Dmule.domainId=YOUR_MULE_DOMAIN | |
# Mule's working directory for SEDA queue persistence, transactions, etc. | |
#wrapper.java.additional.<n>=-Dmule.workingDirectory=./.mule | |
# Miscellaneous settings | |
wrapper.java.additional.6=-Dmule.encoding=UTF-8 | |
#wrapper.java.additional.<n>=-Dmule.endpoints.synchronous=false | |
#wrapper.java.additional.<n>=-Dmule.remoteSync=false | |
#wrapper.java.additional.<n>=-Dmule.timeout.synchronous=10000 | |
#wrapper.java.additional.<n>=-Dmule.timeout.transaction=30000 | |
#wrapper.java.additional.<n>=-Dmule.systemModelType=seda | |
#wrapper.java.additional.<n>=-Dmule.clientMode=false | |
# Debug options | |
#wrapper.java.additional.<n>=-Dmule.disable.threadsafemessages=false | |
#wrapper.java.additional.<n>=-Dmule.message.cacheBytes=true | |
#wrapper.java.additional.<n>=-Dmule.message.cacheOriginal=true | |
#wrapper.java.additional.<n>=-Dmule.streaming.enable=true | |
#wrapper.java.additional.<n>=-Dmule.message.assertAccess=true | |
#wrapper.java.additional.<n>=-Dmule.transform.autoWrap=true | |
#******************************************************************** | |
# Wrapper Properties | |
#******************************************************************** | |
# Uncomment this line in the case of startup failure. | |
#wrapper.debug=true | |
# Java Application | |
wrapper.java.command=java | |
# Java Main class | |
wrapper.java.mainclass=org.mule.module.reboot.MuleContainerBootstrap | |
# Java Classpath | |
wrapper.java.classpath.1=%MULE_LIB% | |
wrapper.java.classpath.2=%MULE_BASE%/conf | |
wrapper.java.classpath.3=%MULE_HOME%/lib/boot/*.jar | |
# Java Native Library Path (location of .DLL or .so files) | |
wrapper.java.library.path.1=%LD_LIBRARY_PATH% | |
wrapper.java.library.path.2=%MULE_HOME%/lib/boot | |
# Increase the default startup timeout so that the JVM has enough | |
# time to download the required jars on a slow connection | |
wrapper.startup.timeout=600 | |
# Initial Java Heap Size (in MB) | |
#wrapper.java.initmemory=3 | |
# Maximum Java Heap Size (in MB) | |
wrapper.java.maxmemory=2048 | |
#******************************************************************** | |
# Wrapper Logging Properties | |
#******************************************************************** | |
# Format of output for the console. (See docs for formats) | |
wrapper.console.format=M | |
# Log Level for console output. (See docs for log levels) | |
wrapper.console.loglevel=INFO | |
# Log file to use for wrapper output logging. | |
wrapper.logfile=/var/log/mule/%MULE_APP%.log | |
# Format of output for the log file. (See docs for formats) | |
wrapper.logfile.format=M | |
# 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=2MB | |
# 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=5 | |
# 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=%MULE_APP_LONG% | |
#******************************************************************** | |
# 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=%MULE_APP% | |
# Display name of the service | |
wrapper.ntservice.displayname=%MULE_APP_LONG% | |
# Description of the service | |
wrapper.ntservice.description=%MULE_APP_LONG% | |
# 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 | |
# Do not edit lines below! | |
# This include should point to wrapper-additional.conf file in the same directory as this file | |
# ATTENTION: Path must be either absolute or relative to wrapper executable. | |
#include %MULE_BASE%/conf/wrapper-additional.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment