Menu

#2075 Queue-ConsumerBean starts TopicSession (Oracle Patch 10g)

closed-postponed
nobody
5
2005-02-22
2004-10-07
No

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

Discussion

  • Adrian Brock

    Adrian Brock - 2004-10-12
    • labels: 316841 -->
    • milestone: 228434 -->
     
  • Rob v.d. Boom

    Rob v.d. Boom - 2004-11-16
    • labels: --> 324883
     
  • Adrian Brock

    Adrian Brock - 2004-11-16
    • labels: 324883 --> JBossServer
     
  • Adrian Brock

    Adrian Brock - 2005-02-22
    • status: open --> closed-postponed
     
  • Adrian Brock

    Adrian Brock - 2005-02-22

    Logged In: YES
    user_id=9459

    All issues have been moved to http://jira.jboss.com. Existing
    issues have been moved. New issues will be closed with this
    canned reponse.

     

Log in to post a comment.

Monday.com Logo