Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-18059

[GSS](7.2.z) Generic RA does not support JMS 1.1 in EAP 7.x

    XMLWordPrintable

Details

    • -
    • Incorporated by upgrade to org.jboss.genericjms 2.0.4

    Description

      When a message broker such as SonicMQ (which does not support JMS 2.0) is used with the generic-jms-ra , it doesn't work and the following exception is thrown:

      Caused by: java.lang.AbstractMethodError: progress.message.jclient.QueueConnectionFactory.createContext(Ljava/lang/String;Ljava/lang/String;)Ljavax/jms/JMSContext;
              at org.jboss.resource.adapter.jms.JmsManagedConnection.createConnection(JmsManagedConnection.java:774)
              at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:666)
              at org.jboss.resource.adapter.jms.JmsManagedConnection.<init>(JmsManagedConnection.java:189)
      
      

      It seems that JMS 2.0's createContext() is called while creating a new connection which results in the aforementioned exception.

      https://github.com/jms-ra/generic-jms-ra/blob/master/generic-jms-ra-jar/src/main/java/org/jboss/resource/adapter/jms/JmsManagedConnection.java#L774

      Attachments

        Issue Links

          Activity

            People

              ehugonne1@redhat.com Emmanuel Hugonnet
              rhn-support-adongre Avinash Dongre
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: