com.swiftmq.connector.v15.outbound.ConnectionFactoryImpl cannot be cast to javax.jms.XAConnectionFactory

View: New views
2 Messages — Rating Filter:   Alert me  

com.swiftmq.connector.v15.outbound.ConnectionFactoryImpl cannot be cast to javax.jms.XAConnectionFactory

by bryanbj :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi, hi,

when I am trying to deploy a very simple MDB into weblogic, using swiftmq as resource adapter, it shows the following warning:

[EJB:015027]The Message-Driven EJB is transactional but JMS connection factory referenced by the JNDI name: jms/ConnectionFactory is not a JMS XA connection factory. NestedException Message is :com.swiftmq.connector.v15.outbound.ConnectionFactoryImpl cannot be cast to javax.jms.XAConnectionFactory


and my configuration in weblogic-ra.xml is:

 <outbound-resource-adapter>
        <default-connection-properties>
            <pool-params>
                <initial-capacity>20</initial-capacity>
           <max-capacity>100</max-capacity>
                <capacity-increment>2</capacity-increment>
                <shrinking-enabled>true</shrinking-enabled>
                <shrink-frequency-seconds>60</shrink-frequency-seconds>
            </pool-params>
            <transaction-support>XATransaction</transaction-support>
        </default-connection-properties>
 
        <connection-definition-group>
        <connection-factory-interface>javax.jms.ConnectionFactory</connection-factory-interface>
        <connection-instance>
            <jndi-name>jms/ConnectionFactory</jndi-name>
        </connection-instance>
    </connection-definition-group>
  </outbound-resource-adapter>



does anyone know how to solve this problem?

thx ~

Re: com.swiftmq.connector.v15.outbound.ConnectionFactoryImpl cannot be cast to javax.jms.XAConnectionFactory

by IIT Software :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 
bryanbj wrote:
        <connection-definition-group>
        <connection-factory-interface>javax.jms.ConnectionFactory</connection-factory-interface>
        <connection-instance>
            <jndi-name>jms/ConnectionFactory</jndi-name>
        </connection-instance>
    </connection-definition-group>
  </outbound-resource-adapter>