Details
Description
Dear collegues,
I'm trying to configure JMS integration between my application (in Weblogic) and Tibco EMS. As an example I used next tutorial:
http://camel.apache.org/jms.html
Application context is configured as suggested:
<bean id="weblogic" class="org.apache.camel.component.jms.JmsComponent">
<property name="connectionFactory" ref="beaConnectionFactory"/>
</bean>
<jee:jndi-lookup id="beaConnectionFactory" jndi-name="jms/EAIConnectionFactory"/>
But connection cannot be established due to authentication issues. Weblogic logs show (attached):
Caused By: javax.jms.JMSSecurityException: invalid name or password
Tibco console shows:
2013-02-26 22:08:25 [anonymous@devapp097]: connect failed: not authorized to connect
I'm sure that login&password are specified correctly. When I turn off authentication (on the Tibco side), or try to connect directly (without Weblogic), everything works fine. So I assumed that issue is between Camel and Weblogic and even found some examples of similar cases:
http://fusesource.com/forums/thread.jspa?messageID=8851
http://servicemix.396122.n5.nabble.com/Credentials-not-getting-set-properly-for-JMS-endpoint-in-camel-route-td3289718.html
Tibco EMS connectivity parameters are configured in WL console according to the attached instruction.
Appreciate your help