Igor Stepanov created CAMEL-6104:
------------------------------------
Summary: Authentication does not work for Weblogic JMS
Key: CAMEL-6104
URL: https://issues.apache.org/jira/browse/CAMEL-6104
Project: Camel
Issue Type: Bug
Components: camel-jms
Affects Versions: 2.10.3, 2.9.2
Environment: Red Hat Enterprise Linux Server release 5.8, Weblogic
10.3.3.0, Tibco EMS
Reporter: Igor Stepanov
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 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira