Consultor Eletrônico



Kbase 20991: WebSpeed 3.x: Different PROPATH for Multiple Brokers
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Verified

FACT(s) (Environment):

WebSpeed

SYMPTOM(s):

Different PROPATH is needed for mulitple WS brokers

Setting the PROPATH just before executing the 'wtbman' command does not change the PROPATH

CAUSE:

The PROPATH for the WebSpeed brokers cannot be changed after AdminServer is started, therefore, changing the PROPATH and then executing 'wtbman' will not work. The 'wtbman' command instructs the running AdminServer, which has a PROPATH already defined, to start the WebSpeed broker.

FIX:

It is recommended technique is such; define the PROPATH within the broker definitions in the Ubroker.properties.

By using Progress Explorer you add the propath in Agent - General - PROPATH field in the properties of each broker.
(Windows: '@{WinChar Startup\PROPATH};@{WorkPath};D:\newfolder' or UNIX '${PROPATH}:${WRKDIR}:/usr2')
Editing the Ubroker.properties manually, go to the 'PROPATH=...' section and add the new path for each broker definition.

It is highly recommended that this technique is used.

FIX:

Alternatives:

Solution 2
The program, agent-init.p, described in Knowledge Base 17260, works with WebSpeed 3.x as well.

Solution 3
It is possible to use different web-disp.p files for each WebSpeed broker.

1) Copy the web-disp.p from the DLC\src\web\objects\ directory and
put it in the appropriate locations.

2) Then add the different PROPATH in each web-disp.p
(PROPATH = "D:\NewFolder," + PROPATH).

3) When this is done you have to change the path so the
broker can use the new copies of web-disp.p.
In the Ubroker.properties, alter the section
'srvrStartupParam=-p D:\newlocation\web-disp.p -weblogerror'

4) With Progress Explorer, go to the properties of the broker,
then it can be altered in the 'Agent Startup parameters' field
(-p D:\newlocation\web-disp.p -weblogerror).