Caused by: java.lang.IllegalStateException: "getConnection()" cannot be called on a factory after "shutdown()" or "destroy()" has been called.

Restart the metadata server to recover. " />

SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 35775: Analysis results are not available in the user interface and the SAS® Analytics Platform log contains an IllegalStateException error message

DetailsHotfixAboutRate It

This problem occurs when a reference to a connection factory is used rather than a reference to the connection factory manager. An error on another thread can result in the connection factory shutting itself down, and the getConnection call fails with an error message containing the following:

Caused by: java.lang.IllegalStateException: "getConnection()" cannot be called on a factory after
"shutdown()" or "destroy()" has been called.

To recover, restart the metadata server. Note that the dependent servers should be stopped in the correct order as shown below and restarted in the reverse order:

  1. SAS - Tomcat 4.1.18
  2. SAS Analytics Platform
  3. SAS Remote Services
  4. SAS Lev1 SS - SWA41WA
  5. SAS Lev1 SS - SWA41
  6. SAS Lev1 OB - SWA41WA
  7. SAS Lev1 OB - SWA41
  8. SAS Lev1 MS - SWA41

Select the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Warranty AnalysisMicrosoft Windows Server 2003 Datacenter Edition4.14.29.1 TS1M3 SP49.2 TS2M2
Microsoft Windows Server 2003 Enterprise Edition4.14.29.1 TS1M3 SP49.2 TS2M2
Microsoft Windows Server 2003 Standard Edition4.14.29.1 TS1M3 SP49.2 TS2M2
64-bit Enabled AIX4.14.29.1 TS1M3 SP49.2 TS2M2
64-bit Enabled Solaris4.14.29.1 TS1M3 SP49.2 TS2M2
HP-UX IPF4.14.29.1 TS1M3 SP49.2 TS2M2
* 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.