Question : Apache 1.3 Configuration

am trying to get my apache server to forward requests to websphere.  I have looked at all the config manuals/faqs and havn't come across this problem.

Environment:
Redhat Linux 7.3
Apache 1.3
WebSphere Express 5

I have done the following.

1.  Create a virtual host in websphere that listens on *:8082
2.  Installed my application in the websphere instance and assigned the *:8082 virtual host to all the modules
3.  Regenerate my websphere plugin
4.  Added these lines to my httpd.conf:
        LoadModule app_server_http_module /opt/IBM/WebSphere/Express502/Plugins/bin/mod_app_server_http_eapi.so
        WebSpherePluginConfig /opt/IBM/WebSphere/Express502/AppServer/config/cells/plugin-cfg.xml


Now when I start apache I get the following in the error_log:

[Mon Nov 10 15:29:10 2003] [notice] Initializing the WebSphere Plugin



The server never starts up and I cannot find an error message telling me what could be wrong.  I changed the LogLevel to 'debug' in the http conf and that doesn't see to add anything at all.

Please help me hunt down/solve this error.  Any and all help is much appreciated

Answer : Apache 1.3 Configuration

The WebSphere virtual host port number (*:8082 that you defined) should be the port number that Apache listens on.  

So, unless your Apache is listening on port 8082, the WebSphere virtual host should be *:80  
    -- 8082 etc. are the default transport port numbers for the app servers within websphere.  They should be transparent to you -- they are output into the cfg.xml file and the plugin reads them and knows which port to talk to Websphere on.

In short, your WebSphere port number is the same as the Apache host port number.

This might not solve your problem.  Please attache your httpd.conf file.  Module Ordering and location of the websphere plugin may be the issue for the segfault.
Random Solutions  
 
programming4us programming4us