Oracle Forms (MOSC)

MOSC Banner

Getting "javax.naming.NoInitialContextException" when trying to get datasource.

edited Feb 1, 2013 1:39AM in Oracle Forms (MOSC) 1 commentAnswered
Hi,

I have a JAR file that I call from my Oracle Forms 11g application.  The JAR file opens a JDBC connection.  I'm trying to change it over to use a JNDI lookup of a JDBC datasource so I can take advantage of Oracle Fusion connection pooling.  However, when I get the initial context it throws error: javax.naming.NoInitialContextException.  It seems that the context isn't set, when I call the class from my forms application.  I'm not finding online any good documentation about what I can set so that the correct context is there, and I can find the JDBC resource I

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