Error "This driver is locked for use with embedded applications" when trying to use the DataDirect driver (Doc ID 1302638.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Sun Schema Runtime Environment (SRE) - Version 5.0.5u2 and later
Information in this document applies to any platform.
****Checked for relevance on 10-Jul-2014***

Symptoms

When trying to configure a JDBC eWay to use any of the Data Direct database drivers, that are shipped with the product, an exception similar to the one below occurs at runtime:


java.sql.SQLException: [SeeBeyond][DB2 JDBC Driver]This driver is locked for use with embedded applications.
at com.SeeBeyond.jdbc.db2base.dda3.b(Unknown Source)
at com.SeeBeyond.jdbc.db2base.dda3.a(Unknown Source)
at com.SeeBeyond.jdbc.db2base.dda2.b(Unknown Source)
at com.SeeBeyond.jdbc.db2base.dda2.a(Unknown Source)
at com.SeeBeyond.jdbc.db2base.BaseConnection.createStatement(Unknown Source)
at com.SeeBeyond.jdbc.db2base.BaseConnection.createStatement(Unknown Source)
at com.stc.eways.jdbcx.Session.connect(Session.java:490)








Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms