Consultor Eletrônico



Kbase 21923: Error 9407 Running Application Through AIA With Tomcat 3.3
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   29/03/2002
SUMMARY:

This Solution applies to Progress Version 9.1x.

You might encounter the following error when you are running a WebClient application or a 4GL Application that connects to an AppServer through the AppServer Internet Adapter (AIA), and the servlet engine is Tomcat 3.3:

Connect failure for host <hostname> port <port> transport HTTP (9407)

The error might happen at the end of each request to the AppServer server, but does not seem to cause any problem to the application.

EXPLANATION:

This problem has been encountered when you integrate Tomcat 3.3 using the mod_jk plug-in with the Apache Web server. Tomcat 3.3 introduces the new mod_jk plug-in, which is a replacement to the older mod_jserv. It provides two possible protocols: Ajp12 and Ajp13. The default protocol is Ajp13.

The problem does not happen when using the Ajp12 protocol, nor with the mod_jserv interface.

You can define the protocol in the mod_jk.conf file for each instance of an application (/examples, /admin, /aia).

SOLUTION:

1) Switch to the mod_jserv plug-in.

2) If you want to keep the mod_jk plug-in, change the protocol used
by Aia to Apj12.

a) Edit the file mod_jk.conf included in the Apache httpd.conf
file.

b) Change the line that defines the protocol to /aia.
For example:

JkMount /aia ajp12
JkMount /aia/* ajp12

Please refer to Apache's documentation for more details on the configuration.


References to Written Documentation:

Progress Knowledge Base Solutions:
21877, "Setting Up AIA with Tomcat 3.3a on Apache (mod_jk plug-in)"
21150, "Unable To Communicate with AIA on the WebClient Disconnects"