SAS® Real-Time Decision Manager returns errors in the SAS Pooled Workspace Server log


In SAS Real-Time Decision Manager, an issue occurs when you set prefetch=off on the Server URL, under the System Resources "$SAS_Activity_Resource" for the SASDSDesignRepository or the SASDSEngineRepository):

SAS Activity Resource

As a result, errors similar to the following might occur in the SAS Pooled Workspace Server log: 

ERROR [00000011] :sastrust@saspw - ERROR: Connection string, DSN or file DSN syntax or usage error    

ERROR [00000011] :sastrust@saspw - ERROR: Parsing failed at or near column 71: Columns 55-86 = "t=24141?prefetch=off;protocol=br"    

ERROR [00000011] :sastrust@saspw - ERROR: Illegal value token specified.    

ERROR [00000011] :sastrust@saspw - ERROR: PROC DS2 initialization failed.

This issue can also occur when you do as follows:

Cause

The activation failure is caused by the JDBC URL parsing logic used during DS2 compilation. The existing implementation extracts the port value by taking everything after the ":" character and does not account for URL query parameters. 

As a result, when the JDBC URL contains ?prefetch=off, the query string is incorrectly included as part of the port value.

Resolution.

SAS is currently working on a fix for this issue.