You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Mario Cova <es...@ptinovacao.pt> on 2004/02/20 16:11:40 UTC

Axis C++ Instalation Problems

Hello!
 
I'm trying to install Axis C++ in a Linux system, but I'm having some troble
with that:

I installed Apache (1.3), I installed the Axis C++ bin and added to
httpd.conf the following lines:
 LoadModule axis_module        libexec/libaxiscpp_mod.so
    <Location /axis>
        SetHandler axis
    </Location>

When trying to restart Apache it returned this error:
Syntax error on line 247 of /opt/oracle/Apache/Apache/conf/httpd.conf:
Cannot load /opt/oracle/Apache/Apache/libexec/libaxiscpp_mod.so into server:
libxerces-c.so.22: cannot open shared object file: No such file or directory
 
What do I have to do proceed with the install?

BTW, I once used Axis Java for a simple Web Service (a calculator). I simply
created a jws file with the desired methods and the client invoking the
method with the respective arguments. What would I have to do in Axis C++?

  Obrigado.
    André
    PT Inovação, SA

Re: Axis C++ Instalation Problems

Posted by horgan allan <al...@yahoo.com>.
Hi Mario,

Axis uses Xerces-c. It's from apache aswell. It's an
XML DOM/SAX package. You need to download and build
this:
http://xml.apache.org/xerces-c/
Note: You need to download version 2.2 I believe!!
I tried with 2.4 and had problems.

Then export LD_LIBRARY_PATH=[whereever the xml library
is]. (Or insall xerces in /usr/lib)

This should solve your problem. Need any help with
this
send me an email.

Allan

--- Mario Cova <es...@ptinovacao.pt> wrote:
> Hello!
>  
> I'm trying to install Axis C++ in a Linux system,
> but I'm having some troble
> with that:
> 
> I installed Apache (1.3), I installed the Axis C++
> bin and added to
> httpd.conf the following lines:
>  LoadModule axis_module       
> libexec/libaxiscpp_mod.so
>     <Location /axis>
>         SetHandler axis
>     </Location>
> 
> When trying to restart Apache it returned this
> error:
> Syntax error on line 247 of
> /opt/oracle/Apache/Apache/conf/httpd.conf:
> Cannot load
> /opt/oracle/Apache/Apache/libexec/libaxiscpp_mod.so
> into server:
> libxerces-c.so.22: cannot open shared object file:
> No such file or directory
>  
> What do I have to do proceed with the install?
> 
> BTW, I once used Axis Java for a simple Web Service
> (a calculator). I simply
> created a jws file with the desired methods and the
> client invoking the
> method with the respective arguments. What would I
> have to do in Axis C++?
> 
>   Obrigado.
>     Andr�
>     PT Inova��o, SA
> 


__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools