Skip to content

Commit

Permalink
Disable security for JDBC driver
Browse files Browse the repository at this point in the history
 Error:  com.exasol.adapter.commontests.scalarfunction.ScalarFunctionsTestBase$WithAutomaticParameterDiscovery -- Time elapsed: 8.000 s <<< ERROR!
java.lang.IllegalStateException: E-VSSIT-1: Failed to execute command on Exasol.
	at com.exasol.adapter.commontests.scalarfunction.ScalarFunctionsTestBase.runOnExasol(ScalarFunctionsTestBase.java:112)
	at com.exasol.adapter.commontests.scalarfunction.ScalarFunctionsTestBase$WithAutomaticParameterDiscovery.beforeAll(ScalarFunctionsTestBase.java:480)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
Caused by: java.sql.SQLException: ETL-5402: JDBC-Client-Error: Internal failure: access denied ("java.lang.RuntimePermission" "getStackTrace") (Session: 1778807561983295488)
	at com.exasol.jdbc.ExceptionFactory.createSQLException(ExceptionFactory.java:258)
	at com.exasol.jdbc.EXASQLException.getSQLExceptionIntern(EXASQLException.java:50)
	at com.exasol.jdbc.AbstractEXAStatement.execute(AbstractEXAStatement.java:478)
	at com.exasol.jdbc.EXAStatement.execute(EXAStatement.java:289)
	at com.exasol.jdbc.AbstractEXAStatement.exaExecuteLargeUpdate(AbstractEXAStatement.java:632)
	at com.exasol.jdbc.EXAStatement.executeLargeUpdate(EXAStatement.java:446)
	at com.exasol.jdbc.EXAStatement.executeUpdate(EXAStatement.java:547)
	at com.exasol.adapter.commontests.scalarfunction.ScalarFunctionsTestBase$WithAutomaticParameterDiscovery.lambda$beforeAll$0(ScalarFunctionsTestBase.java:484)
	at com.exasol.adapter.commontests.scalarfunction.ScalarFunctionsTestBase.runOnExasol(ScalarFunctionsTestBase.java:109)
	... 4 more
  • Loading branch information
kaklakariada committed Oct 4, 2023
1 parent 4148042 commit df9776f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/resources/integration/driver/oracle/settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ DRIVERMAIN=oracle.jdbc.OracleDriver
PREFIX=jdbc:oracle:thin:
FETCHSIZE=100000
INSERTSIZE=-1
NOSECURITY=YES

0 comments on commit df9776f

Please sign in to comment.