DataDirect Connect JDBC Oracle Driver not working as expected

What product/components do you use and which version/fix level?

JVM 1.8.0_181

Software AG Designer 10.3
WmDB Version

Oracle Database 12c Enterprise Edition Release - 64bit Production

Are you using a free trial or a product with a customer license?

Licensed installation

What are trying to achieve? Please describe in detail.

Have the wmDB Adaptor to connect to a Oracle Database using the DataDirect Connect JDBC Oracle Driver shipped with Software AG webMethods

The driver FQ class name is -

The following details (obfuscated for privacy) are being use to configure wmDB in the webMethods Integration Server (WmDB > Alias Management > Edit)

Alias: DBxxxx
DB URL: jdbc:wm:orale://dbxxxx-server:1521;SID=DBxxx;
DB Username: my-identity
DB Driver:
Minimum Connections: 1
Maximum Connections: 10
Expiration Time (ms): 8000
Loaded Driver: (drop-down list selection)

A JDBC Pool Alias Definition has already been created and this works as expected.

Do you get any error messages? Please provide a full error message screenshot and log file.

When attempting to connect using the above wmDB definition to return the tables in the DB (WmDB > Service Generation > Connection Parameters > Tables) the following error returned.

Could not connect: [SoftwareAG][Oracle JDBC Driver]This driver is locked for use with embedded applications.


The stack trace in the log file is:

java.sql.SQLException: [SoftwareAG][Oracle JDBC Driver]This driver is locked for use with embedded applications.
at com.wm.dd.jdbc.oraclebase.ddcr.b(Unknown Source)
at com.wm.dd.jdbc.oraclebase.ddcr.a(Unknown Source)
at com.wm.dd.jdbc.oraclebase.ddcq.b(Unknown Source)
at com.wm.dd.jdbc.oraclebase.ddcq.a(Unknown Source)
at com.wm.dd.jdbc.oraclebase.BaseConnection.createStatement(Unknown Source)
at com.wm.dd.jdbc.oraclebase.BaseConnection.createStatement(Unknown Source)
at com.wm.dd.jdbc.oraclebase.BaseDatabaseMetaData.getTables(Unknown Source)
at pub.db.getTables(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(

What was expected

A connection would be made to the Oracle Database and tables belonging to the chosen schema would be shown in WebMethods Integration Server

How do we unlock the driver so it can be used to connect to the Oracle Database as expected?


I am not sure if DataDirect Driver is expected to work with WmDB package.

Most likely it will only work the WmJDBCAdapter package.

JDBC Pool Alias for internal functions is considered as embedded application.

Please check if it is really neccessary to use WmDB package for your custom implementation.
Most likely you want to redesign it to use WmJDBCAdapter package to benefit from the DataSource approach with Connection-Pooling facilities.


1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.