Hello. I'm writing a new smart service that handles images of DB.

Hello.

I'm writing a new smart service that handles images of DB. I'm using the oracle.sql.BLOB class. If I put the ojdbc6.jar in META- INF\\lib folder the following error occurs:
"07:29:26,127 INFO [stdout] (Appian Work Item - 2 - ProcessExec01 : UnattendedJavaActivityRequest) Error IO en updateBLOB: java.lang.ClassCastException: oracle.sql.BLOB cannot be cast to oracle.sql.BLOB
07:29:26,128 ERROR [stderr] (Appian Work Item - 2 - ProcessExec01 : UnattendedJavaActivityRequest) java.lang.ClassCastException: oracle.sql.BLOB cannot be cast to oracle.sql.BLOB".

If I do not include the jar in the lib folder the following error occurs:
"07:17:35,587 INFO [stdout] (Appian Work Item - 1 - ProcessExec00 : UnattendedJavaActivityRequest) Throwable en updateBLOB: java.lang.NoClassDefFoundError: oracle/sql/BLOB
07:17:35,587 ERROR [stderr] (Appian Work Item - 1 - ProcessExec00 : UnattendedJavaActivityRequest) java.lang.NoClassDefFoundError: oracle/sql/BLOB".

How I c...

OriginalPostID-187343

OriginalPostID-187343

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data