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 of MyService the old thread is still running!

It seems tomcat don't kill the thread started by MyService before.

Reply via email to