|
| 1 | +# ------------------------------------------------------------------------ |
| 2 | +# Licensed to the Apache Software Foundation (ASF) under one or more |
| 3 | +# contributor license agreements. See the NOTICE file distributed with |
| 4 | +# this work for additional information regarding copyright ownership. |
| 5 | +# The ASF licenses this file to You under the Apache License, Version 2.0 |
| 6 | +# (the "License"); you may not use this file except in compliance with |
| 7 | +# the License. You may obtain a copy of the License at |
| 8 | +# |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +# |
| 11 | +# Unless required by applicable law or agreed to in writing, software |
| 12 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +# See the License for the specific language governing permissions and |
| 15 | +# limitations under the License. |
| 16 | +# ------------------------------------------------------------------------ |
| 17 | + |
| 18 | +#******************************************************************** |
| 19 | +# Wrapper Properties |
| 20 | +#******************************************************************** |
| 21 | + |
| 22 | +#wrapper.debug=TRUE |
| 23 | +set.default.ACTIVEMQ_HOME=../.. |
| 24 | +set.default.ACTIVEMQ_BASE=../.. |
| 25 | +set.default.ACTIVEMQ_CONF=%ACTIVEMQ_BASE%/conf |
| 26 | +set.default.ACTIVEMQ_DATA=%ACTIVEMQ_BASE%/data |
| 27 | +wrapper.working.dir=. |
| 28 | + |
| 29 | +# Java Application |
| 30 | +wrapper.java.command=java |
| 31 | + |
| 32 | +# Java Main class. This class must implement the WrapperListener interface |
| 33 | +# or guarantee that the WrapperManager class is initialized. Helper |
| 34 | +# classes are provided to do this for you. See the Integration section |
| 35 | +# of the documentation for details. |
| 36 | +wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp |
| 37 | + |
| 38 | +# Java Classpath (include wrapper.jar) Add class path elements as |
| 39 | +# needed starting from 1 |
| 40 | +wrapper.java.classpath.1=%ACTIVEMQ_HOME%/bin/wrapper.jar |
| 41 | +wrapper.java.classpath.2=%ACTIVEMQ_HOME%/bin/activemq.jar |
| 42 | + |
| 43 | +# Java Library Path (location of Wrapper.DLL or libwrapper.so) |
| 44 | +wrapper.java.library.path.1=%ACTIVEMQ_HOME%/bin/linux-x86-64/ |
| 45 | + |
| 46 | +# Java Additional Parameters |
| 47 | +# note that n is the parameter number starting from 1. |
| 48 | +wrapper.java.additional.1=-Dactivemq.home=%ACTIVEMQ_HOME% |
| 49 | +wrapper.java.additional.2=-Dactivemq.base=%ACTIVEMQ_BASE% |
| 50 | +wrapper.java.additional.3=-Djavax.net.ssl.keyStorePassword=password |
| 51 | +wrapper.java.additional.4=-Djavax.net.ssl.trustStorePassword=password |
| 52 | +wrapper.java.additional.5=-Djavax.net.ssl.keyStore=%ACTIVEMQ_CONF%/broker.ks |
| 53 | +wrapper.java.additional.6=-Djavax.net.ssl.trustStore=%ACTIVEMQ_CONF%/broker.ts |
| 54 | +wrapper.java.additional.7=-Dcom.sun.management.jmxremote |
| 55 | +wrapper.java.additional.8=-Dorg.apache.activemq.UseDedicatedTaskRunner=true |
| 56 | +wrapper.java.additional.9=-Djava.util.logging.config.file=logging.properties |
| 57 | +wrapper.java.additional.10=-Dactivemq.conf=%ACTIVEMQ_CONF% |
| 58 | +wrapper.java.additional.11=-Dactivemq.data=%ACTIVEMQ_DATA% |
| 59 | +wrapper.java.additional.12=-Djava.security.auth.login.config=%ACTIVEMQ_CONF%/login.config |
| 60 | + |
| 61 | +# Uncomment to enable jmx |
| 62 | +#wrapper.java.additional.n=-Dcom.sun.management.jmxremote.port=1616 |
| 63 | +#wrapper.java.additional.n=-Dcom.sun.management.jmxremote.authenticate=false |
| 64 | +#wrapper.java.additional.n=-Dcom.sun.management.jmxremote.ssl=false |
| 65 | + |
| 66 | +# Uncomment to enable YourKit profiling |
| 67 | +#wrapper.java.additional.n=-Xrunyjpagent |
| 68 | + |
| 69 | +# Uncomment to enable remote debugging |
| 70 | +#wrapper.java.additional.n=-Xdebug -Xnoagent -Djava.compiler=NONE |
| 71 | +#wrapper.java.additional.n=-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 |
| 72 | + |
| 73 | +# Initial Java Heap Size (in MB) |
| 74 | +#wrapper.java.initmemory=3 |
| 75 | + |
| 76 | +# Maximum Java Heap Size (in MB) |
| 77 | +wrapper.java.maxmemory=1024 |
| 78 | + |
| 79 | +# Application parameters. Add parameters as needed starting from 1 |
| 80 | +wrapper.app.parameter.1=org.apache.activemq.console.Main |
| 81 | +wrapper.app.parameter.2=start |
| 82 | + |
| 83 | +#******************************************************************** |
| 84 | +# Wrapper Logging Properties |
| 85 | +#******************************************************************** |
| 86 | +# Format of output for the console. (See docs for formats) |
| 87 | +wrapper.console.format=PM |
| 88 | + |
| 89 | +# Log Level for console output. (See docs for log levels) |
| 90 | +wrapper.console.loglevel=INFO |
| 91 | + |
| 92 | +# Log file to use for wrapper output logging. |
| 93 | +wrapper.logfile=/var/log/activemq/wrapper.log |
| 94 | + |
| 95 | +# Format of output for the log file. (See docs for formats) |
| 96 | +wrapper.logfile.format=LPTM |
| 97 | + |
| 98 | +# Log Level for log file output. (See docs for log levels) |
| 99 | +wrapper.logfile.loglevel=INFO |
| 100 | + |
| 101 | +# Maximum size that the log file will be allowed to grow to before |
| 102 | +# the log is rolled. Size is specified in bytes. The default value |
| 103 | +# of 0, disables log rolling. May abbreviate with the 'k' (kb) or |
| 104 | +# 'm' (mb) suffix. For example: 10m = 10 megabytes. |
| 105 | +wrapper.logfile.maxsize=0 |
| 106 | + |
| 107 | +# Maximum number of rolled log files which will be allowed before old |
| 108 | +# files are deleted. The default value of 0 implies no limit. |
| 109 | +wrapper.logfile.maxfiles=0 |
| 110 | + |
| 111 | +# Log Level for sys/event log output. (See docs for log levels) |
| 112 | +wrapper.syslog.loglevel=NONE |
| 113 | + |
| 114 | +#******************************************************************** |
| 115 | +# Wrapper Windows Properties |
| 116 | +#******************************************************************** |
| 117 | +# Title to use when running as a console |
| 118 | +wrapper.console.title=ActiveMQ |
| 119 | + |
| 120 | +#******************************************************************** |
| 121 | +# Wrapper Windows NT/2000/XP Service Properties |
| 122 | +#******************************************************************** |
| 123 | +# WARNING - Do not modify any of these properties when an application |
| 124 | +# using this configuration file has been installed as a service. |
| 125 | +# Please uninstall the service before modifying this section. The |
| 126 | +# service can then be reinstalled. |
| 127 | + |
| 128 | +# Name of the service |
| 129 | +wrapper.ntservice.name=ActiveMQ |
| 130 | + |
| 131 | +# Display name of the service |
| 132 | +wrapper.ntservice.displayname=ActiveMQ |
| 133 | + |
| 134 | +# Description of the service |
| 135 | +wrapper.ntservice.description=ActiveMQ Broker |
| 136 | + |
| 137 | +# Service dependencies. Add dependencies as needed starting from 1 |
| 138 | +wrapper.ntservice.dependency.1= |
| 139 | + |
| 140 | +# Mode in which the service is installed. AUTO_START or DEMAND_START |
| 141 | +wrapper.ntservice.starttype=AUTO_START |
| 142 | + |
| 143 | +# Allow the service to interact with the desktop. |
| 144 | +wrapper.ntservice.interactive=false |
0 commit comments