Consultor Eletrônico



Kbase P117781: Error opening a file in AppBuilder with remote mode using SunOne web server
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   04/08/2006
Status: Unverified

SYMPTOM(s):

Error opening a file in AppBuilder with remote mode using SunOne web server

The popup message reads:

An error occurred while reading the WebSpeed directory and will be displayed in your Web browser

Upon clicking OK on the above error, the browser displays the content of the working directory with the following header information

<!-- Generated by Webspeed: http://www.webspeed.com/ -->

Uses virtual web server to access the workshop

All WebSpeed applications are running fine

The web server log file show the following error during the opening file from the AppBuilder:

[Date Time] warning (19116): for host <ip address> trying to GET /wsnsa.dll/WService=wsbroker1/webutil/_weblist.w, send-file reports:
HTTP4142: can't find
/opt/SUNWwbsvr/docs/wsnsa.dll/WService=wsbroker1/webutil/_weblist.w (File not found)

The _weblist.r file exists under the $DLC/tty/webutil

The security privileges are set to 777 for all directories

The network sniffer, Ethereal, log shows the following:


Request from AppBuilder:
------------------------
GET
/wsnsa.dll/WService=wsbroker1/webutil/_weblist.w?directory=.&filter=*.w;*.p;*.i;*.htm*;*.cls
HTTP/1.0
Accept: */*
User-Agent: Crescent Internet ToolPak HTTP OLE Control v.1.0

Response:
---------
HTTP/1.1 404 Not found
Server: Sun-ONE-Web-Server/6.1
Date:day, date time GMT
Content-length: 292
185
<!-- Generated by Webspeed: http://www.webspeed.com/ -->
list of the content of the WebSpeed working directory

CAUSE:

The obj.conf file for the virtual web server (<virtual_web_server_alias>.obj.conf) is missing two necessary properties - NameTrans and Service method - for wsnsa.dll messenger for the Web server to handle the request properly.

FIX:

Below are the steps to fix the problem:

1. Add the following in the obj.conf file for the virtual web server:
NameTrans fn="WSNSAwebspeedCheck"
This above properties must appear BEFORE any existing NameTrans commands. You must add it within the block of commands delimited by <Object name=default> and </Object>. This line informs the Web server to handle WebSpeed request properly.
Service method="(GET|POST|HEAD)" fn="WSNSAdefault"
The above Service line must appear BEFORE any existing Service commands. You must add it within the block of commands delimited by <Object name=default> and </Object>. This line informs the Web server to handle WebSpeed request properly.
2. Restart the web server to reload the properties file.