--- On Tue, 4/28/09, Jay <[email protected]> wrote:
From: Jayashree Krishnamoorthy <[email protected]> Subject: [Axis2] single wsdl, multiple operations -- tomcat running out of thread To: [email protected] Date: Tuesday, April 28, 2009, 4:05 PM Hi I have 2 operations in a single wsdl and the client code is as follows: this.port = new HelloWorldStub(); ServiceClient serviceClient = port._getServiceClient(); Options options = serviceClient.getOptions(); if ( this.url != null ) { EndpointReference epr = new EndpointReference( this.url ); options.setTo( epr ); } options.setProperty(HTTPConstants.REUSE_HTTP_CLIENT, Boolean.TRUE); public sayHello1() { port.sayHello1(); } public sayHello2() { port.sayHello2(); } During load test, Address_Already_Bound error was getting thrown. So the Reuse Option was set. However now, the tomcat runs of thread and the thread dump has the following message: "http-80-Processor36" prio=5 tid=63 @@@@ WAITING at java.lang.Object.wait(Native Method) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:509) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:394) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:152) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:558) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:176) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:73) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:305) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:201) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:452) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:330) at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294) at com.xxx.hello.HelloServiceStub.changePassword(HelloServiceStub.java:288) I am really clueless about what the issue is. Read through different forums and link and got confused. Greatly appreciate help and this issue is happening in production. :-(( Product Stack: Axis2 1.3, Tomcat 5.5, Java 5 Thanks in advance Jay
