Progress
on the Web
Setting Up the Application on the Web Server Machine
Follow these steps to set up the application to launch from your Web server machine:
- Recursively copy all files from the CDROM’s
webinstall\sports2000\web_image
directory to thesports2000
subdirectory of the Web server document root directory.- Copy all files from the CDROM’s
webinstall\webclient\web_image
directory to the Web server document root directory’swebclient
subdirectory.- In the Web server document root directory’s
Webclient
subdirectory, edit thewebclient.htm
file to automatically install the application automatically just after installing WebClient. To do this:
- Uncomment the lines that invoke the One-Click application install directly. (Keep commented the lines that invoke the WebClient initializer.)
- Change <URL to your One-Click application installer directory> to
http://
%MYWEBSERVER%/sports2000
.- Change <URL to your .prowcapc file> to
http://%
MYWEBSERVER%/sports2000/sports2000.prowcapc
.For example:
ether.SetProperty(“ApplicationURL”, “http://pctest/sports2000”);
ether.SetProperty(“ProwcappURL”, “http://pctest/sports2000/sports2000.prowcapc”);
These changes let you install WebClient and the Sports2000 application on the client machine.
- In the Web server document root directory’s
sports2000
subdirectory, make the following changes:
- Edit the
bootstrap.htm
file, replacing thedocument.location.href
andwindow.location
URLs to match the location of your configuration andwebclient.htm
files, respectively.For example:
document.location.href = "http://pctest/sports2000/sports2000.prowcapc";
window.location = "http://pctest/webclient/webclient.htm";
- Edit the
sports2000.htm
file, uncommenting the line containing the prowcapc entry, and including the domain name or IP address of your Web server and the name of your application configuration file.For example:
ether.SetProperty("ProwcappURL",
"http://pctest/sports2000/sports2000.prowcapc");- Use the WebClient Application Assembler PRO*Tool to generate a customized
sports2000.prowcapp
file. To do this:
- Copy
webinstall\sports2000\sports2000.wcp
from the CDROM to any directory.- Open the file with the Application Assembler.
- Modify the following URLS: the URL of your configuration file specified in the Configuration File Locator Window, the URL of the WebClient install on the WebClient tab, and the URL for your application install specified on the Options tab.
- From the Application Assembler’s main menu, choose Deployment
Generate. Enter an output directory and a version name (for example, v1) and click OK to generate a new configuration file.
- Copy the configuration file to the Web server document root directory’s
sports2000
subdirectory.- Configure (if not already configured) and start an instance of the AppServer Internet Adapter to run as a Java servlet in the Java Servlet Engine and to access the AppServer served by asbroker1.
For instructions on setting up the Java Servlet Engine (JSE) and the AppServer Internet Adapter (AIA) on the Web server, see the “AppServer Internet Adapter” chapter of the Progress Version 9 Product Update Bulletin and the Progress Knowledge Base entries on setting up the JSE to work with the AIA. To access these, search the Knowledge Base on “JSE” and “AIA.”
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |