Add this line to the APACHE_HOME/bin/apachectl script:
LD_PRELOAD=<install dir>/libexec/libjeas_mod.so:<install dir>/libjcc.so; export LD_PRELOAD export SHLIB_PATH=<install dir>/libexec:.:$SHLIB_PATH
For Apache 2.0 replace libjeas_mod.so with libjeas2_mod.so.
Run:
./apachectl start
Verifying that the redirector plug-in is working
correctly
To verify that Apache Web server redirector plug-in is installed and working correctly:
Verify that all the required libraries are copied to the libexec subdirectory of the Apache installation directory. For example:
% pwd
testarea/apache/libexec
% ls
httpd.exp libjeas_mod.so or libjeas2_mod.so libjsybscl_r.so libjcc.so libjeasproxy_mod.so libjlog.so libjtml_r.so libjctssecct.so libjinsck_r.so libjeas_httpd40.so libjintl_r.so
If any of these files are not present, copy them from the $JAGUAR/lib directory of your EAServer installation.
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
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.
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]
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.
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |