Oracle Weblogic Server (MOSC)

MOSC Banner

API to access Datasource binding for JDBC data sources

edited Jan 22, 2014 10:27PM in Oracle Weblogic Server (MOSC) 4 commentsAnswered ✓
Hi there,

I've written some code which is able to programmatically lookup the configured Datasources in weblogic and output useful information about the connection pool settings. This code is accessing the MBeans available in weblogic and accessing some of the relevant Mbean objects and associated attributes.

What I'm struggling with though is how to match the data source information available from the weblogic server to the resources used by my application. I presume weblogic is maintaining some sort of binding from the JNDI name that my application looks up to the JNDI name configured in the server.

Can anyone tell me if it's possible to programatically access the JNDI binding through the MBeans, or some other mechanism?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center