-
1. Re: local tx question
juha Feb 13, 2004 3:46 AM (in response to yxyang)PostgreSQL does not support two phase commit, see the FAQ for more information.
-
2. Re: local tx question
yxyang Feb 13, 2004 4:15 AM (in response to yxyang)hI,
Thanks for replying.
Actually i don't require JMS to support transaction. But I need OTHER connection management features SUCH AS CONNECTION POOLING.
in the jms-ds.xml file, there are following codes:
< tx-connection-factory>
< jndi-name>JmsXA< /jndi-name>
< xa-transaction/ >
< adapter-display-name>JMS Adapter< /adapter-display-name>
< config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic< /config-property>
< security-domain-and-application>JmsXARealm< /security-domain-and-application>
< /tx-connection-factory>
If i just remove the "< xa-transaction/ >", does this mean the connection is still managed properly and without transaction feature.
Or I just need to set the JNDI in jboss.xml file to be one of value set in the uil2-service.xml file? (I mean there is no need to use jms-ds.xml file).
Thanks
yang -
3. Re: local tx question
yxyang Feb 13, 2004 5:38 AM (in response to yxyang)Hi,
I try to modify my jboss.xml file so that it includes :
< resource-ref >
< res-ref-name>jms/LocalQueueConnectionFactory< /res-ref-name>
< jndi-name>java:/ConnectionFactory< /jndi-name>
< /resource-ref>
I try to use jndi-name here instead of using resource-name.
But the jms client running in another JVM cannot receive the message in the jboss queue.
Any suggestion!
yang -
4. Re: local tx question
kabirkhan Feb 13, 2004 9:45 AM (in response to yxyang)Which Invokation Layer are you using? AFAIK the default in JBoss 3.2.3 is the JVM IL, which is the fastest but requires the JMS client and server to run in the same JVM.
IF (!!!) I remember correctly, when we were trying out the different ILs, we changed the QueueFactoryRef and TopicFactoryRef attributes of the JMSProviderLoader MBean config in:
server/default/deploy/jms/jms-ds.xml
The different Invokation Layers are defined in:
server/default/deploy/jms/xxx-il-service.xml