[jboss-jira] [JBoss JIRA] Created: (JBAS-5949) Queue-ConsumerBean always starts TopicSession (Oracle Patch 10g)

a a (JIRA) jira-events at lists.jboss.org
Thu Sep 11 07:03:38 EDT 2008


Queue-ConsumerBean always starts TopicSession (Oracle Patch 10g)
----------------------------------------------------------------

                 Key: JBAS-5949
                 URL: https://jira.jboss.org/jira/browse/JBAS-5949
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: JMS (JBossMQ)
            Reporter: a a
            Assignee: Adrian Brock


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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list