My Oracle Support Banner

BPM Studio : Error Connecting to a WebLogic Data Source (Doc ID 849250.1)

Last updated on AUGUST 27, 2020

Applies to:

Oracle Business Process Management Suite - Version 10.3 to 10.3
Information in this document applies to any platform.
***Checked for relevance on 23-Mar-2012***


I am trying to use the Remote JDBC for SQL Connection to Database with Oracle BPM Studio.
When i configure a Remote JDBC Connection for SQL in BPM Studio, it prompt me an error.

But, when I try to connect to the Database by using this configuration, I will get an Exception.

An exception occurred while getting a resource from a connector.
Detail:The connector [ MyDS : SQL : REMOTE_JDBC ] caused an exception when getting a resource.

Caused by: An exception occurred while getting a resource from a connector.
Detail:The connector [ WLS : J2EE : J2EE ] caused an exception when getting a resource.

Caused by: javax.naming.NoInitialContextException: Cannot instantiate class:
weblogic.jndi.WLInitialContextFactory [ Root exception is java.lang.ClassNotFoundException:
weblogic.jndi.WLInitialContextFactory ]
at javax.naming.spi.NamingManager.getInitialContext(
at javax.naming.InitialContext.getDefaultInitCtx(
at javax.naming.InitialContext.init(
at javax.naming.InitialContext.<init>(
at fuego.jndi.FaultTolerantContext.createContext(
at fuego.jndi.FaultTolerantContext.<init>(
at fuego.connector.impl.GenericJ2EEConnector.createInitialContext(
at fuego.connector.impl.GenericJ2EEConnector.createStandaloneContext(
at fuego.connector.impl.BaseJ2EEConnector.getResource(
at fuego.connector.impl.BaseJ2EEConnector.getResource(
at fuego.connector.J2EEHelper.getReadOnlyContext(
... 12 more

### Detailed Problem Statement ###
Remote JDBC Data source problem while setting up it with BPM.

### Steps to Reproduce ###
Setup a JDBC Datasource Connection in Weblogic Server.
In BPM, setup the External Resource as SQL Database.
Name : MyDS
Type : SQL Database
Supported Types : Remote JDBC
Database Type : BPM's Oracle Driver Version:10, 11
Lookup Name : MyAppDS

Configuration for "WLS"
Name : WLS
Type : J2EE Application Server
Supported Types : GENERIC_J2EE
Initial Context Factory : weblogic.jndi.WLInitialContextFactory
URL : t3://localhost:7001


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

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