Sun Java System Message Queue 4.1 Release Notes

Deprecated Password Option

In previous versions of Message Queue, you could use the —p or —password option to specify a password interactively for the following commands: imqcmd, imqbrokerd, and imdbmgr. Beginning with version 4.0, these options have been deprecated. You must furnish passwords as follows.

  1. Set the password property to the desired value in a file used to store only passwords.

    Use the following syntax to specify passwords in the password file.


  2. Pass the name of the password file using the —passfile option.

A password file can contain one or more of the passwords listed below.

In the following example, the password to the JDBC database is set to abracadabra.


You can configure the broker to use the password file you create in one of the following ways.