ibmdb / node-ibm_db

IBM DB2 and IBM Informix bindings for node
MIT License
192 stars 150 forks source link

Serverless/Kubeless support #412

Closed kentonbmax closed 6 years ago

kentonbmax commented 6 years ago

I wanted to check and see if the lib and driver have been tested in a serverless environment?

bimalkjha commented 6 years ago

@kentonbmax yes, we always test ibm_db in a serverless environment that means our DB2 server is always on remote system and not in the system where we install ibm_db. If you are facing any issue with remote server, please let us know. Thanks.

PavaniKa commented 6 years ago

This lib is failing on both AWS Lambda & IBM Cloud functions environments, throwing initialization error. Attached are screenshots for reference. We are using serverless for AWS Lambda, openwhisk for IBM Cloud Functions.

error_aws_lambda error_ibm_cloud_functions

bimalkjha commented 6 years ago

@PavaniKa Which version of node.js you are using? Please use node.js version < 10.x. If your node version is correct, then you might have some permission issue as reported in issues 168, 343 & 382. Try to run your application with administrative privilege. I assume platforms in AWS Lambda & IBM Cloud is Linuxx64. If not, please let us know. Thanks.

bimalkjha commented 6 years ago

Also, it might be possible that you encountered some error during installation of ibm_db itself in cloud, as a result runtime error. Please share the complete installation log too. Thanks.

kentonbmax commented 6 years ago

8.11.2. Is my node version.

On Thu, Jul 12, 2018, 10:56 AM Bimal Kumar Jha notifications@github.com wrote:

Closed #412 https://github.com/ibmdb/node-ibm_db/issues/412.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ibmdb/node-ibm_db/issues/412#event-1730531084, or mute the thread https://github.com/notifications/unsubscribe-auth/APEoRO1tyU_V4kEy9eAZcK_T0NufzidGks5uF2OKgaJpZM4Upmj- .