You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by John Hawkins <HA...@uk.ibm.com> on 2006/01/10 16:54:29 UTC
Re: Calculator execution fails
This is probably a configuration error. Please can you cut and paste your
axis conf file and also make sure that you have the correct version of
xerces libraries (2.2.0) in your lib path.
"Ruth del Campo" <ru...@rus.uni-stuttgart.de>
10/01/2006 15:49
Please respond to
"Apache AXIS C User List"
To
"'Apache AXIS C User List'" <ax...@ws.apache.org>
cc
Subject
Calculator execution fails
Hi all,
HAPPY NEW YEAR!!
After some holidays I came back with the calculator example (I want to
develop a c++ axis client for my java web service) with not so much
success.
I have tried out with the instructions followed by the guide, but I
receive a sigabort error message when executing the compiled classes. The
exact error is:
Program received signal SIGABRT, Aborted.
0xffffe410 in __kernel_vsyscall ()
I have noticed that the error comes when the calculator object is
constructed, I think it is an error due to the inheritance, or I do not
know how to solve it, since the Calculator.cpp code is created
automatically.
Is it an error in my program or configuration or an error of Axis c++? I
have tried several things but always the same error?
Thank you very much,
Ruth
PS: Appended is:
- My wsdl file:Calculator.wsdl
- The autogenerated c++ classes: Calculator.cpp and
Calculator.hpp
- My client class that tries to uses the Calculator.cpp program:
CalcClient.cpp
- My shell script to generate the c++ code with the wsdl file:
clientgenerate.sh
- My shell script to compile all the generated code
clientbuild.sh
- My shell script to execute the client program clientexecute.sh
---
Ruth del Campo
Rechenzentrum
Universität Stuttgart Tel: ++49-711 685 8162
Allmandring 30 Fax: ++49-711 682357
70550 Stuttgart www.rus.uni-stuttgart.de
AW: Calculator execution fails
Posted by Ruth del Campo <ru...@rus.uni-stuttgart.de>.
Hi John, all
I just revised what you tell me but I do not find any error there
Cheers,
Ruth
My axiscpp.conf is:
# The comment character is '#'
#Available directives are as follows
#(Some of these directives may not be implemented yet)
#
#WSDDFilePath:The path to the server wsdd
#LogPath:The path to the axis log
#ClientLogPath:The path to the axis client log
#ClientWSDDFilePath:The path to the client wsdd
#Transport_http:The HTTP transport library
#Transport_smtp:The SMTP transport library
#XMLParser:The xml parser library
#LogPath:/home/obj/log/AxisLog
#WSDDFilePath:/home/obj/etc/server.wsdd
ClientLogPath:/usr/local/axiscpp/axis-c-1.5.0-linux-bin/log/AxisClientLog
ClientWSDDFilePath:/usr/local/axiscpp/axis-c-1.5.0-linux-bin/etc/client.wsdd
_linux
XMLParser:/usr/local/axiscpp/axis-c-1.5.0-linux-bin/lib/libaxis_xerces.so
Transport_http:/usr/local/axiscpp/axis-c-1.5.0-linux-bin/lib/libhttp_transpo
rt.so
Channel_HTTP:/usr/local/axiscpp/axis-c-1.5.0-linux-bin/lib/libhttp_channel.s
o
#Channel_HTTP_SSL:/home/samisa/autoCVS/cvsAutoBuild/deploy/lib/libaxis3_tran
sport_ssl_channel.so
And my library path is:
$LD_LIBRARY_PATH=/usr/local/axiscpp/axis-c-1.5.0-linux-bin/lib:/usr/local/xe
rcesc/xerces-c-LINUX-c++-2_2_0/lib
_____
Von: John Hawkins [mailto:HAWKINSJ@uk.ibm.com]
Gesendet: Dienstag, 10. Januar 2006 16:54
An: Apache AXIS C User List
Betreff: Re: Calculator execution fails
This is probably a configuration error. Please can you cut and paste your
axis conf file and also make sure that you have the correct version of
xerces libraries (2.2.0) in your lib path.
"Ruth del Campo" <ru...@rus.uni-stuttgart.de>
10/01/2006 15:49
Please respond to
"Apache AXIS C User List"
To
"'Apache AXIS C User List'" <ax...@ws.apache.org>
cc
Subject
Calculator execution fails
Hi all,
HAPPY NEW YEAR!!
After some holidays I came back with the calculator example (I want to
develop a c++ axis client for my java web service) with not so much success.
I have tried out with the instructions followed by the guide, but I receive
a sigabort error message when executing the compiled classes. The exact
error is:
Program received signal SIGABRT, Aborted.
0xffffe410 in __kernel_vsyscall ()
I have noticed that the error comes when the calculator object is
constructed, I think it is an error due to the inheritance, or I do not know
how to solve it, since the Calculator.cpp code is created automatically.
Is it an error in my program or configuration or an error of Axis c++? I
have tried several things but always the same error
Thank you very much,
Ruth
PS: Appended is:
- My wsdl file:Calculator.wsdl
- The autogenerated c++ classes: Calculator.cpp and Calculator.hpp
- My client class that tries to uses the Calculator.cpp program:
CalcClient.cpp
- My shell script to generate the c++ code with the wsdl file:
clientgenerate.sh
- My shell script to compile all the generated code clientbuild.sh
- My shell script to execute the client program clientexecute.sh
---
Ruth del Campo
Rechenzentrum
Universität Stuttgart Tel: ++49-711 685 8162
Allmandring 30 Fax: ++49-711 682357
70550 Stuttgart <http://www.rus.uni-stuttgart.de/>
www.rus.uni-stuttgart.de