Kbase 17612: How to have db alias available to all WebSpeed(2.x) agents
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  07/06/1998 |
|
How to have db alias available to all WebSpeed(2.x) agents
INTRODUCTION
============
This knowledgebase entry describes how to create a startup
procedure for WebSpeed agents that will create a database alias
that can then be used by all web objects of an application.
PROCEDURAL APPROACH
===================
1) Create a procedure that will run at agent startup that does the
following:
/* agent-init.p */
CREATE ALIAS test FOR DATABASE websport.
RUN web/objects/web-disp.p.
2) Use this procedure as the agent startup procedure instead of
web/objects/web-disp.p. In the configuration utility replace:
-p web/objects/web-disp.p
with:
-p agent-init.p
When agents are started for this broker, an alias called test
will be created for the database websport that is being connected
to and will be available to all of the agents started, therefore
being available to any web object run within the application.
Progress Software Technical Support Note # 17612