Kbase P90625: Application created with the mapping wizard displays unknown value when the database is not connecte
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/11/2004 |
|
Status: Unverified
SYMPTOM(s):
Application created with the mapping wizard displays unknown value when the database is not connected
The application database has the data in all the tables
The WebSpeed agent is configured to connect to only the sports2000 database
The application created with the mapping wizard with sports2000 database works fine
User connects to the application database in the AppBuilder when using mapping wizard
CAUSE:
The WebSpeed agent is not connected to the right database through the WebSpeed configuration
FIX:
Modify the WebSpeed agent's startup parameter to connect to the correct database.
Here are the steps to modify the agent's startup parameters using the progress explorer:
1. Open the progress explorer by clicking the start on the desktop > programs > progress > Progress Explorer Tool
2. Connect to the appropriate host by right mouse click on the localhost or the hostname > connect
3. Expand the WebSpeed folder tree by clicking on the associated + sign
4. Right mouse click on the WebSpeed broker and choose properties
5. Click on the Agent > General in the broker properties
6. In the second input text box, "Agent's startup parameters:", change the -db connection parameter to the correct database.
- If you are connecting to the database using the shared memory, the agent's startup parameter should look like the following:
-p web\objects\web-disp.p -weblogerror -db [path to the database folder]\<DB name>
- If you are connecting to the database in a client/server mode, the agent's startup parameter should look like the following:
-p web\objects\web-disp.p -weblogerror -db <DB name> -S <DB port> -H <host name of the DB server> -N TCP
7. Stop the WebSpeed broker and restart it.
8. Now either run the existing application or create a new application using WebSpeed mapping wizard.