Consultor Eletrônico



Kbase P25278: WebClient application displays gibberish when using Tomcat as a webserver
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Verified

FACT(s) (Environment):

Tomcat
Progress 9.1X
OpenEdge 10.0A

SYMPTOM(s):

When trying to download the Webclient application's .prowcapc file, garbage is displayed in the web browser

Using the webserver part of Tomcat to server up the application

WebClient application displays gibberish when using Tomcat as a webserver

CAUSE:

Improperly configured Tomcat.

FIX:

In order to make this work with Tomcat, please follow these steps:

1. Locate the <Tomcat_install_dir>/conf/web.xml file
2. Locate <mime-mapping> in the <web-app> section
3. As the last mime mapping add the following:
</mime-mapping>
<mime-mapping>
<extension>prowcapc</extension>
<mime-type>application/progress-wcappcab</mime-type>
</mime-mapping>
4. Save web.xml file
5. Deploy the WebClient application under the designated Tomcat web server directory, i.e.: <Tomcat_install_dir>/webapps/examples/<your_app>
6. Test

Please also note, we have not certified Tomcat as a WebServer for WebClient.
Only these webservers have been certified: IIS, Apache and iPlanet/Netscape.