I deleted your other post.
DO NOT CROSS POST - you just waste people's
time answering the same question. Also you make it twice has hard
for people to find the solution when they have the same problem.
If you are not going to use the jca connection factory java:/JmsXA
whose sessions get enlisted in the JTA transaction
you must commit the jms session manually
or not use a transacted session
queueSession = qc.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
There is no such binding as java:/UIL2ConnectionFactory, unless you
>If you are not going to use the jca connection factory java:/JmsXA
>whose sessions get enlisted in the JTA transaction
>you must commit the jms session manually
>or not use a transacted session
>queueSession = qc.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
>There is no such binding as java:/UIL2ConnectionFactory, unless you
How to create it? in jms-ds.xml ? What does < jndi-name > mean?
I assume that UIL2ConnectionFactory is the jndi-name of a connection factory which is bound into jboss jndi by MBeans defined in *-service.xml. Is this assumption correct?
Would you mind answer the following question in the original post?
(1) I assume that the first solution is to use the JCA managed connections defined in jms-ds.xml. And the second is use the connections provided by mbeans defined in *-service.xml . Is this assumption correct???????
(2)In jboss.xml file,
< resource-ref >
< res-ref-name >jms/LocalQueueConnectionFactory< /res-ref-name >
< jndi-name >UIL2ConnectionFactory< /jndi-name >
< /resource-ref >
when i use < jndi-name >, i assume that UIL2ConnectionFactory is bound by the MBeans defined in *-service.xml.
If i uncomment < resouce-name > and comment < jndi-name >, it works fine. I just want know what the < jndi-name > represents?
Thanks very much!
I understand now and fix the problem following your instruction..