Products | Versions |
---|---|
TIBCO Enterprise Message Service | - |
Not Applicable | - |
Resolution:
When the EMS Server authorization is turned on, you need to provide a valid username and password in order to connect. You do so with the createConnection(String user, String password) method.
If you are also using a looked up connection factory for ssl connection, you need to provide the "ssl password". However you can not config the ssl password in the ConnectionFactory, because of security reason. so EMS will attempt to use the one that is provided in the createConnection() call. When passwords are different, that will fail.
You need then to use the TibjmsSSL.setPassword() to set the password, or TibjmsConnectionFactory.setSSLPassword(); Please refer to EMS Java doc for more information.