Forum Discussion

SandeepAditi's avatar
SandeepAditi
New Contributor
12 years ago

Unable to configure using HermesJMS

Hi

I am trying to configure session on HermesJMS , I have started TIBCO EMS session and also connected to TBICO admin tool for my serverURL 10.192.171.11 on port 7222 with "blank" username and password .
I have added all the approriate JAR files required and configured connection factory "com,tibco.tibjms.TibjmsConnectionFactory" Loader " Tibco" with property serverURL and Value tcp://10.192.171.11:7222 and connection with a valid username and password .
Post this when I try to discover my session i get an error "hermes.HermesException" Unable to connect to the server.

com.tibco.tibjms.admin.TibjmsAdminException: Unable to connect to server. Root cause:
javax.jms.JMSSecurityException: invalid name or password, or not authorized to connect as administrator
at com.tibco.tibjms.admin.MessengerUtil.<init>(MessengerUtil.java:59)
at com.tibco.tibjms.admin.TibjmsAdmin.<init>(TibjmsAdmin.java:368)
at com.tibco.tibjms.admin.TibjmsAdmin.<init>(TibjmsAdmin.java:349)
at hermes.ext.ems.TibcoEMSAdminFactory.createAdmin(TibcoEMSAdminFactory.java:105)
at hermes.ext.ems.TibcoEMSAdmin.getAdmin(TibcoEMSAdmin.java:75)
at hermes.ext.ems.TibcoEMSAdmin.discoverDestinationConfigs(TibcoEMSAdmin.java:261)
at hermes.impl.HermesAdminAdapter.discoverDestinationConfigs(HermesAdminAdapter.java:84)
at hermes.impl.DefaultHermesImpl.discoverDestinationConfigs(DefaultHermesImpl.java:1358)
at hermes.browser.tasks.DiscoverDestinationsTask.invoke(DiscoverDestinationsTask.java:76)
at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)
at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)
at java.lang.Thread.run(Unknown Source)
Internal exception:
javax.jms.JMSSecurityException: invalid name or password, or not authorized to connect as administrator
at com.tibco.tibjms.Tibjmsx.buildException(Tibjmsx.java:575)
at com.tibco.tibjms.TibjmsConnection._create(TibjmsConnection.java:1338)
at com.tibco.tibjms.TibjmsConnection.<init>(TibjmsConnection.java:4127)
at com.tibco.tibjms.TibjmsQueueConnection.<init>(TibjmsQueueConnection.java:36)
at com.tibco.tibjms.TibjmsxCFImpl._createImpl(TibjmsxCFImpl.java:200)
at com.tibco.tibjms.TibjmsxCFImpl._createConnection(TibjmsxCFImpl.java:253)
at com.tibco.tibjms.TibjmsQueueConnectionFactory.createQueueConnection(TibjmsQueueConnectionFactory.java:87)
at com.tibco.tibjms.admin.MessengerUtil.<init>(MessengerUtil.java:47)
at com.tibco.tibjms.admin.TibjmsAdmin.<init>(TibjmsAdmin.java:368)
at com.tibco.tibjms.admin.TibjmsAdmin.<init>(TibjmsAdmin.java:349)
at hermes.ext.ems.TibcoEMSAdminFactory.createAdmin(TibcoEMSAdminFactory.java:105)
at hermes.ext.ems.TibcoEMSAdmin.getAdmin(TibcoEMSAdmin.java:75)
at hermes.ext.ems.TibcoEMSAdmin.discoverDestinationConfigs(TibcoEMSAdmin.java:261)
at hermes.impl.HermesAdminAdapter.discoverDestinationConfigs(HermesAdminAdapter.java:84)
at hermes.impl.DefaultHermesImpl.discoverDestinationConfigs(DefaultHermesImpl.java:1358)
at hermes.browser.tasks.DiscoverDestinationsTask.invoke(DiscoverDestinationsTask.java:76)
at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)
at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)
at java.lang.Thread.run(Unknown Source)


Can you please advise ?

Regards
Sandeep

1 Reply

  • Aaronliu's avatar
    Aaronliu
    Frequent Contributor
    firstly to make sure you have correct username, password,server url and required jar packages.