Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-565

Issues in the Axis2-C Installation Guide - Installing Apache2 Web Server Integration Module (mod_axis2)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • documentation
    • None
    • Windows XP

    Description

      The following issues were found in the "Installation Guide" under the heading "Installing Apache2 Web Server Integration Module (mod_axis2)"
      ================================================================================================================

      1. Under the heading "3.1.2 On Win32 Platform" it says "Provide the apache2 location in configure.in file in APACHE_INSTALL_DIR". Since there were no such tag in the configure.in file, I added a variable called APACHE_INSTALL_DIR and it gave an error.
      What it actually expects is to replace the path given for APACHE_BIN_DIR with the correct Apache2 location

      2. The guide states "After compiling the sources (As described in Section 2) build the mod_axis2.dll by issuing the command "nmake axis2_apache_module"." From which folder should you build this from?
      The location should be specified clearly

      3. The guide does not mention that the user should install Apache2. Better if the guide can provide a link to the download page of Apache2.

      4. Everytime a new console window opens the "vcvars32.bat" file should be executed before executing the command nmake axis2_apache_module, but this is not mentioned anywhere in the guide

      5. In Windows when you installl Apache2 into a folder with spaces and when trying to build the mod_axis2.dll using the command "nmake axis2_apache_module" you get an error. This is solved when Apache2 is installed to a folder without spaces. Please mention about this in the guide

      6. As per Buddhika you need super user priviledges to install Apache2 on Linux but this is not mentioned under "3.1. Building mod_axis2 From Source Tree". So please add this as well

      Under "3.2. Deploying in Apache2 Web Server" it says that the user has to have super user priviledges. What does it mean by Super user previledges here? In windows that the user has to have Administrative rights? Or does this apply only for Linux? A brief explanation is needed here.

      7. Cannot start the Apache2 server. An error is given saying that there is a syntax error in the httpd.conf file. I have added all the things that the Installation guide has given. When I start the Apache2 server I get the following error.

      ***********************************************************************************************************************************************************************************************
      The Apache service named reported the following error:
      >>> httpd.exe: Syntax error on line 115 of C:/Apache2.2/conf/httpd.conf: LoadModule takes two arguments, a module name and the name of a shared object file to load it from.
      ***********************************************************************************************************************************************************************************************

      What is given in the Installation Guide
      ============================
      LoadModule axis2_module <apache2 modules directory>/mod_axis2.so
      Axis2RepoPath <axis2 repository path>
      Axis2LogFile <axis2 log file path>
      Axis2LogLevel LOG_LEVEL
      <Location /axis2>
      SetHandler axis2_module
      </Location>

      What I have specified in the httpd.conf file
      ================================
      LoadModule C:/Apache2.2/modules/mod_axis2.so
      Axis2RepoPath C:/WSO2/WSO2-Releases/Axis2_C
      Axis2LogFile C:/WSO2/WSO2-Releases/Axis2_C/build/deploy/logs
      Axis2LogLevel AXIS2_LOG_LEVEL_DEBUG
      <Location /axis2>
      SetHandler axis2_module
      </Location>

      8. Under "3.2. Deploying in Apache2 Web Server" it says that the Apache2 user should have read permission to the repository and write permission to the log file. I think this applies only for Linux. Please specify clearly

      9. It states that you can test whether the mod_axis2 module is loaded by typing the URL http://localhost/axis2/services. This is wrong. The port is not specified in this URL. Therefore the URL should be corrected as http://localhost:9090/axis2/services

      Attachments

        Activity

          People

            dchandradasa Marcus Dushshantha Chandradasa
            evanthika Evanthika Shiromali Amarasiri
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: