colin.ke created AXIS2-5852:
-------------------------------

             Summary:  'Axis2 task' threads stays in waiting state without 
terminating
                 Key: AXIS2-5852
                 URL: https://issues.apache.org/jira/browse/AXIS2-5852
             Project: Axis2
          Issue Type: Bug
            Reporter: colin.ke
         Attachments: 无标题.png

I call webservice asynchronous,but found when I start a new call,a new "axis2 
task"is genereted and this thread is stays in waiting state without terminating
my axis version is :1.7.5
here is my code:
 Options option = sub._getServiceClient().getOptions();
        HttpTransportPropertiesImpl.Authenticator auth = new 
HttpTransportPropertiesImpl.Authenticator();
        EndpointReference targetEPR = new EndpointReference(url);
        option.setTo(targetEPR);
        option.setTimeOutInMilliSeconds(timeout);
        auth.setPreemptiveAuthentication(true);
        auth.setUsername(userName);
        auth.setPassword(password);
        option.setProperty(HTTPConstants.AUTHENTICATE, auth);
option.setProperty(HTTPConstants.HEADER_CONNECTION, 
HTTPConstants.HEADER_CONNECTION_CLOSE);
      option.setProperty(HTTPConstants.AUTO_RELEASE_CONNECTION, Boolean.TRUE);
        option.setCallTransportCleanup(true);

sub.startlaunchVXML(launchVXMLRequest, new OutCallbackHandler());



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to