You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Roman Weidlich <ro...@gmx.at> on 2006/05/14 16:25:24 UTC
[Axis2] Multiple service instances
MyService (application scope) starts in its constructor a thread:
private static boolean first = true;
public MyService() {
if (first) {
Thread t = new Thread(this);
t.start();
first = false;
}
}
On redeploy (drop a new MyService.aar into axis2 services dir) and on
the next invocation the thread starts again!
It seems tomcat don't kill the thread started by MyService during
redeploy...