I looked at the code in MessageDrivenMetaData.java and I added an 
<xa-connection>false</xa-connection> element to my jboss.xml for the MDB
and that seems to have taken care of the problem.

Ed 

-----Original Message-----
From: Ed Saikali 
Sent: Sunday, November 03, 2002 8:38 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Configuring a non XA JMS Connection Factory


Hi,

How do I tell jboss that my JMS provider does not support XA. I am
trying to use Fiorano with JBOSS and Fiorano does not support XA.My
problem is that the JBOSS JMS plugin gets a class cast exception because
it thinks that the ConnectionFactory it got from the Fiorano JNDI is an
XAConnectionFactory when it is only a ConnectionFactory. 
Here is my bean. 

 <!--  For Fiorano Adapter Written --> 
 <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
name="jboss.mq:service=JMSProviderLoader,name=FioranoAdapter">
          <attribute name="ProviderName">FioranoJMSProvider</attribute> 
          <attribute
name="ProviderAdapterClass">FioranoAdapter</attribute> 
          <attribute name="QueueFactoryRef">primaryQCF</attribute> 
          <attribute name="TopicFactoryRef">primaryTCF</attribute> 
          <attribute
name="ProviderUrl">http://localhost:1856</attribute> 
  </mbean>



 <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
         name="jboss.mq:service=JMSProviderLoader,name=JBossMQProvider">
    <attribute name="ProviderName">DefaultJMSProvider</attribute>
    <attribute name="ProviderAdapterClass">
      org.jboss.jms.jndi.JBossMQProvider
    </attribute>
    <attribute
name="QueueFactoryRef">java:/XAConnectionFactory</attribute>
    <attribute
name="TopicFactoryRef">java:/XAConnectionFactory</attribute>
  </mbean>

Thanks
Ed 


-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to