axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa_abeysin...@yahoo.com>
Subject Parser selection support & simple axis server (on Linux)
Date Tue, 06 Apr 2004 07:11:32 GMT
Hi Damitha,
    Please add $(LDFLAGS) and drop -lexat from Makefile.am files in subdirectories of server
directory (apache, apache2, etc.) so that the selection of the parser becomeseasier.

    I added
    1. src/server/simple_axis_server/Makefile to configure.ac
    2. simple_axis_server to src/server/Makefile.am

Also I created the Makefile.am in src/server/simple_axis_server with following content
------------------------------------------------------
bin_PROGRAMS = simple_axis_server
AM_CPPFLAGS = -Wshadow -Wall -pedantic -ansi -ggdb
simple_axis_server_SOURCES = ServerHelper.cpp SimpleAxisServer.cpp

simple_axis_server_LDADD   = $(LDFLAGS) -L$(AXISCPP_HOME)/src/engine/server -lserver_engine

INCLUDES = -I$(AXISCPP_HOME)/include

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

Unfortunately simple axis server crashes with Xerces parser.
Please help to fix the problem.

The trace I get with gdb is:
#0  0xffffe002 in ?? ()
#1  0x42028a73 in abort () from /lib/tls/libc.so.6
#2  0x403dcb57 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#3  0x403dcba4 in std::terminate() () from /usr/lib/libstdc++.so.5
#4  0x403dcd16 in __cxa_throw () from /usr/lib/libstdc++.so.5
#5  0x401ca052 in xercesc_2_2::IGXMLScanner::scanNext(xercesc_2_2::XMLPScanToken&) ()
from
/usr/lib/libxerces-c.so.22
#6  0x401f7f63 in xercesc_2_2::SAX2XMLReaderImpl::parseNext(xercesc_2_2::XMLPScanToken&)
() from
/usr/lib/libxerces-c.so.22
#7  0x40061f3c in SoapParserXerces::Next() (this=0x8075500) at SoapParserXerces.cpp:86
#8  0x40051e1c in SoapDeSerializer::GetEnvelope() (this=0x80732f8) at SoapDeSerializer.cpp:146
#9  0x40052359 in SoapDeSerializer::GetVersion() (this=0x80732f8) at SoapDeSerializer.cpp:331
#10 0x4003ae6c in ServerAxisEngine::Process(Ax_soapstream*) (this=0x8073258, stream=0x8072da0)
at
ServerAxisEngine.cpp:124
#11 0x40039767 in process_request (stream=0x8072da0) at ../Axis.cpp:155
#12 0x0804afd2 in std::_Rb_tree_rotate_right(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*&)
()
#13 0x0804b97a in std::_Rb_tree_rotate_right(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*&)
()
#14 0x0804bcdb in std::_Rb_tree_rotate_right(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*&)
()
#15 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6


Thanks,
Samisa...

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

Mime
View raw message