Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1119

Queue-ConsumerBean starts TopicSession (Oracle Patch 10g)

XMLWordPrintable

      SourceForge Submitter: robboom .
      Hi,

      there is a bug in the Consumer Message Driven Bean
      when connection to a Queue destination-type. When in
      the ejb-jar.xml the Message Driven Bean is configured
      as "<destination-type>javax.jms.Queue</destination-
      type>", The AQjmsConnection tries to create a Topic
      Session (and the destination is a queue...):

      11:55:55,009 WARN [JMSContainerInvoker] JMS
      provider failure detected:
      oracle.jms.AQjmsException: JMS-107: Operation not
      allowed on QueueConnection
      at oracle.jms.AQjmsError.throwEx
      (AQjmsError.java:319)
      at
      oracle.jms.AQjmsConnection.createTopicSession
      (AQjmsConnection.java:226)
      at
      oracle.jms.AQjmsConnectionWrapper.createTopicSession
      (AQjmsConnectionWrapper.java:106)
      at
      org.jboss.jms.asf.StdServerSessionPool.create
      (StdServerSessionPool.java:338)
      at
      org.jboss.jms.asf.StdServerSessionPool.<init>
      (StdServerSessionPool.java:151)
      at
      org.jboss.jms.asf.StdServerSessionPoolFactory.getServer
      SessionPool(StdServerSessionPoolFactory.java:101)
      at
      org.jboss.ejb.plugins.jms.JMSContainerInvoker.createSess
      ionPool(JMSContainerInvoker.java:1003)
      at
      org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreat
      e(JMSContainerInvoker.java:644)
      at
      org.jboss.ejb.plugins.jms.JMSContainerInvoker.startServic
      e(JMSContainerInvoker.java:674)
      at
      org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionL
      istenerImpl.onException(JMSContainerInvoker.java:1173)
      at
      org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run
      (JMSContainerInvoker.java:686)

      When setting the Consumer to destination-type "Topic"
      everything seems to work but it's not a correct
      configuration.

      Used:
      -Windows and Linux
      -Jboss 3.2.3
      -Oracle Patch 10g
      -JDK 1.4.2

            adrian.brock Adrian Brock (Inactive)
            sourceforge-user SourceForge legacy user (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: