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/03/01 20:10:46 UTC

[Axis2] Windows thread problem

hi,

i have a problem with not closed threads! i wrote a web
service which invokes other web services. every time the initial web
service is executed two new threads arise outlined in the "Task-Manager"
(ctrl-alt-del) under processes in the column "Threads". My web service
crashes due to an overrun of the java-heap (says the jdk). The published 
method of the inital web service does that:

public String say(String data) {

   // first invocation of another web service
   String address =
     invokeEchoBlocking(masteruri, "getEndpoint", "WebService1");

   // store endpoint for next invocation
   EndpointReference er = new EndpointReference(address);

   // second invocation of another web service
   String temp = invokeEchoBlocking(er, "say", data);

   return temp;
}


So if method "say" executes to other web services be used. every 
involved web service is hosted inside its own tomcat.

It seems the two additional opened threads belong to the two invocations 
in "say"!?

If this is a major bug in Axis2, I sadly must step back to Axis1 for my 
project...