Hi 

I am trying to set up XaPooledConnectionFactory as a JNDI resource rather
than defining it in Spring.  Hibernate Search uses JNDI to look up jms
connection factory.  Normal connection factory works fine but XA doesnt. 
The following provides what i'm trying to do:

        <Resource name="jms/xaConnectionFactory" auth="Container"
type="org.jencks.amqpool.XaPooledConnectionFactory"
        description="JMS xa Connection Factory"
factory="org.apache.activemq.jndi.JNDIReferenceFactory"
        brokerURL="tcp://localhost:5000?trace=true"
brokerName="LocalActiveMQBroker"
        transactionManager="UserTransaction"/>

in my context.xml file.  UserTransaction is jndi defined as well. I know I'm
doing something wrong but I'm not sure.  Any help would be highly
appreciated.

Cheers
Amin
-- 
View this message in context: 
http://www.nabble.com/XaPooledConnectionFactory-JNDI-Set-Up-tp25696833p25696833.html
Sent from the jencks - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to