axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Hawkins <HAWKI...@uk.ibm.com>
Subject Re: SIGABRT on Axis C++ client
Date Thu, 25 May 2006 11:48:03 GMT
Hi,

I notice that the transport lib path isn't the same as the parser libs 
/usr/local/sbin/axis-cpp/lib/axis/libaxis_xerces.so"
/usr/sbin/axis-cpp/lib/axis/libhttp_transport.so"

Is the http library in /usr/local/sbin... ?





"Ignacio Fernández Sánchez" <ignaciofedz@gmail.com> 
25/05/2006 11:39
Please respond to
"Apache AXIS C User List" <axis-c-user@ws.apache.org>


To
"Apache AXIS C User List" <axis-c-user@ws.apache.org>
cc

Subject
Re: SIGABRT on Axis C++ client






Hi...two days later I'm having problem executing the client web service. 
Now the AxisClientlog fails to open libhttp_transport.so, this is the 
message:

================================
[************ Start Display Current Environment ************
Axis C++ libraries built on Mar  3 2006 at 02:08:51
Runtime trace produced on Thu May 25 12:22:16 2006

PATH=/usr/local/sbin/ant-1_6_5/bin:/usr/local/java/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
LD_LIBRARY_PATH=/usr/local/sbin/xerces-2_2_0/lib:/usr/local/sbin/axis-cpp/lib/axis:
AXISCPP_DEPLOY=/usr/local/sbin/axis-cpp
PWD=/home/nacho/webServices/prueba3
CLASSPATH=/home/nacho/wsAxisCpp/axis-src/lib/axis/wsdl2ws.jar:/usr/local/sbin/axis-cpp/lib/axisjava/axis.jar:/usr/local/sbin/axis-cpp/lib/axisjava/wsdl4j.jar:/usr/local/sbin/axis-cpp/lib/axisjava/commons-discovery.jar:/usr/local/sbin/axis-cpp/lib/axisjava/commons-logging.jar:/usr/local/sbin/axis-cpp/lib/axisjava/log4j-1.2.8.jar:/usr/local/sbin/axis-cpp/lib/axisjava/saaj.jar:/usr/local/sbin/axis-cpp/lib/axisjava/jaxrpc.jar:/usr/local/sbin/ant-1_6_5/lib/ant.jar:/usr/local/sbin/ant-1_6_5/lib/xercesImpl.jar:/usr/local/sbin/ant-1_6_5/lib/xml-apis.jar:


USERNAME=nacho
LANG=es_ES@euro
LOGNAME=nacho
USER=nacho
************* End Display Current Environment *************
[25/05/2006 12:22:16:708 CEST] 1077393984 - I -------------- Config File 
settings START ----------------
[25/05/2006 12:22:16:708 CEST] 1077393984 AxisConfig > getAxisConfProperty 
@0x8051078,[00000000] <....>
[25/05/2006 12:22:16:708 CEST] 1077393984 AxisConfig < getAxisConfProperty 
@0x8051078,@1 <null>
[25/05/2006 12:22:16:708 CEST] 1077393984 - I AXCONF_WSDDFILEPATH = NULL
[25/05/2006 12:22:16:708 CEST] 1077393984 AxisConfig > getAxisConfProperty 
@0x8051078,[01000000] <....>
[25/05/2006 12:22:16:708 CEST] 1077393984 AxisConfig < getAxisConfProperty 
@0x8051078,@2 "/usr/local/sbin/axis-cpp/log/AxisLog"
[25/05/2006 12:22:16:708 CEST] 1077393984 - I AXCONF_LOGPATH = 
/usr/local/sbin/axis-cpp/log/AxisLog
[25/05/2006 12:22:16:708 CEST] 1077393984 AxisConfig > getAxisConfProperty 
@0x8051078,[02000000] <....>
[25/05/2006 12:22:16:708 CEST] 1077393984 AxisConfig < getAxisConfProperty 
@0x8051078,@2 "/usr/local/sbin/axis-cpp/log/AxisClientLog"
[25/05/2006 12:22:16:708 CEST] 1077393984 - I AXCONF_CLIENTLOGPATH = 
/usr/local/sbin/axis-cpp/log/AxisClientLog
[25/05/2006 12:22:16:708 CEST] 1077393984 AxisConfig > getAxisConfProperty 
@0x8051078,[03000000] <....>
[25/05/2006 12:22:16:708 CEST] 1077393984 AxisConfig < getAxisConfProperty 
@0x8051078,@1 <null>
[25/05/2006 12:22:16:708 CEST] 1077393984 - I AXCONF_CLIENTWSDDFILEPATH = 
NULL
[25/05/2006 12:22:16:708 CEST] 1077393984 AxisConfig > getAxisConfProperty 
@0x8051078,[04000000] <....>
[25/05/2006 12:22:16:708 CEST] 1077393984 AxisConfig < getAxisConfProperty 
@0x8051078,@2 "/usr/local/sbin/axis-cpp"
[25/05/2006 12:22:16:708 CEST] 1077393984 - I AXCONF_AXISHOME = 
/usr/local/sbin/axis-cpp
[25/05/2006 12:22:16:708 CEST] 1077393984 AxisConfig > getAxisConfProperty 
@0x8051078,[05000000] <....>
[25/05/2006 12:22:16:708 CEST] 1077393984 AxisConfig < getAxisConfProperty 
@0x8051078,@2 "/usr/sbin/axis-cpp/lib/axis/libhttp_transport.so"
[25/05/2006 12:22:16:708 CEST] 1077393984 - I AXCONF_TRANSPORTHTTP = 
/usr/sbin/axis-cpp/lib/axis/libhttp_transport.so
[25/05/2006 12:22:16:708 CEST] 1077393984 AxisConfig > getAxisConfProperty 
@0x8051078,[06000000] <....>
[25/05/2006 12:22:16:708 CEST] 1077393984 AxisConfig < getAxisConfProperty 
@0x8051078,@1 <null>
[25/05/2006 12:22:16:708 CEST] 1077393984 - I AXCONF_TRANSPORTSMTP = NULL
[25/05/2006 12:22:16:708 CEST] 1077393984 AxisConfig > getAxisConfProperty 
@0x8051078,[07000000] <....>
[25/05/2006 12:22:16:709 CEST] 1077393984 AxisConfig < getAxisConfProperty 
@0x8051078,@2 "/usr/local/sbin/axis-cpp/lib/axis/libaxis_xerces.so"
[25/05/2006 12:22:16:709 CEST] 1077393984 - I AXCONF_XMLPARSER = 
/usr/local/sbin/axis-cpp/lib/axis/libaxis_xerces.so
[25/05/2006 12:22:16:709 CEST] 1077393984 AxisConfig > getAxisConfProperty 
@0x8051078,[08000000] <....>
[25/05/2006 12:22:16:709 CEST] 1077393984 AxisConfig < getAxisConfProperty 
@0x8051078,@2 "server name"
[25/05/2006 12:22:16:709 CEST] 1077393984 - I AXCONF_NODENAME = server 
name
[25/05/2006 12:22:16:709 CEST] 1077393984 AxisConfig > getAxisConfProperty 
@0x8051078,[09000000] <....>
[25/05/2006 12:22:16:709 CEST] 1077393984 AxisConfig < getAxisConfProperty 
@0x8051078,@2 "listen port"
[25/05/2006 12:22:16:709 CEST] 1077393984 - I AXCONF_LISTENPORT = listen 
port
[25/05/2006 12:22:16:709 CEST] 1077393984 AxisConfig > getAxisConfProperty 
@0x8051078,[0A000000] <....>
[25/05/2006 12:22:16:709 CEST] 1077393984 AxisConfig < getAxisConfProperty 
@0x8051078,@2 "Unknown"
[25/05/2006 12:22:16:709 CEST] 1077393984 - I AXCONF_SSLCHANNEL_HTTP = 
Unknown
[25/05/2006 12:22:16:709 CEST] 1077393984 AxisConfig > getAxisConfProperty 
@0x8051078,[0B000000] <....>
[25/05/2006 12:22:16:709 CEST] 1077393984 AxisConfig < getAxisConfProperty 
@0x8051078,@2 "libhttp_channel.so"
[25/05/2006 12:22:16:709 CEST] 1077393984 - I AXCONF_CHANNEL_HTTP = 
libhttp_channel.so
[25/05/2006 12:22:16:709 CEST] 1077393984 AxisConfig > getAxisConfProperty 
@0x8051078,[0C000000] <....>
[25/05/2006 12:22:16:709 CEST] 1077393984 AxisConfig < getAxisConfProperty 
@0x8051078,@1 <null>
[25/05/2006 12:22:16:709 CEST] 1077393984 - I AXCONF_SECUREINFO = NULL
[25/05/2006 12:22:16:709 CEST] 1077393984 - I -------------- Config File 
settings END OF ----------------
[25/05/2006 12:22:16:709 CEST] 1077393984 XMLParserFactory > initialize 
[25/05/2006 12:22:16:709 CEST] 1077393984 AxisConfig > getAxisConfProperty 
@0x8051078,[07000000] <....>
[25/05/2006 12:22:16:709 CEST] 1077393984 AxisConfig < getAxisConfProperty 
@0x8051078,@2 "/usr/local/sbin/axis-cpp/lib/axis/libaxis_xerces.so"
[25/05/2006 12:22:16:709 CEST] 1077393984 XMLParserFactory > loadLib 
[25/05/2006 12:22:16:744 CEST] 1077393984 XMLParserFactory < loadLib 0
[25/05/2006 12:22:16:744 CEST] 1077393984 XMLParserFactory < initialize 0
[25/05/2006 12:22:16:745 CEST] 1077393984 SOAPTransportFactory > 
initialize 
[25/05/2006 12:22:16:745 CEST] 1077393984 AxisConfig > getAxisConfProperty 
@0x8051078,[05000000] <....>
[25/05/2006 12:22:16:745 CEST] 1077393984 AxisConfig < getAxisConfProperty 
@0x8051078,@2 "/usr/sbin/axis-cpp/lib/axis/libhttp_transport.so"
[25/05/2006 12:22:16:745 CEST] 1077393984 SOAPTransportFactory > loadLib 
[25/05/2006 12:22:16:745 CEST] 1077393984 AxisEngineException > 
AxisEngineException @0xbffff2b0,------------>
[25/05/2006 12:22:16:745 CEST] 1077393984 - I 28, "Failed to load 
transport within server engine: 
[25/05/2006 12:22:16:745 CEST] 1077393984 - I                  Error 
Message='Success'                Error Code='0'
[25/05/2006 12:22:16:745 CEST] 1077393984 - I                  Load lib 
error='/usr/sbin/axis-cpp/lib/axis/libhttp_transport.so: cannot open 
shared object file: No such file or directory' 
[25/05/2006 12:22:16:745 CEST] 1077393984 - I "
[25/05/2006 12:22:16:745 CEST] 1077393984 AxisEngineException > 
getMessageForExceptionCode @0xbffff2b0,28
[25/05/2006 12:22:16:745 CEST] 1077393984 AxisEngineException < 
getMessageForExceptionCode @0xbffff2b0,"DLOPEN FAILED in loading transport 
library"
[25/05/2006 12:22:16:745 CEST] 1077393984 AxisEngineException > 
getMessageForExceptionCode @0xbffff2b0,28
[25/05/2006 12:22:16:745 CEST] 1077393984 AxisEngineException < 
getMessageForExceptionCode @0xbffff2b0,"DLOPEN FAILED in loading transport 
library"
[25/05/2006 12:22:16:745 CEST] 1077393984 AxisEngineException < 
AxisEngineException @0xbffff2b0
[25/05/2006 12:22:16:745 CEST] 1077393984 AxisEngineException > 
AxisEngineException @0x80518f0,------------>
[25/05/2006 12:22:16:745 CEST] 1077393984 - I AxisException(, "DLOPEN 
FAILED in loading transport library Failed to load transport within server 
engine: 
[25/05/2006 12:22:16:745 CEST] 1077393984 - I                  Error 
Message='Success'                Error Code='0'
[25/05/2006 12:22:16:745 CEST] 1077393984 - I                  Load lib 
error='/usr/sbin/axis-cpp/lib/axis/libhttp_transport.so: cannot open 
shared object file: No such file or directory' 
[25/05/2006 12:22:16:745 CEST] 1077393984 - I ")
[25/05/2006 12:22:16:745 CEST] 1077393984 AxisEngineException < 
AxisEngineException @0x80518f0
[25/05/2006 12:22:16:746 CEST] 1077393984 AxisEngineException > 
~AxisEngineException @0xbffff2b0
[25/05/2006 12:22:16:746 CEST] 1077393984 AxisEngineException < 
~AxisEngineException @0xbffff2b0
[25/05/2006 12:22:16:746 CEST] 1077393984 - X initialize_module @3 caught 
"..."
[25/05/2006 12:22:16:746 CEST] 1077393984 - > done_initializing 
[25/05/2006 12:22:16:746 CEST] 1077393984 - < done_initializing 

------------------------

I modify the axiscpp.conf, and now is:

===============================

I modify the axiscpp.conf, and now is:

===============================
LogPath:/usr/local/sbin/axis-cpp/log/AxisLog
ClientLogPath:/usr/local/sbin/axis-cpp/log/AxisClientLog
XMLParser:/usr/local/sbin/axis-cpp/lib/axis/libaxis_xerces.so
Transport_http:/usr/sbin/axis-cpp/lib/axis/libhttp_transport.so
-----------------------------

What's wrong?? I'm hopeless :-(

Lot's of thanks,
Ignacio

2006/5/23, John Hawkins <HAWKINSJ@uk.ibm.com>:

Doh ! I should have read your config file better earlier ! 

XMLParser:/usr/local/sbin/axis-cpp2/deploy/lib/libxerces-c.so 

This is wrong The XMLParser library should be set to the 
"AxisXMLParserXerces" library that comes in the lib/axis dir (this library 
then references the xerces library which must be on your lib path). 

This should help if there any problems with understanding -> 
http://ws.apache.org/axis/cpp/install-guide.html 





"Ignacio Fernández Sánchez" <ignaciofedz@gmail.com> 
23/05/2006 12:50 


Please respond to
"Apache AXIS C User List" <axis-c-user@ws.apache.org>


To
"Apache AXIS C User List" <axis-c-user@ws.apache.org> 
cc

Subject
Re: SIGABRT on Axis C++ client








Mime
View raw message