text
stringlengths
0
834k
rem Licensed to the Apache Software Foundation (ASF) under one or more
rem contributor license agreements. See the NOTICE file distributed with
rem this work for additional information regarding copyright ownership.
rem The ASF licenses this file to You under the Apache License, Version 2.0
rem (the ""License""); you may not use this file except in compliance with
rem the License. You may obtain a copy of the License at
rem
rem http://www.apache.org/licenses/LICENSE-2.0
rem
rem Unless required by applicable law or agreed to in writing, software
rem distributed under the License is distributed on an ""AS IS"" BASIS,
rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
rem See the License for the specific language governing permissions and
rem limitations under the License.
rem ---------------------------------------------------------------------------
rem Start/Stop Script for the MEECROWAVE Server
rem
rem Environment Variable Prerequisites
rem
rem Do not set the variables in this script. Instead put them into a script
rem setenv.bat in MEECROWAVE_BASE/bin to keep your customizations separate.
rem
rem WHEN RUNNING MEECROWAVE AS A WINDOWS SERVICE:
rem Note that the environment variables that affect the behavior of this
rem script will have no effect at all on Windows Services. As such, any
rem local customizations made in a MEECROWAVE_BASE/bin/setenv.bat script
rem will also have no effect on Meecrowave when launched as a Windows Service.
rem The configuration that controls Windows Services is stored in the Windows
rem Registry, and is most conveniently maintained using the ""tomcatXw.exe""
rem maintenance utility, where ""X"" is the major version of Tomcat embedded
rem in Meecrowave you are running.
rem
rem MEECROWAVE_HOME May point at your MEECROWAVE ""build"" directory.
rem
rem MEECROWAVE_BASE (Optional) Base directory for resolving dynamic portions
rem of a MEECROWAVE installation. If not present, resolves to
rem the same directory that MEECROWAVE_HOME points to.
rem
rem MEECROWAVE_OPTS (Optional) Java runtime options used when the ""start"",
rem ""run"" or ""debug"" command is executed.
rem Include here and not in JAVA_OPTS all options, that should
rem only be used by Meecrowave itself, not by the stop process,
rem the version command etc.
rem Examples are heap size, GC logging, JMX ports etc.
rem
rem MEECROWAVE_TMPDIR (Optional) Directory path location of temporary directory
rem the JVM should use (java.io.tmpdir). Defaults to
rem %MEECROWAVE_BASE%\temp.
rem
rem JAVA_HOME Must point at your Java Development Kit installation.
rem Required to run the with the ""debug"" argument.
rem
rem JRE_HOME Must point at your Java Runtime installation.
rem Defaults to JAVA_HOME if empty. If JRE_HOME and JAVA_HOME
rem are both set, JRE_HOME is used.
rem
rem JAVA_OPTS (Optional) Java runtime options used when any command
rem is executed.
rem Include here and not in MEECROWAVE_OPTS all options, that
rem should be used by Meecrowave and also by the stop process,
rem the version command etc.
rem Most options should go into MEECROWAVE_OPTS.
rem
rem JAVA_ENDORSED_DIRS (Optional) Lists of of semi-colon separated directories
rem containing some jars in order to allow replacement of APIs
rem created outside of the JCP (i.e. DOM and SAX from W3C).
rem It can also be used to update the XML parser implementation.
rem This is only supported for Java <= 8.
rem Defaults to $MEECROWAVE_HOME/endorsed.
rem
rem JPDA_TRANSPORT (Optional) JPDA transport used when the ""jpda start""
rem command is executed. The default is ""dt_socket"".
rem
rem JPDA_ADDRESS (Optional) Java runtime options used when the ""jpda start""
rem command is executed. The default is localhost:8000.
rem
rem JPDA_SUSPEND (Optional) Java runtime options used when the ""jpda start""
rem command is executed. Specifies whether JVM should suspend
rem execution immediately after startup. Default is ""n"".
rem
rem JPDA_OPTS (Optional) Java runtime options used when the ""jpda start""
rem command is executed. If used, JPDA_TRANSPORT, JPDA_ADDRESS,
rem and JPDA_SUSPEND are ignored. Thus, all required jpda
rem options MUST be specified. The default is:
rem
rem -agentlib:jdwp=transport=%JPDA_TRANSPORT%,
rem address=%JPDA_ADDRESS%,server=y,suspend=%JPDA_SUSPEND%
rem
rem JSSE_OPTS (Optional) Java runtime options used to control the TLS
rem implementation when JSSE is used. Default is:
rem ""-Djdk.tls.ephemeralDHKeySize=2048""
rem
rem LOGGING_CONFIG (Optional) Override Meecrowave's logging config file
rem Example (all one line)
rem set LOGGING_CONFIG=""-Djava.util.logging.config.file=%MEECROWAVE_BASE%\conf\logging.properties""
rem
rem LOGGING_MANAGER (Optional) Override Meecrowave's logging manager
rem Example (all one line)
rem set LOGGING_MANAGER=""-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager""