Hi group,
i'm having a problem with connecting from VAST to Oracle using the Oracle 12 Client.
I can reproduce the error with the following code:
| conSpec logonSpec conn querySpec resultCollection |
conSpec := AbtDatabaseConnectionSpec
forDbmClass: #AbtOracle10DatabaseManager
databaseName: '...'.
["================================"
self halt.
conn := conSpec connect.
querySpec := AbtQuerySpec new statement: 'SELECT sysdate FROM dual'.
resultCollection := (conn resultTableFromQuerySpec: querySpec) asStrings.
"================================"]
ensure: [conn disconnect].
resultCollection inspect.
This code works fine with any Oracle 11 client.
I tried it with several Oracle 12 clients (12.1.0.1.0 instant client, 12.1.0.2.0 instant client and normal client, 12.2.0.1.0 instant client)
and each time i get the following results:
- in VAST 8.5.2: crash without any trace, process abt.exe just disappears.
- in VAST 9.0 (32 bit): error 'Primitive failed in: PlatformFunction>>#callWithArguments: due to Unknown floating point exception'
- in VAST 9.0 (64 bit): works
The code fails always at "connect", to be more exact, it fails when calling the external function OCILogon.
I wrote a little c program based on a simple source code snippet from Oracle. It ran fine using the Oracle 12 client.
Then i transferred the code to a dll and called that from VAST and again the image crashed when calling "connect".
Right now i'm a bit at a loss.
Any ideas?
Hermann