在 Message Queue 3.7 UR1 中,將 LDAP 伺服器當成使用者儲存庫使用的代理程式配置範例,會列在 config.properties 的註釋區中。default.properties 檔案中的 LDAP 使用者儲存庫範例則會標示為註釋。
若之前使用的特性值,屬於 default.properties 檔案中指定的任何範例 LDAP 使用者儲存庫特性,一旦您升級到 Message Queue3.7 UR1 之後,JMS 應用程式用戶端在嘗試建立 JMS 連線時,會收到安全性異常。
當 JMS 用戶端嘗試連線到 Message Queue 3.7 UR1 代理程式時,會將錯誤記錄到您的代理程式記錄檔中,同時 JMS 用戶端亦會收到下列異常:
SecurityException. 20/Aug/2004:11:16:41 PDT] ERROR [B4064]: Ldap repository ldap property .uidattr not defined for authentication type basic:com.sun.messaging.jmq.auth.LoginException: [B4064]: Ldap repository ldap property .uidattr not defined for authentication type basic
解決方法:遵照「Sun Java System Message Queue 3.7 UR1 Administration Guide」中的第 7 章「Managing Security」中的指示,設定代理程式特性 imq.user_repository.ldap.uidattr。