-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SNOW-1851439: Snowflake JDBC Thin driver showing runtime errors in AWS Lambda function #1992
Comments
below is the exact runtime error SEVERE: Failed to load org.bouncycastle.jce.provider.BouncyCastleProvider, err=org.bouncycastle.jce.provider.BouncyCastleProvider. Current classpath: file:/var/task/. If you use Snowflake JDBC for FIPS jar, import BouncyCastleFipsProvider in the application. java.lang.ExceptionInInitializerError: java.lang.ExceptionInInitializerError |
Hello @debasis094 , Thanks for raising the issue. Could you provide the following information.
The fat jdbc jar contains all dependencies and in thin you have to provide all dependencies from your side. public class YourLambdaHandler {
}` Regards, |
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
What version of JDBC driver are you using ? - 3.20.0
net.snowflake snowflake-jdbc-thin 3.20.0What operating system and processor architecture are you using? AWS Lambda , Linux
What version of Java are you using? java 11
What did you do?
Added below dependency to my POM.xml
net.snowflake snowflake-jdbc-thin 3.20.0What did you expect to see? Expected to see successful connection with Snowflake database
What should have happened and what happened instead?
Can you set logging to DEBUG and collect the logs?
https://community.snowflake.com/s/article/How-to-generate-log-file-on-Snowflake-connectors
Before sharing any information, please be sure to review the log and remove any sensitive
information.
The text was updated successfully, but these errors were encountered: