Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 90550 invoked from network); 20 Sep 2007 10:55:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Sep 2007 10:55:16 -0000 Received: (qmail 6595 invoked by uid 500); 20 Sep 2007 10:55:07 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 6314 invoked by uid 500); 20 Sep 2007 10:55:07 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 6303 invoked by uid 99); 20 Sep 2007 10:55:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2007 03:55:07 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pappu.raghunathan@gmail.com designates 209.85.198.190 as permitted sender) Received: from [209.85.198.190] (HELO rv-out-0910.google.com) (209.85.198.190) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2007 10:55:06 +0000 Received: by rv-out-0910.google.com with SMTP id c24so411730rvf for ; Thu, 20 Sep 2007 03:54:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=EKdLMy+AQ0ro5egVp7ZLfNCsAuYdvgZjhWV4pKxPznk=; b=FxWQRtpqNgpAHfGzpvxrXbscX3s5PEE2KC6xJe2cWQOl43aWThUj6Rze7FoYngGZSCjPkq5owDdrcAaiSdKG8VHnW3uw6RxB7HslMNzYOg9ed/Ur83JKeqEXgDtfArhMeko0vyrnxH4GbBAYIQSzqfcb+dJ3fEt802dONeXtDSs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Oteshy7Q4HSG3M4dQGphxsOJIRyYLzbvsgNO9CAEAcU+ctf0US2dWBEGdi17vBxoj8XJpxUJ32yJufcIzDwHnH3ISFyOfX2D6F7L5v6Dyn5WBGrI+4WPjtuam8tnrVV3IopBC1U9XhXr6YAHTHMvFd0VZs2EYg7bfEx5FVTWCP8= Received: by 10.143.36.15 with SMTP id o15mr165982wfj.1190285685502; Thu, 20 Sep 2007 03:54:45 -0700 (PDT) Received: by 10.142.86.16 with HTTP; Thu, 20 Sep 2007 03:54:45 -0700 (PDT) Message-ID: <9e8b8c600709200354w6b1eefapcaa80669178f005a@mail.gmail.com> Date: Thu, 20 Sep 2007 16:24:45 +0530 From: "Sathya Raghunathan" To: "Apache AXIS C User List" Subject: Re: Getting guththila exception In-Reply-To: <9e8b8c600709200211n374844y198a0f4f09bbd61c@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_32076_17657552.1190285685490" References: <9e8b8c600709200009h535411abo3ca025fedaafec18@mail.gmail.com> <9e8b8c600709200142n48f8a026pd23fadeb9bb76659@mail.gmail.com> <9e8b8c600709200148x7ab199d3n6d310f6b27c2c498@mail.gmail.com> <46F230CB.3090208@wso2.com> <9e8b8c600709200211n374844y198a0f4f09bbd61c@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_32076_17657552.1190285685490 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi I installed libxml2.so, still i am getting the problem when i run the binary ls -l /usr/lib/libxml2.so lrwxrwxrwx 1 root root 32 Sep 20 16:20 /usr/lib/libxml2.so -> /usr/local/lib/libxml2.so.2.6.23 "./axis2_http_server: relocation error: /home/sathya/axis2c/axis2c- bin-1.0.0-linux/lib/libaxis2_parser.so.0: undefined symbol: xmlReaderForFile" If i say nm i can see that symbol [root@CHNMCT63202 lib]# nm libxml2.so | grep xmlReaderForFile 000c16b8 T xmlReaderForFile What else could be the problem Thanks Sathya On 9/20/07, Sathya Raghunathan wrote: > > Hi > > In my usr/lib, there are libxml2.so.2.5.10, /usr/lib/libxml2.so.2, > /usr/lib/libxml2.a > I am not sure which so, the binary would use. If this is old version, i > will try to download and see > Also, while doing a building the source I am getting an error called > XML_PARSE_RECOVER undeclared error message. > > I check your website for solution and got that i need to download the file > from apache site if this is not present in /usr/include/libxml2 > > Let me know from where i can download the header file or the library? > > Thanks > Sathya > > On 9/20/07, Samisa Abeysinghe wrote: > > > > Sathya Raghunathan wrote: > > > Should i rebuild the source again with --enable-libxml2=yes > > > --enable-guththila=no?? > > > > > > I am not using binary version because i got the error message > > > "relocation error: /home/sathya/axis2c/axis2c- > > > bin-1.0.0-linux/lib/libaxis2_parser.so.0: undefined symbol: > > > xmlReaderForFile" > > You get this error becuase you do not have libxml2 on your system or > > because your libxml2 version is old. > > I am using libxml2 version 2.6.23 > > > > Samisa... > > > > > > > > Let me know if i need to rebuild the axis source with the above > > > configuration > > > > > > Thanks > > > Sathya > > > > > > On 9/20/07, *Sathya Raghunathan* < pappu.raghunathan@gmail.com > > > > wrote: > > > > > > I used both options as yes when i built the source. > > > > > > > > > On 9/20/07, *Dimuthu Gamage* < dimuthuc@gmail.com > > > > wrote: > > > > > > Hi, > > > > > > You can use libxml instead of xml as the xml parser. If you > > > are building from axis2 source configure it with the option > > > --enable-libxml2=yes --enable-guththila=no (which is the > > > default configuration) > > > Or if you are using binary , use the libaxis2_libxml2.so (That > > > is put that in the LD_LIBRARY_PATH) > > > > > > Thanks > > > DImuthu > > > > > > On 9/20/07, *Sathya Raghunathan* < pappu.raghunathan@gmail.com > > > > wrote: > > > > > > Hi Dimuthu, > > > > > > Thanks for helping me solve the segmentation fault. I > > > followed the calculator example. But now i am getting > > > another error called > > > > > > "Throws guththila_exception guththila_xml_pull_parser.c > > > 250." > > > > > > Also it looks like its going in an infinite loop. When I > > > went to guththila_xml_pull_parser.c line 250, i checked > > > the if condition > > > else if (((parser->_next) > (parser->last)) > > > && guththila_read(environment, > > > parser)) > > > { > > > if (eof) > > > return -1; > > > else > > > guththila_exception(p_FILE, LINE, > > > GUTHTHILA_ERROR_UNEXPECTED_EOF > > > ); > > > } > > > > > > Is there anything wrong with the input message again? I am > > > not able to proceed beyond this. I am attaching the client > > > code. I tried an input message with a "\n", and without a > > > "\n" at the end. Both gives a problem. > > > > > > Please help me. > > > > > > Thanks > > > Sathya > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > > axis-c-user-unsubscribe@ws.apache.org > > > > > > For additional commands, e-mail: > > > axis-c-user-help@ws.apache.org > > > > > > > > > > > > > > > > > > > > > -- > > Samisa Abeysinghe : WSO2 WSF/PHP > > "http://wso2.org/projects/wsf/php?WSO2 Web Services Framework%2FPHP - Open source PHP extention for providing and consuming Web services in PHP > > > > > > " > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org > > For additional commands, e-mail: axis-c-user-help@ws.apache.org > > > > > ------=_Part_32076_17657552.1190285685490 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi

I installed libxml2.so, still i am getting the problem when i run the binary

ls -l /usr/lib/libxml2.so

lrwxrwxrwx    1 root     root           32 Sep 20 16:20 /usr/lib/libxml2.so ->
 /usr/local/lib/libxml2.so.2.6.23

"./axis2_http_server: relocation error: /home/sathya/axis2c/axis2c-bin-1.0.0-linux/lib/libaxis2_parser.so.0: undefined symbol: xmlReaderForFile"

If i say nm i can see that symbol

[root@CHNMCT63202 lib]# nm libxml2.so | grep xmlReaderForFile
000c16b8 T xmlReaderForFile

What else could be the problem

Thanks
Sathya

On 9/20/07, Sathya Raghunathan <pappu.raghunathan@gmail.com> wrote:
Hi

In my usr/lib, there are libxml2.so.2.5.10, /usr/lib/libxml2.so.2, /usr/lib/libxml2.a
I am not sure which so, the binary would use. If this is old version, i will try to download and see
Also, while doing a building the source I am getting an error called XML_PARSE_RECOVER undeclared error message.

I check your website for solution and got that i need to download the file from apache site if this is not present in /usr/include/libxml2

Let me know from where i can download the header file or the library?

Thanks
Sathya


On 9/20/07, Samisa Abeysinghe < samisa@wso2.com> wrote:
Sathya Raghunathan wrote:
> Should i rebuild the source again with --enable-libxml2=yes
> --enable-guththila=no??
>
> I am not using binary version because i got the error message
> "relocation error: /home/sathya/axis2c/axis2c-
> bin-1.0.0-linux/lib/libaxis2_parser.so.0: undefined symbol:
> xmlReaderForFile"
You get this error becuase you do not have libxml2 on your system or
because your libxml2 version is old.
I am using libxml2 version 2.6.23

Samisa...

>
> Let me know if i need to rebuild the axis source with the above
> configuration
>
> Thanks
> Sathya
>
> On 9/20/07, *Sathya Raghunathan* < pappu.raghunathan@gmail.com
> <mailto: pappu.raghunathan@gmail.com>> wrote:
>
>     I used both options as yes when i built the source.
>
>
>     On 9/20/07, *Dimuthu Gamage* < dimuthuc@gmail.com
>     <mailto: dimuthuc@gmail.com>> wrote:
>
>         Hi,
>
>         You can use libxml instead of xml as the xml parser. If you
>         are building from axis2 source configure it with the option
>         --enable-libxml2=yes --enable-guththila=no  (which is the
>         default configuration)
>         Or if you are using binary , use the libaxis2_libxml2.so (That
>         is put that in the LD_LIBRARY_PATH)
>
>         Thanks
>         DImuthu
>
>         On 9/20/07, *Sathya Raghunathan* < pappu.raghunathan@gmail.com
>         <mailto: pappu.raghunathan@gmail.com >> wrote:
>
>             Hi Dimuthu,
>
>             Thanks for helping me solve the segmentation fault. I
>             followed the calculator example. But now i am getting
>             another error called
>
>              "Throws guththila_exception guththila_xml_pull_parser.c
>             250."
>
>             Also it looks like its going in an infinite loop. When I
>             went to guththila_xml_pull_parser.c line 250, i checked
>             the if condition
>                else  if (((parser->_next) > (parser->last))
>                                       && guththila_read(environment,
>             parser))
>                 {
>                     if (eof)
>                         return -1;
>                     else
>                         guththila_exception(p_FILE, LINE,
>             GUTHTHILA_ERROR_UNEXPECTED_EOF
>             );
>                 }
>
>             Is there anything wrong with the input message again? I am
>             not able to proceed beyond this. I am attaching the client
>             code. I tried an input message with a "\n", and without a
>             "\n" at the end. Both gives a problem.
>
>             Please help me.
>
>             Thanks
>             Sathya
>
>             ---------------------------------------------------------------------
>             To unsubscribe, e-mail:
>             axis-c-user-unsubscribe@ws.apache.org
>             <mailto: axis-c-user-unsubscribe@ws.apache.org>
>             For additional commands, e-mail:
>             axis-c-user-help@ws.apache.org
>             <mailto: axis-c-user-help@ws.apache.org>
>
>
>
>


--
Samisa Abeysinghe : WSO2 WSF/PHP
" http://wso2.org/projects/wsf/php?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework%2FPHP&nbsp;-&nbsp;Open&nbsp;source&nbsp;PHP&nbsp;extention&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services&nbsp;in&nbsp;PHP "


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org



------=_Part_32076_17657552.1190285685490--