Hmmm...ignore that...I think I might be using the wrong version. axis-c-1.6b dates from 2006. After some rummagin around I found axis2c-bin-1.2.0-linux.tar.gz.

Why is the C++ download on the axis website pointing to the old 2006 version though...


Emyr James wrote
Hi,

I'm trying to get the simple_axis_server working, but it dumps core when I try to run it...

[EMAIL PROTECTED]:/opt/axiscpp/bin#  ./simple_axis_server 8888
Aborted (core dumped)

I'm using the latest binary release axis-c-1.6b-Linux-trace-bin which is ymbolically linked to in /opt/axiscpp.

I ran it through valgrind and here's the output...

[EMAIL PROTECTED]:/opt/axiscpp/bin# valgrind ./simple_axis_server 8888
==26171== Memcheck, a memory error detector.
==26171== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==26171== Using LibVEX rev 1732, a library for dynamic binary translation.
==26171== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==26171== Using valgrind-3.2.3-Debian, a dynamic binary instrumentation framework.
==26171== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==26171== For more details, rerun with: -v
==26171==
==26171== Invalid read of size 4
==26171==    at 0x4014AF7: (within /lib/ld-2.6.1.so)
==26171==    by 0x400D015: (within /lib/ld-2.6.1.so)
==26171==    by 0x401099D: (within /lib/ld-2.6.1.so)
==26171==    by 0x4156C18: (within /lib/tls/i686/cmov/libdl-2.6.1.so)
==26171==    by 0x400D015: (within /lib/ld-2.6.1.so)
==26171==    by 0x41572BB: (within /lib/tls/i686/cmov/libdl-2.6.1.so)
==26171==    by 0x4156B50: dlopen (in /lib/tls/i686/cmov/libdl-2.6.1.so)
==26171== by 0x40B8C8A: axiscpp::XMLParserFactory::loadLib() (in /opt/axis-c-1.6b-Linux-trace-bin/lib/axis/libaxis_server.so.1.6b) ==26171== by 0x40B8880: axiscpp::XMLParserFactory::initialize() (in /opt/axis-c-1.6b-Linux-trace-bin/lib/axis/libaxis_server.so.1.6b) ==26171== by 0x40BD26A: initialize_module (in /opt/axis-c-1.6b-Linux-trace-bin/lib/axis/libaxis_server.so.1.6b) ==26171== by 0x804B9D0: main (in /opt/axis-c-1.6b-Linux-trace-bin/bin/simple_axis_server)


here is my axiscpp.conf...

LogPath:/opt/axiscpp/deploy/log/AxisLog
WSDDFilePath:/opt/axiscpp/deploy/etc/server.wsdd
ClientLogPath:/opt/axiscpp/deploy/log/AxisClientLog
XMLParser:/opt/axiscpp/lib/axis/libaxis_xerces.so
Transport_http:/opt/axiscpp/lib/axis/libhttp_transport.so

I don't have libcalulator.so etc built as described in the server.wxsdd file, but I don't think that's the problem. I think it's to do with setting up the xml parsing library. According to the conf file it's pointing at lib/axis/libaxis_xerces.so in the root directory of the latest binary release. Perhaps it doesn't like that ? Do I need to create a symbolic link to the xerces library with a particular name. I've downloaded and built the latest xerces c++ and it lives in /usr/lib

Can anyone work out where I've gone wrong and suggest how to fix things ?

Thanks,

Emyr


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to