[ http://jira.jboss.com/jira/browse/JBAS-1119?page=history ]
     
Adrian Brock closed JBAS-1119:
------------------------------

     Resolution: Done
    Fix Version:  JBossAS-4.0.2RC1
                     (was: JBossAS-4.0.2 Final)

Fixed. It now checks the destination type.

> Queue-ConsumerBean starts TopicSession (Oracle Patch 10g)
> ---------------------------------------------------------
>
>          Key: JBAS-1119
>          URL: http://jira.jboss.com/jira/browse/JBAS-1119
>      Project: JBoss Application Server
>         Type: Bug
>   Components: JMS service
>     Reporter: SourceForge User
>     Assignee: Adrian Brock
>      Fix For:  JBossAS-4.0.2RC1

>
>
> 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:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to