My Oracle Support Banner

DataSource Failing To Deploy With weblogic.application.ModuleException (Doc ID 2114885.1)

Last updated on APRIL 04, 2023

Applies to:

Oracle Service Bus - Version 11.1.1.9.0 and later
Information in this document applies to any platform.

Symptoms

The messages below are printed to the OSB logs, indicating that the wlsbjmsrpDataSource connects to the target database successfully, but the connection is destroyed shortly thereafter:

####<Mar 4, 2016 11:51:05 AM VET> <Info> <JDBC> <osb02> <osb_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <0000LD2RfZH5qY3_Nlg8ye1MqRNc000003> <1457108465977> <BEA-001516> <Data source connection pool "wlsbjmsrpDataSource" connected to Database: "Oracle", Version: "Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options".>
####<Mar 4, 2016 11:51:05 AM VET> <Info> <JDBC> <osb02> <osb_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <0000LD2RfZH5qY3_Nlg8ye1MqRNc000003> <1457108465978> <BEA-001517> <Data source connection pool "wlsbjmsrpDataSource" using Driver: "Oracle JDBC driver", Version: "11.2.0.3.0".>
####<Mar 4, 2016 11:51:07 AM VET> <Info> <JDBC> <osb02> <osb_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <0000LD2RfZH5qY3_Nlg8ye1MqRNc000003> <1457108467113> <BEA-001508> <Destroying data source connection pool wlsbjmsrpDataSource.>
####<Mar 4, 2016 11:51:07 AM VET> <Info> <Common> <osb02> <osb_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <0000LD2RfZH5qY3_Nlg8ye1MqRNc000003> <1457108467115> <BEA-000638> <Resource Pool "wlsbjmsrpDataSource" is being suspended by external command. (MultiDataSource or console etc)>
####<Mar 4, 2016 11:51:07 AM VET> <Info> <JDBC> <osb02> <osb_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <0000LD2RfZH5qY3_Nlg8ye1MqRNc000003> <1457108467115> <BEA-001557> <Data source wlsbjmsrpDataSource for service OSBDB unregistering with ONS daemons 10.123.254.2:6200.>
####<Mar 4, 2016 11:51:07 AM VET> <Info> <JDBC> <osb02> <osb_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <0000LD2RfZH5qY3_Nlg8ye1MqRNc000003> <1457108467122> <BEA-001126> <Destroyed Connection Pool named wlsbjmsrpDataSource.>
####<Mar 4, 2016 11:51:07 AM VET> <Error> <Deployer> <osb02> <osb_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <0000LD2RfZH5qY3_Nlg8ye1MqRNc000003> <1457108467129> <BEA-149205> <Failed to initialize the application 'wlsbjmsrpDataSource' due to error weblogic.application.ModuleException: .
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:327)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
...
Caused By: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: IO Error: Got minus one from a read call
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:285)
at weblogic.jdbc.common.internal.HAConnectionEnvFactory.createResource(HAConnectionEnvFactory.java:31)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1322)

Changes

The datasource in this case, wlsbjmsrpDataSource, is used by OSB for reporting. It was added after following the OSB Enterprise Deployment Guide.

It is important to note however that this was the first datasource added to this domain, and this specific issue could happen with any generic DataSource.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.