Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-6104

Authentication does not work for Weblogic JMS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.9.2, 2.10.3
    • None
    • camel-jms
    • Red Hat Enterprise Linux Server release 5.8, Weblogic 10.3.3.0, Tibco EMS

    • Unknown

    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

      Attachments

        1. instruction.txt
          2 kB
          Igor Stepanov
        2. exception.xml
          13 kB
          Igor Stepanov

        Activity

          People

            davsclaus Claus Ibsen
            stepio Igor Stepanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: