Consultor Eletrônico



Kbase P15789: How to configure CGIIP messenger to talk directly to the WebSpeed Broker?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/12/2010
Status: Verified

GOAL:

How to configure CGIIP messenger to talk directly to the WebSpeed Broker?

GOAL:

How do I connect to WebSpeed broker from CGIIP messenger without name server?

GOAL:

Connect CGIIP messenger to WebSpeed broker without NameServer

GOAL:

Is it possible to bypass the NameServer and connet directly a Webspeed Broker

FACT(s) (Environment):

All Supported Operating Systems
WebSpeed 3.x
OpenEdge 10.x

FIX:

The WebSpeed CGIIP messenger can be configured to directly connect to a WebSpeed broker without using the NameServer. This can be done by using the cgiip.wsc file (on Windows) and/or the wspd_cgi.sh file (on Unix).

Verify the following before making this change:
1. Make sure that the WebServer is running
2. Make sure that the WebSpeed Transaction Server Broker is running
3. Make sure that the the WebServer's scripts directory has been defined.

On Windows
1. Follow instructions in Solution 16091 on how to create a .wsc file.
16091, "How to set up the .wsc file with CGIIP on IIS?"

2. Edit the file and use FORMAT 1.

# 1. A reference to a broker host and port.
# myhost
# 3090
# <or>
# myhost 3090

3. Unpound (un-comment) the last line in this area
4. Define the correct hostname
5. Define the port where the WS broker is running

For example, myhost 3090

This will allow the cgiip.exe to connect directly to the broker port and by-pass the NameServer.

On Unix
1. Make sure that the wspd_cgi.sh file resides within the "scripts" directory of the webserver. Usually the scripts directory is called "cgi-bin" but it could be anything you have configured. If the messenger script does not exist, copy the original file from $DLC\bin into the webserver's "scripts" directory.

2. Edit the file and use FORMAT 1

# 1. cgiip <host_name> <port_number>
# where: host_name/port_number is the location of a WebSpeed
# Broker or Dispatcher service, this is WebSpeed v1.0
# compatibility.

3. Define the correct hostname
4. Define the port where the WS broker is running
5. Add the following line to the end of area.
cgiip myhost 3090

Once this has been implemented, you do not need to define the WebSpeed Broker's name on the WebSpeed URL. The URL can simply read:

http://localhost/scripts/cgiip.wsc/workshop
http://localhost/cgi-bin/wspd_cgi.sh/workshop

The CGIIP messenger will connect directly to the WebSpeed broker port.