Weblogic、带有 ejb3 的 Tibco SSL:javax.jms.JMSSecurityException:无法连接到任何服务器

Weblogic, Tibco SSL with ejb3 :javax.jms.JMSSecurityException: Failed to connect to any server

EJB 3 网络逻辑:10.3.x JDK: 1.7.x

当我们为现有的 TIBCO 连接启用 SSL 时,我们遇到以下错误 factories/queues。我们的要求是为 tibco 连接工厂/队列启用 SSL。

javax.jms.JMSSecurityException: Failed to connect to any server at: ssl://server_name:44343,ssl://server_name:44343 [Error: invalid name or password: url that returned this exception = SSL://server_name:44343 ]
        at com.tibco.tibjms.TibjmsConnection._create(TibjmsConnection.java:1389)
        at com.tibco.tibjms.TibjmsConnection.<init>(TibjmsConnection.java:4127)
        at com.tibco.tibjms.TibjmsXAConnection.<init>(TibjmsXAConnection.java:30)
        at com.tibco.tibjms.TibjmsXAQueueConnection.<init>(TibjmsXAQueueConnection.java:29)
        at com.tibco.tibjms.TibjmsxCFImpl._createImpl(TibjmsxCFImpl.java:164)
        at com.tibco.tibjms.TibjmsxCFImpl._createConnection(TibjmsxCFImpl.java:253)
        at com.tibco.tibjms.TibjmsXAQueueConnectionFactory.createXAQueueConnection(TibjmsXAQueueConnectionFactory.java:129)
        at weblogic.ejb.container.internal.JMSConnectionPoller.getXAConnection(JMSConnectionPoller.java:438)
        at weblogic.ejb.container.internal.JMSConnectionPoller.createJMSConnection(JMSConnectionPoller.java:2233)
        at weblogic.ejb.container.internal.JMSConnectionPoller.connect(JMSConnectionPoller.java:808)
        at weblogic.ejb.container.internal.MDConnectionManager.startConnectionPolling(MDConnectionManager.java:265)
        at weblogic.ejb.container.manager.MessageDrivenManager.start(MessageDrivenManager.java:657)
        at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl$DestinationResovler.activateNoneDDMDManager(MessageDrivenBeanInfoImpl.java:2356)
        at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl$QueueConnectionHandler.handleNoneDD(MessageDrivenBeanInfoImpl.java:2798)
        at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl$DestinationResovler.resolveDestnationWorkMode(MessageDrivenBeanInfoImpl.java:2289)
        at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl$DestinationEventHandler.onDestinationsAvailable(MessageDrivenBeanInfoImpl.java:2112)
        at weblogic.jms.extensions.JMSDestinationAvailabilityHelper$DestinationAvailabilityListenerWrapper.run(JMSDestinationAvailabilityHelper.java:386)
        at weblogic.jms.extensions.JMSDestinationAvailabilityHelper$DestinationAvailabilityListenerWrapper.callOutListener(JMSDestinationAvailabilityHelper.java:402)
        at weblogic.jms.extensions.JMSDestinationAvailabilityHelper$DestinationAvailabilityListenerWrapper.onDDMembershipChange(JMSDestinationAvailabilityHelper.java:383)
        at weblogic.jms.common.CDS$DD2Listener.run(CDS.java:1264)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

共享的错误消息确实将 "invalid name or password" 显示为错误原因,因此我认为这是对错误原因的一个很好的提示。

确保在 TIBCO EMS 配置文件中为您尝试连接的特定实例以及在 Weblogic 上配置了正确的用户名和密码。

我能想到的唯一其他原因是 ssl url 是否不正确,我认为情况并非如此。