History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: HJMS-136
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Colin Crist
Reporter: Deep
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
HermesJMS

Unable to connect EMS 5.0 with hermes 1.14

Created: 19/Jan/11 05:56 PM   Updated: 30/May/11 08:36 AM
Component/s: Plugins
Affects Version/s: 1.14
Fix Version/s: 1.14

Environment: OS: Win server 2008 64 bit


 Description  « Hide
I installed HermesJMS 1.14 . When i try to create a new session for TIBCO EMS, Hermes throws the error.
Steps to reproduce:
1.Install hermes jms 1.14
2.Create New Session
3.Click on the Providers tab
4.Right-click and select Add a new group and give it a new name -TibcoEMS
5.Right-click on Library and select Add Jars
6.Browse to the location of the EMS jars and add all of them ( jms.jar, slf4j-api-1.4.2.jar, slf4j-simple-1.4.2.jar, tibcrypt.jar, tibemsd_sec.jar, tibjms.jar, tibjmsadmin.jar
 tibjmsapps.jar, tibrvjms.jar)
7.Click Apply ( allowed hermes to Scan the JAR files).
8.In the ConnectionFactory section click on the Loader Dropdown and select TibcoEMS
9.Click on Class and select com.tibco.tibjms.TibjmsConnectionFactory

Following error is generated when i add above mentioned class for TibcoEMS:

java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.beans.BeanGenerator
at hermes.util.ReflectUtils.mixinGetterMethodsAndInstantiate(ReflectUtils.java:164)
at hermes.util.ReflectUtils.createConnectionFactory(ReflectUtils.java:215)
at hermes.browser.dialog.ConnectionFactoryConfigPanel$4.contentsChanged(ConnectionFactoryConfigPanel.java:238)
at javax.swing.AbstractListModel.fireContentsChanged(Unknown Source)
at javax.swing.DefaultComboBoxModel.setSelectedItem(Unknown Source)
at javax.swing.JComboBox.setSelectedItem(Unknown Source)
at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at javax.swing.plaf.basic.BasicComboPopup$1.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at hermes.swing.actions.CreateNewSessionAction.actionPerformed(CreateNewSessionAction.java:65)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at com.jidesoft.plaf.vsnet.VsnetMenuItemUI.doClick(Unknown Source)
at com.jidesoft.plaf.vsnet.VsnetMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


 All   Comments   Change History      Sort Order:
Colin Crist [21/Jan/11 03:07 AM]
I recently found this myself - there is a .jar mismatch in the distribution. I'll get a fix out shortly.

Michael Wolf [02/May/11 07:21 AM]
Hi Colin, i have the same problem. Any news regarding this issue?

Regards
Michael

Colin Crist [25/May/11 04:09 AM]
Yeah I can replicate this with EMS 5.1 and 6.0. I am investigating....

Colin Crist [30/May/11 08:10 AM]
I've found the problem and will push a build out tomorrow for you to test.