Setting Up Apache Web Server Redirector for HTTP Service Clustering

If you provide support for HTTP service clustering, you must configure an Apache HTTP 2.2.0 Server with Apache Web Server Redirector support.

Install and configure a Web Service Redirector. See Chapter 4: Installing and Configuring a Web Server Redirector in the EAServer Installation Guide (Windows or Solaris) for instructions.

  1. Download and install Apache HTTP 2.2.0 Server.
    Note: To ensure a single point of failure, Sybase recommends that Apache be installed on a host separate from the Service Container installations.
  2. Copy the EAServer Web Server Redirector libraries into the Apache installation directory.
    1. Copy the following libraries from <installation directory>\EAServer\dll to the <Apache installation directory>\modules directory:
      • libjcc.dll

      • libjctssecct.dll

      • libjintl.dll

      • libjspks.dll

      • libjsybscl.dll

      • libjtml.dll

      • libjutils.dll

      • nlwnsck.dll

      • nlwnsck64.dll

    2. Copy libjeas2_mod.dll from <installation directory>\EAServer\dll\debug to the <Apache installation directory>\modules directory.
    3. Edit the PATH environment variable to include the following:

      <Apache installation directory>\modules

  3. Configure Apache to load the Web Server Redirector libraries: # EAServer Web Server Redirector Configuration.
    1. Open the <Apache installation directory>\conf\httpd.conf file.
    2. Edit the <APACHE_HOME> information:
    LoadModule easredirector_module modules\libjeas2_mod.dll
    EASConfigFile <APACHE_HOME>\conf\conn_config
    #Example: C:\Apache2\conf\conn_config
    ServerName <APACHE_HOST>
    #Example: ServerName myApacheHost
    <LocationMatch /* >
    SetHandler eas-handler
    </LocationMatch>
  4. Shut down and restart the host on which you installed the Apache HTTP Server. Verify that the Apache service has restarted.
  5. Substitute the soap:address location attribute of all clustered HTTP services with <APACHE_HOST>.
Related concepts
Application Server Clustering
Related tasks
Deploying Service Container Packages to an EAServer Cluster
Developing a Component-Based Cluster Using EAServer
Setting Up EAServer for Clustering
Creating an EAServer Cluster
Starting Up the EAServer Cluster
Synchronizing the EAServer Cluster
Rejoining an EAServer Cluster
Removing a Node from an EAServer Cluster

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com