Start the Apache Web server

  1. Add this line to the WEB_SERVER_HOME/bin/apachectl script; replace install_dir with the installation directory:

    Version 1.3:

    LD_PRELOAD=<install_dir>/libexec/libjeas_mod.sl:
    <install_dir>/libjcc.sl; export LD_PRELOAD
    export SHLIB_PATH=<install_dir>/libexec:.:$SHLIB_PATH
    

    Version 2.0:

    LD_PRELOAD=<install_dir>/lib/libjeas2_mod.sl:
    <install_dir>/libjcc.sl; export LD_PRELOAD
    export SHLIB_PATH=<install_dir>/lib:.:$SHLIB_PATH
    
  2. Run:

    ./apachectl start
    

StepsVerifying that the redirector plug-in is working correctly

To verify that Apache Web server redirector plug-in is installed and working correctly:

  1. Verify that all the required libraries are copied to the libexec (Apache 1.3.26) or lib (Apache 2.0) subdirectory of the Apache installation directory. For example:

    % pwd

    testarea/apache/libexec
    

    % ls

    httpd.exp
    libjeas_mod.sl or libjeas2_mod.sl
    libjsybscl_r.sl
    libjcc.sl
    libjeasproxy_mod.sl
    libjlog.sl
    libjtml_r.sl
    libjctssecct.sl
    libjinsck_r.sl  
    libjeas_httpd40.sl
    libjintl_r.sl
    

    If any of these files are not present, copy them from the $JAGUAR/lib directory of your EAServer installation.

  2. Verify that the conn_config file exists in the Apache configuration directory. For example:

    % pwd

    testarea/apache/conf
    

    % ls

    access.conf
    httpd.conf.default
    mime.types.default
    access.conf.default
    magic
    srm.conf
    conn_config
    magic.default
    srm.conf.default
    httpd.conf
    mime.types 
    
  3. Verify the Connector.WebApp directive is correctly set in the conn_config file. For example:

    Connector.WebApp /* = http://hostname:8080
    

    where hostname is the machine name where EAServer is installed, and 8080 is the EAServer HTTP port number, and “/*” appears immediately after Connector.WebApp.

  4. Start the Web server. If it successfully starts, a disclaimer similar to the following is sent to the error_log file (/testarea/apache/logs/error_log ):

    Confidential property of Sybase, Inc.
    (c) Copyright Sybase Inc. 1987, 2004
    All rights reserved.
    
    Use, duplication, or disclosure by the United States Government
    is subject to restrictions as set forth in FAR subparagraphs
    52.227-19 (a)-(d) for civilian agency contracts and DFARS 252.227-7013
    (c)(1)(ii) for Department of Defense contracts. Sybase reserves all
    unpublished rights under the copyright laws of the United States.
    [Fri Oct  5 13:58:37 2003] [notice] [pid 4476] connector_init: Connector URL [http://hpwatdev.sybase.com:8087]
    [Fri Oct  5 13:58:38 2003] [notice] [pid 4489] Sybase Web Server Redirector/Version x.x(Build 1)/P/dce_hp800/HP-UX 11.0/Mon Oct  1 15:50:50 EDT 2003
    
  5. Start EAServer on the host you specified in the conn_config file and from a Web browser, connect to the Web server’s default page.The redirector plug-in should redirect your request to EAServer’s home page. This is the hostname:port_number set in the Connector.WebApp directive in the conn_config file.