"invalid username or password" Or "Cannot find the Connection Factory" When Connecting To JMS Queue In ODI (Doc ID 1300798.1)

Last updated on MAY 12, 2017

Applies to:

Oracle Data Integrator - Version 11.1.1.3.0 and later
Information in this document applies to any platform.

Symptoms

A JMS Queue / Topic Data Server is created in the Oracle Data Integrator (ODI) Topology to connect to Tibco EMS or IBM MQ Series JMS Queue / Topic.

In the ODI Topology, the JNDI tab of JMS Queue / Topic Data server has been configured as follows (note the below example if for Tibco Queue):

JNDI Authentication: <None>
JNDI User: admin
Password: <pwd>
JNDI Protocol: <undefined>
JNDI Driver: com.tibco.tibjms.naming.TibjmsInitialContextFactory
JNDI URL: tibjmsnaming://tibcohost:7522
JNDI Resource: QueueConnectionFactory

When JNDI Authentication is set to <None>, whilst JNDI User and Password are provided, the following message occurs upon a Data Server test connection:

oracle.odi.runtime.agent.invocation.InvocationException: Cannot load connection class because of underlying exception: 'javax.jms.JMSException: invalid username or password'.

With JNDI Authentication set to <Undefined>, the following message is received:

oracle.odi.runtime.agent.invocation.InvocationException: Cannot load connection class because of underlying exception: 'javax.jms.JMSException: Cannot find the Connection Factory (QueueConnectionFactory) in JNDI'.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms