tag:blogger.com,1999:blog-8650166054307172837.post6554545091851248766..comments2024-03-18T06:22:54.676+01:00Comments on an enthusiastic austrian *nix/Linux user: How to connect to a WebSphere MQ Server with HermesJMSEwald Ertlhttp://www.blogger.com/profile/10533198864334194124noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-8650166054307172837.post-16505559564400042752020-07-29T20:44:49.106+02:002020-07-29T20:44:49.106+02:00I am not getting any option in the Plugin drop-dow...I am not getting any option in the Plugin drop-down to select "IBM WebsphereMQ". please let me know what did I miss. <br />while discovering its throwing the below error: The default provider extension cannot discover queues or topics on com.ibm.mq.jms.MQConnectionFactory<br />Avik Dattahttps://www.blogger.com/profile/10588059215178469682noreply@blogger.comtag:blogger.com,1999:blog-8650166054307172837.post-35396399299579460092015-02-01T20:58:09.620+01:002015-02-01T20:58:09.620+01:00Issue solved in Ubuntu. I just moved the jar IBM W...Issue solved in Ubuntu. I just moved the jar IBM Websphere MQ jar files in to hermesjms/lib folder. Then, restart hermes and connect to queue manager.Sujeeth Kumarhttps://www.blogger.com/profile/15912438717314385432noreply@blogger.comtag:blogger.com,1999:blog-8650166054307172837.post-81565265117440786312015-01-28T08:20:15.785+01:002015-01-28T08:20:15.785+01:00Yes, I created provider class path and I could see...Yes, I created provider class path and I could see the IBM classes in connection factory drop down.<br /><br />When I discover messages, I get this error.Sujeeth Kumarhttps://www.blogger.com/profile/15912438717314385432noreply@blogger.comtag:blogger.com,1999:blog-8650166054307172837.post-48583069204020415672015-01-28T08:16:14.706+01:002015-01-28T08:16:14.706+01:00I do not know IBM Integration Bus.
As written bef...I do not know IBM Integration Bus. <br />As written before and in the screenshots visible, you have to build a classpath for the MQ-Libraries and the missing class <br /><br />com/ibm/mq/jms/MQConnectionFactory<br /><br />is in the jar-File com.ibm.mqjms.jar from the MQ-Series Client. Ewald Ertlhttps://www.blogger.com/profile/10533198864334194124noreply@blogger.comtag:blogger.com,1999:blog-8650166054307172837.post-66266855888400215722015-01-27T22:30:53.290+01:002015-01-27T22:30:53.290+01:00I did IBM Integration Bus on fresh Ubuntu 14. Web ...I did IBM Integration Bus on fresh Ubuntu 14. Web sphere 7.5.0.3 version is installed as part of IIB.<br /><br />FOr testing JMS messaging, I am trying to configure hermesJMS but I ended up with NoClassFoundDefError for com/ibm/mq/jms/MQConnectionFactory<br /><br />What additional configuration is needed in Ubuntu ? In windows it is OK.Sujeeth Kumarhttps://www.blogger.com/profile/15912438717314385432noreply@blogger.comtag:blogger.com,1999:blog-8650166054307172837.post-3933717244802095292015-01-26T23:00:40.330+01:002015-01-26T23:00:40.330+01:00AS dritten in a comment above, I am using Fedora a...AS dritten in a comment above, I am using Fedora and the whole setup for Fedora is in my original post. <br />In other systems, some minor changes were necessary, depending in the error you geht.Ewald Ertlhttps://www.blogger.com/profile/10533198864334194124noreply@blogger.comtag:blogger.com,1999:blog-8650166054307172837.post-63720717418138413192015-01-26T20:01:35.638+01:002015-01-26T20:01:35.638+01:00brajesh : Ia this issue solved in Ubuntu ?
Can yo...brajesh : Ia this issue solved in Ubuntu ?<br /><br />Can you share the solution ?<br /><br />Thank youSujeeth Kumarhttps://www.blogger.com/profile/15912438717314385432noreply@blogger.comtag:blogger.com,1999:blog-8650166054307172837.post-26215419309255746812014-11-27T08:44:34.530+01:002014-11-27T08:44:34.530+01:00On my Fedora 20 system, I have nothing
set. Just ...On my Fedora 20 system, I have nothing <br />set. Just the Classpath-Group to the <br />jars where the MQSeries client is installed. <br />A colleague attempted this on windows. <br />He had to add two other jar's from the<br />MQSeries-Client. Ewald Ertlhttps://www.blogger.com/profile/10533198864334194124noreply@blogger.comtag:blogger.com,1999:blog-8650166054307172837.post-24860815618277645922014-10-03T08:54:22.429+02:002014-10-03T08:54:22.429+02:00hi, I am trying to install HermesMQ in ubuntu 12.0...hi, I am trying to install HermesMQ in ubuntu 12.04 and I am getting below error when trying to discover<br /><br />Should i have to set mq installation path to .bashrc ? if yes, can you please share what you have set up for the same ? I have the following<br /><br />MQ_INSTALL_ROOT=/var/mqm/<br />MQ_JAVA_DATA_PATH=/var/mqm/<br />MQ_JAVA_INSTALL_PATH=/opt/mqm/java/<br />MQ_JAVA_LIB_PATH=/opt/mqm/java/lib64<br />LD_LIBRARY_PATH=/opt/mqm/java/lib64<br /><br /><br />*********<br />java.lang.NoClassDefFoundError: com/ibm/mq/jms/MQConnectionFactory<br /> at hermes.ext.mq.MQSeriesAdminFactory.createSession(MQSeriesAdminFactory.java:86)<br /> at hermes.impl.HermesAdminAdapter.getAdmin(HermesAdminAdapter.java:64)<br /> at hermes.impl.HermesAdminAdapter.discoverDestinationConfigs(HermesAdminAdapter.java:82)<br /> at hermes.impl.DefaultHermesImpl.discoverDestinationConfigs(DefaultHermesImpl.java:1126)<br /> at hermes.browser.tasks.DiscoverDestinationsTask.invoke(DiscoverDestinationsTask.java:73)<br /> at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)<br /> at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)<br /> at java.lang.Thread.run(Unknown Source)<br />****************brajeshhttps://www.blogger.com/profile/02263522169984938817noreply@blogger.comtag:blogger.com,1999:blog-8650166054307172837.post-76224249621360257832014-10-03T08:42:54.868+02:002014-10-03T08:42:54.868+02:00Hi Ed, I am using ubuntu 12.04 and tried HermesMQ ...Hi Ed, I am using ubuntu 12.04 and tried HermesMQ , however i am getting the following error <br /><br />Should I have set MQ path to the bashrc ? Can you share your path setting for linux ? <br /><br />Cheers<br />Raj<br /><br />*****<br />java.lang.NoClassDefFoundError: com/ibm/mq/jms/MQConnectionFactory<br /> at hermes.ext.mq.MQSeriesAdminFactory.createSession(MQSeriesAdminFactory.java:86)<br /> at hermes.impl.HermesAdminAdapter.getAdmin(HermesAdminAdapter.java:64)<br /> at hermes.impl.HermesAdminAdapter.discoverDestinationConfigs(HermesAdminAdapter.java:82)<br /> at hermes.impl.DefaultHermesImpl.discoverDestinationConfigs(DefaultHermesImpl.java:1126)<br /> at hermes.browser.tasks.DiscoverDestinationsTask.invoke(DiscoverDestinationsTask.java:73)<br /> at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)<br /> at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)<br /> at java.lang.Thread.run(Unknown Source)<br />********************brajeshhttps://www.blogger.com/profile/02263522169984938817noreply@blogger.comtag:blogger.com,1999:blog-8650166054307172837.post-52622127899470893882014-02-24T04:52:04.619+01:002014-02-24T04:52:04.619+01:00Thanks for the hint!!! I resolved this issue by up...Thanks for the hint!!! I resolved this issue by updating PATH variable in windows.Prithvirajhttps://www.blogger.com/profile/13096669674298889545noreply@blogger.comtag:blogger.com,1999:blog-8650166054307172837.post-21730534542242498672014-02-24T04:49:29.013+01:002014-02-24T04:49:29.013+01:00Thanks.. It worked for me after I updated "PA...Thanks.. It worked for me after I updated "PATH" variable in windows so that it points to folder containing mqjbnd02.so file. Another way to resolve this issue would be, Hermes JMS has its own batch file which sets env variables: /bin/hermes-env.bat<br /><br />This file has command to update PATH variable for windows and it updates PATH variable so that it contains C:\Windows\System32. So you can copy required *.so or *.dll files inside System32 folder.Prithvirajhttps://www.blogger.com/profile/13096669674298889545noreply@blogger.comtag:blogger.com,1999:blog-8650166054307172837.post-14065330064739763452014-02-22T11:17:30.105+01:002014-02-22T11:17:30.105+01:00I do not have the system here at the moment, but f...I do not have the system here at the moment, but from the Exeption I <br />would say, that the native library <br />mqjbnd02 is not found. <br /><br />Do you have the MQClient installed on your system. <br />Perhaps you have to set the path for the native lib in PATH or LD_LIBRAY_PATH or LD_LIBPATH, depending on your system. Ewald Ertlhttps://www.blogger.com/profile/10533198864334194124noreply@blogger.comtag:blogger.com,1999:blog-8650166054307172837.post-87326354485445460332014-02-21T15:26:01.801+01:002014-02-21T15:26:01.801+01:00Hi,
I am following your comment to setup hermes JM...Hi,<br />I am following your comment to setup hermes JMS. After queue is created and I double click on queue, i get error:<br /><br />ava.lang.UnsatisfiedLinkError: no mqjbnd02 in java.library.path<br /> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738)<br /> at java.lang.Runtime.loadLibrary0(Runtime.java:823)<br /> at java.lang.System.loadLibrary(System.java:1028)<br /> at com.ibm.mq.server.MQSESSION.(MQSESSION.java:139)<br /> at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:67)<br /> at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:240)<br /> at com.ibm.mq.MQManagedConnectionJ11.(MQManagedConnectionJ11.java:148)<br /> at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:136)<br /> at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11.createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:154)<br /> at com.ibm.mq.StoredManagedConnection.(StoredManagedConnection.java:80)<br /> at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:150)<br /> at com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager(MQQueueManager.java:560)<br /> at com.ibm.mq.MQQueueManager.construct(MQQueueManager.java:509)<br /> at com.ibm.mq.MQQueueManager.(MQQueueManager.java:330)<br /> at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:976)<br /> at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:707)<br /> at com.ibm.mq.jms.MQQueueConnection.(MQQueueConnection.java:206)<br /> at com.ibm.mq.jms.MQQueueConnection.(MQQueueConnection.java:76)<br /> at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:143)<br /> at hermes.impl.jms.ConnectionManagerSupport.createConnection(ConnectionManagerSupport.java:147)<br /> at hermes.impl.jms.ConnectionManagerSupport.createConnection(ConnectionManagerSupport.java:92)<br /> at hermes.impl.jms.ConnectionSharedManager.reconnect(ConnectionSharedManager.java:81)<br /> at hermes.impl.jms.ConnectionSharedManager.connect(ConnectionSharedManager.java:91)<br /> at hermes.impl.jms.ConnectionSharedManager.getConnection(ConnectionSharedManager.java:104)<br /> at hermes.impl.jms.ConnectionSharedManager.getObject(ConnectionSharedManager.java:142)<br /> at hermes.impl.jms.ThreadLocalSessionManager.connect(ThreadLocalSessionManager.java:190)<br /> at hermes.impl.jms.ThreadLocalSessionManager.getSession(ThreadLocalSessionManager.java:570)<br /> at hermes.impl.jms.AbstractSessionManager.getDestination(AbstractSessionManager.java:387)<br /> at hermes.impl.DefaultHermesImpl.getDestination(DefaultHermesImpl.java:323)<br /> at hermes.browser.tasks.BrowseDestinationTask.invoke(BrowseDestinationTask.java:122)<br /> at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)<br /> at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)<br /> at java.lang.Thread.run(Thread.java:662)<br /><br /><br />Do you have any idea what must be the issue?Prithvirajhttps://www.blogger.com/profile/13096669674298889545noreply@blogger.com