Hi all,
I'm creating a cluster that contains application with JMS.
I've create the resources:
${ASADMIN_HOME} create-jms-resource --target gfCluster --restype
javax.jms.QueueConnectionFactory --description "connection factory for
process plugin project" --property jdni_name=jms/QueueConnectionFactory
jms/QueueConnectionFactory;
${ASADMIN_HOME} create-jms-resource --target gfCluster --restype
javax.jms.Queue --property Name=PluginMetricsQueue jms/PluginMetricsQueue;
And I have this snip of code
connection = connectionFactory.createConnection();
session = connection.createSession(false,Session.AUTO_ACKNOWLEDGE);
When the session is created I got:
SEVERE: Exception occurred, reason: {}
com.sun.messaging.jms.JMSException: MQRA:CA:createSession failed-Only one
JMS Session allowed when managed connection is involved in a transaction
at
com.sun.messaging.jms.ra.ConnectionAdapter.createSession(ConnectionAdapter.java:338)
Can you help me?
Thanks in advance,
Mauricio