You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Satoshi Iwayama <iw...@portalisland.com> on 2004/11/10 04:35:51 UTC

sample [base] doesn't work on RH 7.3

Hi.
I built Axis-C++ 1.3 final on RedHat Linux 7.3. (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110))
Then I built samples. I tried the sample [base], but it doesn't work.

May be, m_pTransport (in Call.cpp) is NULL. but why ?
(please see debug print)

Is anything wrong ?

Thanks for help.
Best regards.

Satoshi Iwayama.

-----build.sh-----
./configure --prefix=/lz/axis-c \
    --with-apache2=no \
    --with-apache=no \
    --with-xercesc=/lz/xercesc \
    --enable-log=yes \
    --enable-libwww=no \
    --enable-testcases=no

-----axiscpp.conf-----
LogPath:/lz/axis-c/log/AxisLog
WSDDFilePath:/lz/axis-c/etc/server.wsdd
ClientLogPath:/lz/axis-c/log/AxisClientLog
XMLParser:/lz/axis-c/lib/libaxis_xercesc.so
Transport_http:/lz/axis-c/lib/libaxis2_transport.so

-----debug------
# gdb base
GNU gdb Red Hat Linux (5.1.90CVS-5)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run
Starting program: /lz/axis-c/src/samples/client/interoptests/base/.libs/base

 Using service at http://localhost/axis/base

[New Thread 1024 (LWP 14490)]
invoking echoString...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 14490)]
0x4005daa5 in axiscpp::Call::setTransportProperty (this=0x8051270,
    type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at Call.cpp:255
255             m_pTransport->setTransportProperty(type, tempvalue);
(gdb) print m_pTransport
$1 = (class SOAPTransport *) 0x0
(gdb)


Re: sample [base] doesn't work on RH 7.3

Posted by Satoshi Iwayama <iw...@portalisland.com>.
Hi,

I built axis 1.3 alpha with axis(old) transport on my machine.
And I tried same sample [base]. It works fine.
Another one that I coded (Server is WebSphere) also can send soap message.
I saw SOAP messages on tcpmon.
But It doesn't work completely.
That is another problem. May be, SoapDeSerializer or axis(old) transport has some problems.
So I'd like to use 1.3 final with axis2 transport.

Thanks,
Satoshi

----- 1.3 alpha build.sh ( same as 1.3 final build.sh ) -----
./configure --prefix=/lz/axis-c \
    --with-apache2=no \
    --with-apache=no \
    --with-xercesc=/lz/xercesc \
    --enable-samples=no \
    --enable-log=no \
    --enable-libwww=no \
    --enable-testcases=no

----- SOAP message (My WebServices) -----
POST /lz/services/StoreStatusManager HTTP/1.1
Host: 192.168.1.223
Content-Type: text/xml; charset=UTF-8
SOAPAction: ""
Content-Length: 335

<?xml version='1.0' encoding='utf-8' ?>
   <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <SOAP-ENV:Body>
         <ns1:getNews xmlns:ns1="http://crm.store.ledzone.com"></ns1:getNews>
      </SOAP-ENV:Body>
   </SOAP-ENV:Envelope>

----- Response message -----
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: ja-JP
Transfer-Encoding: chunked

3ac
<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
         <ns1:getNewsResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://crm.store.ledzone.com">
            <getNewsReturn xsi:type="ns2:ResultForGetNews" xmlns:ns2="http://provider.ws.crm.store.ledzone.com">
               <centerNewsList xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[0]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></centerNewsList>
               <result xsi:type="xsd:string">COMPLETE</result>
               <storeNewsList xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[1]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
                  <item>Some News</item>
               </storeNewsList>
            </getNewsReturn>
         </ns1:getNewsResponse>
      </soapenv:Body>
   </soapenv:Envelope>
0





----- Original Message ----- 
From: "Satoshi Iwayama" <iw...@portalisland.com>
To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
Sent: Thursday, November 11, 2004 10:30 AM
Subject: Re: sample [base] doesn't work on RH 7.3


> Hi Roshan,
>
>  Thanks for your comment.
>
>  I'm sure I changed axiscpp.conf (Transport_http:/lz/axis-c/lib/libaxis_transport.so) with 1.3 final.
>  I checked SOAPTransportFactory created instance of AxisTransport by gdb.
>  At that time, Call:initialize() also was not called from Stub(InteropTestPortType.cpp).
>
> I'll try with 1.3 alpha and axis(old) transport without changing any other settings on my machine.
>
> I'll report the status.
>
> Thanks,
> Satoshi
>
> ----- Original Message ----- 
> From: "Roshan Weerasuriya" <ro...@opensource.lk>
> To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> Sent: Wednesday, November 10, 2004 10:05 PM
> Subject: Re: sample [base] doesn't work on RH 7.3
>
>
> > hi Satoshi,
> >
> > Can you again run axis 1.3 alpha with the axis(old) transport withouht
> > changine any other settings on your mechine. (except the
> > "Transport_http:/lz/axis-c/lib/libaxis_transport.so" entry in the
> > axiscpp.conf, this you certainly have to change). And report the status
> > of this operation to the mailing list.
> >
> > If the above works, then we could make sure that all your configuration
> > options are OK, so that there is something wrong in Axis C++ 1.3final
> > client side engine (possibly when 1.3final try to interact with what
> > ever the transprot (old or new) on RedHat 7.3 , there can be a
> > bug/problem).
> >
> > Roshan
> >
> >
> >
> > On Wed, 2004-11-10 at 18:57, Roshan Weerasuriya wrote:
> > > hi,
> > >
> > > I also can't try to figure out what is going wrong.
> > >
> > > Hi Samisa, can there be some thing wrong with the Axis2 Transport under
> > > RedHat 7.3? But again Satoshi tells that even with axis(old) transport
> > > and 1.3 final he has problems. Satoshi, did you changed the
> > > configuration below to point to the axis(old) transport when you shift
> > > to 1.3final and axis(old) transport?
> > > >>In axiscpp.conf look whether you changed to the following
> > > >> Transport_http:/lz/axis-c/lib/libaxis_transport.so
> > > Also satoshi, when you test with 1.3final and axis(old) tansport, check
> > > whether you actualy had your "libaxis_transport.so" library in the
> > > correct place.
> > >
> > > It seems as a Client Side problem. But can you also try to use the Axis
> > > C++ server side and test under the same configurations to see whether it
> > > works.
> > > > >> > > > > > > -----build.sh-----
> > > > > >> > > > > > > ./configure --prefix=/lz/axis-c \
> > > > > >> > > > > > >     --with-apache2=no \
> > > > > >> > > > > > >     --with-apache=no \
> > > > > >> > > > > > >     --with-xercesc=/lz/xercesc \
> > > > > >> > > > > > >     --enable-log=yes \
> > > > > >> > > > > > >     --enable-libwww=no \
> > > > > >> > > > > > >     --enable-testcases=no
> > > change above to:
> > > --with-apache2=yes
> > > or
> > > --with-apache=yes
> > > depending on the apache version which you use.
> > >
> > > Roshan
> > >
> > > On Wed, 2004-11-10 at 16:43, Satoshi Iwayama wrote:
> > > > Thank you so much.
> > > >
> > > > I was using 1.3 alpha with axis(old) transport. That was fine.
> > > > And I've tried 1.3 final with axis(old) transport. But It doesn't work.
> > > >
> > > > Thanks,
> > > > Satoshi
> > > >
> > > > ----- Original Message ----- 
> > > > From: "Damitha Kumarage" <da...@opensource.lk>
> > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > > Sent: Wednesday, November 10, 2004 7:31 PM
> > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > >
> > > >
> > > > > 1.3 alpha worked in your redhat 7.3?
> > > > > But 1.3 final is not working?
> > > > > Were you using axis(old) transport with 1.3 alpha?. Then did you try with
> > > > > that transport in 1.3 final. Maybe then the problme is with rh7.3 and
> > > > > axis2 combination
> > > > >
> > > > > I'll try to get a test machine which run rh 7.3 and come back to you soon.
> > > > > May be on Friday
> > > > >
> > > > > thanks
> > > > > damitha
> > > > > > Hi,
> > > > > >
> > > > > > My server side sample services are not working.
> > > > > > (I have not built sample services.)
> > > > > > I think this is some client side problem.
> > > > > >
> > > > > > because I got same segfault in another case.
> > > > > >
> > > > > > I'll explain that case...
> > > > > > I have some WebServices (WebSphere and Axis Java 1.1).
> > > > > > I generated Stub from WSDL.
> > > > > > I coded Main program and compiled them.
> > > > > > I executed Main program. and I got same segfault.
> > > > > > So I tried sample [base] without server side sample services.
> > > > > >
> > > > > > I attached WSDL and Stub code that generated by WSDL2Ws.
> > > > > > Is anything wrong ?
> > > > > >
> > > > > > When I built Axis-C++ 1.3 alpha,  I could send messages to server.(I
> > > > > > didn't get same segfault)
> > > > > > I'd like to use Axis2 transport. so I built client on Axis-C++ 1.3 final.
> > > > > >
> > > > > > Thanks,
> > > > > > Satoshi
> > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "Samisa Abeysinghe" <sa...@yahoo.com>
> > > > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > > > > Sent: Wednesday, November 10, 2004 4:39 PM
> > > > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > > > >
> > > > > >
> > > > > >> Hi,
> > > > > >>    Is your server side working properly? Have you tried accessing
> > > > > >> http://localhost/axis/ URL?
> > > > > >>
> > > > > >>    Also check the contents of $AXISCPP_DEPLOY/etc/server.wsdd file.
> > > > > >>
> > > > > >>    If you can access that, this must be some client specific problem.
> > > > > >>    For me, the setting that you have looks OK, cannot think of anything
> > > > > >> else that can be wrong.
> > > > > >> Thanks,
> > > > > >> Samisa...
> > > > > >>
> > > > > >> --- Satoshi Iwayama <iw...@portalisland.com> wrote:
> > > > > >>
> > > > > >> > Hi,
> > > > > >> > thanks for your help.
> > > > > >> >
> > > > > >> > # echo $LD_LIBRARY_PATH
> > > > > >> > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> > > > > >> >
> > > > > >> > # echo $AXISCPP_DEPLOY
> > > > > >> > /lz/axis-c
> > > > > >> >
> > > > > >> > and I'v done chmod -R 777 $AXISCPP_DEPLOY.
> > > > > >> >
> > > > > >> > Thanks,
> > > > > >> > Satoshi
> > > > > >> >
> > > > > >> >
> > > > > >> > ----- Original Message -----
> > > > > >> > From: "Samisa Abeysinghe" <sa...@yahoo.com>
> > > > > >> > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > > > >> > Sent: Wednesday, November 10, 2004 3:33 PM
> > > > > >> > Subject: Re: sample [base] doesn't work on RH 7.3
> > > > > >> >
> > > > > >> >
> > > > > >> > > What is your $LD_LIBRARY_PATH and $AXISCPP_DEPLOY envioronment
> > > > > >> variable values?
> > > > > >> > >
> > > > > >> > > Also try doing
> > > > > >> > > chmod -R 777 $$AXISCPP_DEPLOY
> > > > > >> > >
> > > > > >> > > Thanks,
> > > > > >> > > Samisa...
> > > > > >> > >
> > > > > >> > > --- Satoshi Iwayama <iw...@portalisland.com> wrote:
> > > > > >> > >
> > > > > >> > > > Hi,
> > > > > >> > > > I tried with log disabled. but it segfault at the same point.
> > > > > >> > > > I saw debug trace on gdb.
> > > > > >> > > > m_pTransport is NULL in Call.cpp.
> > > > > >> > > > and I think it doesn't call Call::initialize from
> > > > > >> InteropTestPortType.cpp.
> > > > > >> > > > If Call::initialize is called, m_pTransport is not NULL, is it ?
> > > > > >> > > >
> > > > > >> > > > ------ debug ------
> > > > > >> > > > # gdb base
> > > > > >> > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > > > > >> > > > Copyright 2002 Free Software Foundation, Inc.
> > > > > >> > > > GDB is free software, covered by the GNU General Public License,
> > > > > >> and you are
> > > > > >> > > > welcome to change it and/or distribute copies of it under certain
> > > > > >> conditions.
> > > > > >> > > > Type "show copying" to see the conditions.
> > > > > >> > > > There is absolutely no warranty for GDB.  Type "show warranty" for
> > > > > >> details.
> > > > > >> > > > This GDB was configured as "i386-redhat-linux"...
> > > > > >> > > > (gdb) run
> > > > > >> > > > Starting program:
> > > > > >> /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> > > > > >> > > >
> > > > > >> > > >  Using service at http://localhost/axis/base
> > > > > >> > > >
> > > > > >> > > > [New Thread 1024 (LWP 2487)]
> > > > > >> > > > invoking echoString...
> > > > > >> > > >
> > > > > >> > > > Program received signal SIGSEGV, Segmentation fault.
> > > > > >> > > > [Switching to Thread 1024 (LWP 2487)]
> > > > > >> > > > 0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
> > > > > >> > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
> > > > > >> Call.cpp:255
> > > > > >> > > > 255             m_pTransport->setTransportProperty(type,
> > > > > >> tempvalue);
> > > > > >> > > > (gdb) where
> > > > > >> > > > #0  0x4005d7f1 in axiscpp::Call::setTransportProperty
> > > > > >> (this=0x8051270,
> > > > > >> > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
> > > > > >> Call.cpp:255
> > > > > >> > > > #1  0x08049ae5 in InteropTestPortType::echoString
> > > > > >> (this=0xbffff570,
> > > > > >> > > >     Value0=0x804e84a "hello world") at InteropTestPortType.cpp:47
> > > > > >> > > > #2  0x0804d68b in main (argc=1, argv=0xbffff7b4) at
> > > > > >> InteropBaseClient.cpp:81
> > > > > >> > > > #3  0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
> > > > > >> > > > (gdb) print m_pTransport
> > > > > >> > > > $1 = (class SOAPTransport *) 0x0
> > > > > >> > > > (gdb)
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > Thanks
> > > > > >> > > > Satoshi
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > ----- Original Message -----
> > > > > >> > > > From: "Satoshi Iwayama" <iw...@portalisland.com>
> > > > > >> > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > > > >> > > > Sent: Wednesday, November 10, 2004 2:15 PM
> > > > > >> > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > > Hi,
> > > > > >> > > > > Thanks for your help.
> > > > > >> > > > >
> > > > > >> > > > > I think it segfault when calling m_pCall->setTransportProperty
> > > > > >> before m_pCall->invoke().
> > > > > >> > > > > So it doesn't send anything. (I saw nothing on tcpmon)
> > > > > >> > > > >
> > > > > >> > > > > I'll try with log disabled.
> > > > > >> > > > >
> > > > > >> > > > > Thanks
> > > > > >> > > > > Satoshi
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > ------- environment -----
> > > > > >> > > > > # echo $LD_LIBRARY_PATH
> > > > > >> > > > > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> > > > > >> > > > >
> > > > > >> > > > > # ls /lz/xercesc/lib
> > > > > >> > > > > libxerces-c.so  libxerces-c.so.25  libxerces-c.so.25.0
> > > > > >> > > > >
> > > > > >> > > > > # ls /lz/axis-c/lib
> > > > > >> > > > > OLD                          libaxis_xercesc.la
> > > > > >> > > > > axis                         libaxis_xercesc.so
> > > > > >> > > > > axisjava                     libaxis_xercesc.so.0
> > > > > >> > > > > libaxis2_transport.a         libaxis_xercesc.so.0.0.0
> > > > > >> > > > > libaxis2_transport.la        libaxiscpp_client.a
> > > > > >> > > > > libaxis2_transport.so        libaxiscpp_client.la
> > > > > >> > > > > libaxis2_transport.so.0      libaxiscpp_client.so
> > > > > >> > > > > libaxis2_transport.so.0.0.0  libaxiscpp_client.so.0
> > > > > >> > > > > libaxis_transport.a          libaxiscpp_client.so.0.0.0
> > > > > >> > > > > libaxis_transport.la         libserver_engine.a
> > > > > >> > > > > libaxis_transport.so         libserver_engine.la
> > > > > >> > > > > libaxis_transport.so.0       libserver_engine.so
> > > > > >> > > > > libaxis_transport.so.0.0.0   libserver_engine.so.0
> > > > > >> > > > > libaxis_xercesc.a            libserver_engine.so.0.0.0
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > ----- Original Message -----
> > > > > >> > > > > From: <da...@opensource.lk>
> > > > > >> > > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > > > >> > > > > Sent: Wednesday, November 10, 2004 1:30 PM
> > > > > >> > > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > > Hi,
> > > > > >> > > > > > Unfortunately it is not tested with redhat 7.3. But did you
> > > > > >> see tcpmon
> > > > > >> > > > > > messages. Does it segfault when sending or receiving? Try with
> > > > > >> log
> > > > > >> > > > > > disabled.
> > > > > >> > > > > > Does LD_LIBRARY_PATH contains <xercescinst>/lib:/lz/axis-c/lib
> > > > > >> ?
> > > > > >> > > > > >
> > > > > >> > > > > > thanks
> > > > > >> > > > > > damtitha
> > > > > >> > > > > >
> > > > > >> > > > > > > Hi.
> > > > > >> > > > > > > I built Axis-C++ 1.3 final on RedHat Linux 7.3. (gcc version
> > > > > >> 2.96 20000731
> > > > > >> > > > > > > (Red Hat Linux 7.3 2.96-110))
> > > > > >> > > > > > > Then I built samples. I tried the sample [base], but it
> > > > > >> doesn't work.
> > > > > >> > > > > > >
> > > > > >> > > > > > > May be, m_pTransport (in Call.cpp) is NULL. but why ?
> > > > > >> > > > > > > (please see debug print)
> > > > > >> > > > > > >
> > > > > >> > > > > > > Is anything wrong ?
> > > > > >> > > > > > >
> > > > > >> > > > > > > Thanks for help.
> > > > > >> > > > > > > Best regards.
> > > > > >> > > > > > >
> > > > > >> > > > > > > Satoshi Iwayama.
> > > > > >> > > > > > >
> > > > > >> > > > > > > -----build.sh-----
> > > > > >> > > > > > > ./configure --prefix=/lz/axis-c \
> > > > > >> > > > > > >     --with-apache2=no \
> > > > > >> > > > > > >     --with-apache=no \
> > > > > >> > > > > > >     --with-xercesc=/lz/xercesc \
> > > > > >> > > > > > >     --enable-log=yes \
> > > > > >> > > > > > >     --enable-libwww=no \
> > > > > >> > > > > > >     --enable-testcases=no
> > > > > >> > > > > > >
> > > > > >> > > > > > > -----axiscpp.conf-----
> > > > > >> > > > > > > LogPath:/lz/axis-c/log/AxisLog
> > > > > >> > > > > > > WSDDFilePath:/lz/axis-c/etc/server.wsdd
> > > > > >> > > > > > > ClientLogPath:/lz/axis-c/log/AxisClientLog
> > > > > >> > > > > > > XMLParser:/lz/axis-c/lib/libaxis_xercesc.so
> > > > > >> > > > > > > Transport_http:/lz/axis-c/lib/libaxis2_transport.so
> > > > > >> > > > > > >
> > > > > >> > > > > > > -----debug------
> > > > > >> > > > > > > # gdb base
> > > > > >> > > > > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > > > > >> > > > > > > Copyright 2002 Free Software Foundation, Inc.
> > > > > >> > > > > > > GDB is free software, covered by the GNU General Public
> > > > > >> License, and you
> > > > > >> > > > > > > are
> > > > > >> > > > > > > welcome to change it and/or distribute copies of it under
> > > > > >> certain
> > > > > >> > > > > > > conditions.
> > > > > >> > > > > > > Type "show copying" to see the conditions.
> > > > > >> > > > > > > There is absolutely no warranty for GDB.  Type "show
> > > > > >> warranty" for
> > > > > >> > > > > > > details.
> > > > > >> > > > > > > This GDB was configured as "i386-redhat-linux"...
> > > > > >> > > > > > > (gdb) run
> > > > > >> > > > > > > Starting program:
> > > > > >> > > > > > > /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> > > > > >> > > > > > >
> > > > > >> > > > > > >  Using service at http://localhost/axis/base
> > > > > >> > > > > > >
> > > > > >> > > > > > > [New Thread 1024 (LWP 14490)]
> > > > > >> > > > > > > invoking echoString...
> > > > > >> > > > > > >
> > > > > >> > > > > > > Program received signal SIGSEGV, Segmentation fault.
> > > > > >> > > > > > > [Switching to Thread 1024 (LWP 14490)]
> > > > > >> > > > > > > 0x4005daa5 in axiscpp::Call::setTransportProperty
> > > > > >> (this=0x8051270,
> > > > > >> > > > > > >     type=SOAPACTION_HEADER, value=0x804e243
> > > > > >> "base#echoString") at
> > > > > >> > > > > > > Call.cpp:255
> > > > > >> > > > > > > 255             m_pTransport->setTransportProperty(type,
> > > > > >> tempvalue);
> > > > > >> > > > > > > (gdb) print m_pTransport
> > > > > >> > > > > > > $1 = (class SOAPTransport *) 0x0
> > > > > >> >
> > > > > >> === message truncated ===
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >> __________________________________
> > > > > >> Do you Yahoo!?
> > > > > >> Check out the new Yahoo! Front Page.
> > > > > >> www.yahoo.com
> > > > > >>
> > > > > >>
> > > > > >>
> > > > >
> > > > >
> > > > > -- 
> > > > > Damitha Kumarage
> > > > > hSenid Software International (PVT) Ltd
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Re: sample [base] doesn't work on RH 7.3

Posted by Satoshi Iwayama <iw...@portalisland.com>.
Hi Roshan,

 Thanks for your comment.

 I'm sure I changed axiscpp.conf (Transport_http:/lz/axis-c/lib/libaxis_transport.so) with 1.3 final.
 I checked SOAPTransportFactory created instance of AxisTransport by gdb.
 At that time, Call:initialize() also was not called from Stub(InteropTestPortType.cpp).

I'll try with 1.3 alpha and axis(old) transport without changing any other settings on my machine.

I'll report the status.

Thanks,
Satoshi

----- Original Message ----- 
From: "Roshan Weerasuriya" <ro...@opensource.lk>
To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
Sent: Wednesday, November 10, 2004 10:05 PM
Subject: Re: sample [base] doesn't work on RH 7.3


> hi Satoshi,
> 
> Can you again run axis 1.3 alpha with the axis(old) transport withouht
> changine any other settings on your mechine. (except the
> "Transport_http:/lz/axis-c/lib/libaxis_transport.so" entry in the
> axiscpp.conf, this you certainly have to change). And report the status
> of this operation to the mailing list.
> 
> If the above works, then we could make sure that all your configuration
> options are OK, so that there is something wrong in Axis C++ 1.3final
> client side engine (possibly when 1.3final try to interact with what
> ever the transprot (old or new) on RedHat 7.3 , there can be a
> bug/problem).
> 
> Roshan
> 
> 
> 
> On Wed, 2004-11-10 at 18:57, Roshan Weerasuriya wrote:
> > hi,
> > 
> > I also can't try to figure out what is going wrong. 
> > 
> > Hi Samisa, can there be some thing wrong with the Axis2 Transport under
> > RedHat 7.3? But again Satoshi tells that even with axis(old) transport
> > and 1.3 final he has problems. Satoshi, did you changed the
> > configuration below to point to the axis(old) transport when you shift
> > to 1.3final and axis(old) transport? 
> > >>In axiscpp.conf look whether you changed to the following 
> > >> Transport_http:/lz/axis-c/lib/libaxis_transport.so
> > Also satoshi, when you test with 1.3final and axis(old) tansport, check
> > whether you actualy had your "libaxis_transport.so" library in the
> > correct place.
> > 
> > It seems as a Client Side problem. But can you also try to use the Axis
> > C++ server side and test under the same configurations to see whether it
> > works.
> > > >> > > > > > > -----build.sh-----
> > > > >> > > > > > > ./configure --prefix=/lz/axis-c \
> > > > >> > > > > > >     --with-apache2=no \
> > > > >> > > > > > >     --with-apache=no \
> > > > >> > > > > > >     --with-xercesc=/lz/xercesc \
> > > > >> > > > > > >     --enable-log=yes \
> > > > >> > > > > > >     --enable-libwww=no \
> > > > >> > > > > > >     --enable-testcases=no
> > change above to:
> > --with-apache2=yes
> > or
> > --with-apache=yes
> > depending on the apache version which you use.
> > 
> > Roshan
> > 
> > On Wed, 2004-11-10 at 16:43, Satoshi Iwayama wrote:
> > > Thank you so much.
> > > 
> > > I was using 1.3 alpha with axis(old) transport. That was fine.
> > > And I've tried 1.3 final with axis(old) transport. But It doesn't work.
> > > 
> > > Thanks,
> > > Satoshi
> > > 
> > > ----- Original Message ----- 
> > > From: "Damitha Kumarage" <da...@opensource.lk>
> > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > Sent: Wednesday, November 10, 2004 7:31 PM
> > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > 
> > > 
> > > > 1.3 alpha worked in your redhat 7.3?
> > > > But 1.3 final is not working?
> > > > Were you using axis(old) transport with 1.3 alpha?. Then did you try with
> > > > that transport in 1.3 final. Maybe then the problme is with rh7.3 and
> > > > axis2 combination
> > > > 
> > > > I'll try to get a test machine which run rh 7.3 and come back to you soon.
> > > > May be on Friday
> > > > 
> > > > thanks
> > > > damitha
> > > > > Hi,
> > > > >
> > > > > My server side sample services are not working.
> > > > > (I have not built sample services.)
> > > > > I think this is some client side problem.
> > > > >
> > > > > because I got same segfault in another case.
> > > > >
> > > > > I'll explain that case...
> > > > > I have some WebServices (WebSphere and Axis Java 1.1).
> > > > > I generated Stub from WSDL.
> > > > > I coded Main program and compiled them.
> > > > > I executed Main program. and I got same segfault.
> > > > > So I tried sample [base] without server side sample services.
> > > > >
> > > > > I attached WSDL and Stub code that generated by WSDL2Ws.
> > > > > Is anything wrong ?
> > > > >
> > > > > When I built Axis-C++ 1.3 alpha,  I could send messages to server.(I
> > > > > didn't get same segfault)
> > > > > I'd like to use Axis2 transport. so I built client on Axis-C++ 1.3 final.
> > > > >
> > > > > Thanks,
> > > > > Satoshi
> > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Samisa Abeysinghe" <sa...@yahoo.com>
> > > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > > > Sent: Wednesday, November 10, 2004 4:39 PM
> > > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > > >
> > > > >
> > > > >> Hi,
> > > > >>    Is your server side working properly? Have you tried accessing
> > > > >> http://localhost/axis/ URL?
> > > > >>
> > > > >>    Also check the contents of $AXISCPP_DEPLOY/etc/server.wsdd file.
> > > > >>
> > > > >>    If you can access that, this must be some client specific problem.
> > > > >>    For me, the setting that you have looks OK, cannot think of anything
> > > > >> else that can be wrong.
> > > > >> Thanks,
> > > > >> Samisa...
> > > > >>
> > > > >> --- Satoshi Iwayama <iw...@portalisland.com> wrote:
> > > > >>
> > > > >> > Hi,
> > > > >> > thanks for your help.
> > > > >> >
> > > > >> > # echo $LD_LIBRARY_PATH
> > > > >> > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> > > > >> >
> > > > >> > # echo $AXISCPP_DEPLOY
> > > > >> > /lz/axis-c
> > > > >> >
> > > > >> > and I'v done chmod -R 777 $AXISCPP_DEPLOY.
> > > > >> >
> > > > >> > Thanks,
> > > > >> > Satoshi
> > > > >> >
> > > > >> >
> > > > >> > ----- Original Message -----
> > > > >> > From: "Samisa Abeysinghe" <sa...@yahoo.com>
> > > > >> > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > > >> > Sent: Wednesday, November 10, 2004 3:33 PM
> > > > >> > Subject: Re: sample [base] doesn't work on RH 7.3
> > > > >> >
> > > > >> >
> > > > >> > > What is your $LD_LIBRARY_PATH and $AXISCPP_DEPLOY envioronment
> > > > >> variable values?
> > > > >> > >
> > > > >> > > Also try doing
> > > > >> > > chmod -R 777 $$AXISCPP_DEPLOY
> > > > >> > >
> > > > >> > > Thanks,
> > > > >> > > Samisa...
> > > > >> > >
> > > > >> > > --- Satoshi Iwayama <iw...@portalisland.com> wrote:
> > > > >> > >
> > > > >> > > > Hi,
> > > > >> > > > I tried with log disabled. but it segfault at the same point.
> > > > >> > > > I saw debug trace on gdb.
> > > > >> > > > m_pTransport is NULL in Call.cpp.
> > > > >> > > > and I think it doesn't call Call::initialize from
> > > > >> InteropTestPortType.cpp.
> > > > >> > > > If Call::initialize is called, m_pTransport is not NULL, is it ?
> > > > >> > > >
> > > > >> > > > ------ debug ------
> > > > >> > > > # gdb base
> > > > >> > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > > > >> > > > Copyright 2002 Free Software Foundation, Inc.
> > > > >> > > > GDB is free software, covered by the GNU General Public License,
> > > > >> and you are
> > > > >> > > > welcome to change it and/or distribute copies of it under certain
> > > > >> conditions.
> > > > >> > > > Type "show copying" to see the conditions.
> > > > >> > > > There is absolutely no warranty for GDB.  Type "show warranty" for
> > > > >> details.
> > > > >> > > > This GDB was configured as "i386-redhat-linux"...
> > > > >> > > > (gdb) run
> > > > >> > > > Starting program:
> > > > >> /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> > > > >> > > >
> > > > >> > > >  Using service at http://localhost/axis/base
> > > > >> > > >
> > > > >> > > > [New Thread 1024 (LWP 2487)]
> > > > >> > > > invoking echoString...
> > > > >> > > >
> > > > >> > > > Program received signal SIGSEGV, Segmentation fault.
> > > > >> > > > [Switching to Thread 1024 (LWP 2487)]
> > > > >> > > > 0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
> > > > >> > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
> > > > >> Call.cpp:255
> > > > >> > > > 255             m_pTransport->setTransportProperty(type,
> > > > >> tempvalue);
> > > > >> > > > (gdb) where
> > > > >> > > > #0  0x4005d7f1 in axiscpp::Call::setTransportProperty
> > > > >> (this=0x8051270,
> > > > >> > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
> > > > >> Call.cpp:255
> > > > >> > > > #1  0x08049ae5 in InteropTestPortType::echoString
> > > > >> (this=0xbffff570,
> > > > >> > > >     Value0=0x804e84a "hello world") at InteropTestPortType.cpp:47
> > > > >> > > > #2  0x0804d68b in main (argc=1, argv=0xbffff7b4) at
> > > > >> InteropBaseClient.cpp:81
> > > > >> > > > #3  0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
> > > > >> > > > (gdb) print m_pTransport
> > > > >> > > > $1 = (class SOAPTransport *) 0x0
> > > > >> > > > (gdb)
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Thanks
> > > > >> > > > Satoshi
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > ----- Original Message -----
> > > > >> > > > From: "Satoshi Iwayama" <iw...@portalisland.com>
> > > > >> > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > > >> > > > Sent: Wednesday, November 10, 2004 2:15 PM
> > > > >> > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > > Hi,
> > > > >> > > > > Thanks for your help.
> > > > >> > > > >
> > > > >> > > > > I think it segfault when calling m_pCall->setTransportProperty
> > > > >> before m_pCall->invoke().
> > > > >> > > > > So it doesn't send anything. (I saw nothing on tcpmon)
> > > > >> > > > >
> > > > >> > > > > I'll try with log disabled.
> > > > >> > > > >
> > > > >> > > > > Thanks
> > > > >> > > > > Satoshi
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > ------- environment -----
> > > > >> > > > > # echo $LD_LIBRARY_PATH
> > > > >> > > > > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> > > > >> > > > >
> > > > >> > > > > # ls /lz/xercesc/lib
> > > > >> > > > > libxerces-c.so  libxerces-c.so.25  libxerces-c.so.25.0
> > > > >> > > > >
> > > > >> > > > > # ls /lz/axis-c/lib
> > > > >> > > > > OLD                          libaxis_xercesc.la
> > > > >> > > > > axis                         libaxis_xercesc.so
> > > > >> > > > > axisjava                     libaxis_xercesc.so.0
> > > > >> > > > > libaxis2_transport.a         libaxis_xercesc.so.0.0.0
> > > > >> > > > > libaxis2_transport.la        libaxiscpp_client.a
> > > > >> > > > > libaxis2_transport.so        libaxiscpp_client.la
> > > > >> > > > > libaxis2_transport.so.0      libaxiscpp_client.so
> > > > >> > > > > libaxis2_transport.so.0.0.0  libaxiscpp_client.so.0
> > > > >> > > > > libaxis_transport.a          libaxiscpp_client.so.0.0.0
> > > > >> > > > > libaxis_transport.la         libserver_engine.a
> > > > >> > > > > libaxis_transport.so         libserver_engine.la
> > > > >> > > > > libaxis_transport.so.0       libserver_engine.so
> > > > >> > > > > libaxis_transport.so.0.0.0   libserver_engine.so.0
> > > > >> > > > > libaxis_xercesc.a            libserver_engine.so.0.0.0
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > ----- Original Message -----
> > > > >> > > > > From: <da...@opensource.lk>
> > > > >> > > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > > >> > > > > Sent: Wednesday, November 10, 2004 1:30 PM
> > > > >> > > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > > Hi,
> > > > >> > > > > > Unfortunately it is not tested with redhat 7.3. But did you
> > > > >> see tcpmon
> > > > >> > > > > > messages. Does it segfault when sending or receiving? Try with
> > > > >> log
> > > > >> > > > > > disabled.
> > > > >> > > > > > Does LD_LIBRARY_PATH contains <xercescinst>/lib:/lz/axis-c/lib
> > > > >> ?
> > > > >> > > > > >
> > > > >> > > > > > thanks
> > > > >> > > > > > damtitha
> > > > >> > > > > >
> > > > >> > > > > > > Hi.
> > > > >> > > > > > > I built Axis-C++ 1.3 final on RedHat Linux 7.3. (gcc version
> > > > >> 2.96 20000731
> > > > >> > > > > > > (Red Hat Linux 7.3 2.96-110))
> > > > >> > > > > > > Then I built samples. I tried the sample [base], but it
> > > > >> doesn't work.
> > > > >> > > > > > >
> > > > >> > > > > > > May be, m_pTransport (in Call.cpp) is NULL. but why ?
> > > > >> > > > > > > (please see debug print)
> > > > >> > > > > > >
> > > > >> > > > > > > Is anything wrong ?
> > > > >> > > > > > >
> > > > >> > > > > > > Thanks for help.
> > > > >> > > > > > > Best regards.
> > > > >> > > > > > >
> > > > >> > > > > > > Satoshi Iwayama.
> > > > >> > > > > > >
> > > > >> > > > > > > -----build.sh-----
> > > > >> > > > > > > ./configure --prefix=/lz/axis-c \
> > > > >> > > > > > >     --with-apache2=no \
> > > > >> > > > > > >     --with-apache=no \
> > > > >> > > > > > >     --with-xercesc=/lz/xercesc \
> > > > >> > > > > > >     --enable-log=yes \
> > > > >> > > > > > >     --enable-libwww=no \
> > > > >> > > > > > >     --enable-testcases=no
> > > > >> > > > > > >
> > > > >> > > > > > > -----axiscpp.conf-----
> > > > >> > > > > > > LogPath:/lz/axis-c/log/AxisLog
> > > > >> > > > > > > WSDDFilePath:/lz/axis-c/etc/server.wsdd
> > > > >> > > > > > > ClientLogPath:/lz/axis-c/log/AxisClientLog
> > > > >> > > > > > > XMLParser:/lz/axis-c/lib/libaxis_xercesc.so
> > > > >> > > > > > > Transport_http:/lz/axis-c/lib/libaxis2_transport.so
> > > > >> > > > > > >
> > > > >> > > > > > > -----debug------
> > > > >> > > > > > > # gdb base
> > > > >> > > > > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > > > >> > > > > > > Copyright 2002 Free Software Foundation, Inc.
> > > > >> > > > > > > GDB is free software, covered by the GNU General Public
> > > > >> License, and you
> > > > >> > > > > > > are
> > > > >> > > > > > > welcome to change it and/or distribute copies of it under
> > > > >> certain
> > > > >> > > > > > > conditions.
> > > > >> > > > > > > Type "show copying" to see the conditions.
> > > > >> > > > > > > There is absolutely no warranty for GDB.  Type "show
> > > > >> warranty" for
> > > > >> > > > > > > details.
> > > > >> > > > > > > This GDB was configured as "i386-redhat-linux"...
> > > > >> > > > > > > (gdb) run
> > > > >> > > > > > > Starting program:
> > > > >> > > > > > > /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> > > > >> > > > > > >
> > > > >> > > > > > >  Using service at http://localhost/axis/base
> > > > >> > > > > > >
> > > > >> > > > > > > [New Thread 1024 (LWP 14490)]
> > > > >> > > > > > > invoking echoString...
> > > > >> > > > > > >
> > > > >> > > > > > > Program received signal SIGSEGV, Segmentation fault.
> > > > >> > > > > > > [Switching to Thread 1024 (LWP 14490)]
> > > > >> > > > > > > 0x4005daa5 in axiscpp::Call::setTransportProperty
> > > > >> (this=0x8051270,
> > > > >> > > > > > >     type=SOAPACTION_HEADER, value=0x804e243
> > > > >> "base#echoString") at
> > > > >> > > > > > > Call.cpp:255
> > > > >> > > > > > > 255             m_pTransport->setTransportProperty(type,
> > > > >> tempvalue);
> > > > >> > > > > > > (gdb) print m_pTransport
> > > > >> > > > > > > $1 = (class SOAPTransport *) 0x0
> > > > >> >
> > > > >> === message truncated ===
> > > > >>
> > > > >>
> > > > >>
> > > > >>
> > > > >> __________________________________
> > > > >> Do you Yahoo!?
> > > > >> Check out the new Yahoo! Front Page.
> > > > >> www.yahoo.com
> > > > >>
> > > > >>
> > > > >>
> > > > 
> > > > 
> > > > -- 
> > > > Damitha Kumarage
> > > > hSenid Software International (PVT) Ltd
> > > > 
> > > 
> > > 
> > 
> > 
> 
> 


Re: sample [base] doesn't work on RH 7.3

Posted by Roshan Weerasuriya <ro...@opensource.lk>.
hi Satoshi,

Can you again run axis 1.3 alpha with the axis(old) transport withouht
changine any other settings on your mechine. (except the
"Transport_http:/lz/axis-c/lib/libaxis_transport.so" entry in the
axiscpp.conf, this you certainly have to change). And report the status
of this operation to the mailing list.

If the above works, then we could make sure that all your configuration
options are OK, so that there is something wrong in Axis C++ 1.3final
client side engine (possibly when 1.3final try to interact with what
ever the transprot (old or new) on RedHat 7.3 , there can be a
bug/problem).

Roshan



On Wed, 2004-11-10 at 18:57, Roshan Weerasuriya wrote:
> hi,
> 
> I also can't try to figure out what is going wrong. 
> 
> Hi Samisa, can there be some thing wrong with the Axis2 Transport under
> RedHat 7.3? But again Satoshi tells that even with axis(old) transport
> and 1.3 final he has problems. Satoshi, did you changed the
> configuration below to point to the axis(old) transport when you shift
> to 1.3final and axis(old) transport? 
> >>In axiscpp.conf look whether you changed to the following 
> >> Transport_http:/lz/axis-c/lib/libaxis_transport.so
> Also satoshi, when you test with 1.3final and axis(old) tansport, check
> whether you actualy had your "libaxis_transport.so" library in the
> correct place.
> 
> It seems as a Client Side problem. But can you also try to use the Axis
> C++ server side and test under the same configurations to see whether it
> works.
> > >> > > > > > > -----build.sh-----
> > > >> > > > > > > ./configure --prefix=/lz/axis-c \
> > > >> > > > > > >     --with-apache2=no \
> > > >> > > > > > >     --with-apache=no \
> > > >> > > > > > >     --with-xercesc=/lz/xercesc \
> > > >> > > > > > >     --enable-log=yes \
> > > >> > > > > > >     --enable-libwww=no \
> > > >> > > > > > >     --enable-testcases=no
> change above to:
> --with-apache2=yes
> or
> --with-apache=yes
> depending on the apache version which you use.
> 
> Roshan
> 
> On Wed, 2004-11-10 at 16:43, Satoshi Iwayama wrote:
> > Thank you so much.
> > 
> > I was using 1.3 alpha with axis(old) transport. That was fine.
> > And I've tried 1.3 final with axis(old) transport. But It doesn't work.
> > 
> > Thanks,
> > Satoshi
> > 
> > ----- Original Message ----- 
> > From: "Damitha Kumarage" <da...@opensource.lk>
> > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > Sent: Wednesday, November 10, 2004 7:31 PM
> > Subject: Re: sample [base] doesn't work on RH 7.3
> > 
> > 
> > > 1.3 alpha worked in your redhat 7.3?
> > > But 1.3 final is not working?
> > > Were you using axis(old) transport with 1.3 alpha?. Then did you try with
> > > that transport in 1.3 final. Maybe then the problme is with rh7.3 and
> > > axis2 combination
> > > 
> > > I'll try to get a test machine which run rh 7.3 and come back to you soon.
> > > May be on Friday
> > > 
> > > thanks
> > > damitha
> > > > Hi,
> > > >
> > > > My server side sample services are not working.
> > > > (I have not built sample services.)
> > > > I think this is some client side problem.
> > > >
> > > > because I got same segfault in another case.
> > > >
> > > > I'll explain that case...
> > > > I have some WebServices (WebSphere and Axis Java 1.1).
> > > > I generated Stub from WSDL.
> > > > I coded Main program and compiled them.
> > > > I executed Main program. and I got same segfault.
> > > > So I tried sample [base] without server side sample services.
> > > >
> > > > I attached WSDL and Stub code that generated by WSDL2Ws.
> > > > Is anything wrong ?
> > > >
> > > > When I built Axis-C++ 1.3 alpha,  I could send messages to server.(I
> > > > didn't get same segfault)
> > > > I'd like to use Axis2 transport. so I built client on Axis-C++ 1.3 final.
> > > >
> > > > Thanks,
> > > > Satoshi
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Samisa Abeysinghe" <sa...@yahoo.com>
> > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > > Sent: Wednesday, November 10, 2004 4:39 PM
> > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > >
> > > >
> > > >> Hi,
> > > >>    Is your server side working properly? Have you tried accessing
> > > >> http://localhost/axis/ URL?
> > > >>
> > > >>    Also check the contents of $AXISCPP_DEPLOY/etc/server.wsdd file.
> > > >>
> > > >>    If you can access that, this must be some client specific problem.
> > > >>    For me, the setting that you have looks OK, cannot think of anything
> > > >> else that can be wrong.
> > > >> Thanks,
> > > >> Samisa...
> > > >>
> > > >> --- Satoshi Iwayama <iw...@portalisland.com> wrote:
> > > >>
> > > >> > Hi,
> > > >> > thanks for your help.
> > > >> >
> > > >> > # echo $LD_LIBRARY_PATH
> > > >> > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> > > >> >
> > > >> > # echo $AXISCPP_DEPLOY
> > > >> > /lz/axis-c
> > > >> >
> > > >> > and I'v done chmod -R 777 $AXISCPP_DEPLOY.
> > > >> >
> > > >> > Thanks,
> > > >> > Satoshi
> > > >> >
> > > >> >
> > > >> > ----- Original Message -----
> > > >> > From: "Samisa Abeysinghe" <sa...@yahoo.com>
> > > >> > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > >> > Sent: Wednesday, November 10, 2004 3:33 PM
> > > >> > Subject: Re: sample [base] doesn't work on RH 7.3
> > > >> >
> > > >> >
> > > >> > > What is your $LD_LIBRARY_PATH and $AXISCPP_DEPLOY envioronment
> > > >> variable values?
> > > >> > >
> > > >> > > Also try doing
> > > >> > > chmod -R 777 $$AXISCPP_DEPLOY
> > > >> > >
> > > >> > > Thanks,
> > > >> > > Samisa...
> > > >> > >
> > > >> > > --- Satoshi Iwayama <iw...@portalisland.com> wrote:
> > > >> > >
> > > >> > > > Hi,
> > > >> > > > I tried with log disabled. but it segfault at the same point.
> > > >> > > > I saw debug trace on gdb.
> > > >> > > > m_pTransport is NULL in Call.cpp.
> > > >> > > > and I think it doesn't call Call::initialize from
> > > >> InteropTestPortType.cpp.
> > > >> > > > If Call::initialize is called, m_pTransport is not NULL, is it ?
> > > >> > > >
> > > >> > > > ------ debug ------
> > > >> > > > # gdb base
> > > >> > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > > >> > > > Copyright 2002 Free Software Foundation, Inc.
> > > >> > > > GDB is free software, covered by the GNU General Public License,
> > > >> and you are
> > > >> > > > welcome to change it and/or distribute copies of it under certain
> > > >> conditions.
> > > >> > > > Type "show copying" to see the conditions.
> > > >> > > > There is absolutely no warranty for GDB.  Type "show warranty" for
> > > >> details.
> > > >> > > > This GDB was configured as "i386-redhat-linux"...
> > > >> > > > (gdb) run
> > > >> > > > Starting program:
> > > >> /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> > > >> > > >
> > > >> > > >  Using service at http://localhost/axis/base
> > > >> > > >
> > > >> > > > [New Thread 1024 (LWP 2487)]
> > > >> > > > invoking echoString...
> > > >> > > >
> > > >> > > > Program received signal SIGSEGV, Segmentation fault.
> > > >> > > > [Switching to Thread 1024 (LWP 2487)]
> > > >> > > > 0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
> > > >> > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
> > > >> Call.cpp:255
> > > >> > > > 255             m_pTransport->setTransportProperty(type,
> > > >> tempvalue);
> > > >> > > > (gdb) where
> > > >> > > > #0  0x4005d7f1 in axiscpp::Call::setTransportProperty
> > > >> (this=0x8051270,
> > > >> > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
> > > >> Call.cpp:255
> > > >> > > > #1  0x08049ae5 in InteropTestPortType::echoString
> > > >> (this=0xbffff570,
> > > >> > > >     Value0=0x804e84a "hello world") at InteropTestPortType.cpp:47
> > > >> > > > #2  0x0804d68b in main (argc=1, argv=0xbffff7b4) at
> > > >> InteropBaseClient.cpp:81
> > > >> > > > #3  0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
> > > >> > > > (gdb) print m_pTransport
> > > >> > > > $1 = (class SOAPTransport *) 0x0
> > > >> > > > (gdb)
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > > Thanks
> > > >> > > > Satoshi
> > > >> > > >
> > > >> > > >
> > > >> > > > ----- Original Message -----
> > > >> > > > From: "Satoshi Iwayama" <iw...@portalisland.com>
> > > >> > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > >> > > > Sent: Wednesday, November 10, 2004 2:15 PM
> > > >> > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > >> > > >
> > > >> > > >
> > > >> > > > > Hi,
> > > >> > > > > Thanks for your help.
> > > >> > > > >
> > > >> > > > > I think it segfault when calling m_pCall->setTransportProperty
> > > >> before m_pCall->invoke().
> > > >> > > > > So it doesn't send anything. (I saw nothing on tcpmon)
> > > >> > > > >
> > > >> > > > > I'll try with log disabled.
> > > >> > > > >
> > > >> > > > > Thanks
> > > >> > > > > Satoshi
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > ------- environment -----
> > > >> > > > > # echo $LD_LIBRARY_PATH
> > > >> > > > > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> > > >> > > > >
> > > >> > > > > # ls /lz/xercesc/lib
> > > >> > > > > libxerces-c.so  libxerces-c.so.25  libxerces-c.so.25.0
> > > >> > > > >
> > > >> > > > > # ls /lz/axis-c/lib
> > > >> > > > > OLD                          libaxis_xercesc.la
> > > >> > > > > axis                         libaxis_xercesc.so
> > > >> > > > > axisjava                     libaxis_xercesc.so.0
> > > >> > > > > libaxis2_transport.a         libaxis_xercesc.so.0.0.0
> > > >> > > > > libaxis2_transport.la        libaxiscpp_client.a
> > > >> > > > > libaxis2_transport.so        libaxiscpp_client.la
> > > >> > > > > libaxis2_transport.so.0      libaxiscpp_client.so
> > > >> > > > > libaxis2_transport.so.0.0.0  libaxiscpp_client.so.0
> > > >> > > > > libaxis_transport.a          libaxiscpp_client.so.0.0.0
> > > >> > > > > libaxis_transport.la         libserver_engine.a
> > > >> > > > > libaxis_transport.so         libserver_engine.la
> > > >> > > > > libaxis_transport.so.0       libserver_engine.so
> > > >> > > > > libaxis_transport.so.0.0.0   libserver_engine.so.0
> > > >> > > > > libaxis_xercesc.a            libserver_engine.so.0.0.0
> > > >> > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > ----- Original Message -----
> > > >> > > > > From: <da...@opensource.lk>
> > > >> > > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > >> > > > > Sent: Wednesday, November 10, 2004 1:30 PM
> > > >> > > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > > Hi,
> > > >> > > > > > Unfortunately it is not tested with redhat 7.3. But did you
> > > >> see tcpmon
> > > >> > > > > > messages. Does it segfault when sending or receiving? Try with
> > > >> log
> > > >> > > > > > disabled.
> > > >> > > > > > Does LD_LIBRARY_PATH contains <xercescinst>/lib:/lz/axis-c/lib
> > > >> ?
> > > >> > > > > >
> > > >> > > > > > thanks
> > > >> > > > > > damtitha
> > > >> > > > > >
> > > >> > > > > > > Hi.
> > > >> > > > > > > I built Axis-C++ 1.3 final on RedHat Linux 7.3. (gcc version
> > > >> 2.96 20000731
> > > >> > > > > > > (Red Hat Linux 7.3 2.96-110))
> > > >> > > > > > > Then I built samples. I tried the sample [base], but it
> > > >> doesn't work.
> > > >> > > > > > >
> > > >> > > > > > > May be, m_pTransport (in Call.cpp) is NULL. but why ?
> > > >> > > > > > > (please see debug print)
> > > >> > > > > > >
> > > >> > > > > > > Is anything wrong ?
> > > >> > > > > > >
> > > >> > > > > > > Thanks for help.
> > > >> > > > > > > Best regards.
> > > >> > > > > > >
> > > >> > > > > > > Satoshi Iwayama.
> > > >> > > > > > >
> > > >> > > > > > > -----build.sh-----
> > > >> > > > > > > ./configure --prefix=/lz/axis-c \
> > > >> > > > > > >     --with-apache2=no \
> > > >> > > > > > >     --with-apache=no \
> > > >> > > > > > >     --with-xercesc=/lz/xercesc \
> > > >> > > > > > >     --enable-log=yes \
> > > >> > > > > > >     --enable-libwww=no \
> > > >> > > > > > >     --enable-testcases=no
> > > >> > > > > > >
> > > >> > > > > > > -----axiscpp.conf-----
> > > >> > > > > > > LogPath:/lz/axis-c/log/AxisLog
> > > >> > > > > > > WSDDFilePath:/lz/axis-c/etc/server.wsdd
> > > >> > > > > > > ClientLogPath:/lz/axis-c/log/AxisClientLog
> > > >> > > > > > > XMLParser:/lz/axis-c/lib/libaxis_xercesc.so
> > > >> > > > > > > Transport_http:/lz/axis-c/lib/libaxis2_transport.so
> > > >> > > > > > >
> > > >> > > > > > > -----debug------
> > > >> > > > > > > # gdb base
> > > >> > > > > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > > >> > > > > > > Copyright 2002 Free Software Foundation, Inc.
> > > >> > > > > > > GDB is free software, covered by the GNU General Public
> > > >> License, and you
> > > >> > > > > > > are
> > > >> > > > > > > welcome to change it and/or distribute copies of it under
> > > >> certain
> > > >> > > > > > > conditions.
> > > >> > > > > > > Type "show copying" to see the conditions.
> > > >> > > > > > > There is absolutely no warranty for GDB.  Type "show
> > > >> warranty" for
> > > >> > > > > > > details.
> > > >> > > > > > > This GDB was configured as "i386-redhat-linux"...
> > > >> > > > > > > (gdb) run
> > > >> > > > > > > Starting program:
> > > >> > > > > > > /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> > > >> > > > > > >
> > > >> > > > > > >  Using service at http://localhost/axis/base
> > > >> > > > > > >
> > > >> > > > > > > [New Thread 1024 (LWP 14490)]
> > > >> > > > > > > invoking echoString...
> > > >> > > > > > >
> > > >> > > > > > > Program received signal SIGSEGV, Segmentation fault.
> > > >> > > > > > > [Switching to Thread 1024 (LWP 14490)]
> > > >> > > > > > > 0x4005daa5 in axiscpp::Call::setTransportProperty
> > > >> (this=0x8051270,
> > > >> > > > > > >     type=SOAPACTION_HEADER, value=0x804e243
> > > >> "base#echoString") at
> > > >> > > > > > > Call.cpp:255
> > > >> > > > > > > 255             m_pTransport->setTransportProperty(type,
> > > >> tempvalue);
> > > >> > > > > > > (gdb) print m_pTransport
> > > >> > > > > > > $1 = (class SOAPTransport *) 0x0
> > > >> >
> > > >> === message truncated ===
> > > >>
> > > >>
> > > >>
> > > >>
> > > >> __________________________________
> > > >> Do you Yahoo!?
> > > >> Check out the new Yahoo! Front Page.
> > > >> www.yahoo.com
> > > >>
> > > >>
> > > >>
> > > 
> > > 
> > > -- 
> > > Damitha Kumarage
> > > hSenid Software International (PVT) Ltd
> > > 
> > 
> > 
> 
> 


Re: sample [base] doesn't work on RH 7.3

Posted by Roshan Weerasuriya <ro...@opensource.lk>.
hi,

I also can't try to figure out what is going wrong. 

Hi Samisa, can there be some thing wrong with the Axis2 Transport under
RedHat 7.3? But again Satoshi tells that even with axis(old) transport
and 1.3 final he has problems. Satoshi, did you changed the
configuration below to point to the axis(old) transport when you shift
to 1.3final and axis(old) transport? 
>>In axiscpp.conf look whether you changed to the following 
>> Transport_http:/lz/axis-c/lib/libaxis_transport.so
Also satoshi, when you test with 1.3final and axis(old) tansport, check
whether you actualy had your "libaxis_transport.so" library in the
correct place.

It seems as a Client Side problem. But can you also try to use the Axis
C++ server side and test under the same configurations to see whether it
works.
> >> > > > > > > -----build.sh-----
> > >> > > > > > > ./configure --prefix=/lz/axis-c \
> > >> > > > > > >     --with-apache2=no \
> > >> > > > > > >     --with-apache=no \
> > >> > > > > > >     --with-xercesc=/lz/xercesc \
> > >> > > > > > >     --enable-log=yes \
> > >> > > > > > >     --enable-libwww=no \
> > >> > > > > > >     --enable-testcases=no
change above to:
--with-apache2=yes
or
--with-apache=yes
depending on the apache version which you use.

Roshan

On Wed, 2004-11-10 at 16:43, Satoshi Iwayama wrote:
> Thank you so much.
> 
> I was using 1.3 alpha with axis(old) transport. That was fine.
> And I've tried 1.3 final with axis(old) transport. But It doesn't work.
> 
> Thanks,
> Satoshi
> 
> ----- Original Message ----- 
> From: "Damitha Kumarage" <da...@opensource.lk>
> To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> Sent: Wednesday, November 10, 2004 7:31 PM
> Subject: Re: sample [base] doesn't work on RH 7.3
> 
> 
> > 1.3 alpha worked in your redhat 7.3?
> > But 1.3 final is not working?
> > Were you using axis(old) transport with 1.3 alpha?. Then did you try with
> > that transport in 1.3 final. Maybe then the problme is with rh7.3 and
> > axis2 combination
> > 
> > I'll try to get a test machine which run rh 7.3 and come back to you soon.
> > May be on Friday
> > 
> > thanks
> > damitha
> > > Hi,
> > >
> > > My server side sample services are not working.
> > > (I have not built sample services.)
> > > I think this is some client side problem.
> > >
> > > because I got same segfault in another case.
> > >
> > > I'll explain that case...
> > > I have some WebServices (WebSphere and Axis Java 1.1).
> > > I generated Stub from WSDL.
> > > I coded Main program and compiled them.
> > > I executed Main program. and I got same segfault.
> > > So I tried sample [base] without server side sample services.
> > >
> > > I attached WSDL and Stub code that generated by WSDL2Ws.
> > > Is anything wrong ?
> > >
> > > When I built Axis-C++ 1.3 alpha,  I could send messages to server.(I
> > > didn't get same segfault)
> > > I'd like to use Axis2 transport. so I built client on Axis-C++ 1.3 final.
> > >
> > > Thanks,
> > > Satoshi
> > >
> > >
> > > ----- Original Message -----
> > > From: "Samisa Abeysinghe" <sa...@yahoo.com>
> > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > Sent: Wednesday, November 10, 2004 4:39 PM
> > > Subject: Re: sample [base] doesn't work on RH 7.3
> > >
> > >
> > >> Hi,
> > >>    Is your server side working properly? Have you tried accessing
> > >> http://localhost/axis/ URL?
> > >>
> > >>    Also check the contents of $AXISCPP_DEPLOY/etc/server.wsdd file.
> > >>
> > >>    If you can access that, this must be some client specific problem.
> > >>    For me, the setting that you have looks OK, cannot think of anything
> > >> else that can be wrong.
> > >> Thanks,
> > >> Samisa...
> > >>
> > >> --- Satoshi Iwayama <iw...@portalisland.com> wrote:
> > >>
> > >> > Hi,
> > >> > thanks for your help.
> > >> >
> > >> > # echo $LD_LIBRARY_PATH
> > >> > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> > >> >
> > >> > # echo $AXISCPP_DEPLOY
> > >> > /lz/axis-c
> > >> >
> > >> > and I'v done chmod -R 777 $AXISCPP_DEPLOY.
> > >> >
> > >> > Thanks,
> > >> > Satoshi
> > >> >
> > >> >
> > >> > ----- Original Message -----
> > >> > From: "Samisa Abeysinghe" <sa...@yahoo.com>
> > >> > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > >> > Sent: Wednesday, November 10, 2004 3:33 PM
> > >> > Subject: Re: sample [base] doesn't work on RH 7.3
> > >> >
> > >> >
> > >> > > What is your $LD_LIBRARY_PATH and $AXISCPP_DEPLOY envioronment
> > >> variable values?
> > >> > >
> > >> > > Also try doing
> > >> > > chmod -R 777 $$AXISCPP_DEPLOY
> > >> > >
> > >> > > Thanks,
> > >> > > Samisa...
> > >> > >
> > >> > > --- Satoshi Iwayama <iw...@portalisland.com> wrote:
> > >> > >
> > >> > > > Hi,
> > >> > > > I tried with log disabled. but it segfault at the same point.
> > >> > > > I saw debug trace on gdb.
> > >> > > > m_pTransport is NULL in Call.cpp.
> > >> > > > and I think it doesn't call Call::initialize from
> > >> InteropTestPortType.cpp.
> > >> > > > If Call::initialize is called, m_pTransport is not NULL, is it ?
> > >> > > >
> > >> > > > ------ debug ------
> > >> > > > # gdb base
> > >> > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > >> > > > Copyright 2002 Free Software Foundation, Inc.
> > >> > > > GDB is free software, covered by the GNU General Public License,
> > >> and you are
> > >> > > > welcome to change it and/or distribute copies of it under certain
> > >> conditions.
> > >> > > > Type "show copying" to see the conditions.
> > >> > > > There is absolutely no warranty for GDB.  Type "show warranty" for
> > >> details.
> > >> > > > This GDB was configured as "i386-redhat-linux"...
> > >> > > > (gdb) run
> > >> > > > Starting program:
> > >> /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> > >> > > >
> > >> > > >  Using service at http://localhost/axis/base
> > >> > > >
> > >> > > > [New Thread 1024 (LWP 2487)]
> > >> > > > invoking echoString...
> > >> > > >
> > >> > > > Program received signal SIGSEGV, Segmentation fault.
> > >> > > > [Switching to Thread 1024 (LWP 2487)]
> > >> > > > 0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
> > >> > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
> > >> Call.cpp:255
> > >> > > > 255             m_pTransport->setTransportProperty(type,
> > >> tempvalue);
> > >> > > > (gdb) where
> > >> > > > #0  0x4005d7f1 in axiscpp::Call::setTransportProperty
> > >> (this=0x8051270,
> > >> > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
> > >> Call.cpp:255
> > >> > > > #1  0x08049ae5 in InteropTestPortType::echoString
> > >> (this=0xbffff570,
> > >> > > >     Value0=0x804e84a "hello world") at InteropTestPortType.cpp:47
> > >> > > > #2  0x0804d68b in main (argc=1, argv=0xbffff7b4) at
> > >> InteropBaseClient.cpp:81
> > >> > > > #3  0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
> > >> > > > (gdb) print m_pTransport
> > >> > > > $1 = (class SOAPTransport *) 0x0
> > >> > > > (gdb)
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > Thanks
> > >> > > > Satoshi
> > >> > > >
> > >> > > >
> > >> > > > ----- Original Message -----
> > >> > > > From: "Satoshi Iwayama" <iw...@portalisland.com>
> > >> > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > >> > > > Sent: Wednesday, November 10, 2004 2:15 PM
> > >> > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > >> > > >
> > >> > > >
> > >> > > > > Hi,
> > >> > > > > Thanks for your help.
> > >> > > > >
> > >> > > > > I think it segfault when calling m_pCall->setTransportProperty
> > >> before m_pCall->invoke().
> > >> > > > > So it doesn't send anything. (I saw nothing on tcpmon)
> > >> > > > >
> > >> > > > > I'll try with log disabled.
> > >> > > > >
> > >> > > > > Thanks
> > >> > > > > Satoshi
> > >> > > > >
> > >> > > > >
> > >> > > > > ------- environment -----
> > >> > > > > # echo $LD_LIBRARY_PATH
> > >> > > > > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> > >> > > > >
> > >> > > > > # ls /lz/xercesc/lib
> > >> > > > > libxerces-c.so  libxerces-c.so.25  libxerces-c.so.25.0
> > >> > > > >
> > >> > > > > # ls /lz/axis-c/lib
> > >> > > > > OLD                          libaxis_xercesc.la
> > >> > > > > axis                         libaxis_xercesc.so
> > >> > > > > axisjava                     libaxis_xercesc.so.0
> > >> > > > > libaxis2_transport.a         libaxis_xercesc.so.0.0.0
> > >> > > > > libaxis2_transport.la        libaxiscpp_client.a
> > >> > > > > libaxis2_transport.so        libaxiscpp_client.la
> > >> > > > > libaxis2_transport.so.0      libaxiscpp_client.so
> > >> > > > > libaxis2_transport.so.0.0.0  libaxiscpp_client.so.0
> > >> > > > > libaxis_transport.a          libaxiscpp_client.so.0.0.0
> > >> > > > > libaxis_transport.la         libserver_engine.a
> > >> > > > > libaxis_transport.so         libserver_engine.la
> > >> > > > > libaxis_transport.so.0       libserver_engine.so
> > >> > > > > libaxis_transport.so.0.0.0   libserver_engine.so.0
> > >> > > > > libaxis_xercesc.a            libserver_engine.so.0.0.0
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > > ----- Original Message -----
> > >> > > > > From: <da...@opensource.lk>
> > >> > > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > >> > > > > Sent: Wednesday, November 10, 2004 1:30 PM
> > >> > > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > >> > > > >
> > >> > > > >
> > >> > > > > > Hi,
> > >> > > > > > Unfortunately it is not tested with redhat 7.3. But did you
> > >> see tcpmon
> > >> > > > > > messages. Does it segfault when sending or receiving? Try with
> > >> log
> > >> > > > > > disabled.
> > >> > > > > > Does LD_LIBRARY_PATH contains <xercescinst>/lib:/lz/axis-c/lib
> > >> ?
> > >> > > > > >
> > >> > > > > > thanks
> > >> > > > > > damtitha
> > >> > > > > >
> > >> > > > > > > Hi.
> > >> > > > > > > I built Axis-C++ 1.3 final on RedHat Linux 7.3. (gcc version
> > >> 2.96 20000731
> > >> > > > > > > (Red Hat Linux 7.3 2.96-110))
> > >> > > > > > > Then I built samples. I tried the sample [base], but it
> > >> doesn't work.
> > >> > > > > > >
> > >> > > > > > > May be, m_pTransport (in Call.cpp) is NULL. but why ?
> > >> > > > > > > (please see debug print)
> > >> > > > > > >
> > >> > > > > > > Is anything wrong ?
> > >> > > > > > >
> > >> > > > > > > Thanks for help.
> > >> > > > > > > Best regards.
> > >> > > > > > >
> > >> > > > > > > Satoshi Iwayama.
> > >> > > > > > >
> > >> > > > > > > -----build.sh-----
> > >> > > > > > > ./configure --prefix=/lz/axis-c \
> > >> > > > > > >     --with-apache2=no \
> > >> > > > > > >     --with-apache=no \
> > >> > > > > > >     --with-xercesc=/lz/xercesc \
> > >> > > > > > >     --enable-log=yes \
> > >> > > > > > >     --enable-libwww=no \
> > >> > > > > > >     --enable-testcases=no
> > >> > > > > > >
> > >> > > > > > > -----axiscpp.conf-----
> > >> > > > > > > LogPath:/lz/axis-c/log/AxisLog
> > >> > > > > > > WSDDFilePath:/lz/axis-c/etc/server.wsdd
> > >> > > > > > > ClientLogPath:/lz/axis-c/log/AxisClientLog
> > >> > > > > > > XMLParser:/lz/axis-c/lib/libaxis_xercesc.so
> > >> > > > > > > Transport_http:/lz/axis-c/lib/libaxis2_transport.so
> > >> > > > > > >
> > >> > > > > > > -----debug------
> > >> > > > > > > # gdb base
> > >> > > > > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > >> > > > > > > Copyright 2002 Free Software Foundation, Inc.
> > >> > > > > > > GDB is free software, covered by the GNU General Public
> > >> License, and you
> > >> > > > > > > are
> > >> > > > > > > welcome to change it and/or distribute copies of it under
> > >> certain
> > >> > > > > > > conditions.
> > >> > > > > > > Type "show copying" to see the conditions.
> > >> > > > > > > There is absolutely no warranty for GDB.  Type "show
> > >> warranty" for
> > >> > > > > > > details.
> > >> > > > > > > This GDB was configured as "i386-redhat-linux"...
> > >> > > > > > > (gdb) run
> > >> > > > > > > Starting program:
> > >> > > > > > > /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> > >> > > > > > >
> > >> > > > > > >  Using service at http://localhost/axis/base
> > >> > > > > > >
> > >> > > > > > > [New Thread 1024 (LWP 14490)]
> > >> > > > > > > invoking echoString...
> > >> > > > > > >
> > >> > > > > > > Program received signal SIGSEGV, Segmentation fault.
> > >> > > > > > > [Switching to Thread 1024 (LWP 14490)]
> > >> > > > > > > 0x4005daa5 in axiscpp::Call::setTransportProperty
> > >> (this=0x8051270,
> > >> > > > > > >     type=SOAPACTION_HEADER, value=0x804e243
> > >> "base#echoString") at
> > >> > > > > > > Call.cpp:255
> > >> > > > > > > 255             m_pTransport->setTransportProperty(type,
> > >> tempvalue);
> > >> > > > > > > (gdb) print m_pTransport
> > >> > > > > > > $1 = (class SOAPTransport *) 0x0
> > >> >
> > >> === message truncated ===
> > >>
> > >>
> > >>
> > >>
> > >> __________________________________
> > >> Do you Yahoo!?
> > >> Check out the new Yahoo! Front Page.
> > >> www.yahoo.com
> > >>
> > >>
> > >>
> > 
> > 
> > -- 
> > Damitha Kumarage
> > hSenid Software International (PVT) Ltd
> > 
> 
> 


Re: sample [base] doesn't work on RH 7.3

Posted by Satoshi Iwayama <iw...@portalisland.com>.
Thank you so much.

I was using 1.3 alpha with axis(old) transport. That was fine.
And I've tried 1.3 final with axis(old) transport. But It doesn't work.

Thanks,
Satoshi

----- Original Message ----- 
From: "Damitha Kumarage" <da...@opensource.lk>
To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
Sent: Wednesday, November 10, 2004 7:31 PM
Subject: Re: sample [base] doesn't work on RH 7.3


> 1.3 alpha worked in your redhat 7.3?
> But 1.3 final is not working?
> Were you using axis(old) transport with 1.3 alpha?. Then did you try with
> that transport in 1.3 final. Maybe then the problme is with rh7.3 and
> axis2 combination
> 
> I'll try to get a test machine which run rh 7.3 and come back to you soon.
> May be on Friday
> 
> thanks
> damitha
> > Hi,
> >
> > My server side sample services are not working.
> > (I have not built sample services.)
> > I think this is some client side problem.
> >
> > because I got same segfault in another case.
> >
> > I'll explain that case...
> > I have some WebServices (WebSphere and Axis Java 1.1).
> > I generated Stub from WSDL.
> > I coded Main program and compiled them.
> > I executed Main program. and I got same segfault.
> > So I tried sample [base] without server side sample services.
> >
> > I attached WSDL and Stub code that generated by WSDL2Ws.
> > Is anything wrong ?
> >
> > When I built Axis-C++ 1.3 alpha,  I could send messages to server.(I
> > didn't get same segfault)
> > I'd like to use Axis2 transport. so I built client on Axis-C++ 1.3 final.
> >
> > Thanks,
> > Satoshi
> >
> >
> > ----- Original Message -----
> > From: "Samisa Abeysinghe" <sa...@yahoo.com>
> > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > Sent: Wednesday, November 10, 2004 4:39 PM
> > Subject: Re: sample [base] doesn't work on RH 7.3
> >
> >
> >> Hi,
> >>    Is your server side working properly? Have you tried accessing
> >> http://localhost/axis/ URL?
> >>
> >>    Also check the contents of $AXISCPP_DEPLOY/etc/server.wsdd file.
> >>
> >>    If you can access that, this must be some client specific problem.
> >>    For me, the setting that you have looks OK, cannot think of anything
> >> else that can be wrong.
> >> Thanks,
> >> Samisa...
> >>
> >> --- Satoshi Iwayama <iw...@portalisland.com> wrote:
> >>
> >> > Hi,
> >> > thanks for your help.
> >> >
> >> > # echo $LD_LIBRARY_PATH
> >> > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> >> >
> >> > # echo $AXISCPP_DEPLOY
> >> > /lz/axis-c
> >> >
> >> > and I'v done chmod -R 777 $AXISCPP_DEPLOY.
> >> >
> >> > Thanks,
> >> > Satoshi
> >> >
> >> >
> >> > ----- Original Message -----
> >> > From: "Samisa Abeysinghe" <sa...@yahoo.com>
> >> > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> >> > Sent: Wednesday, November 10, 2004 3:33 PM
> >> > Subject: Re: sample [base] doesn't work on RH 7.3
> >> >
> >> >
> >> > > What is your $LD_LIBRARY_PATH and $AXISCPP_DEPLOY envioronment
> >> variable values?
> >> > >
> >> > > Also try doing
> >> > > chmod -R 777 $$AXISCPP_DEPLOY
> >> > >
> >> > > Thanks,
> >> > > Samisa...
> >> > >
> >> > > --- Satoshi Iwayama <iw...@portalisland.com> wrote:
> >> > >
> >> > > > Hi,
> >> > > > I tried with log disabled. but it segfault at the same point.
> >> > > > I saw debug trace on gdb.
> >> > > > m_pTransport is NULL in Call.cpp.
> >> > > > and I think it doesn't call Call::initialize from
> >> InteropTestPortType.cpp.
> >> > > > If Call::initialize is called, m_pTransport is not NULL, is it ?
> >> > > >
> >> > > > ------ debug ------
> >> > > > # gdb base
> >> > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> >> > > > Copyright 2002 Free Software Foundation, Inc.
> >> > > > GDB is free software, covered by the GNU General Public License,
> >> and you are
> >> > > > welcome to change it and/or distribute copies of it under certain
> >> conditions.
> >> > > > Type "show copying" to see the conditions.
> >> > > > There is absolutely no warranty for GDB.  Type "show warranty" for
> >> details.
> >> > > > This GDB was configured as "i386-redhat-linux"...
> >> > > > (gdb) run
> >> > > > Starting program:
> >> /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> >> > > >
> >> > > >  Using service at http://localhost/axis/base
> >> > > >
> >> > > > [New Thread 1024 (LWP 2487)]
> >> > > > invoking echoString...
> >> > > >
> >> > > > Program received signal SIGSEGV, Segmentation fault.
> >> > > > [Switching to Thread 1024 (LWP 2487)]
> >> > > > 0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
> >> > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
> >> Call.cpp:255
> >> > > > 255             m_pTransport->setTransportProperty(type,
> >> tempvalue);
> >> > > > (gdb) where
> >> > > > #0  0x4005d7f1 in axiscpp::Call::setTransportProperty
> >> (this=0x8051270,
> >> > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
> >> Call.cpp:255
> >> > > > #1  0x08049ae5 in InteropTestPortType::echoString
> >> (this=0xbffff570,
> >> > > >     Value0=0x804e84a "hello world") at InteropTestPortType.cpp:47
> >> > > > #2  0x0804d68b in main (argc=1, argv=0xbffff7b4) at
> >> InteropBaseClient.cpp:81
> >> > > > #3  0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
> >> > > > (gdb) print m_pTransport
> >> > > > $1 = (class SOAPTransport *) 0x0
> >> > > > (gdb)
> >> > > >
> >> > > >
> >> > > >
> >> > > > Thanks
> >> > > > Satoshi
> >> > > >
> >> > > >
> >> > > > ----- Original Message -----
> >> > > > From: "Satoshi Iwayama" <iw...@portalisland.com>
> >> > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> >> > > > Sent: Wednesday, November 10, 2004 2:15 PM
> >> > > > Subject: Re: sample [base] doesn't work on RH 7.3
> >> > > >
> >> > > >
> >> > > > > Hi,
> >> > > > > Thanks for your help.
> >> > > > >
> >> > > > > I think it segfault when calling m_pCall->setTransportProperty
> >> before m_pCall->invoke().
> >> > > > > So it doesn't send anything. (I saw nothing on tcpmon)
> >> > > > >
> >> > > > > I'll try with log disabled.
> >> > > > >
> >> > > > > Thanks
> >> > > > > Satoshi
> >> > > > >
> >> > > > >
> >> > > > > ------- environment -----
> >> > > > > # echo $LD_LIBRARY_PATH
> >> > > > > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> >> > > > >
> >> > > > > # ls /lz/xercesc/lib
> >> > > > > libxerces-c.so  libxerces-c.so.25  libxerces-c.so.25.0
> >> > > > >
> >> > > > > # ls /lz/axis-c/lib
> >> > > > > OLD                          libaxis_xercesc.la
> >> > > > > axis                         libaxis_xercesc.so
> >> > > > > axisjava                     libaxis_xercesc.so.0
> >> > > > > libaxis2_transport.a         libaxis_xercesc.so.0.0.0
> >> > > > > libaxis2_transport.la        libaxiscpp_client.a
> >> > > > > libaxis2_transport.so        libaxiscpp_client.la
> >> > > > > libaxis2_transport.so.0      libaxiscpp_client.so
> >> > > > > libaxis2_transport.so.0.0.0  libaxiscpp_client.so.0
> >> > > > > libaxis_transport.a          libaxiscpp_client.so.0.0.0
> >> > > > > libaxis_transport.la         libserver_engine.a
> >> > > > > libaxis_transport.so         libserver_engine.la
> >> > > > > libaxis_transport.so.0       libserver_engine.so
> >> > > > > libaxis_transport.so.0.0.0   libserver_engine.so.0
> >> > > > > libaxis_xercesc.a            libserver_engine.so.0.0.0
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > > > ----- Original Message -----
> >> > > > > From: <da...@opensource.lk>
> >> > > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> >> > > > > Sent: Wednesday, November 10, 2004 1:30 PM
> >> > > > > Subject: Re: sample [base] doesn't work on RH 7.3
> >> > > > >
> >> > > > >
> >> > > > > > Hi,
> >> > > > > > Unfortunately it is not tested with redhat 7.3. But did you
> >> see tcpmon
> >> > > > > > messages. Does it segfault when sending or receiving? Try with
> >> log
> >> > > > > > disabled.
> >> > > > > > Does LD_LIBRARY_PATH contains <xercescinst>/lib:/lz/axis-c/lib
> >> ?
> >> > > > > >
> >> > > > > > thanks
> >> > > > > > damtitha
> >> > > > > >
> >> > > > > > > Hi.
> >> > > > > > > I built Axis-C++ 1.3 final on RedHat Linux 7.3. (gcc version
> >> 2.96 20000731
> >> > > > > > > (Red Hat Linux 7.3 2.96-110))
> >> > > > > > > Then I built samples. I tried the sample [base], but it
> >> doesn't work.
> >> > > > > > >
> >> > > > > > > May be, m_pTransport (in Call.cpp) is NULL. but why ?
> >> > > > > > > (please see debug print)
> >> > > > > > >
> >> > > > > > > Is anything wrong ?
> >> > > > > > >
> >> > > > > > > Thanks for help.
> >> > > > > > > Best regards.
> >> > > > > > >
> >> > > > > > > Satoshi Iwayama.
> >> > > > > > >
> >> > > > > > > -----build.sh-----
> >> > > > > > > ./configure --prefix=/lz/axis-c \
> >> > > > > > >     --with-apache2=no \
> >> > > > > > >     --with-apache=no \
> >> > > > > > >     --with-xercesc=/lz/xercesc \
> >> > > > > > >     --enable-log=yes \
> >> > > > > > >     --enable-libwww=no \
> >> > > > > > >     --enable-testcases=no
> >> > > > > > >
> >> > > > > > > -----axiscpp.conf-----
> >> > > > > > > LogPath:/lz/axis-c/log/AxisLog
> >> > > > > > > WSDDFilePath:/lz/axis-c/etc/server.wsdd
> >> > > > > > > ClientLogPath:/lz/axis-c/log/AxisClientLog
> >> > > > > > > XMLParser:/lz/axis-c/lib/libaxis_xercesc.so
> >> > > > > > > Transport_http:/lz/axis-c/lib/libaxis2_transport.so
> >> > > > > > >
> >> > > > > > > -----debug------
> >> > > > > > > # gdb base
> >> > > > > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> >> > > > > > > Copyright 2002 Free Software Foundation, Inc.
> >> > > > > > > GDB is free software, covered by the GNU General Public
> >> License, and you
> >> > > > > > > are
> >> > > > > > > welcome to change it and/or distribute copies of it under
> >> certain
> >> > > > > > > conditions.
> >> > > > > > > Type "show copying" to see the conditions.
> >> > > > > > > There is absolutely no warranty for GDB.  Type "show
> >> warranty" for
> >> > > > > > > details.
> >> > > > > > > This GDB was configured as "i386-redhat-linux"...
> >> > > > > > > (gdb) run
> >> > > > > > > Starting program:
> >> > > > > > > /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> >> > > > > > >
> >> > > > > > >  Using service at http://localhost/axis/base
> >> > > > > > >
> >> > > > > > > [New Thread 1024 (LWP 14490)]
> >> > > > > > > invoking echoString...
> >> > > > > > >
> >> > > > > > > Program received signal SIGSEGV, Segmentation fault.
> >> > > > > > > [Switching to Thread 1024 (LWP 14490)]
> >> > > > > > > 0x4005daa5 in axiscpp::Call::setTransportProperty
> >> (this=0x8051270,
> >> > > > > > >     type=SOAPACTION_HEADER, value=0x804e243
> >> "base#echoString") at
> >> > > > > > > Call.cpp:255
> >> > > > > > > 255             m_pTransport->setTransportProperty(type,
> >> tempvalue);
> >> > > > > > > (gdb) print m_pTransport
> >> > > > > > > $1 = (class SOAPTransport *) 0x0
> >> >
> >> === message truncated ===
> >>
> >>
> >>
> >>
> >> __________________________________
> >> Do you Yahoo!?
> >> Check out the new Yahoo! Front Page.
> >> www.yahoo.com
> >>
> >>
> >>
> 
> 
> -- 
> Damitha Kumarage
> hSenid Software International (PVT) Ltd
> 


Re: sample [base] doesn't work on RH 7.3

Posted by Damitha Kumarage <da...@opensource.lk>.
1.3 alpha worked in your redhat 7.3?
But 1.3 final is not working?
Were you using axis(old) transport with 1.3 alpha?. Then did you try with
that transport in 1.3 final. Maybe then the problme is with rh7.3 and
axis2 combination

I'll try to get a test machine which run rh 7.3 and come back to you soon.
May be on Friday

thanks
damitha
> Hi,
>
> My server side sample services are not working.
> (I have not built sample services.)
> I think this is some client side problem.
>
> because I got same segfault in another case.
>
> I'll explain that case...
> I have some WebServices (WebSphere and Axis Java 1.1).
> I generated Stub from WSDL.
> I coded Main program and compiled them.
> I executed Main program. and I got same segfault.
> So I tried sample [base] without server side sample services.
>
> I attached WSDL and Stub code that generated by WSDL2Ws.
> Is anything wrong ?
>
> When I built Axis-C++ 1.3 alpha,  I could send messages to server.(I
> didn't get same segfault)
> I'd like to use Axis2 transport. so I built client on Axis-C++ 1.3 final.
>
> Thanks,
> Satoshi
>
>
> ----- Original Message -----
> From: "Samisa Abeysinghe" <sa...@yahoo.com>
> To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> Sent: Wednesday, November 10, 2004 4:39 PM
> Subject: Re: sample [base] doesn't work on RH 7.3
>
>
>> Hi,
>>    Is your server side working properly? Have you tried accessing
>> http://localhost/axis/ URL?
>>
>>    Also check the contents of $AXISCPP_DEPLOY/etc/server.wsdd file.
>>
>>    If you can access that, this must be some client specific problem.
>>    For me, the setting that you have looks OK, cannot think of anything
>> else that can be wrong.
>> Thanks,
>> Samisa...
>>
>> --- Satoshi Iwayama <iw...@portalisland.com> wrote:
>>
>> > Hi,
>> > thanks for your help.
>> >
>> > # echo $LD_LIBRARY_PATH
>> > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
>> >
>> > # echo $AXISCPP_DEPLOY
>> > /lz/axis-c
>> >
>> > and I'v done chmod -R 777 $AXISCPP_DEPLOY.
>> >
>> > Thanks,
>> > Satoshi
>> >
>> >
>> > ----- Original Message -----
>> > From: "Samisa Abeysinghe" <sa...@yahoo.com>
>> > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
>> > Sent: Wednesday, November 10, 2004 3:33 PM
>> > Subject: Re: sample [base] doesn't work on RH 7.3
>> >
>> >
>> > > What is your $LD_LIBRARY_PATH and $AXISCPP_DEPLOY envioronment
>> variable values?
>> > >
>> > > Also try doing
>> > > chmod -R 777 $$AXISCPP_DEPLOY
>> > >
>> > > Thanks,
>> > > Samisa...
>> > >
>> > > --- Satoshi Iwayama <iw...@portalisland.com> wrote:
>> > >
>> > > > Hi,
>> > > > I tried with log disabled. but it segfault at the same point.
>> > > > I saw debug trace on gdb.
>> > > > m_pTransport is NULL in Call.cpp.
>> > > > and I think it doesn't call Call::initialize from
>> InteropTestPortType.cpp.
>> > > > If Call::initialize is called, m_pTransport is not NULL, is it ?
>> > > >
>> > > > ------ debug ------
>> > > > # gdb base
>> > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
>> > > > Copyright 2002 Free Software Foundation, Inc.
>> > > > GDB is free software, covered by the GNU General Public License,
>> and you are
>> > > > welcome to change it and/or distribute copies of it under certain
>> conditions.
>> > > > Type "show copying" to see the conditions.
>> > > > There is absolutely no warranty for GDB.  Type "show warranty" for
>> details.
>> > > > This GDB was configured as "i386-redhat-linux"...
>> > > > (gdb) run
>> > > > Starting program:
>> /lz/axis-c/src/samples/client/interoptests/base/.libs/base
>> > > >
>> > > >  Using service at http://localhost/axis/base
>> > > >
>> > > > [New Thread 1024 (LWP 2487)]
>> > > > invoking echoString...
>> > > >
>> > > > Program received signal SIGSEGV, Segmentation fault.
>> > > > [Switching to Thread 1024 (LWP 2487)]
>> > > > 0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
>> > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
>> Call.cpp:255
>> > > > 255             m_pTransport->setTransportProperty(type,
>> tempvalue);
>> > > > (gdb) where
>> > > > #0  0x4005d7f1 in axiscpp::Call::setTransportProperty
>> (this=0x8051270,
>> > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
>> Call.cpp:255
>> > > > #1  0x08049ae5 in InteropTestPortType::echoString
>> (this=0xbffff570,
>> > > >     Value0=0x804e84a "hello world") at InteropTestPortType.cpp:47
>> > > > #2  0x0804d68b in main (argc=1, argv=0xbffff7b4) at
>> InteropBaseClient.cpp:81
>> > > > #3  0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
>> > > > (gdb) print m_pTransport
>> > > > $1 = (class SOAPTransport *) 0x0
>> > > > (gdb)
>> > > >
>> > > >
>> > > >
>> > > > Thanks
>> > > > Satoshi
>> > > >
>> > > >
>> > > > ----- Original Message -----
>> > > > From: "Satoshi Iwayama" <iw...@portalisland.com>
>> > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
>> > > > Sent: Wednesday, November 10, 2004 2:15 PM
>> > > > Subject: Re: sample [base] doesn't work on RH 7.3
>> > > >
>> > > >
>> > > > > Hi,
>> > > > > Thanks for your help.
>> > > > >
>> > > > > I think it segfault when calling m_pCall->setTransportProperty
>> before m_pCall->invoke().
>> > > > > So it doesn't send anything. (I saw nothing on tcpmon)
>> > > > >
>> > > > > I'll try with log disabled.
>> > > > >
>> > > > > Thanks
>> > > > > Satoshi
>> > > > >
>> > > > >
>> > > > > ------- environment -----
>> > > > > # echo $LD_LIBRARY_PATH
>> > > > > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
>> > > > >
>> > > > > # ls /lz/xercesc/lib
>> > > > > libxerces-c.so  libxerces-c.so.25  libxerces-c.so.25.0
>> > > > >
>> > > > > # ls /lz/axis-c/lib
>> > > > > OLD                          libaxis_xercesc.la
>> > > > > axis                         libaxis_xercesc.so
>> > > > > axisjava                     libaxis_xercesc.so.0
>> > > > > libaxis2_transport.a         libaxis_xercesc.so.0.0.0
>> > > > > libaxis2_transport.la        libaxiscpp_client.a
>> > > > > libaxis2_transport.so        libaxiscpp_client.la
>> > > > > libaxis2_transport.so.0      libaxiscpp_client.so
>> > > > > libaxis2_transport.so.0.0.0  libaxiscpp_client.so.0
>> > > > > libaxis_transport.a          libaxiscpp_client.so.0.0.0
>> > > > > libaxis_transport.la         libserver_engine.a
>> > > > > libaxis_transport.so         libserver_engine.la
>> > > > > libaxis_transport.so.0       libserver_engine.so
>> > > > > libaxis_transport.so.0.0.0   libserver_engine.so.0
>> > > > > libaxis_xercesc.a            libserver_engine.so.0.0.0
>> > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > > > ----- Original Message -----
>> > > > > From: <da...@opensource.lk>
>> > > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
>> > > > > Sent: Wednesday, November 10, 2004 1:30 PM
>> > > > > Subject: Re: sample [base] doesn't work on RH 7.3
>> > > > >
>> > > > >
>> > > > > > Hi,
>> > > > > > Unfortunately it is not tested with redhat 7.3. But did you
>> see tcpmon
>> > > > > > messages. Does it segfault when sending or receiving? Try with
>> log
>> > > > > > disabled.
>> > > > > > Does LD_LIBRARY_PATH contains <xercescinst>/lib:/lz/axis-c/lib
>> ?
>> > > > > >
>> > > > > > thanks
>> > > > > > damtitha
>> > > > > >
>> > > > > > > Hi.
>> > > > > > > I built Axis-C++ 1.3 final on RedHat Linux 7.3. (gcc version
>> 2.96 20000731
>> > > > > > > (Red Hat Linux 7.3 2.96-110))
>> > > > > > > Then I built samples. I tried the sample [base], but it
>> doesn't work.
>> > > > > > >
>> > > > > > > May be, m_pTransport (in Call.cpp) is NULL. but why ?
>> > > > > > > (please see debug print)
>> > > > > > >
>> > > > > > > Is anything wrong ?
>> > > > > > >
>> > > > > > > Thanks for help.
>> > > > > > > Best regards.
>> > > > > > >
>> > > > > > > Satoshi Iwayama.
>> > > > > > >
>> > > > > > > -----build.sh-----
>> > > > > > > ./configure --prefix=/lz/axis-c \
>> > > > > > >     --with-apache2=no \
>> > > > > > >     --with-apache=no \
>> > > > > > >     --with-xercesc=/lz/xercesc \
>> > > > > > >     --enable-log=yes \
>> > > > > > >     --enable-libwww=no \
>> > > > > > >     --enable-testcases=no
>> > > > > > >
>> > > > > > > -----axiscpp.conf-----
>> > > > > > > LogPath:/lz/axis-c/log/AxisLog
>> > > > > > > WSDDFilePath:/lz/axis-c/etc/server.wsdd
>> > > > > > > ClientLogPath:/lz/axis-c/log/AxisClientLog
>> > > > > > > XMLParser:/lz/axis-c/lib/libaxis_xercesc.so
>> > > > > > > Transport_http:/lz/axis-c/lib/libaxis2_transport.so
>> > > > > > >
>> > > > > > > -----debug------
>> > > > > > > # gdb base
>> > > > > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
>> > > > > > > Copyright 2002 Free Software Foundation, Inc.
>> > > > > > > GDB is free software, covered by the GNU General Public
>> License, and you
>> > > > > > > are
>> > > > > > > welcome to change it and/or distribute copies of it under
>> certain
>> > > > > > > conditions.
>> > > > > > > Type "show copying" to see the conditions.
>> > > > > > > There is absolutely no warranty for GDB.  Type "show
>> warranty" for
>> > > > > > > details.
>> > > > > > > This GDB was configured as "i386-redhat-linux"...
>> > > > > > > (gdb) run
>> > > > > > > Starting program:
>> > > > > > > /lz/axis-c/src/samples/client/interoptests/base/.libs/base
>> > > > > > >
>> > > > > > >  Using service at http://localhost/axis/base
>> > > > > > >
>> > > > > > > [New Thread 1024 (LWP 14490)]
>> > > > > > > invoking echoString...
>> > > > > > >
>> > > > > > > Program received signal SIGSEGV, Segmentation fault.
>> > > > > > > [Switching to Thread 1024 (LWP 14490)]
>> > > > > > > 0x4005daa5 in axiscpp::Call::setTransportProperty
>> (this=0x8051270,
>> > > > > > >     type=SOAPACTION_HEADER, value=0x804e243
>> "base#echoString") at
>> > > > > > > Call.cpp:255
>> > > > > > > 255             m_pTransport->setTransportProperty(type,
>> tempvalue);
>> > > > > > > (gdb) print m_pTransport
>> > > > > > > $1 = (class SOAPTransport *) 0x0
>> >
>> === message truncated ===
>>
>>
>>
>>
>> __________________________________
>> Do you Yahoo!?
>> Check out the new Yahoo! Front Page.
>> www.yahoo.com
>>
>>
>>


-- 
Damitha Kumarage
hSenid Software International (PVT) Ltd

Re: sample [base] doesn't work on RH 7.3

Posted by Satoshi Iwayama <iw...@portalisland.com>.
I rebuilt 1.3 final source like this,
make clean
make
make install

but It doesn't work.
I got same segfault.

I don't have any good idea.

Thanks,
Satoshi

----- Original Message ----- 
From: "Samisa Abeysinghe" <sa...@yahoo.com>
To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
Sent: Wednesday, November 10, 2004 6:41 PM
Subject: Re: sample [base] doesn't work on RH 7.3


> In case you built 1.3 final from source, please try rebuilding.
> that is:
> make clean
> make 
> make install
> 
> Thanks,
> Samisa...
> 
> --- Satoshi Iwayama <iw...@portalisland.com> wrote:
> 
> > Hi,
> > 
> > My server side sample services are not working.
> > (I have not built sample services.)
> > I think this is some client side problem.
> > 
> > because I got same segfault in another case.
> > 
> > I'll explain that case...
> > I have some WebServices (WebSphere and Axis Java 1.1).
> > I generated Stub from WSDL.
> > I coded Main program and compiled them.
> > I executed Main program. and I got same segfault.
> > So I tried sample [base] without server side sample services.
> > 
> > I attached WSDL and Stub code that generated by WSDL2Ws.
> > Is anything wrong ?
> > 
> > When I built Axis-C++ 1.3 alpha,  I could send messages to server.(I didn't get same segfault)
> > I'd like to use Axis2 transport. so I built client on Axis-C++ 1.3 final.
> > 
> > Thanks,
> > Satoshi
> > 
> > 
> > ----- Original Message ----- 
> > From: "Samisa Abeysinghe" <sa...@yahoo.com>
> > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > Sent: Wednesday, November 10, 2004 4:39 PM
> > Subject: Re: sample [base] doesn't work on RH 7.3
> > 
> > 
> > > Hi,
> > >    Is your server side working properly? Have you tried accessing http://localhost/axis/ URL?
> > > 
> > >    Also check the contents of $AXISCPP_DEPLOY/etc/server.wsdd file.
> > > 
> > >    If you can access that, this must be some client specific problem.
> > >    For me, the setting that you have looks OK, cannot think of anything else that can be
> > wrong.
> > > Thanks,
> > > Samisa...
> > > 
> > > --- Satoshi Iwayama <iw...@portalisland.com> wrote:
> > > 
> > > > Hi,
> > > > thanks for your help.
> > > > 
> > > > # echo $LD_LIBRARY_PATH
> > > > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> > > > 
> > > > # echo $AXISCPP_DEPLOY
> > > > /lz/axis-c
> > > > 
> > > > and I'v done chmod -R 777 $AXISCPP_DEPLOY.
> > > > 
> > > > Thanks,
> > > > Satoshi
> > > > 
> > > > 
> > > > ----- Original Message ----- 
> > > > From: "Samisa Abeysinghe" <sa...@yahoo.com>
> > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > > Sent: Wednesday, November 10, 2004 3:33 PM
> > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > > 
> > > > 
> > > > > What is your $LD_LIBRARY_PATH and $AXISCPP_DEPLOY envioronment variable values?
> > > > > 
> > > > > Also try doing 
> > > > > chmod -R 777 $$AXISCPP_DEPLOY
> > > > > 
> > > > > Thanks,
> > > > > Samisa...
> > > > > 
> > > > > --- Satoshi Iwayama <iw...@portalisland.com> wrote:
> > > > > 
> > > > > > Hi,
> > > > > > I tried with log disabled. but it segfault at the same point.
> > > > > > I saw debug trace on gdb.
> > > > > > m_pTransport is NULL in Call.cpp.
> > > > > > and I think it doesn't call Call::initialize from InteropTestPortType.cpp.
> > > > > > If Call::initialize is called, m_pTransport is not NULL, is it ?
> > > > > > 
> > > > > > ------ debug ------
> > > > > > # gdb base
> > > > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > > > > > Copyright 2002 Free Software Foundation, Inc.
> > > > > > GDB is free software, covered by the GNU General Public License, and you are
> > > > > > welcome to change it and/or distribute copies of it under certain conditions.
> > > > > > Type "show copying" to see the conditions.
> > > > > > There is absolutely no warranty for GDB.  Type "show warranty" for details.
> > > > > > This GDB was configured as "i386-redhat-linux"...
> > > > > > (gdb) run
> > > > > > Starting program: /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> > > > > > 
> > > > > >  Using service at http://localhost/axis/base
> > > > > > 
> > > > > > [New Thread 1024 (LWP 2487)]
> > > > > > invoking echoString...
> > > > > > 
> > > > > > Program received signal SIGSEGV, Segmentation fault.
> > > > > > [Switching to Thread 1024 (LWP 2487)]
> > > > > > 0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
> > > > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at Call.cpp:255
> > > > > > 255             m_pTransport->setTransportProperty(type, tempvalue);
> > > > > > (gdb) where
> > > > > > #0  0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
> > > > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at Call.cpp:255
> > > > > > #1  0x08049ae5 in InteropTestPortType::echoString (this=0xbffff570,
> > > > > >     Value0=0x804e84a "hello world") at InteropTestPortType.cpp:47
> > > > > > #2  0x0804d68b in main (argc=1, argv=0xbffff7b4) at InteropBaseClient.cpp:81
> > > > > > #3  0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
> > > > > > (gdb) print m_pTransport
> > > > > > $1 = (class SOAPTransport *) 0x0
> > > > > > (gdb)
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > Thanks
> > > > > > Satoshi 
> > > > > > 
> > > > > > 
> > > > > > ----- Original Message ----- 
> > > > > > From: "Satoshi Iwayama" <iw...@portalisland.com>
> > > > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > > > > Sent: Wednesday, November 10, 2004 2:15 PM
> > > > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > > > > 
> > > > > > 
> > > > > > > Hi,
> > > > > > > Thanks for your help.
> > > > > > > 
> > > > > > > I think it segfault when calling m_pCall->setTransportProperty before
> > m_pCall->invoke().
> > > > > > > So it doesn't send anything. (I saw nothing on tcpmon)
> > > > > > > 
> > > > > > > I'll try with log disabled.
> > > > > > > 
> > > > > > > Thanks
> > > > > > > Satoshi
> > > > > > > 
> > > > > > > 
> > > > > > > ------- environment -----
> > > > > > > # echo $LD_LIBRARY_PATH
> > > > > > > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> > > > > > > 
> > > > > > > # ls /lz/xercesc/lib
> > > > > > > libxerces-c.so  libxerces-c.so.25  libxerces-c.so.25.0
> > > > > > > 
> > > > > > > # ls /lz/axis-c/lib
> > > > > > > OLD                          libaxis_xercesc.la
> > > > > > > axis                         libaxis_xercesc.so
> > > > > > > axisjava                     libaxis_xercesc.so.0
> > > > > > > libaxis2_transport.a         libaxis_xercesc.so.0.0.0
> > > > > > > libaxis2_transport.la        libaxiscpp_client.a
> > > > > > > libaxis2_transport.so        libaxiscpp_client.la
> > > > > > > libaxis2_transport.so.0      libaxiscpp_client.so
> > > > > > > libaxis2_transport.so.0.0.0  libaxiscpp_client.so.0
> > > > > > > libaxis_transport.a          libaxiscpp_client.so.0.0.0
> > > > > > > libaxis_transport.la         libserver_engine.a
> > > > > > > libaxis_transport.so         libserver_engine.la
> > > > > > > libaxis_transport.so.0       libserver_engine.so
> > > > > > > libaxis_transport.so.0.0.0   libserver_engine.so.0
> > > > > > > libaxis_xercesc.a            libserver_engine.so.0.0.0
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > ----- Original Message ----- 
> > > > > > > From: <da...@opensource.lk>
> > > > > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > > > > > Sent: Wednesday, November 10, 2004 1:30 PM
> > > > > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > > > > > 
> > > > > > > 
> > > > > > > > Hi,
> > > > > > > > Unfortunately it is not tested with redhat 7.3. But did you see tcpmon
> > > > > > > > messages. Does it segfault when sending or receiving? Try with log
> > > > > > > > disabled.
> > > > > > > > Does LD_LIBRARY_PATH contains <xercescinst>/lib:/lz/axis-c/lib ?
> > > > > > > > 
> > > > > > > > thanks
> > > > > > > > damtitha
> > > > > > > > 
> > > > > > > > > Hi.
> > > > > > > > > I built Axis-C++ 1.3 final on RedHat Linux 7.3. (gcc version 2.96 20000731
> > > > > > > > > (Red Hat Linux 7.3 2.96-110))
> > > > > > > > > Then I built samples. I tried the sample [base], but it doesn't work.
> > > > > > > > >
> > > > > > > > > May be, m_pTransport (in Call.cpp) is NULL. but why ?
> > > > > > > > > (please see debug print)
> > > > > > > > >
> > > > > > > > > Is anything wrong ?
> > > > > > > > >
> > > > > > > > > Thanks for help.
> > > > > > > > > Best regards.
> > > > > > > > >
> > > > > > > > > Satoshi Iwayama.
> > 
> === message truncated ===
> 
> > ATTACHMENT part 2 application/octet-stream name=main.cpp
> 
> 
> > ATTACHMENT part 3 application/octet-stream name=StoreStatusManager.cpp
> 
> 
> > ATTACHMENT part 4 application/octet-stream name=StoreStatusManager.wsdl
> 
> 
> 
> 
> 
> __________________________________ 
> Do you Yahoo!? 
> Check out the new Yahoo! Front Page. 
> www.yahoo.com 
>  
> 
> 


Re: sample [base] doesn't work on RH 7.3

Posted by Samisa Abeysinghe <sa...@yahoo.com>.
In case you built 1.3 final from source, please try rebuilding.
that is:
make clean
make 
make install

Thanks,
Samisa...

--- Satoshi Iwayama <iw...@portalisland.com> wrote:

> Hi,
> 
> My server side sample services are not working.
> (I have not built sample services.)
> I think this is some client side problem.
> 
> because I got same segfault in another case.
> 
> I'll explain that case...
> I have some WebServices (WebSphere and Axis Java 1.1).
> I generated Stub from WSDL.
> I coded Main program and compiled them.
> I executed Main program. and I got same segfault.
> So I tried sample [base] without server side sample services.
> 
> I attached WSDL and Stub code that generated by WSDL2Ws.
> Is anything wrong ?
> 
> When I built Axis-C++ 1.3 alpha,  I could send messages to server.(I didn't get same segfault)
> I'd like to use Axis2 transport. so I built client on Axis-C++ 1.3 final.
> 
> Thanks,
> Satoshi
> 
> 
> ----- Original Message ----- 
> From: "Samisa Abeysinghe" <sa...@yahoo.com>
> To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> Sent: Wednesday, November 10, 2004 4:39 PM
> Subject: Re: sample [base] doesn't work on RH 7.3
> 
> 
> > Hi,
> >    Is your server side working properly? Have you tried accessing http://localhost/axis/ URL?
> > 
> >    Also check the contents of $AXISCPP_DEPLOY/etc/server.wsdd file.
> > 
> >    If you can access that, this must be some client specific problem.
> >    For me, the setting that you have looks OK, cannot think of anything else that can be
> wrong.
> > Thanks,
> > Samisa...
> > 
> > --- Satoshi Iwayama <iw...@portalisland.com> wrote:
> > 
> > > Hi,
> > > thanks for your help.
> > > 
> > > # echo $LD_LIBRARY_PATH
> > > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> > > 
> > > # echo $AXISCPP_DEPLOY
> > > /lz/axis-c
> > > 
> > > and I'v done chmod -R 777 $AXISCPP_DEPLOY.
> > > 
> > > Thanks,
> > > Satoshi
> > > 
> > > 
> > > ----- Original Message ----- 
> > > From: "Samisa Abeysinghe" <sa...@yahoo.com>
> > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > Sent: Wednesday, November 10, 2004 3:33 PM
> > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > 
> > > 
> > > > What is your $LD_LIBRARY_PATH and $AXISCPP_DEPLOY envioronment variable values?
> > > > 
> > > > Also try doing 
> > > > chmod -R 777 $$AXISCPP_DEPLOY
> > > > 
> > > > Thanks,
> > > > Samisa...
> > > > 
> > > > --- Satoshi Iwayama <iw...@portalisland.com> wrote:
> > > > 
> > > > > Hi,
> > > > > I tried with log disabled. but it segfault at the same point.
> > > > > I saw debug trace on gdb.
> > > > > m_pTransport is NULL in Call.cpp.
> > > > > and I think it doesn't call Call::initialize from InteropTestPortType.cpp.
> > > > > If Call::initialize is called, m_pTransport is not NULL, is it ?
> > > > > 
> > > > > ------ debug ------
> > > > > # gdb base
> > > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > > > > Copyright 2002 Free Software Foundation, Inc.
> > > > > GDB is free software, covered by the GNU General Public License, and you are
> > > > > welcome to change it and/or distribute copies of it under certain conditions.
> > > > > Type "show copying" to see the conditions.
> > > > > There is absolutely no warranty for GDB.  Type "show warranty" for details.
> > > > > This GDB was configured as "i386-redhat-linux"...
> > > > > (gdb) run
> > > > > Starting program: /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> > > > > 
> > > > >  Using service at http://localhost/axis/base
> > > > > 
> > > > > [New Thread 1024 (LWP 2487)]
> > > > > invoking echoString...
> > > > > 
> > > > > Program received signal SIGSEGV, Segmentation fault.
> > > > > [Switching to Thread 1024 (LWP 2487)]
> > > > > 0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
> > > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at Call.cpp:255
> > > > > 255             m_pTransport->setTransportProperty(type, tempvalue);
> > > > > (gdb) where
> > > > > #0  0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
> > > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at Call.cpp:255
> > > > > #1  0x08049ae5 in InteropTestPortType::echoString (this=0xbffff570,
> > > > >     Value0=0x804e84a "hello world") at InteropTestPortType.cpp:47
> > > > > #2  0x0804d68b in main (argc=1, argv=0xbffff7b4) at InteropBaseClient.cpp:81
> > > > > #3  0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
> > > > > (gdb) print m_pTransport
> > > > > $1 = (class SOAPTransport *) 0x0
> > > > > (gdb)
> > > > > 
> > > > > 
> > > > > 
> > > > > Thanks
> > > > > Satoshi 
> > > > > 
> > > > > 
> > > > > ----- Original Message ----- 
> > > > > From: "Satoshi Iwayama" <iw...@portalisland.com>
> > > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > > > Sent: Wednesday, November 10, 2004 2:15 PM
> > > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > > > 
> > > > > 
> > > > > > Hi,
> > > > > > Thanks for your help.
> > > > > > 
> > > > > > I think it segfault when calling m_pCall->setTransportProperty before
> m_pCall->invoke().
> > > > > > So it doesn't send anything. (I saw nothing on tcpmon)
> > > > > > 
> > > > > > I'll try with log disabled.
> > > > > > 
> > > > > > Thanks
> > > > > > Satoshi
> > > > > > 
> > > > > > 
> > > > > > ------- environment -----
> > > > > > # echo $LD_LIBRARY_PATH
> > > > > > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> > > > > > 
> > > > > > # ls /lz/xercesc/lib
> > > > > > libxerces-c.so  libxerces-c.so.25  libxerces-c.so.25.0
> > > > > > 
> > > > > > # ls /lz/axis-c/lib
> > > > > > OLD                          libaxis_xercesc.la
> > > > > > axis                         libaxis_xercesc.so
> > > > > > axisjava                     libaxis_xercesc.so.0
> > > > > > libaxis2_transport.a         libaxis_xercesc.so.0.0.0
> > > > > > libaxis2_transport.la        libaxiscpp_client.a
> > > > > > libaxis2_transport.so        libaxiscpp_client.la
> > > > > > libaxis2_transport.so.0      libaxiscpp_client.so
> > > > > > libaxis2_transport.so.0.0.0  libaxiscpp_client.so.0
> > > > > > libaxis_transport.a          libaxiscpp_client.so.0.0.0
> > > > > > libaxis_transport.la         libserver_engine.a
> > > > > > libaxis_transport.so         libserver_engine.la
> > > > > > libaxis_transport.so.0       libserver_engine.so
> > > > > > libaxis_transport.so.0.0.0   libserver_engine.so.0
> > > > > > libaxis_xercesc.a            libserver_engine.so.0.0.0
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > ----- Original Message ----- 
> > > > > > From: <da...@opensource.lk>
> > > > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > > > > Sent: Wednesday, November 10, 2004 1:30 PM
> > > > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > > > > 
> > > > > > 
> > > > > > > Hi,
> > > > > > > Unfortunately it is not tested with redhat 7.3. But did you see tcpmon
> > > > > > > messages. Does it segfault when sending or receiving? Try with log
> > > > > > > disabled.
> > > > > > > Does LD_LIBRARY_PATH contains <xercescinst>/lib:/lz/axis-c/lib ?
> > > > > > > 
> > > > > > > thanks
> > > > > > > damtitha
> > > > > > > 
> > > > > > > > Hi.
> > > > > > > > I built Axis-C++ 1.3 final on RedHat Linux 7.3. (gcc version 2.96 20000731
> > > > > > > > (Red Hat Linux 7.3 2.96-110))
> > > > > > > > Then I built samples. I tried the sample [base], but it doesn't work.
> > > > > > > >
> > > > > > > > May be, m_pTransport (in Call.cpp) is NULL. but why ?
> > > > > > > > (please see debug print)
> > > > > > > >
> > > > > > > > Is anything wrong ?
> > > > > > > >
> > > > > > > > Thanks for help.
> > > > > > > > Best regards.
> > > > > > > >
> > > > > > > > Satoshi Iwayama.
> 
=== message truncated ===

> ATTACHMENT part 2 application/octet-stream name=main.cpp


> ATTACHMENT part 3 application/octet-stream name=StoreStatusManager.cpp


> ATTACHMENT part 4 application/octet-stream name=StoreStatusManager.wsdl




		
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


Re: sample [base] doesn't work on RH 7.3

Posted by Satoshi Iwayama <iw...@portalisland.com>.
Hi,

My server side sample services are not working.
(I have not built sample services.)
I think this is some client side problem.

because I got same segfault in another case.

I'll explain that case...
I have some WebServices (WebSphere and Axis Java 1.1).
I generated Stub from WSDL.
I coded Main program and compiled them.
I executed Main program. and I got same segfault.
So I tried sample [base] without server side sample services.

I attached WSDL and Stub code that generated by WSDL2Ws.
Is anything wrong ?

When I built Axis-C++ 1.3 alpha,  I could send messages to server.(I didn't get same segfault)
I'd like to use Axis2 transport. so I built client on Axis-C++ 1.3 final.

Thanks,
Satoshi


----- Original Message ----- 
From: "Samisa Abeysinghe" <sa...@yahoo.com>
To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
Sent: Wednesday, November 10, 2004 4:39 PM
Subject: Re: sample [base] doesn't work on RH 7.3


> Hi,
>    Is your server side working properly? Have you tried accessing http://localhost/axis/ URL?
> 
>    Also check the contents of $AXISCPP_DEPLOY/etc/server.wsdd file.
> 
>    If you can access that, this must be some client specific problem.
>    For me, the setting that you have looks OK, cannot think of anything else that can be wrong.
> Thanks,
> Samisa...
> 
> --- Satoshi Iwayama <iw...@portalisland.com> wrote:
> 
> > Hi,
> > thanks for your help.
> > 
> > # echo $LD_LIBRARY_PATH
> > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> > 
> > # echo $AXISCPP_DEPLOY
> > /lz/axis-c
> > 
> > and I'v done chmod -R 777 $AXISCPP_DEPLOY.
> > 
> > Thanks,
> > Satoshi
> > 
> > 
> > ----- Original Message ----- 
> > From: "Samisa Abeysinghe" <sa...@yahoo.com>
> > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > Sent: Wednesday, November 10, 2004 3:33 PM
> > Subject: Re: sample [base] doesn't work on RH 7.3
> > 
> > 
> > > What is your $LD_LIBRARY_PATH and $AXISCPP_DEPLOY envioronment variable values?
> > > 
> > > Also try doing 
> > > chmod -R 777 $$AXISCPP_DEPLOY
> > > 
> > > Thanks,
> > > Samisa...
> > > 
> > > --- Satoshi Iwayama <iw...@portalisland.com> wrote:
> > > 
> > > > Hi,
> > > > I tried with log disabled. but it segfault at the same point.
> > > > I saw debug trace on gdb.
> > > > m_pTransport is NULL in Call.cpp.
> > > > and I think it doesn't call Call::initialize from InteropTestPortType.cpp.
> > > > If Call::initialize is called, m_pTransport is not NULL, is it ?
> > > > 
> > > > ------ debug ------
> > > > # gdb base
> > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > > > Copyright 2002 Free Software Foundation, Inc.
> > > > GDB is free software, covered by the GNU General Public License, and you are
> > > > welcome to change it and/or distribute copies of it under certain conditions.
> > > > Type "show copying" to see the conditions.
> > > > There is absolutely no warranty for GDB.  Type "show warranty" for details.
> > > > This GDB was configured as "i386-redhat-linux"...
> > > > (gdb) run
> > > > Starting program: /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> > > > 
> > > >  Using service at http://localhost/axis/base
> > > > 
> > > > [New Thread 1024 (LWP 2487)]
> > > > invoking echoString...
> > > > 
> > > > Program received signal SIGSEGV, Segmentation fault.
> > > > [Switching to Thread 1024 (LWP 2487)]
> > > > 0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
> > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at Call.cpp:255
> > > > 255             m_pTransport->setTransportProperty(type, tempvalue);
> > > > (gdb) where
> > > > #0  0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
> > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at Call.cpp:255
> > > > #1  0x08049ae5 in InteropTestPortType::echoString (this=0xbffff570,
> > > >     Value0=0x804e84a "hello world") at InteropTestPortType.cpp:47
> > > > #2  0x0804d68b in main (argc=1, argv=0xbffff7b4) at InteropBaseClient.cpp:81
> > > > #3  0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
> > > > (gdb) print m_pTransport
> > > > $1 = (class SOAPTransport *) 0x0
> > > > (gdb)
> > > > 
> > > > 
> > > > 
> > > > Thanks
> > > > Satoshi 
> > > > 
> > > > 
> > > > ----- Original Message ----- 
> > > > From: "Satoshi Iwayama" <iw...@portalisland.com>
> > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > > Sent: Wednesday, November 10, 2004 2:15 PM
> > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > > 
> > > > 
> > > > > Hi,
> > > > > Thanks for your help.
> > > > > 
> > > > > I think it segfault when calling m_pCall->setTransportProperty before m_pCall->invoke().
> > > > > So it doesn't send anything. (I saw nothing on tcpmon)
> > > > > 
> > > > > I'll try with log disabled.
> > > > > 
> > > > > Thanks
> > > > > Satoshi
> > > > > 
> > > > > 
> > > > > ------- environment -----
> > > > > # echo $LD_LIBRARY_PATH
> > > > > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> > > > > 
> > > > > # ls /lz/xercesc/lib
> > > > > libxerces-c.so  libxerces-c.so.25  libxerces-c.so.25.0
> > > > > 
> > > > > # ls /lz/axis-c/lib
> > > > > OLD                          libaxis_xercesc.la
> > > > > axis                         libaxis_xercesc.so
> > > > > axisjava                     libaxis_xercesc.so.0
> > > > > libaxis2_transport.a         libaxis_xercesc.so.0.0.0
> > > > > libaxis2_transport.la        libaxiscpp_client.a
> > > > > libaxis2_transport.so        libaxiscpp_client.la
> > > > > libaxis2_transport.so.0      libaxiscpp_client.so
> > > > > libaxis2_transport.so.0.0.0  libaxiscpp_client.so.0
> > > > > libaxis_transport.a          libaxiscpp_client.so.0.0.0
> > > > > libaxis_transport.la         libserver_engine.a
> > > > > libaxis_transport.so         libserver_engine.la
> > > > > libaxis_transport.so.0       libserver_engine.so
> > > > > libaxis_transport.so.0.0.0   libserver_engine.so.0
> > > > > libaxis_xercesc.a            libserver_engine.so.0.0.0
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > ----- Original Message ----- 
> > > > > From: <da...@opensource.lk>
> > > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > > > Sent: Wednesday, November 10, 2004 1:30 PM
> > > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > > > 
> > > > > 
> > > > > > Hi,
> > > > > > Unfortunately it is not tested with redhat 7.3. But did you see tcpmon
> > > > > > messages. Does it segfault when sending or receiving? Try with log
> > > > > > disabled.
> > > > > > Does LD_LIBRARY_PATH contains <xercescinst>/lib:/lz/axis-c/lib ?
> > > > > > 
> > > > > > thanks
> > > > > > damtitha
> > > > > > 
> > > > > > > Hi.
> > > > > > > I built Axis-C++ 1.3 final on RedHat Linux 7.3. (gcc version 2.96 20000731
> > > > > > > (Red Hat Linux 7.3 2.96-110))
> > > > > > > Then I built samples. I tried the sample [base], but it doesn't work.
> > > > > > >
> > > > > > > May be, m_pTransport (in Call.cpp) is NULL. but why ?
> > > > > > > (please see debug print)
> > > > > > >
> > > > > > > Is anything wrong ?
> > > > > > >
> > > > > > > Thanks for help.
> > > > > > > Best regards.
> > > > > > >
> > > > > > > Satoshi Iwayama.
> > > > > > >
> > > > > > > -----build.sh-----
> > > > > > > ./configure --prefix=/lz/axis-c \
> > > > > > >     --with-apache2=no \
> > > > > > >     --with-apache=no \
> > > > > > >     --with-xercesc=/lz/xercesc \
> > > > > > >     --enable-log=yes \
> > > > > > >     --enable-libwww=no \
> > > > > > >     --enable-testcases=no
> > > > > > >
> > > > > > > -----axiscpp.conf-----
> > > > > > > LogPath:/lz/axis-c/log/AxisLog
> > > > > > > WSDDFilePath:/lz/axis-c/etc/server.wsdd
> > > > > > > ClientLogPath:/lz/axis-c/log/AxisClientLog
> > > > > > > XMLParser:/lz/axis-c/lib/libaxis_xercesc.so
> > > > > > > Transport_http:/lz/axis-c/lib/libaxis2_transport.so
> > > > > > >
> > > > > > > -----debug------
> > > > > > > # gdb base
> > > > > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > > > > > > Copyright 2002 Free Software Foundation, Inc.
> > > > > > > GDB is free software, covered by the GNU General Public License, and you
> > > > > > > are
> > > > > > > welcome to change it and/or distribute copies of it under certain
> > > > > > > conditions.
> > > > > > > Type "show copying" to see the conditions.
> > > > > > > There is absolutely no warranty for GDB.  Type "show warranty" for
> > > > > > > details.
> > > > > > > This GDB was configured as "i386-redhat-linux"...
> > > > > > > (gdb) run
> > > > > > > Starting program:
> > > > > > > /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> > > > > > >
> > > > > > >  Using service at http://localhost/axis/base
> > > > > > >
> > > > > > > [New Thread 1024 (LWP 14490)]
> > > > > > > invoking echoString...
> > > > > > >
> > > > > > > Program received signal SIGSEGV, Segmentation fault.
> > > > > > > [Switching to Thread 1024 (LWP 14490)]
> > > > > > > 0x4005daa5 in axiscpp::Call::setTransportProperty (this=0x8051270,
> > > > > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
> > > > > > > Call.cpp:255
> > > > > > > 255             m_pTransport->setTransportProperty(type, tempvalue);
> > > > > > > (gdb) print m_pTransport
> > > > > > > $1 = (class SOAPTransport *) 0x0
> > 
> === message truncated ===
> 
> 
> 
> 
> __________________________________ 
> Do you Yahoo!? 
> Check out the new Yahoo! Front Page. 
> www.yahoo.com 
>  
> 
> 

Re: sample [base] doesn't work on RH 7.3

Posted by Samisa Abeysinghe <sa...@yahoo.com>.
Hi,
   Is your server side working properly? Have you tried accessing http://localhost/axis/ URL?

   Also check the contents of $AXISCPP_DEPLOY/etc/server.wsdd file.

   If you can access that, this must be some client specific problem.
   For me, the setting that you have looks OK, cannot think of anything else that can be wrong.
Thanks,
Samisa...

--- Satoshi Iwayama <iw...@portalisland.com> wrote:

> Hi,
> thanks for your help.
> 
> # echo $LD_LIBRARY_PATH
> /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> 
> # echo $AXISCPP_DEPLOY
> /lz/axis-c
> 
> and I'v done chmod -R 777 $AXISCPP_DEPLOY.
> 
> Thanks,
> Satoshi
> 
> 
> ----- Original Message ----- 
> From: "Samisa Abeysinghe" <sa...@yahoo.com>
> To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> Sent: Wednesday, November 10, 2004 3:33 PM
> Subject: Re: sample [base] doesn't work on RH 7.3
> 
> 
> > What is your $LD_LIBRARY_PATH and $AXISCPP_DEPLOY envioronment variable values?
> > 
> > Also try doing 
> > chmod -R 777 $$AXISCPP_DEPLOY
> > 
> > Thanks,
> > Samisa...
> > 
> > --- Satoshi Iwayama <iw...@portalisland.com> wrote:
> > 
> > > Hi,
> > > I tried with log disabled. but it segfault at the same point.
> > > I saw debug trace on gdb.
> > > m_pTransport is NULL in Call.cpp.
> > > and I think it doesn't call Call::initialize from InteropTestPortType.cpp.
> > > If Call::initialize is called, m_pTransport is not NULL, is it ?
> > > 
> > > ------ debug ------
> > > # gdb base
> > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > > Copyright 2002 Free Software Foundation, Inc.
> > > GDB is free software, covered by the GNU General Public License, and you are
> > > welcome to change it and/or distribute copies of it under certain conditions.
> > > Type "show copying" to see the conditions.
> > > There is absolutely no warranty for GDB.  Type "show warranty" for details.
> > > This GDB was configured as "i386-redhat-linux"...
> > > (gdb) run
> > > Starting program: /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> > > 
> > >  Using service at http://localhost/axis/base
> > > 
> > > [New Thread 1024 (LWP 2487)]
> > > invoking echoString...
> > > 
> > > Program received signal SIGSEGV, Segmentation fault.
> > > [Switching to Thread 1024 (LWP 2487)]
> > > 0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
> > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at Call.cpp:255
> > > 255             m_pTransport->setTransportProperty(type, tempvalue);
> > > (gdb) where
> > > #0  0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
> > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at Call.cpp:255
> > > #1  0x08049ae5 in InteropTestPortType::echoString (this=0xbffff570,
> > >     Value0=0x804e84a "hello world") at InteropTestPortType.cpp:47
> > > #2  0x0804d68b in main (argc=1, argv=0xbffff7b4) at InteropBaseClient.cpp:81
> > > #3  0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
> > > (gdb) print m_pTransport
> > > $1 = (class SOAPTransport *) 0x0
> > > (gdb)
> > > 
> > > 
> > > 
> > > Thanks
> > > Satoshi 
> > > 
> > > 
> > > ----- Original Message ----- 
> > > From: "Satoshi Iwayama" <iw...@portalisland.com>
> > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > Sent: Wednesday, November 10, 2004 2:15 PM
> > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > 
> > > 
> > > > Hi,
> > > > Thanks for your help.
> > > > 
> > > > I think it segfault when calling m_pCall->setTransportProperty before m_pCall->invoke().
> > > > So it doesn't send anything. (I saw nothing on tcpmon)
> > > > 
> > > > I'll try with log disabled.
> > > > 
> > > > Thanks
> > > > Satoshi
> > > > 
> > > > 
> > > > ------- environment -----
> > > > # echo $LD_LIBRARY_PATH
> > > > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> > > > 
> > > > # ls /lz/xercesc/lib
> > > > libxerces-c.so  libxerces-c.so.25  libxerces-c.so.25.0
> > > > 
> > > > # ls /lz/axis-c/lib
> > > > OLD                          libaxis_xercesc.la
> > > > axis                         libaxis_xercesc.so
> > > > axisjava                     libaxis_xercesc.so.0
> > > > libaxis2_transport.a         libaxis_xercesc.so.0.0.0
> > > > libaxis2_transport.la        libaxiscpp_client.a
> > > > libaxis2_transport.so        libaxiscpp_client.la
> > > > libaxis2_transport.so.0      libaxiscpp_client.so
> > > > libaxis2_transport.so.0.0.0  libaxiscpp_client.so.0
> > > > libaxis_transport.a          libaxiscpp_client.so.0.0.0
> > > > libaxis_transport.la         libserver_engine.a
> > > > libaxis_transport.so         libserver_engine.la
> > > > libaxis_transport.so.0       libserver_engine.so
> > > > libaxis_transport.so.0.0.0   libserver_engine.so.0
> > > > libaxis_xercesc.a            libserver_engine.so.0.0.0
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > ----- Original Message ----- 
> > > > From: <da...@opensource.lk>
> > > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > > Sent: Wednesday, November 10, 2004 1:30 PM
> > > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > > 
> > > > 
> > > > > Hi,
> > > > > Unfortunately it is not tested with redhat 7.3. But did you see tcpmon
> > > > > messages. Does it segfault when sending or receiving? Try with log
> > > > > disabled.
> > > > > Does LD_LIBRARY_PATH contains <xercescinst>/lib:/lz/axis-c/lib ?
> > > > > 
> > > > > thanks
> > > > > damtitha
> > > > > 
> > > > > > Hi.
> > > > > > I built Axis-C++ 1.3 final on RedHat Linux 7.3. (gcc version 2.96 20000731
> > > > > > (Red Hat Linux 7.3 2.96-110))
> > > > > > Then I built samples. I tried the sample [base], but it doesn't work.
> > > > > >
> > > > > > May be, m_pTransport (in Call.cpp) is NULL. but why ?
> > > > > > (please see debug print)
> > > > > >
> > > > > > Is anything wrong ?
> > > > > >
> > > > > > Thanks for help.
> > > > > > Best regards.
> > > > > >
> > > > > > Satoshi Iwayama.
> > > > > >
> > > > > > -----build.sh-----
> > > > > > ./configure --prefix=/lz/axis-c \
> > > > > >     --with-apache2=no \
> > > > > >     --with-apache=no \
> > > > > >     --with-xercesc=/lz/xercesc \
> > > > > >     --enable-log=yes \
> > > > > >     --enable-libwww=no \
> > > > > >     --enable-testcases=no
> > > > > >
> > > > > > -----axiscpp.conf-----
> > > > > > LogPath:/lz/axis-c/log/AxisLog
> > > > > > WSDDFilePath:/lz/axis-c/etc/server.wsdd
> > > > > > ClientLogPath:/lz/axis-c/log/AxisClientLog
> > > > > > XMLParser:/lz/axis-c/lib/libaxis_xercesc.so
> > > > > > Transport_http:/lz/axis-c/lib/libaxis2_transport.so
> > > > > >
> > > > > > -----debug------
> > > > > > # gdb base
> > > > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > > > > > Copyright 2002 Free Software Foundation, Inc.
> > > > > > GDB is free software, covered by the GNU General Public License, and you
> > > > > > are
> > > > > > welcome to change it and/or distribute copies of it under certain
> > > > > > conditions.
> > > > > > Type "show copying" to see the conditions.
> > > > > > There is absolutely no warranty for GDB.  Type "show warranty" for
> > > > > > details.
> > > > > > This GDB was configured as "i386-redhat-linux"...
> > > > > > (gdb) run
> > > > > > Starting program:
> > > > > > /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> > > > > >
> > > > > >  Using service at http://localhost/axis/base
> > > > > >
> > > > > > [New Thread 1024 (LWP 14490)]
> > > > > > invoking echoString...
> > > > > >
> > > > > > Program received signal SIGSEGV, Segmentation fault.
> > > > > > [Switching to Thread 1024 (LWP 14490)]
> > > > > > 0x4005daa5 in axiscpp::Call::setTransportProperty (this=0x8051270,
> > > > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
> > > > > > Call.cpp:255
> > > > > > 255             m_pTransport->setTransportProperty(type, tempvalue);
> > > > > > (gdb) print m_pTransport
> > > > > > $1 = (class SOAPTransport *) 0x0
> 
=== message truncated ===



		
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


Re: sample [base] doesn't work on RH 7.3

Posted by Satoshi Iwayama <iw...@portalisland.com>.
Hi,
thanks for your help.

# echo $LD_LIBRARY_PATH
/lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib

# echo $AXISCPP_DEPLOY
/lz/axis-c

and I'v done chmod -R 777 $AXISCPP_DEPLOY.

Thanks,
Satoshi


----- Original Message ----- 
From: "Samisa Abeysinghe" <sa...@yahoo.com>
To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
Sent: Wednesday, November 10, 2004 3:33 PM
Subject: Re: sample [base] doesn't work on RH 7.3


> What is your $LD_LIBRARY_PATH and $AXISCPP_DEPLOY envioronment variable values?
> 
> Also try doing 
> chmod -R 777 $$AXISCPP_DEPLOY
> 
> Thanks,
> Samisa...
> 
> --- Satoshi Iwayama <iw...@portalisland.com> wrote:
> 
> > Hi,
> > I tried with log disabled. but it segfault at the same point.
> > I saw debug trace on gdb.
> > m_pTransport is NULL in Call.cpp.
> > and I think it doesn't call Call::initialize from InteropTestPortType.cpp.
> > If Call::initialize is called, m_pTransport is not NULL, is it ?
> > 
> > ------ debug ------
> > # gdb base
> > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > Copyright 2002 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License, and you are
> > welcome to change it and/or distribute copies of it under certain conditions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB.  Type "show warranty" for details.
> > This GDB was configured as "i386-redhat-linux"...
> > (gdb) run
> > Starting program: /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> > 
> >  Using service at http://localhost/axis/base
> > 
> > [New Thread 1024 (LWP 2487)]
> > invoking echoString...
> > 
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 1024 (LWP 2487)]
> > 0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
> >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at Call.cpp:255
> > 255             m_pTransport->setTransportProperty(type, tempvalue);
> > (gdb) where
> > #0  0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
> >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at Call.cpp:255
> > #1  0x08049ae5 in InteropTestPortType::echoString (this=0xbffff570,
> >     Value0=0x804e84a "hello world") at InteropTestPortType.cpp:47
> > #2  0x0804d68b in main (argc=1, argv=0xbffff7b4) at InteropBaseClient.cpp:81
> > #3  0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
> > (gdb) print m_pTransport
> > $1 = (class SOAPTransport *) 0x0
> > (gdb)
> > 
> > 
> > 
> > Thanks
> > Satoshi 
> > 
> > 
> > ----- Original Message ----- 
> > From: "Satoshi Iwayama" <iw...@portalisland.com>
> > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > Sent: Wednesday, November 10, 2004 2:15 PM
> > Subject: Re: sample [base] doesn't work on RH 7.3
> > 
> > 
> > > Hi,
> > > Thanks for your help.
> > > 
> > > I think it segfault when calling m_pCall->setTransportProperty before m_pCall->invoke().
> > > So it doesn't send anything. (I saw nothing on tcpmon)
> > > 
> > > I'll try with log disabled.
> > > 
> > > Thanks
> > > Satoshi
> > > 
> > > 
> > > ------- environment -----
> > > # echo $LD_LIBRARY_PATH
> > > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> > > 
> > > # ls /lz/xercesc/lib
> > > libxerces-c.so  libxerces-c.so.25  libxerces-c.so.25.0
> > > 
> > > # ls /lz/axis-c/lib
> > > OLD                          libaxis_xercesc.la
> > > axis                         libaxis_xercesc.so
> > > axisjava                     libaxis_xercesc.so.0
> > > libaxis2_transport.a         libaxis_xercesc.so.0.0.0
> > > libaxis2_transport.la        libaxiscpp_client.a
> > > libaxis2_transport.so        libaxiscpp_client.la
> > > libaxis2_transport.so.0      libaxiscpp_client.so
> > > libaxis2_transport.so.0.0.0  libaxiscpp_client.so.0
> > > libaxis_transport.a          libaxiscpp_client.so.0.0.0
> > > libaxis_transport.la         libserver_engine.a
> > > libaxis_transport.so         libserver_engine.la
> > > libaxis_transport.so.0       libserver_engine.so
> > > libaxis_transport.so.0.0.0   libserver_engine.so.0
> > > libaxis_xercesc.a            libserver_engine.so.0.0.0
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > ----- Original Message ----- 
> > > From: <da...@opensource.lk>
> > > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > > Sent: Wednesday, November 10, 2004 1:30 PM
> > > Subject: Re: sample [base] doesn't work on RH 7.3
> > > 
> > > 
> > > > Hi,
> > > > Unfortunately it is not tested with redhat 7.3. But did you see tcpmon
> > > > messages. Does it segfault when sending or receiving? Try with log
> > > > disabled.
> > > > Does LD_LIBRARY_PATH contains <xercescinst>/lib:/lz/axis-c/lib ?
> > > > 
> > > > thanks
> > > > damtitha
> > > > 
> > > > > Hi.
> > > > > I built Axis-C++ 1.3 final on RedHat Linux 7.3. (gcc version 2.96 20000731
> > > > > (Red Hat Linux 7.3 2.96-110))
> > > > > Then I built samples. I tried the sample [base], but it doesn't work.
> > > > >
> > > > > May be, m_pTransport (in Call.cpp) is NULL. but why ?
> > > > > (please see debug print)
> > > > >
> > > > > Is anything wrong ?
> > > > >
> > > > > Thanks for help.
> > > > > Best regards.
> > > > >
> > > > > Satoshi Iwayama.
> > > > >
> > > > > -----build.sh-----
> > > > > ./configure --prefix=/lz/axis-c \
> > > > >     --with-apache2=no \
> > > > >     --with-apache=no \
> > > > >     --with-xercesc=/lz/xercesc \
> > > > >     --enable-log=yes \
> > > > >     --enable-libwww=no \
> > > > >     --enable-testcases=no
> > > > >
> > > > > -----axiscpp.conf-----
> > > > > LogPath:/lz/axis-c/log/AxisLog
> > > > > WSDDFilePath:/lz/axis-c/etc/server.wsdd
> > > > > ClientLogPath:/lz/axis-c/log/AxisClientLog
> > > > > XMLParser:/lz/axis-c/lib/libaxis_xercesc.so
> > > > > Transport_http:/lz/axis-c/lib/libaxis2_transport.so
> > > > >
> > > > > -----debug------
> > > > > # gdb base
> > > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > > > > Copyright 2002 Free Software Foundation, Inc.
> > > > > GDB is free software, covered by the GNU General Public License, and you
> > > > > are
> > > > > welcome to change it and/or distribute copies of it under certain
> > > > > conditions.
> > > > > Type "show copying" to see the conditions.
> > > > > There is absolutely no warranty for GDB.  Type "show warranty" for
> > > > > details.
> > > > > This GDB was configured as "i386-redhat-linux"...
> > > > > (gdb) run
> > > > > Starting program:
> > > > > /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> > > > >
> > > > >  Using service at http://localhost/axis/base
> > > > >
> > > > > [New Thread 1024 (LWP 14490)]
> > > > > invoking echoString...
> > > > >
> > > > > Program received signal SIGSEGV, Segmentation fault.
> > > > > [Switching to Thread 1024 (LWP 14490)]
> > > > > 0x4005daa5 in axiscpp::Call::setTransportProperty (this=0x8051270,
> > > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
> > > > > Call.cpp:255
> > > > > 255             m_pTransport->setTransportProperty(type, tempvalue);
> > > > > (gdb) print m_pTransport
> > > > > $1 = (class SOAPTransport *) 0x0
> > > > > (gdb)
> > > > >
> > > > >
> > > > >
> > > > 
> > > > 
> > > 
> > > 
> > 
> > 
> 
> 
> 
> 
> __________________________________ 
> Do you Yahoo!? 
> Check out the new Yahoo! Front Page. 
> www.yahoo.com 
>  
> 
> 


Re: sample [base] doesn't work on RH 7.3

Posted by Samisa Abeysinghe <sa...@yahoo.com>.
What is your $LD_LIBRARY_PATH and $AXISCPP_DEPLOY envioronment variable values?

Also try doing 
chmod -R 777 $$AXISCPP_DEPLOY

Thanks,
Samisa...

--- Satoshi Iwayama <iw...@portalisland.com> wrote:

> Hi,
> I tried with log disabled. but it segfault at the same point.
> I saw debug trace on gdb.
> m_pTransport is NULL in Call.cpp.
> and I think it doesn't call Call::initialize from InteropTestPortType.cpp.
> If Call::initialize is called, m_pTransport is not NULL, is it ?
> 
> ------ debug ------
> # gdb base
> GNU gdb Red Hat Linux (5.1.90CVS-5)
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-redhat-linux"...
> (gdb) run
> Starting program: /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> 
>  Using service at http://localhost/axis/base
> 
> [New Thread 1024 (LWP 2487)]
> invoking echoString...
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1024 (LWP 2487)]
> 0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
>     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at Call.cpp:255
> 255             m_pTransport->setTransportProperty(type, tempvalue);
> (gdb) where
> #0  0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
>     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at Call.cpp:255
> #1  0x08049ae5 in InteropTestPortType::echoString (this=0xbffff570,
>     Value0=0x804e84a "hello world") at InteropTestPortType.cpp:47
> #2  0x0804d68b in main (argc=1, argv=0xbffff7b4) at InteropBaseClient.cpp:81
> #3  0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
> (gdb) print m_pTransport
> $1 = (class SOAPTransport *) 0x0
> (gdb)
> 
> 
> 
> Thanks
> Satoshi 
> 
> 
> ----- Original Message ----- 
> From: "Satoshi Iwayama" <iw...@portalisland.com>
> To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> Sent: Wednesday, November 10, 2004 2:15 PM
> Subject: Re: sample [base] doesn't work on RH 7.3
> 
> 
> > Hi,
> > Thanks for your help.
> > 
> > I think it segfault when calling m_pCall->setTransportProperty before m_pCall->invoke().
> > So it doesn't send anything. (I saw nothing on tcpmon)
> > 
> > I'll try with log disabled.
> > 
> > Thanks
> > Satoshi
> > 
> > 
> > ------- environment -----
> > # echo $LD_LIBRARY_PATH
> > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> > 
> > # ls /lz/xercesc/lib
> > libxerces-c.so  libxerces-c.so.25  libxerces-c.so.25.0
> > 
> > # ls /lz/axis-c/lib
> > OLD                          libaxis_xercesc.la
> > axis                         libaxis_xercesc.so
> > axisjava                     libaxis_xercesc.so.0
> > libaxis2_transport.a         libaxis_xercesc.so.0.0.0
> > libaxis2_transport.la        libaxiscpp_client.a
> > libaxis2_transport.so        libaxiscpp_client.la
> > libaxis2_transport.so.0      libaxiscpp_client.so
> > libaxis2_transport.so.0.0.0  libaxiscpp_client.so.0
> > libaxis_transport.a          libaxiscpp_client.so.0.0.0
> > libaxis_transport.la         libserver_engine.a
> > libaxis_transport.so         libserver_engine.la
> > libaxis_transport.so.0       libserver_engine.so
> > libaxis_transport.so.0.0.0   libserver_engine.so.0
> > libaxis_xercesc.a            libserver_engine.so.0.0.0
> > 
> > 
> > 
> > 
> > 
> > 
> > ----- Original Message ----- 
> > From: <da...@opensource.lk>
> > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > Sent: Wednesday, November 10, 2004 1:30 PM
> > Subject: Re: sample [base] doesn't work on RH 7.3
> > 
> > 
> > > Hi,
> > > Unfortunately it is not tested with redhat 7.3. But did you see tcpmon
> > > messages. Does it segfault when sending or receiving? Try with log
> > > disabled.
> > > Does LD_LIBRARY_PATH contains <xercescinst>/lib:/lz/axis-c/lib ?
> > > 
> > > thanks
> > > damtitha
> > > 
> > > > Hi.
> > > > I built Axis-C++ 1.3 final on RedHat Linux 7.3. (gcc version 2.96 20000731
> > > > (Red Hat Linux 7.3 2.96-110))
> > > > Then I built samples. I tried the sample [base], but it doesn't work.
> > > >
> > > > May be, m_pTransport (in Call.cpp) is NULL. but why ?
> > > > (please see debug print)
> > > >
> > > > Is anything wrong ?
> > > >
> > > > Thanks for help.
> > > > Best regards.
> > > >
> > > > Satoshi Iwayama.
> > > >
> > > > -----build.sh-----
> > > > ./configure --prefix=/lz/axis-c \
> > > >     --with-apache2=no \
> > > >     --with-apache=no \
> > > >     --with-xercesc=/lz/xercesc \
> > > >     --enable-log=yes \
> > > >     --enable-libwww=no \
> > > >     --enable-testcases=no
> > > >
> > > > -----axiscpp.conf-----
> > > > LogPath:/lz/axis-c/log/AxisLog
> > > > WSDDFilePath:/lz/axis-c/etc/server.wsdd
> > > > ClientLogPath:/lz/axis-c/log/AxisClientLog
> > > > XMLParser:/lz/axis-c/lib/libaxis_xercesc.so
> > > > Transport_http:/lz/axis-c/lib/libaxis2_transport.so
> > > >
> > > > -----debug------
> > > > # gdb base
> > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > > > Copyright 2002 Free Software Foundation, Inc.
> > > > GDB is free software, covered by the GNU General Public License, and you
> > > > are
> > > > welcome to change it and/or distribute copies of it under certain
> > > > conditions.
> > > > Type "show copying" to see the conditions.
> > > > There is absolutely no warranty for GDB.  Type "show warranty" for
> > > > details.
> > > > This GDB was configured as "i386-redhat-linux"...
> > > > (gdb) run
> > > > Starting program:
> > > > /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> > > >
> > > >  Using service at http://localhost/axis/base
> > > >
> > > > [New Thread 1024 (LWP 14490)]
> > > > invoking echoString...
> > > >
> > > > Program received signal SIGSEGV, Segmentation fault.
> > > > [Switching to Thread 1024 (LWP 14490)]
> > > > 0x4005daa5 in axiscpp::Call::setTransportProperty (this=0x8051270,
> > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
> > > > Call.cpp:255
> > > > 255             m_pTransport->setTransportProperty(type, tempvalue);
> > > > (gdb) print m_pTransport
> > > > $1 = (class SOAPTransport *) 0x0
> > > > (gdb)
> > > >
> > > >
> > > >
> > > 
> > > 
> > 
> > 
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


Re: sample [base] doesn't work on RH 7.3

Posted by Samisa Abeysinghe <sa...@yahoo.com>.
What is your $LD_LIBRARY_PATH and $AXISCPP_DEPLOY envioronment variable values?

Also try doing 
chmod -R 777 $AXISCPP_DEPLOY

Thanks,
Samisa...

--- Satoshi Iwayama <iw...@portalisland.com> wrote:

> Hi,
> I tried with log disabled. but it segfault at the same point.
> I saw debug trace on gdb.
> m_pTransport is NULL in Call.cpp.
> and I think it doesn't call Call::initialize from InteropTestPortType.cpp.
> If Call::initialize is called, m_pTransport is not NULL, is it ?
> 
> ------ debug ------
> # gdb base
> GNU gdb Red Hat Linux (5.1.90CVS-5)
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-redhat-linux"...
> (gdb) run
> Starting program: /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> 
>  Using service at http://localhost/axis/base
> 
> [New Thread 1024 (LWP 2487)]
> invoking echoString...
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1024 (LWP 2487)]
> 0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
>     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at Call.cpp:255
> 255             m_pTransport->setTransportProperty(type, tempvalue);
> (gdb) where
> #0  0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
>     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at Call.cpp:255
> #1  0x08049ae5 in InteropTestPortType::echoString (this=0xbffff570,
>     Value0=0x804e84a "hello world") at InteropTestPortType.cpp:47
> #2  0x0804d68b in main (argc=1, argv=0xbffff7b4) at InteropBaseClient.cpp:81
> #3  0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
> (gdb) print m_pTransport
> $1 = (class SOAPTransport *) 0x0
> (gdb)
> 
> 
> 
> Thanks
> Satoshi 
> 
> 
> ----- Original Message ----- 
> From: "Satoshi Iwayama" <iw...@portalisland.com>
> To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> Sent: Wednesday, November 10, 2004 2:15 PM
> Subject: Re: sample [base] doesn't work on RH 7.3
> 
> 
> > Hi,
> > Thanks for your help.
> > 
> > I think it segfault when calling m_pCall->setTransportProperty before m_pCall->invoke().
> > So it doesn't send anything. (I saw nothing on tcpmon)
> > 
> > I'll try with log disabled.
> > 
> > Thanks
> > Satoshi
> > 
> > 
> > ------- environment -----
> > # echo $LD_LIBRARY_PATH
> > /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> > 
> > # ls /lz/xercesc/lib
> > libxerces-c.so  libxerces-c.so.25  libxerces-c.so.25.0
> > 
> > # ls /lz/axis-c/lib
> > OLD                          libaxis_xercesc.la
> > axis                         libaxis_xercesc.so
> > axisjava                     libaxis_xercesc.so.0
> > libaxis2_transport.a         libaxis_xercesc.so.0.0.0
> > libaxis2_transport.la        libaxiscpp_client.a
> > libaxis2_transport.so        libaxiscpp_client.la
> > libaxis2_transport.so.0      libaxiscpp_client.so
> > libaxis2_transport.so.0.0.0  libaxiscpp_client.so.0
> > libaxis_transport.a          libaxiscpp_client.so.0.0.0
> > libaxis_transport.la         libserver_engine.a
> > libaxis_transport.so         libserver_engine.la
> > libaxis_transport.so.0       libserver_engine.so
> > libaxis_transport.so.0.0.0   libserver_engine.so.0
> > libaxis_xercesc.a            libserver_engine.so.0.0.0
> > 
> > 
> > 
> > 
> > 
> > 
> > ----- Original Message ----- 
> > From: <da...@opensource.lk>
> > To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> > Sent: Wednesday, November 10, 2004 1:30 PM
> > Subject: Re: sample [base] doesn't work on RH 7.3
> > 
> > 
> > > Hi,
> > > Unfortunately it is not tested with redhat 7.3. But did you see tcpmon
> > > messages. Does it segfault when sending or receiving? Try with log
> > > disabled.
> > > Does LD_LIBRARY_PATH contains <xercescinst>/lib:/lz/axis-c/lib ?
> > > 
> > > thanks
> > > damtitha
> > > 
> > > > Hi.
> > > > I built Axis-C++ 1.3 final on RedHat Linux 7.3. (gcc version 2.96 20000731
> > > > (Red Hat Linux 7.3 2.96-110))
> > > > Then I built samples. I tried the sample [base], but it doesn't work.
> > > >
> > > > May be, m_pTransport (in Call.cpp) is NULL. but why ?
> > > > (please see debug print)
> > > >
> > > > Is anything wrong ?
> > > >
> > > > Thanks for help.
> > > > Best regards.
> > > >
> > > > Satoshi Iwayama.
> > > >
> > > > -----build.sh-----
> > > > ./configure --prefix=/lz/axis-c \
> > > >     --with-apache2=no \
> > > >     --with-apache=no \
> > > >     --with-xercesc=/lz/xercesc \
> > > >     --enable-log=yes \
> > > >     --enable-libwww=no \
> > > >     --enable-testcases=no
> > > >
> > > > -----axiscpp.conf-----
> > > > LogPath:/lz/axis-c/log/AxisLog
> > > > WSDDFilePath:/lz/axis-c/etc/server.wsdd
> > > > ClientLogPath:/lz/axis-c/log/AxisClientLog
> > > > XMLParser:/lz/axis-c/lib/libaxis_xercesc.so
> > > > Transport_http:/lz/axis-c/lib/libaxis2_transport.so
> > > >
> > > > -----debug------
> > > > # gdb base
> > > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > > > Copyright 2002 Free Software Foundation, Inc.
> > > > GDB is free software, covered by the GNU General Public License, and you
> > > > are
> > > > welcome to change it and/or distribute copies of it under certain
> > > > conditions.
> > > > Type "show copying" to see the conditions.
> > > > There is absolutely no warranty for GDB.  Type "show warranty" for
> > > > details.
> > > > This GDB was configured as "i386-redhat-linux"...
> > > > (gdb) run
> > > > Starting program:
> > > > /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> > > >
> > > >  Using service at http://localhost/axis/base
> > > >
> > > > [New Thread 1024 (LWP 14490)]
> > > > invoking echoString...
> > > >
> > > > Program received signal SIGSEGV, Segmentation fault.
> > > > [Switching to Thread 1024 (LWP 14490)]
> > > > 0x4005daa5 in axiscpp::Call::setTransportProperty (this=0x8051270,
> > > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
> > > > Call.cpp:255
> > > > 255             m_pTransport->setTransportProperty(type, tempvalue);
> > > > (gdb) print m_pTransport
> > > > $1 = (class SOAPTransport *) 0x0
> > > > (gdb)
> > > >
> > > >
> > > >
> > > 
> > > 
> > 
> > 
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


Re: sample [base] doesn't work on RH 7.3

Posted by Satoshi Iwayama <iw...@portalisland.com>.
Hi,
I tried with log disabled. but it segfault at the same point.
I saw debug trace on gdb.
m_pTransport is NULL in Call.cpp.
and I think it doesn't call Call::initialize from InteropTestPortType.cpp.
If Call::initialize is called, m_pTransport is not NULL, is it ?

------ debug ------
# gdb base
GNU gdb Red Hat Linux (5.1.90CVS-5)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run
Starting program: /lz/axis-c/src/samples/client/interoptests/base/.libs/base

 Using service at http://localhost/axis/base

[New Thread 1024 (LWP 2487)]
invoking echoString...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 2487)]
0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
    type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at Call.cpp:255
255             m_pTransport->setTransportProperty(type, tempvalue);
(gdb) where
#0  0x4005d7f1 in axiscpp::Call::setTransportProperty (this=0x8051270,
    type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at Call.cpp:255
#1  0x08049ae5 in InteropTestPortType::echoString (this=0xbffff570,
    Value0=0x804e84a "hello world") at InteropTestPortType.cpp:47
#2  0x0804d68b in main (argc=1, argv=0xbffff7b4) at InteropBaseClient.cpp:81
#3  0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) print m_pTransport
$1 = (class SOAPTransport *) 0x0
(gdb)



Thanks
Satoshi 


----- Original Message ----- 
From: "Satoshi Iwayama" <iw...@portalisland.com>
To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
Sent: Wednesday, November 10, 2004 2:15 PM
Subject: Re: sample [base] doesn't work on RH 7.3


> Hi,
> Thanks for your help.
> 
> I think it segfault when calling m_pCall->setTransportProperty before m_pCall->invoke().
> So it doesn't send anything. (I saw nothing on tcpmon)
> 
> I'll try with log disabled.
> 
> Thanks
> Satoshi
> 
> 
> ------- environment -----
> # echo $LD_LIBRARY_PATH
> /lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib
> 
> # ls /lz/xercesc/lib
> libxerces-c.so  libxerces-c.so.25  libxerces-c.so.25.0
> 
> # ls /lz/axis-c/lib
> OLD                          libaxis_xercesc.la
> axis                         libaxis_xercesc.so
> axisjava                     libaxis_xercesc.so.0
> libaxis2_transport.a         libaxis_xercesc.so.0.0.0
> libaxis2_transport.la        libaxiscpp_client.a
> libaxis2_transport.so        libaxiscpp_client.la
> libaxis2_transport.so.0      libaxiscpp_client.so
> libaxis2_transport.so.0.0.0  libaxiscpp_client.so.0
> libaxis_transport.a          libaxiscpp_client.so.0.0.0
> libaxis_transport.la         libserver_engine.a
> libaxis_transport.so         libserver_engine.la
> libaxis_transport.so.0       libserver_engine.so
> libaxis_transport.so.0.0.0   libserver_engine.so.0
> libaxis_xercesc.a            libserver_engine.so.0.0.0
> 
> 
> 
> 
> 
> 
> ----- Original Message ----- 
> From: <da...@opensource.lk>
> To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
> Sent: Wednesday, November 10, 2004 1:30 PM
> Subject: Re: sample [base] doesn't work on RH 7.3
> 
> 
> > Hi,
> > Unfortunately it is not tested with redhat 7.3. But did you see tcpmon
> > messages. Does it segfault when sending or receiving? Try with log
> > disabled.
> > Does LD_LIBRARY_PATH contains <xercescinst>/lib:/lz/axis-c/lib ?
> > 
> > thanks
> > damtitha
> > 
> > > Hi.
> > > I built Axis-C++ 1.3 final on RedHat Linux 7.3. (gcc version 2.96 20000731
> > > (Red Hat Linux 7.3 2.96-110))
> > > Then I built samples. I tried the sample [base], but it doesn't work.
> > >
> > > May be, m_pTransport (in Call.cpp) is NULL. but why ?
> > > (please see debug print)
> > >
> > > Is anything wrong ?
> > >
> > > Thanks for help.
> > > Best regards.
> > >
> > > Satoshi Iwayama.
> > >
> > > -----build.sh-----
> > > ./configure --prefix=/lz/axis-c \
> > >     --with-apache2=no \
> > >     --with-apache=no \
> > >     --with-xercesc=/lz/xercesc \
> > >     --enable-log=yes \
> > >     --enable-libwww=no \
> > >     --enable-testcases=no
> > >
> > > -----axiscpp.conf-----
> > > LogPath:/lz/axis-c/log/AxisLog
> > > WSDDFilePath:/lz/axis-c/etc/server.wsdd
> > > ClientLogPath:/lz/axis-c/log/AxisClientLog
> > > XMLParser:/lz/axis-c/lib/libaxis_xercesc.so
> > > Transport_http:/lz/axis-c/lib/libaxis2_transport.so
> > >
> > > -----debug------
> > > # gdb base
> > > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > > Copyright 2002 Free Software Foundation, Inc.
> > > GDB is free software, covered by the GNU General Public License, and you
> > > are
> > > welcome to change it and/or distribute copies of it under certain
> > > conditions.
> > > Type "show copying" to see the conditions.
> > > There is absolutely no warranty for GDB.  Type "show warranty" for
> > > details.
> > > This GDB was configured as "i386-redhat-linux"...
> > > (gdb) run
> > > Starting program:
> > > /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> > >
> > >  Using service at http://localhost/axis/base
> > >
> > > [New Thread 1024 (LWP 14490)]
> > > invoking echoString...
> > >
> > > Program received signal SIGSEGV, Segmentation fault.
> > > [Switching to Thread 1024 (LWP 14490)]
> > > 0x4005daa5 in axiscpp::Call::setTransportProperty (this=0x8051270,
> > >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
> > > Call.cpp:255
> > > 255             m_pTransport->setTransportProperty(type, tempvalue);
> > > (gdb) print m_pTransport
> > > $1 = (class SOAPTransport *) 0x0
> > > (gdb)
> > >
> > >
> > >
> > 
> > 
> 
> 


Re: sample [base] doesn't work on RH 7.3

Posted by Satoshi Iwayama <iw...@portalisland.com>.
Hi,
Thanks for your help.

I think it segfault when calling m_pCall->setTransportProperty before m_pCall->invoke().
So it doesn't send anything. (I saw nothing on tcpmon)

I'll try with log disabled.

Thanks
Satoshi


------- environment -----
# echo $LD_LIBRARY_PATH
/lz/axis-c/bin:/lz/axis-c/lib:/lz/axis-c/lib:/lz/xercesc/lib

# ls /lz/xercesc/lib
libxerces-c.so  libxerces-c.so.25  libxerces-c.so.25.0

# ls /lz/axis-c/lib
OLD                          libaxis_xercesc.la
axis                         libaxis_xercesc.so
axisjava                     libaxis_xercesc.so.0
libaxis2_transport.a         libaxis_xercesc.so.0.0.0
libaxis2_transport.la        libaxiscpp_client.a
libaxis2_transport.so        libaxiscpp_client.la
libaxis2_transport.so.0      libaxiscpp_client.so
libaxis2_transport.so.0.0.0  libaxiscpp_client.so.0
libaxis_transport.a          libaxiscpp_client.so.0.0.0
libaxis_transport.la         libserver_engine.a
libaxis_transport.so         libserver_engine.la
libaxis_transport.so.0       libserver_engine.so
libaxis_transport.so.0.0.0   libserver_engine.so.0
libaxis_xercesc.a            libserver_engine.so.0.0.0






----- Original Message ----- 
From: <da...@opensource.lk>
To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
Sent: Wednesday, November 10, 2004 1:30 PM
Subject: Re: sample [base] doesn't work on RH 7.3


> Hi,
> Unfortunately it is not tested with redhat 7.3. But did you see tcpmon
> messages. Does it segfault when sending or receiving? Try with log
> disabled.
> Does LD_LIBRARY_PATH contains <xercescinst>/lib:/lz/axis-c/lib ?
> 
> thanks
> damtitha
> 
> > Hi.
> > I built Axis-C++ 1.3 final on RedHat Linux 7.3. (gcc version 2.96 20000731
> > (Red Hat Linux 7.3 2.96-110))
> > Then I built samples. I tried the sample [base], but it doesn't work.
> >
> > May be, m_pTransport (in Call.cpp) is NULL. but why ?
> > (please see debug print)
> >
> > Is anything wrong ?
> >
> > Thanks for help.
> > Best regards.
> >
> > Satoshi Iwayama.
> >
> > -----build.sh-----
> > ./configure --prefix=/lz/axis-c \
> >     --with-apache2=no \
> >     --with-apache=no \
> >     --with-xercesc=/lz/xercesc \
> >     --enable-log=yes \
> >     --enable-libwww=no \
> >     --enable-testcases=no
> >
> > -----axiscpp.conf-----
> > LogPath:/lz/axis-c/log/AxisLog
> > WSDDFilePath:/lz/axis-c/etc/server.wsdd
> > ClientLogPath:/lz/axis-c/log/AxisClientLog
> > XMLParser:/lz/axis-c/lib/libaxis_xercesc.so
> > Transport_http:/lz/axis-c/lib/libaxis2_transport.so
> >
> > -----debug------
> > # gdb base
> > GNU gdb Red Hat Linux (5.1.90CVS-5)
> > Copyright 2002 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License, and you
> > are
> > welcome to change it and/or distribute copies of it under certain
> > conditions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB.  Type "show warranty" for
> > details.
> > This GDB was configured as "i386-redhat-linux"...
> > (gdb) run
> > Starting program:
> > /lz/axis-c/src/samples/client/interoptests/base/.libs/base
> >
> >  Using service at http://localhost/axis/base
> >
> > [New Thread 1024 (LWP 14490)]
> > invoking echoString...
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 1024 (LWP 14490)]
> > 0x4005daa5 in axiscpp::Call::setTransportProperty (this=0x8051270,
> >     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
> > Call.cpp:255
> > 255             m_pTransport->setTransportProperty(type, tempvalue);
> > (gdb) print m_pTransport
> > $1 = (class SOAPTransport *) 0x0
> > (gdb)
> >
> >
> >
> 
> 


Re: sample [base] doesn't work on RH 7.3

Posted by da...@opensource.lk.
Hi,
Unfortunately it is not tested with redhat 7.3. But did you see tcpmon
messages. Does it segfault when sending or receiving? Try with log
disabled.
Does LD_LIBRARY_PATH contains <xercescinst>/lib:/lz/axis-c/lib ?

thanks
damtitha

> Hi.
> I built Axis-C++ 1.3 final on RedHat Linux 7.3. (gcc version 2.96 20000731
> (Red Hat Linux 7.3 2.96-110))
> Then I built samples. I tried the sample [base], but it doesn't work.
>
> May be, m_pTransport (in Call.cpp) is NULL. but why ?
> (please see debug print)
>
> Is anything wrong ?
>
> Thanks for help.
> Best regards.
>
> Satoshi Iwayama.
>
> -----build.sh-----
> ./configure --prefix=/lz/axis-c \
>     --with-apache2=no \
>     --with-apache=no \
>     --with-xercesc=/lz/xercesc \
>     --enable-log=yes \
>     --enable-libwww=no \
>     --enable-testcases=no
>
> -----axiscpp.conf-----
> LogPath:/lz/axis-c/log/AxisLog
> WSDDFilePath:/lz/axis-c/etc/server.wsdd
> ClientLogPath:/lz/axis-c/log/AxisClientLog
> XMLParser:/lz/axis-c/lib/libaxis_xercesc.so
> Transport_http:/lz/axis-c/lib/libaxis2_transport.so
>
> -----debug------
> # gdb base
> GNU gdb Red Hat Linux (5.1.90CVS-5)
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for
> details.
> This GDB was configured as "i386-redhat-linux"...
> (gdb) run
> Starting program:
> /lz/axis-c/src/samples/client/interoptests/base/.libs/base
>
>  Using service at http://localhost/axis/base
>
> [New Thread 1024 (LWP 14490)]
> invoking echoString...
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1024 (LWP 14490)]
> 0x4005daa5 in axiscpp::Call::setTransportProperty (this=0x8051270,
>     type=SOAPACTION_HEADER, value=0x804e243 "base#echoString") at
> Call.cpp:255
> 255             m_pTransport->setTransportProperty(type, tempvalue);
> (gdb) print m_pTransport
> $1 = (class SOAPTransport *) 0x0
> (gdb)
>
>
>