Atomikos Forum

Atomikos not shutting down properly in Tomcat

Hi all,

I am trying to use Atomikos 3.7.0 in a web application deployed on Tomcat 6.0. Atomikos is complete configured in my web applications Spring (v3.0.5) application context. The issue I am having is that when my web application redeploys itself in Tomcat I get the following error:

ERROR: the specified log seems to be in use already. Make sure that no other instance is running, or kill any pending process if needed.
java.lang.RuntimeException: Log already in use?

However I believe the problem lies in the fact that Atomikos is not properly shutting down when the web application is being undeployed in Tomcat because I get the error:

SEVERE: The web application [] appears to have started a thread named [Atomikos:0] but has failed to stop it. This is very likely to create a memory leak.

On my UserTransactionServiceImpl and UserTransactionManager bean definitions I specified both the init-method and destroy-method attributes:
UserTransactionServiceImpl: init-method="init", destroy-method="shutdownForce"
UserTransactionManager: init-method="init", destory-method="destory"

Any ideas on how to solve this?

Thanks in advance,
Mark
Mark Stewart Send private email
Wednesday, July 20, 2011
 
 
For this I recommend purchasing developer access - it most likely requires thorough scans through your configuration and log files to get this fixed.
Guy Pardon Send private email
Monday, July 25, 2011
 
 

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

Other recent topics Other recent topics