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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 974460, 1 year ago
While trying to lookup 'jdbc.SCX' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/SCX'
via Oracle Community by 789129, 1 year ago
Unable to resolve 'SchedulerConnectionFactory'. Resolved ''; remaining name 'SchedulerConnectionFactory'
via Oracle Community by sas16, 1 year ago
While trying to lookup 'com.ibm.mq.jms.MQTopicConnectionFactory' didn't find subcontext 'com'. Resolved ''; remaining name 'com/ibm/mq/jms/MQTopicConnectionFactory'
via Oracle Community by 681840, 1 year ago
While trying to lookup 'applicationName.jdbc.XXSecurityDataSource' didn't find subcontext 'applicationName'. Resolved ''; remaining name 'applicationName/jdbc/XXSecurityDataSource'
via Oracle Community by 871667, 1 year ago
While trying to lookup 'mdb01.queue01' didn't find subcontext 'mdb01'. Resolved ''; remaining name 'mdb01/queue01'
via coderanch.com by Unknown author, 2 years ago
While trying to lookup 'HelloWorldApp.HelloWorldBean/local' didn't find subcontext 'HelloWorldApp'. Resolved ''; remaining name 'HelloWorldApp/HelloWorldBean/local'
javax.naming.NameNotFoundException: While trying to lookup 'jdbc.SCX' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/SCX'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at oracle.wscx.dao.WSCXFormDAOFactory.getDataSource(WSCXFormDAOFactory.java:45)
at oracle.wscx.dao.WSCXFormDAOFactory.getDatabaseConnection(WSCXFormDAOFactory.java:16)
at oracle.wscx.dao.WSCXFormDAO.User_Login(WSCXFormDAO.java:46)
at oracle.wscx.view.LoginAction.execute(LoginAction.java:43)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.