Atomikos Forum |
Hi, this is my tm.out.
08-05-09 17:00:48,989 [main] XACART1: refreshed XAResource 08-05-09 17:00:49,394 [main] USING com.atomikos.icatch.soap_commit_protocols = atomikos,wsat 08-05-09 17:00:49,394 [main] USING com.atomikos.icatch.console_file_name = tm.out 08-05-09 17:00:49,394 [main] USING com.atomikos.icatch.console_file_count = 1 08-05-09 17:00:49,394 [main] USING com.atomikos.icatch.automatic_resource_registration = true 08-05-09 17:00:49,394 [main] USING com.atomikos.icatch.client_demarcation = false 08-05-09 17:00:49,394 [main] USING com.atomikos.icatch.soap_request_threads = 1 08-05-09 17:00:49,394 [main] USING com.atomikos.icatch.threaded_2pc = true 08-05-09 17:00:49,394 [main] USING com.atomikos.icatch.soap_host_address = xxx.xxx.xxx.xxx 08-05-09 17:00:49,394 [main] USING com.atomikos.icatch.serial_jta_transactions = false 08-05-09 17:00:49,394 [main] USING com.atomikos.icatch.log_base_dir = ./atomikos 08-05-09 17:00:49,394 [main] USING com.atomikos.icatch.console_log_level = debug 08-05-09 17:00:49,394 [main] USING com.atomikos.icatch.max_actives = 50 08-05-09 17:00:49,394 [main] USING com.atomikos.icatch.soap_port = 8088 08-05-09 17:00:49,410 [main] USING com.atomikos.icatch.checkpoint_interval = 500 08-05-09 17:00:49,410 [main] USING com.atomikos.icatch.enable_logging = true 08-05-09 17:00:49,410 [main] USING com.atomikos.icatch.output_dir = ./atomikos 08-05-09 17:00:49,410 [main] USING com.atomikos.icatch.log_base_name = tmlog 08-05-09 17:00:49,410 [main] USING com.atomikos.icatch.console_file_limit = -1 08-05-09 17:00:49,410 [main] USING com.atomikos.icatch.max_timeout = 3600000 08-05-09 17:00:49,410 [main] USING java.naming.factory.initial = com.sun.jndi.rmi.registry.RegistryContextFactory 08-05-09 17:00:49,410 [main] USING com.atomikos.icatch.tm_unique_name = SRICDIFF 08-05-09 17:00:49,410 [main] USING java.naming.provider.url = rmi://localhost:1099 08-05-09 17:00:49,410 [main] USING com.atomikos.icatch.service = com.atomikos.icatch.standalone.UserTransactionServiceFactory 08-05-09 17:00:51,140 [main] Coordinator not recoverable: SRICDIFF0000100001 08-05-09 17:00:51,249 [main] XACART: refreshed XAResource 08-05-09 17:00:53,992 [main] XADIFF: refreshed XAResource 08-05-09 17:00:53,992 [main] Coordinator not recoverable: SRICDIFF0000100001 08-05-09 17:01:51,146 [Atomikos:0] Rollback of timedout ACTIVE coordinator !
Hi,
Transactions work well, rollback and commit on my Oracle databases are OK. I don't understand very well how to configure jta.properties for logging more informations in debug mode. This is my jta.properties: com.atomikos.icatch.service=com.atomikos.icatch.standalone.UserTransactionServiceFactory com.atomikos.icatch.console_file_name = tm.out com.atomikos.icatch.log_base_name = tmlog com.atomikos.icatch.output_dir = ./atomikos com.atomikos.icatch.log_base_dir = ./atomikos com.atomikos.icatch.tm_unique_name = SRICDIFF com.atomikos.icatch.console_log_level = debug com.atomikos.icatch.serial_jta_transactions=false com.atomikos.icatch.automatic_resource_registration=true com.atomikos.icatch.max_actives=50 com.atomikos.icatch.max_timeout=3600000 com.atomikos.icatch.enable_logging=true NB: Spring side the configuration is the same I found in the official wiki. I have only a trouble: what's the best practice to configure a Datasource to use only for selecting operations? I had configured it declaring a SimpleDataSourceBean and using the OracleXADataSource, but perhaps it is not necessary.
Thank you for your support, now application logs very well.
Now, I would to log using Log4J. I'm using 3.3 version of Atomikos and I added the file slf4j-log4j12-1.4.3.jar to my classpath. In my log4j.properties I had the row 'log4j.logger.atomikos=DEBUG,ROOT', but application still logs in the file 'tm.out'. |