axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa.abeysin...@gmail.com>
Subject Re: Why "m_pCall->initialize(CPP_RPC_PROVIDER))" fails?
Date Sat, 08 Oct 2005 10:29:56 GMT
Tomaz Rotovnik wrote:

>
> Samisa thank you for response.
>
> I have right location of channel library dfined in "axiscpp.conf". 
> When I run the program and calling one function every 300ms, it 
> crashes (randomly) after some calls were done succesfully, but with 
> the same error. Function is also synchronized (using mutex) so it can 
> only be processed only one at the time.

OK I get it now. So there is a threading issue in loading the parser lib.
Please create a Jira issue 
(http://issues.apache.org/jira/browse/AXISCPP) and attach your WSDL and 
the client code so that the developers could have a look into this.

Thanks,
Samisa...

>
> So I think the problem is in loading library very often, but I don't 
> how to solve the problem.
>
> Best regards
>
> Tomaz
>
>
> ----- Original Message ----- From: "Samisa Abeysinghe" 
> <samisa.abeysinghe@gmail.com>
> To: "Apache AXIS C User List" <axis-c-user@ws.apache.org>
> 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 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:initialize().
>>> Exception that I get was: DLOPEN FAILED in loading channel library.
>>
>>
>> This basically means that the client cannot locate the channel 
>> library specified in axiscpp.conf.
>> Have a look at the axiscpp.conf to see what you have set as the 
>> location of the channel library. Then ensure that it is there.
>> You got to do the same for the parser library.
>>
>> Thanks,
>> Samisa...
>>
>>>  I'm not sure yet if this exception was thrown by 
>>> axis3\ChannelFactory.cpp file.
>>>  Functions that are called are:
>>> openConnection calls
>>> setTransportProperty(CHANNEL_HTTP_DLL_NAME,...
>>>     HTTPTransport::setTransportProperty calls
>>>        LoadChannelLibrary
>>>  I repeat experiment (multiple calls on separately created Call 
>>> objects) couple of times with same error report.
>>>  Now I'm looking for solution.
>>>  Could you check if the problem is same with your code?
>>>
>>>     ----- Original Message -----
>>>     *From:* Pico Florin <mailto:picoflorin@yahoo.co.uk>
>>>     *To:* Apache AXIS C User List <mailto:axis-c-user@ws.apache.org>
>>>     *Sent:* Friday, October 07, 2005 3:53 PM
>>>     *Subject:* Why "m_pCall->initialize(CPP_RPC_PROVIDER))" fails?
>>>
>>>     Hi!
>>>
>>>       I've tested my example in different ways of implementation. Some
>>>     of them fail on this snippet
>>>
>>>
>>>
>>>     if (AXIS_SUCCESS != m_pCall->initialize(CPP_RPC_PROVIDER)) {
>>>        return NULL;
>>>      }
>>>
>>>
>>>     leading to :
>>>
>>>
>>>     "Unknown exception has occured". What are the reasons for this
>>>     failures? Just to know better how to avoid this situation.
>>>
>>>          Thank you,
>>>
>>>               Florin
>>>
>>>
>>>
>>>
>>>
>>>
>>>     
>>> ------------------------------------------------------------------------ 
>>>
>>>     How much free photo storage do you get? Store your holiday snaps
>>>     for FREE with Yahoo! Photos. *Get Yahoo! Photos*
>>>
>>> <http://us.rd.yahoo.com/mail/uk/taglines/default/photos/*http://uk.photos.yahoo.com/>

>>>
>>>
>>
>>
>
>


Mime
View raw message