Re: Memory leaks

2005-12-21 Thread Tomaz Rotovnik
Hi   I posted similar question couple of weeks ago. I tried with tools that could detect memory leaks and I get hints about using noncompatible commands for allocating memory (using operator new for allocating and then free for dealocating). I checked the source code and I find no such case

Loading HTTPChannel.dll multiple times

2005-11-22 Thread Tomaz Rotovnik
ct is created inside callback function is also destroyed when the function returns. This means that HTTPChannel.dll will be called multiple times.   Is it possible to avoid multiple calls of loading library in multithreaded environment?   Best regards   Tomaz Rotovnik  

Memory Leak - solution

2005-11-01 Thread Tomaz Rotovnik
TRING: if (AxisEngine::m_bServer){delete [] const_cast(m_Value.pStrValue); }  break;   ... }    So allocated memory is only deleted when Axis is initialized as server. Why? With commenting this condition string data type is deleted with no memory leak. Is this wrong?   Best reg

Memory Leak

2005-10-28 Thread Tomaz Rotovnik
Hi again   I'm trying to solve the problem with the memory leak on the client side of axis library.   I've next function which is called in multithreaded way:   setReturnAddPointsParameter* pRAPP = NULL;MPBLPSoap pBLP_authorize(sMPG.strURL.c_str(), APTHTTP1_1);pBLP_authorize.Timeout(10);pRA

Re: Re: Memory Leak?

2005-10-27 Thread Tomaz Rotovnik
> which you can find in setReturnAddPointsParameter.cpp.>> I haven't been looking at XSD_DOUBLE etc but if you say that> these are created with new you are probably correct.>> /Anders>>>From: Tomaz Rotovnik <[EMAIL PROTECTED]>>>Reply-To: "Apache AXIS C User List

Re: Where to put AxisClient.dll?

2005-10-27 Thread Tomaz Rotovnik
Hi   You can also set Working directory in VS. Open menu Projects->Settings->Debug tab ->Working Directory In that directory than put all dll's needed for the project.   Best regards   Tomaz   - Original Message - From: Pico Florin To: Apache AXIS C User List Sent: Th

Re: Memory Leak?

2005-10-27 Thread Tomaz Rotovnik
not deleted. I have been requested to do a svn patch but as I am not working on the lastest version I have not found the time to do this. I will do it as soon as I can... /Anders From: "Tomaz Rotovnik" <[EMAIL PROTECTED]> Reply-To: "Apache AXIS C User List" To: &quo

Memory Leak?

2005-10-26 Thread Tomaz Rotovnik
Hi   I'm using axis 1.5 C++. When I tested my client (multithreaded) I found out that memory is growing with number of transactions. I read Axis C++ Memory Management Guide about De-allocation Semantics.   For example WSDL2XML generated this parts of code   Parameters that will be send over t

Re: Axis is unrecovered when errors occurs

2005-10-25 Thread Tomaz Rotovnik
r that the response content is maybe changed(but why?).    Regards,    Florin    Tomaz Rotovnik <[EMAIL PROTECTED]> wrote: I think the problem could be in requesting different parameters than those that are sent as response. I mean in (_responseHeader.getCh

Re: Axis is unrecovered when errors occurs

2005-10-25 Thread Tomaz Rotovnik
I think the problem could be in requesting different parameters than those that are sent as response. I mean in (_responseHeader.getChars() you have defined something else that is realy returned.   Tomaz   - Original Message - From: Pico Florin To: Apache AXIS C User Lis

Re: DLOPEN FAILED ... parser library

2005-10-24 Thread Tomaz Rotovnik
Hi I think I have the same problem. If you use original (you didn't compiled it) AxisXMLParserXerces.dll the name of xerces should be xerces-c_2_2_0.dll. Other way it is possible to get the following error. You can also try to compile AxisXMLParserXerces.dll by yourself wih newer version of x

Re: Why "m_pCall->initialize(CPP_RPC_PROVIDER))" fails?

2005-10-13 Thread Tomaz Rotovnik
gt;initialize(CPP_RPC_PROVIDER))" fails? Hmm, not quite clear on what you're saying here but if it helps I don't think we fixed the transport reload issue until post 1.5 "Tomaz Rotovnik" <[EMAIL PROTE

Re: Why "m_pCall->initialize(CPP_RPC_PROVIDER))" fails?

2005-10-12 Thread Tomaz Rotovnik
Hi   I tested again and I think I found the problem. First I used my compiled version of AxisClient.dll with AxisXMLParser.dll allready provided in axis version 1.5 + xerces-c_2_2_0. Each time I performed transaction, the HTTPChannel.dll librariy was loaded again and again.   Then I used my

Re: Why "m_pCall->initialize(CPP_RPC_PROVIDER))" fails?

2005-10-11 Thread Tomaz Rotovnik
Hi When I use multithreading on client side I found out that for each transaction HTTPChannel.dll library is loaded. Is this necessary? Why only this dll and not also AxisXMLParser and HTTPTransport? Best Regards Tomaz

Re: Why "m_pCall->initialize(CPP_RPC_PROVIDER))" fails?

2005-10-11 Thread Tomaz Rotovnik
Hi   I don't have problems with calling Axis::terminate(). But I call it after all Axis instances are already destroyed.     - Original Message - From: Pico Florin To: Apache AXIS C User List Sent: Tuesday, October 11, 2005 3:35 PM Subject: Re: Why "m_pCall->in

Re: Why "m_pCall->initialize(CPP_RPC_PROVIDER))" fails?

2005-10-11 Thread Tomaz Rotovnik
Hi   You need to include Axis.hpp in the main file.   If I'm not wrong than you should call Axis::initialize(false); before you use axis objects. In my example I call this in my main loop before I created threads in which I created pBLP = new Soap(s.strURL.c_str(), APTHTTP1_1);   When all th

Re: Why "m_pCall->initialize(CPP_RPC_PROVIDER))" fails?

2005-10-11 Thread Tomaz Rotovnik
where this happens. Thank you Tomaz - Original Message - From: "Samisa Abeysinghe" <[EMAIL PROTECTED]> To: "Apache AXIS C User List" Sent: Monday, October 10, 2005 3:51 PM Subject: Re: Why "m_pCall->initialize(CPP_RPC_PROVIDER))" fails?

Re: Why "m_pCall->initialize(CPP_RPC_PROVIDER))" fails?

2005-10-08 Thread Tomaz Rotovnik
he AXIS C User List" Sent: Saturday, October 08, 2005 12:25 AM Subject: Re: Why "m_pCall->initialize(CPP_RPC_PROVIDER))" fails? Tomaz Rotovnik wrote: Hi I've the same problem. Couple of days ago I send question about safe threading on client side. When I start debugging

Re: Why "m_pCall->initialize(CPP_RPC_PROVIDER))" fails?

2005-10-07 Thread Tomaz Rotovnik
Hi   I've the same problem. Couple of days ago I send question about safe threading on client side. When I start debugging I found out that call m_pCall->initialize(CPP_DOC_PROVIDER)) causes exception.   Then I enable possibility (uncomment) to print out possible exceptions in function Call

Safe threading - Client side

2005-10-05 Thread Tomaz Rotovnik
  Hello   I'm looking for some information's about running multiple calls in client side of axis. I'm using axis version 1.5. The problem is that when I call function again before it returns (in different thread) it returns exception when calling invoke method.   In main loop there is call t