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 Fri, 07 Oct 2005 22:25:19 GMT
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