axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "colin.ke (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIS2-5852) 'Axis2 task' threads stays in waiting state without terminating
Date Fri, 09 Jun 2017 10:16:18 GMT
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message