%SS does not show port number on some connections

Bug #701554 reported by Jon Tai on 2011-01-11
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenVista/GT.M Integration

Bug Description

The %SS system status utility shows what device is in use for each MUMPS process on the system. For listeners, the port number followed by ",LISTENING" is shown, e.g., "9201,LISTENING". For processes with open connections, the port number is followed by ",CONNECTED", e.g., "9201,CONNECTED".

This works properly for multi-listeners such as the RPC broker, but some HL7 listeners are single-listeners -- they listen on a port, but when they receive a connection, they stop listening and service the single connection. For these single-listener processes, %SS is showing only ",CONNECTED" in the device column -- no port number is shown.

Related branches

Jon Tai (jontai) on 2011-01-11
Changed in openvista-gtm-integration:
milestone: none → 0.9.1
Jon Tai (jontai) wrote :

The related branch contains an updated version of MSCZJOBS that calls netstat to look up the local port number if GT.M is no longer reporting it. It will need wider testing and packaging before it can be merged.

Changed in openvista-gtm-integration:
status: New → Fix Committed
importance: Undecided → Low
Jon Tai (jontai) wrote :

This example listener can be JOB'd from the MUMPS prompt: J ^MSCJKTLN. It will listen on port 9000 and wait for connections. When it receives a connection, it will print "Hello", and when you press enter, it will print "Goodbye", then disconnect.

This simple listener can be used to test this bug. Before the fix, when you connect to port 9000, %SS will show ",CONNECTED". After the fix, it should show "9000,CONNECTED".

Derek_ (derek-name) on 2011-07-29
Changed in openvista-gtm-integration:
assignee: nobody → Derek_ (derek-name)
Derek_ (derek-name) on 2011-08-23
tags: added: mumps
Derek_ (derek-name) on 2012-03-08
Changed in openvista-gtm-integration:
milestone: 0.9.2 → 0.9.3
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers