Atomikos Forum

Disable recovery functionality?

Hi,

We're using Atomikos to get a standalone XA transaction manager, mainly as we need distributed transactions. A feature we're however not interested in, is recovery.

We also have limitation in our infrastructure, disallowing us grants to Oracle sys schemas. As a result, we get the Error in recovery exceptions.

Is there any way to surpress these messages? Other than our current solution of configuring log4j not to log WARN on 'atomikos' (which affects every atomikos log).

Ideally we would like to disable the recovery functionality, but other suggestions are welcome!

Best regards,
--peter
Peter Jansson Send private email
Monday, February 22, 2010
 
 
Hi,

Did you try

com.atomikos.icatch.enable_logging=false

in jta.properties?

HTH
Guy Pardon Send private email
Monday, February 22, 2010
 
 
Hi!

Thanks for the quick answer!

However, tried setting it in the transaction.properties file (couldn't get it to find the jta.properties file I created), seems to load it but no effect on the logging. This is from our log:

10:14:55,811  INFO main atomikos:85 - USING com.atomikos.icatch.enable_logging = false
...
10:14:56,186  WARN main atomikos:82 - COMMON: refreshed XAResource
10:14:56,264  WARN main atomikos:82 - Error in recovery
javax.transaction.xa.XAException
....

Any suggestions?

Regards,
--peter
Peter Jansson Send private email
Wednesday, February 24, 2010
 
 
Hi,

I see. Well you can't disable the recovery triggered by startup of a resource connector (Datasource, ConnectionFactory).

Since we do JTA/XA, we do recovery too. What would warrant omitting recovery and still justify JTA?

Thanks
Guy Pardon Send private email
Wednesday, February 24, 2010
 
 

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

Other recent topics Other recent topics