Hi Dumindu, Thanks for your response.
1, On using the downloaded binaries, Thanks. I had originally copied the AXIS2C_INSTALL/lib/mod_axis2.dll -> APACHE_INSTALL_DIR/modules/mod_axis2.so based on the instructions in http://axis.apache.org/axis2/c/core/docs/installationguide.html#3_2 I reinstalled Apache2.2 and I did as you indicated, and copied the mod_axis2.dll as .dll itself. Added the loadModule in the httpd.conf. Now, when I start Apache, the UI indicates that the Service is running, I get a message though, in the APACHE_INSTALL_DIR/logs/error.log Starting the Apache2.2 service The Apache2.2 service is running. rmine the server's fully qualified domain name, using aaa.bbb.cc.dd for ServerName [Mon Mar 21 14:16:52 2011] [notice] Apache/2.2.17 (Win32) configured -- resuming normal operations [Mon Mar 21 14:16:52 2011] [notice] Server built: Oct 18 2010 01:58:12 [Mon Mar 21 14:16:52 2011] [notice] Parent: Created child process 7312 httpd.exe: Could not reliably determine the server's fully qualified domain name, using aaa.bbb.cc.dd for ServerName httpd.exe: Could not reliably determine the server's fully qualified domain name, using aaa.bbb.cc.dd for ServerName [Mon Mar 21 14:16:52 2011] [notice] Child 7312: Child process is running [Mon Mar 21 14:16:52 2011] [notice] Child 7312: Acquired the start mutex. [Mon Mar 21 14:16:52 2011] [notice] Child 7312: Starting 64 worker threads. [Mon Mar 21 14:16:52 2011] [notice] Child 7312: Starting thread to listen on port 80. even though, the httpd.conf contains ServerName localhost 2, On the path of compiling the source distribution, I added the path to APACHE_INSTALL_DIR/include during the compile. Now, the compile complains about apr.h, which is located in APACHE_INSTALL_DIR/srclib/apr/include but, the compile continues to complain. I have been able to proceed with (1) above, and build the “hello” service and deploy it locally. Thanks. Regards, - Saju. From: Dumindu Pallewela [mailto:[email protected]] Sent: 21 March 2011 12:35 To: Apache AXIS C User List Cc: Saju Nair Subject: Re: AXIS2C Installation on Windows comments inline. /dumindu. On Mon, Mar 21, 2011 at 9:34 AM, Saju Nair <[email protected]> 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.
