HP OpenVMS Systems

ask the wizard
Content starts here

Debugging IP Socket Application Hang?

» close window

The Question is:

Using UCX v3.1 I am attempting to write a server which will facilitate
 communication from an outside source (Java running on multiple platforms).
When I define and enable a service on the specifc port, the server-side program
 starts, and logs that it is waiting for a connection.
When I run the test-client on VMS, it appears to obtain a connection, but
 blocks when data is attempted to be sent.
When I run the test-client in Java, I receive a connection failed message,
 unable to connect to socket.
I cannot find any documentation or information which would assist in
 determining why the service will not work.
NB:  If I run the command-script defined by the service interactively, using
 the same test-client, the program works as expected.

The Answer is :

  The OpenVMS Wizard would initially guess that the process quotas
  on the detached process are insufficient.  For general programming
  information and common coding errors, please see topic (1661).
  The OpenVMS Wizard will assume you are connecting a newer environment
  with something running on this particular OpenVMS VAX configuration
  and version.
  Please move forward to at least TCP/IP Services V4.0 with the current
  ECO, and preferably forward to a more current OpenVMS VAX and TCP/IP
  Services release.
  Java is available on OpenVMS Alpha platforms.
  Code examples for various IP applications are available in (on
  TCP/IP Services releases prior to V5.0) in UCX$EXAMPLES: and (on
  releases V5.0 and later) in TCPIP$EXAMPLES:.  As of this writing,
  OpenVMS VAX V7.3 and TCP/IP Services V5.3 are current for your

answer written or last revised on ( 7-JAN-2004 )

» close window