Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 49008 invoked from network); 6 Jan 2005 12:34:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Jan 2005 12:34:27 -0000 Received: (qmail 36375 invoked by uid 500); 6 Jan 2005 12:34:24 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 36341 invoked by uid 500); 6 Jan 2005 12:34:24 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 36300 invoked by uid 99); 6 Jan 2005 12:34:23 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.opensource.lk (HELO squid.cmb.ac.lk) (202.51.147.3) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 06 Jan 2005 04:34:22 -0800 Received: from [192.168.101.20] ([220.247.226.224]) by squid.cmb.ac.lk (8.12.9/8.12.9) with ESMTP id j06ChC8Z089184; Thu, 6 Jan 2005 18:43:16 +0600 (LKT) (envelope-from roshan@opensource.lk) Subject: Re: Bug with Latest CVS From: Roshan Weerasuriya To: Apache AXIS C Developers List Cc: axis-c-user@ws.apache.org In-Reply-To: <1105012890.1114.37.camel@localhost.localdomain> References: <1105010048.1114.28.camel@localhost.localdomain> <1105012890.1114.37.camel@localhost.localdomain> Content-Type: text/plain Organization: Message-Id: <1105014850.1114.43.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 06 Jan 2005 18:34:10 +0600 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N hi All, When I revert back to the earlier versions of the c/src/transport/axis2 Axis2Transport.cpp Channel.cpp Channel.h files (i.e the versions of these files before this perticular commit) the samples started running. So there is a problem with this change (commit) done by Samisa. Until this problem is corrected, any one who use the CVS head source, can get the previous versions of these 3 files and build and run your code. Samisa, any idea about this problem? Rgds, Roshan On Thu, 2005-01-06 at 18:01, Roshan Weerasuriya wrote: > hi All, > > Samisa had made a change to the Channel.cpp yesterday. > //----- > samisa 2005/01/05 03:32:22 > > Modified: c/src/transport/axis2 Axis2Transport.cpp Channel.cpp > Channel.h > Log: > Fixed proxy support. Tests were successful. > > Revision Changes Path > 1.36 +18 -3 ws-axis/c/src/transport/axis2/Axis2Transport.cpp > > Index: Channel.cpp > =================================================================== > RCS file: /home/cvs/ws-axis/c/src/transport/axis2/Channel.cpp,v > retrieving revision 1.11 > retrieving revision 1.12 > diff -u -r1.11 -r1.12 > --- Channel.cpp 4 Jan 2005 18:26:24 -0000 1.11 > +++ Channel.cpp 5 Jan 2005 11:32:22 -0000 1.12 > @@ -148,18 +148,25 @@ > sockaddr_in svAddr; > struct hostent * pHostEntry = NULL; > > + const char* host = m_URL.getHostName(); > + unsigned int port = m_URL.getPort(); > + if (m_bUseProxy) > + { > + port = m_uiProxyPort; > + host = m_strProxyH > ..... > ......... > ........... > > //----- > > Can this have any effect to this issue. > > Roshan > > On Thu, 2005-01-06 at 17:14, Roshan Weerasuriya wrote: > > hi Rinsad and John, > > > > I took a new CVS update to see whether it is a problem and I too find a > > prblem with the latest CVS source. > > > > The latest CVS source code fails, the following is the stack trace. > > Channel::open() line 182 > > Axis2Transport::flushOutput() line 202 + 25 bytes > > axiscpp::SoapSerializer::markEndOfStream() line 267 + 25 bytes > > axiscpp::ClientAxisEngine::invoke(axiscpp::MessageData * 0x00305b70) > > line 194 > > axiscpp::ClientAxisEngine::process(axiscpp::SOAPTransport * 0x00762e40) > > line 115 + 20 bytes > > axiscpp::Call::invoke(axiscpp::Call * const 0x00302fa0) line 134 + 26 > > bytes > > Calculator::add(int 10, int 20) line 47 + 20 bytes > > > > The problem is occuring when it tries to connect. (in the Channel::open > > () method at the following line). > > if( connect( m_Sock, (struct sockaddr *) &svAddr, sizeof (svAddr)) == > > SOCKET_ERROR) > > > > Any ideas abt what went wrong , we started encountering this problem on > > 5thJan2005 around 12.30 GMT > > > > Roshan > > > > > > On Thu, 2005-01-06 at 15:47, John Hawkins wrote: > > > > > > > > > This message occurs when you have a problem opening the connection (as > > it > > > says) and the message is what it says i.e. for some reason it can't > > open > > > the connection to your localhost - you got a firewall? or your server > > is > > > down? > > > > > > We've run all our tests on CVS code from about 10 hours before your > > > checkout and ours is fine. > > > > > > We'll be running our tests in about two hours so we can tell you then > > > whether the latest code has a problem too. > > > > > > > > > John Hawkins > > > > > > > > > > > > > > > > > > "Rinsad > > Ahmed" > > > > > > > > > e.lk> To > > > > > axis-c-user@ws.apache.org > > > 06/01/2005 > > 04:42 cc > > > > > > > > Subject > > > Please respond to Bug with Latest > > CVS > > > "Apache AXIS > > C > > > User > > List" > > > > > > > > > > > > > > > > > > > > > > > > > > > Hi, > > > The latest cvs update int the morning builds fine. But when the client > > is > > > run,it gives a TransportException as follows > > > > > > Exception : AxisTransportException:Unknown Transport Exception failed > > to > > > open > > > connection to server: > > > hostname='localhost' > > > port='8080' > > > Error Message='No connection could be > > made > > > because the target machine actively refused it. > > > ' Error Code='10061' > > > > > > Is there anybody who came accross same problem > > > > > > Regards > > > Rinsad > > > > > > > > > > > > > > >