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] [Updated] (AXIS2-5852) 'Axis2 task' threads stays in waiting state without terminating
Date Fri, 09 Jun 2017 11:27:18 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-5852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

colin.ke updated AXIS2-5852:
----------------------------
    Description: 
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);
sub.startlaunchVXML(launchVXMLRequest, new OutCallbackHandler());

  was:
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);


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


>  '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);
> 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