Atomikos Forum |
|
Hello community!
I'm using 3.8.0 atomicos, spring 3.1.1, Tomcat 7. Oracle 11. My server could not be stopped well (2-3 minutes).Only with command 'kill'. There are a lot of transactions on Oracle. But I don't want kill process because some transactions on oracle can be stay alive without session!!!! This is a big problem so I need to stop application without forcing shutdown transactions. my conf looks like: <bean id="userTransactionService" class="com.atomikos.icatch.config.UserTransactionServiceImp" init-method="init" destroy-method="shutdownForce"> <constructor-arg> <props> <prop key="com.atomikos.icatch.service"> com.atomikos.icatch.standalone.UserTransactionServiceFactory </prop> <prop key="com.atomikos.icatch.max_actives">500</prop> <prop key="com.atomikos.icatch.max_timeout">${db_transaction_timeout.all:3600000}</prop> <prop key="com.atomikos.icatch.force_shutdown_on_vm_exit">false</prop> <prop key="com.atomikos.icatch.enable_logging">true</prop> </props> </constructor-arg> </bean> So,why does it takes a long time? Does anebody have ideas or hints abount configuration? Thanks a lot.
If shutdown blocks then there must have been active transactions. Either you wait for them to finish, or you kill the process, but you can't have both :-)
Alternatively, you could pursue a professional subscription to get our support in minimising the cases where active transactions stay around (by tuning your configuration). Best |