My Oracle Support Banner

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

Last updated on NOVEMBER 13, 2023

Applies to:

Oracle Business Process Management Suite - Version 10.3 to 10.3
Information in this document applies to any platform.

Symptoms

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(NamingManager.java:657)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at fuego.jndi.FaultTolerantContext.createContext(FaultTolerantContext.java:726)
at fuego.jndi.FaultTolerantContext.<init>(FaultTolerantContext.java:79)
at fuego.connector.impl.GenericJ2EEConnector.createInitialContext(GenericJ2EEConnector.java:177)
at fuego.connector.impl.GenericJ2EEConnector.createStandaloneContext(GenericJ2EEConnector.java:98)
at fuego.connector.impl.BaseJ2EEConnector.getResource(BaseJ2EEConnector.java:92)
at fuego.connector.impl.BaseJ2EEConnector.getResource(BaseJ2EEConnector.java:76)
at fuego.connector.J2EEHelper.getReadOnlyContext(J2EEHelper.java:86)
... 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
Details:
Database Type : BPM's Oracle Driver Version:10, 11
J2EE : WLS
Lookup Name : MyAppDS

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


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
Cause
Solution

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