1 Reply Latest reply on Aug 16, 2010 10:06 AM by 805009

    How to execute imqcmd w/o password prompt

    807581
      I have set imq.passfile.enabled, imq.passfile.dirpath and imq.passfile.name parameters in the broker's config.properties but when i execute imqcmd, i still have to explicitly specify -passfile <filename>. How come the program is not reading from the config.properties? Or i have misinterpreted in the usage of the mentioned parameters?
        • 1. Re: How to execute imqcmd w/o password prompt
          805009
          The file config.properties in the broker's instance directory is used only by the broker.

          imqcmd doesn't read this file. It is deliberately independent of the broker instance directory, so you can run it from any remote machine which has MQ installed, even if that machine can't see the instance directory of the broker it is connecting to.

          Nigel