Support

Usage Note 12516: "Unable to connect to a Stored Process server" error message

DetailsAboutRate It

If you receive these error messages, then try the following.

  1. Stop your Object Spawner.
  2. Check the status of the ports on which your SAS Stored Process Servers are running. For example, on the Windows platform, bring up a DOS window. Then issue the following command:
  3. > netstat -n -a | more
    Then, check the status of your STP Server ports (for example, ports 8611, 8621 and 8631).
  4. Check to see if there are any processes that are running under the sassrv user account (that is, the SAS General Servers account). If so, then these processes are probably hung Stored Process Server processes.
    • On Unix:
      > ps -ef | grep "sassrv"
    • On Windows, use the Windows Task Manager
  5. If you have any Stored Process Servers running under the sassrv account, then stop them. You may need to kill these SAS processes in order to stop your Stored Process Servers.

If your Stored Process Servers are not responding, you may get the following output in your Web browser (when you specify _debug=2305).


com.sas.services.storedprocess.ExecutionException: A connection could
not be obtained.
at com.sas.services.storedprocess.Execution.(Unknown Source)
at com.sas.services.storedprocess.StoredProcess.execute
   (Unknown Source)
at com.sas.services.storedprocess.webapp.StoredProcessServlet.service
   (Unknown Source)

Caused by: com.sas.services.connection.FatalConnectionFactoryException:
sam.S217.ex.msg: An exception was thrown while reading the
server's requirements status from the socket.
at com.sas.services.connection.Cluster.getConnection(Unknown Source)
at com.sas.services.connection.AggregationKernel.getConnection
(Unknown Source)
at com.sas.services.connection.ConnectionFactoryShell.getConnection
(Unknown Source)
at com.sas.services.connection.platform.PlatformConnectionFactory.
getConnection(Unknown Source)
at com.sas.services.connection.platform.PlatformConnectionFactory.
getConnection(Unknown Source)
at com.sas.services.connection.platform.PlatformConnectionFactory.
getConnection(Unknown Source)
... 36 more
Caused by: org.omg.CORBA.COMM_FAILURE: sam.S217.ex.msg: An exception
was thrown while reading the server's requirements status from the
socket.  vmcid: 0x0  minor code: 0  completed: No
at com.sas.net.brg.sam.SocketAccessMethod.establishConnection
(Unknown Source)
at com.sas.net.brg.sam.SocketAccessMethod.connect(Unknown Source)
at com.sas.net.brg.BridgeProtocolEngine.init(Unknown Source)
at com.sas.net.brg.BridgeProtocolEngine.(Unknown Source)
at com.sas.net.brg.orb.BrgOrb.propertiesToObjectNoCopy(Unknown Source)
at com.sas.services.connection.BridgeServer.connect(Unknown Source)
... 42 more
Caused by: java.io.EOFException

The following errors may also occur.


com.sas.services.storedprocess.ExecutionException:
The Cache Service could not be obtained from the server.
at com.sas.services.storedprocess.Execution.executeStoredProcess
ServerStoredProcess(Unknown Source)
at com.sas.services.storedprocess.Execution.execute(Unknown Source)



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS Integration TechnologiesMicrosoft Windows NT Workstation9.1 TS1M2
Microsoft Windows XP Professional9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
HP-UX IPF9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.