SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 57792: SAS® Real-Time Decision Manager campaign fails with "org.apache.commons.dbcp.SQLNestedException: Borrow callableStatement from pool failed"

DetailsHotfixAboutRate It

When you are running a SAS Real-Time Decision Manager campaign, you might notice a failure message from the SOAP envelope, such as the following:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/>
<SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring xml:lang="en">
   org.apache.commons.dbcp.SQLNestedException: Borrow callableStatement from pool failed</faultstring>
</SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope> 

The following error appears in the Federation Server directory\server1\var\log\dfs_*.log file.

Access Violation occurred during PREPARE at TKETSQLGenExpression+0x6c4:

2016-02-16T10:53:27,066 ERROR [00088635] App.Program 156:sasdmadm
-/opt/sas/sashome/SASFederationServer/4.1/fedserver/lib/tkepre.so(tktracex+0x2e)
[0x7fc30402b21e]

For example, when an outer query does not contain a table reference (such as in a FROM clause), but a subquery does (such as in a SELECT list), the problem occurs. The SAS Federated Query Language (FedSQL) incorrectly handles this situation by requiring that the column variable be initialized, which causes an invalid pointer.

Click 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 Federation ServerSolaris for x644.1_M14.1_M19.4 TS1M29.4 TS1M3
Linux for x644.1_M14.1_M19.4 TS1M29.4 TS1M3
HP-UX IPF4.1_M14.1_M19.4 TS1M29.4 TS1M3
64-bit Enabled Solaris4.1_M14.1_M19.4 TS1M29.4 TS1M3
64-bit Enabled AIX4.1_M14.1_M19.4 TS1M29.4 TS1M3
Windows 7 Ultimate x644.1_M14.1_M19.4 TS1M29.4 TS1M3
Windows 7 Ultimate 32 bit4.1_M14.1_M19.4 TS1M29.4 TS1M3
Windows 7 Professional x644.1_M14.1_M19.4 TS1M29.4 TS1M3
Windows 7 Professional 32 bit4.1_M14.1_M19.4 TS1M29.4 TS1M3
Windows 7 Home Premium x644.1_M14.1_M19.4 TS1M29.4 TS1M3
Windows 7 Home Premium 32 bit4.1_M14.1_M19.4 TS1M29.4 TS1M3
Windows 7 Enterprise x644.1_M14.1_M19.4 TS1M29.4 TS1M3
Windows 7 Enterprise 32 bit4.1_M14.1_M19.4 TS1M29.4 TS1M3
Microsoft Windows Server 2012 Std4.1_M14.1_M19.4 TS1M29.4 TS1M3
Microsoft Windows Server 2012 R2 Std4.1_M14.1_M19.4 TS1M29.4 TS1M3
Microsoft Windows Server 2012 R2 Datacenter4.1_M14.1_M19.4 TS1M29.4 TS1M3
Microsoft Windows Server 2012 Datacenter4.1_M14.1_M19.4 TS1M29.4 TS1M3
Microsoft Windows Server 2008 for x644.1_M14.1_M19.4 TS1M29.4 TS1M3
Microsoft Windows Server 2008 R24.1_M14.1_M19.4 TS1M29.4 TS1M3
Microsoft Windows Server 20084.1_M14.1_M19.4 TS1M29.4 TS1M3
Microsoft Windows 104.1_M14.1_M19.4 TS1M29.4 TS1M3
Microsoft Windows 8.1 Pro x644.1_M14.1_M19.4 TS1M29.4 TS1M3
Microsoft Windows 8.1 Pro 32-bit4.1_M14.1_M19.4 TS1M29.4 TS1M3
Microsoft Windows 8.1 Enterprise x644.1_M14.1_M19.4 TS1M29.4 TS1M3
Microsoft Windows 8.1 Enterprise 32-bit4.1_M14.1_M19.4 TS1M29.4 TS1M3
Microsoft Windows 8 Pro x644.1_M14.1_M19.4 TS1M29.4 TS1M3
Microsoft Windows 8 Pro 32-bit4.1_M14.1_M19.4 TS1M29.4 TS1M3
Microsoft Windows 8 Enterprise x644.1_M14.1_M19.4 TS1M29.4 TS1M3
Microsoft Windows 8 Enterprise 32-bit4.1_M14.1_M19.4 TS1M29.4 TS1M3
Microsoft® Windows® for x644.1_M14.1_M19.4 TS1M29.4 TS1M3
* 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.