Starting Deployed Application Fails with "Error javax.naming.NameNotFoundException: While trying to lookup 'jdbc.dsname' didn't find subcontext 'jdbc'. Resolved"

(Doc ID 2319152.1)

Last updated on OCTOBER 26, 2017

Applies to:

Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.

Symptoms

While trying to startup application deployed on weblogic, it fails with the below error:

javax.naming.NameNotFoundException: While trying to lookup 'jdbc.dsname' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/dsname'

Errors were encountered while performing this operation."

 



Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms