[ 
https://issues.apache.org/jira/browse/CAMEL-6104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13590649#comment-13590649
 ] 

Igor Stepanov commented on CAMEL-6104:
--------------------------------------

Hi Claus

Thanks for your reply!

> try setting testConnectionOnStartup=false
I've tried to remove this parameter at all - nothing changes, still not able to 
connect the Tibco. The only difference is that in testing mode (according to 
the Tibco logging) there are only 2 connection attempts (1 per each of the 2 
nodes), while without it Camel tries to connect all the time application is 
running.

> And what Camel version is that stacktrace from?
This one is from 2.9.2.
Initially I've tried 2.10.3, but it contains issues with XSD validation (I 
think the root cause is: https://issues.apache.org/jira/browse/CAMEL-6020), so 
I've decided to use 2.9.2. Anyway I had the same error in 2.10.3 as well.

> We prefer people using the mailing list / forum / or 3rd party sites like 
> Stackoverflow for questions
I can do so, if it's still required. Should I?
                
> 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.9.2, 2.10.3
>         Environment: Red Hat Enterprise Linux Server release 5.8, Weblogic 
> 10.3.3.0, Tibco EMS
>            Reporter: Igor Stepanov
>              Labels: authentication, camel, camel-jms, tibco, weblogic
>         Attachments: exception.xml, instruction.txt
>
>
> 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

--
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

Reply via email to