Kbase P21950: How do you create a web.xml file for use with AIA?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/07/2006 |
|
Status: Verified
GOAL:
How do you create a web.xml file for use with AIA?
FIX:
The following is an example of a web.xml file containing the necessary parameters for use with the AppServer Internet Adapter ( AIA ). This example contains the settings that would be used with the AIA included with Progress installations.
Within the web.xml file there are 2 references to {ProgressInstallDir}.
Insert the path to the Progress DLC directory for {ProgressInstallDir}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<display-name>Appserver Internet Adapter</display-name>
<servlet>
<servlet-name>Aia</servlet-name>
<display-name>Appserver Internet Adapter</display-name>
<servlet-class>com.progress.aia.Aia</servlet-class>
<init-param>
<param-name>instanceName</param-name>
<param-value>Aia1</param-value>
</init-param>
<init-param>
<param-name>InstallDir</param-name>
<param-value>{ProgressInstallDir}</param-value>
</init-param>
<init-param>
<param-name>propertyFileName</param-name>
<param-value>{ProgressInstallDir}/properties/ubroker.properties</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>Aia</servlet-name>
<url-pattern>/Aia/*</url-pattern>
</servlet-mapping>
</web-app>