Broker 10.5 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | webMethods Messaging Administration | The JMSAdmin Command-Line Tool | Starting JMSAdmin | Start-up Options
Start-up Options
The following table describes start-up options for JMSAdmin. Some options have both a short and long form. The long form is useful in JMSAdmin batch files because it makes the commands more readable.
-c command(s)
Executes the specified command(s) when JMSAdmin starts. To specify more than one command, separate the commands with semicolons.
When you use this option, JMSAdmin executes the commands and when finished leaves you at the JMSAdmin command prompt.
If you specify both the -cand -f options (see below), the -c option is executed first.
When using variables with -c command lists, use the percent sign (%) as the first character in the variable name instead of the dollar sign ($). For example, the variable %myRemoteHost could be used to represent the name of a remote host in a script.
Enables quiet mode, which suppresses confirmation messages such as those JMSAdmin issues before deleting a Broker or a context that is not empty. This option is most useful when running JMSAdmin in batch mode.
-f filename
Starts JMSAdmin and executes commands from the specified file rather than from the command prompt. Use this option to run JMSAdmin in batch mode.
Displays a brief description of the startup options.
-p propertiesFile
-properties propertiesFile
Reads properties from the specified file. If you do not set this option, JMSAdmin searches the directories in the CLASSPATH for a JNDI properties file. The properties file that JMSAdmin looks for is named
For a list of properties that you can specify with JMSAdmin, see JMSAdmin Properties.
-t character-set-name
-encoding character-set-name
Specifies the name of the character set encoding used in imported files. If you do not specify this option, the machine's default encoding is used. The name must be a valid Java encoding.