You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by ax...@ws.apache.org on 2004/10/05 09:29:31 UTC

[jira] Created: (AXISCPP-185) class Channel may be close a socket twice

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-185

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-185
    Summary: class Channel may be close a socket twice
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis-C++
 Components: 
             Transport (Client)
   Versions:
             1.2 Beta

   Assignee: 
   Reporter: MENG Xinxin

    Created: Tue, 5 Oct 2004 12:28 AM
    Updated: Tue, 5 Oct 2004 12:28 AM
Environment: windows 2000 

Description:
when create a service that call another Web service, the service lost connect to a client.

cause: in windows, call Channel::CloseChannel() twice(one from fini(), the other from destructor ) may cause WSACleanup() be called twice for single WSAStartup().





---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (AXISCPP-185) class Channel may be close a socket twice

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXISCPP-185?page=history ]
     
Samisa Abeysinghe closed AXISCPP-185:
-------------------------------------


Rgression tets are successful

> class Channel may be close a socket twice
> -----------------------------------------
>
>          Key: AXISCPP-185
>          URL: http://nagoya.apache.org/jira/browse/AXISCPP-185
>      Project: Axis-C++
>         Type: Bug
>   Components: Transport (Client)
>     Versions: 1.2 Beta
>  Environment: windows 2000 
>     Reporter: MENG Xinxin
>     Assignee: Samisa Abeysinghe
>      Fix For: current (nightly)

>
> when create a service that call another Web service, the service lost connect to a client.
> cause: in windows, call Channel::CloseChannel() twice(one from fini(), the other from destructor ) may cause WSACleanup() be called twice for single WSAStartup().

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-185) class Channel may be close a socket twice

Posted by ax...@ws.apache.org.
The following comment has been added to this issue:

     Author: MENG Xinxin
    Created: Tue, 5 Oct 2004 12:30 AM
       Body:
this bug casued by a Axis C++ web service that embed an axis c++ client. 
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXISCPP-185?page=comments#action_53705

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-185

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-185
    Summary: class Channel may be close a socket twice
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis-C++
 Components: 
             Transport (Client)
   Versions:
             1.2 Beta

   Assignee: 
   Reporter: MENG Xinxin

    Created: Tue, 5 Oct 2004 12:28 AM
    Updated: Tue, 5 Oct 2004 12:30 AM
Environment: windows 2000 

Description:
when create a service that call another Web service, the service lost connect to a client.

cause: in windows, call Channel::CloseChannel() twice(one from fini(), the other from destructor ) may cause WSACleanup() be called twice for single WSAStartup().





---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXISCPP-185) class Channel may be close a socket twice

Posted by ax...@ws.apache.org.
Message:

   The following issue has been resolved as FIXED.

   Resolver: Samisa Abeysinghe
       Date: Tue, 5 Oct 2004 1:39 AM

I changed the logic in closeChannel method of Channel class (for both axis and axis2 transports) to check for valid socket before closing.
This eliminates calling WSACleanup() multiple times, in case the socket is already closed.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-185

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-185
    Summary: class Channel may be close a socket twice
       Type: Bug

     Status: Resolved
   Priority: Major
 Resolution: FIXED

    Project: Axis-C++
 Components: 
             Transport (Client)
   Fix Fors:
             current (nightly)
   Versions:
             1.2 Beta

   Assignee: Samisa Abeysinghe
   Reporter: MENG Xinxin

    Created: Tue, 5 Oct 2004 12:28 AM
    Updated: Tue, 5 Oct 2004 1:39 AM
Environment: windows 2000 

Description:
when create a service that call another Web service, the service lost connect to a client.

cause: in windows, call Channel::CloseChannel() twice(one from fini(), the other from destructor ) may cause WSACleanup() be called twice for single WSAStartup().





---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira