axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dumindu Pallewela <pallew...@gmail.com>
Subject Re: AXIS2C Installation on Windows
Date Mon, 21 Mar 2011 07:05:21 GMT
comments inline.
/dumindu.

On Mon, Mar 21, 2011 at 9:34 AM, Saju Nair <saju@tanmic.co.in> wrote:

>
>
>    Note : Did not perform the build of mod2_axis.dll, since I had used the
>
>    binary version for (1) above as well, and assume that the
>
>    <AXIS2C_INSTALL_DIR>/lib/mod2_axis.dll.
>
>
>
>    Copied the mod2_axis.dll from AXIS2C_INSTALL_DIR to Apache22
> install/modules
>
>
>
>    Then added the following to httpd.conf
>
>    LoadModule axis2_module "C:/Program Files/Apache Software
> Foundation/Apache2.2/modules/mod_axis2.so"
>
>    Axis2RepoPath AXIS2C_INSTALL_DIR
>
>    Axis2LogFile AXIS2C_INSTALL_DIR/logs
>
>    Axis2MaxLogFileSize 10
>
>    Axis2LogLevel debug
>
>
>
>
>
> 3, The Apache server does not start, and I get an error message mentioning
>
> httpd.exe: Syntax error on line 487 of C:/Program Files/Apache Software
> Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache
> Software Foundation/Apache2.2/modules/mod_axis2.so into server: The
> specified module could not be found.
>
> Note the errors or messages above, and press the <ESC> key to exit.  26...
>

your axis2 module filename is not "mod_axis2.so" as you have specified in
httpd.conf. It should rather be "mod_axis2.dll"


>
> Build using SRC files
>
> ======================
>
> 1, Since the above binary release was not working,
>
>    I tried to build the AXIS2C under the “build/deploy” directory
>
>    Again, I was able to invoke the “axis2_http_server” and then started
>
>    the client/“echo.exe” and it worked successfully.
>
>
>
> 2, Then, I tried to build the mod2_axis.ddl.
>
> ..\..\src\core\transport\http\server\apache2\mod_axis2.c(19) : fatal error
> C1083
>
> : Cannot open include file: 'httpd.h': No such file or directory
>
>
> d:\saju\tools\apache\axis2c-src-1.6.0\axis2c-src-1.6.0\src\core\transport\http\s
>
> erver\apache2\axis2_apache2_out_transport_info.h(33) : fatal error C1083:
> Cannot
>
> open include file: 'httpd.h': No such file or directory
>
>
>
> I don’t find the httpd.h in the axis2c-src install area at all.
>

of course httpd.h could not be found in axis2c, it is rather a header file
in apache httpd. you need to download httpd sources in order to build axis2c
httpd module.

Mime
View raw message