axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa_abeysin...@yahoo.com>
Subject Re: libaxis_LibWWWTransport.so don't work
Date Mon, 23 Aug 2004 01:20:24 GMT
Looking at the trace, it seems that there is something going wrong when it tries to laod the
LibWWW based transport library.
I can think of 2 possible reasons.
1. The program cannot locate the LibWWW libraries in the system.
2. The /usr/local/Axis/lib/libaxis_LibWWWTransport.so file does not have read/execute permissions.


In case of apachectl crashing, please look in the apache error logs  and Axis error logs for
any
clues.

Thanks,
Samisa...

--- Anton Gusev <anton.gusev@ihep.ru> wrote:

> Hi, I install Axis C++ 1.3 Alpha successfuly, all looks fine, 
> but when i try use 
> Transport_http:/usr/local/Axis/lib/libaxis_LibWWWTransport.so
> in my axiscpp.conf file, then apachectl crashes, my ws-client application too:
> stack is:
> #0  0xb7535676 in __cxa_throw () from /usr/lib/libstdc++.so.5
> #1  0xb75a4d7b in axiscpp::SOAPTransportFactory::loadLib () at 
> ../SOAPTransportFactory.cpp:146
> #2  0xb75a4a85 in axiscpp::SOAPTransportFactory::initialize () at 
> ../SOAPTransportFactory.cpp:56
> #3  0xb7596c71 in initialize_module (bServer=0) at ../Axis.cpp:302
> #4  0xb75a0391 in Call (this=0x804d420) at Call.cpp:55
> #5  0xb75a1e4f in Stub (this=0x804d3d0, pcEndPointUri=0x804ae88 
> "http://140.109.98.130:80/axis/services/urn:EMS", eProtocol=APTHTTP) at 
> Stub.cpp:51
> #6  0x080493b6 in ?? ()
> #7  0x0804a614 in std::operator+<char, std::char_traits<char>, 
> std::allocator<char> > ()
> #8  0xb7359768 in __libc_start_main () from /lib/tls/libc.so.6
> #9  0x080492f1 in ?? ()
> 
> 
> In case of 
> Transport_http:/usr/local/Axis/lib/libaxis_transport.so
> apache running, but my application can't get long strings from web-service.
> 
> #0  0xb7535676 in __cxa_throw () from /usr/lib/libstdc++.so.5
> #1  0xb731fbfc in AxisTransport::getBytes (this=0x804f548, pcBuffer=0x8054e58 
> "", pSize=0xbfff99cc) at AxisTransport.cpp:207
> #2  0xb75692b1 in XMLParserExpat::parseNext (this=0x80508f0) at 
> XMLParserExpat.cpp:278
> #3  0xb7569112 in XMLParserExpat::next (this=0x80508f0, isCharData=true) at 
> XMLParserExpat.cpp:182
> #4  0xb75bc29e in axiscpp::SoapDeSerializer::getElementAsString 
> (this=0x80508b8, pName=0x804adb7 "getEventsReturn", pNamespace=0x0)
>     at SoapDeSerializer.cpp:2393
> #5  0xb75a0c16 in axiscpp::Call::getElementAsString (this=0x804f704, 
> pName=0x804adb7 "getEventsReturn", pNamespace=0x0) at Call.cpp:365
> #6  0x080498f2 in ?? ()
> #7  0x0804a657 in std::operator+<char, std::char_traits<char>, 
> std::allocator<char> > ()
> #8  0xb7359768 in __libc_start_main () from /lib/tls/libc.so.6
> #9  0x080492f1 in ?? ()
> 
> 
> Text of my simple-ws-client:
> 
> int 
> main(int argc, const char* argv[])
> {
> 
>         EventManageService *emsFORWORK = 
>                 new EventManageService(
>                         "http://140.109.98.130:80/axis/services/urn:EMS",
>                         (AXIS_PROTOCOL_TYPE) 1);
> 
> 
>         if( emsFORWORK == NULL )
>                 return  -1;
>         else{
>                 try{
>                         xsd__string QueryStr=       "//*"; 
> 
>                         string  retStrBuf;
> 
>                                 retStrBuf = emsFORWORK->getEvents( QueryStr );
> 
>                         cout    << "\ngetEvents's response:\n'"
>                            << retStrBuf << "'\n\n";
> 
>                         cout    << "\ngetLatestEvent's response:\n'"
>                                 << emsFORWORK->getLatestEvent() << "'\n\n";
> 
> 
>                 }catch(...){
> 
>                         char    *ppcDetail[256];
>                         int     axisErr= 
>                                  emsFORWORK->getFaultDetail( ppcDetail );
> 
>                         cerr << "\nEventManageService fault with error"      	
> 				<< endl
>                                 << "\tcode = "          << axisErr      
       	
> 				<< endl
>                                 << "\tdetails: '"       << (*ppcDetail) <<"'"
  
> 				<< endl ;
>                 }
> }
>          delete  emsFORWORK;
>          return 0;
> }
> 
> 



		
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

Mime
View raw message