Atomikos Forum


In the documentation for tm_unique_name, you say:

"Specifies the transaction manager's unique name. Defaults to the machine's IP address. If you plan to run more than one transaction manager against one database you must set this property to a unique value or you might run into duplicate transaction ID (XID) problems. "

As we are planning to run several applications under Tomcat in the same JVM, I assume that each application must have its own tm_unique_name, which I therefore set to the application's name.

Now, if one of these applications is clustered and running on different machines in the cluster: does the tm_unique_name have to be different for each instance of the clustered application? Or can all instances use the same?

best regards
Stefan Mader Send private email
Monday, August 16, 2010

It should be different for each instance in a cluster. Otherwise recovery will not be correct...

Guy Pardon Send private email
Monday, August 16, 2010

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics