MQ Visual Browse

Chapter 10 Locking the CommProfileDB

Locking the CommProfileDB.

This section will describe how to Lock the CommProfileDB file within MQ Visual Browse. The CommProfileDB.properties file contains all of the information necessary to connect to a queue manager (remote or local).

There may be times when the MQAdministrator wishes to users access to particular queue managers but not all of them or wishes to restrict which queue managers they can connect to.

Using MQ Visual Browse, create the CommProfileDB.properties file with all of the queue managers that the MQAdministrator wishes the users to access. Store the CommProfileDB.properties file on a network drive or a shareable directory on the server or network.

To active the locked CommProfileDB.properties, update the mqvb.bat file or the mqvb.sh script with a JVM environment variable called CommProfileDB. The CommProfileDB (JVM environment variable) will contain ONLY the full path to the CommProfileDB.properties file.

    Example: mqvb.bat
    start javaw -Xms64m -Xmx512m -DCommProfileDB=H:\test biz.capitalware.mqvb.MQVB
    
    Example: mqvb.sh
    java -Xms64m -Xmx512m -DCommProfileDB=/apps/test biz.capitalware.mqvb.MQVB
    
    Two important points:
  • When the lock for the CommProfileDB.properties file is actived in MQ Visual Browse, the user can no longer change their CommProfileDB Directory location in MQ Visual Browse's Preferences dialog box.
  • From an administration point of view, the users should ONLY have read access to the CommProfileDB.properties file and also MQ Visual Browse's install directory.

 




Copyright © 2002-2008 Capitalware Inc.  All Rights Reserved.