javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name: jdbc/localDbDS

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 924141, 1 year ago
DataSourceContext could not locate a DataSource for the name: jdbc/localDbDS
via Oracle Community by 290440, 1 year ago
DataSourceContext could not locate a DataSource for the name: jdbc/datasource
javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name: jdbc/localDbDS
at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1462)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago

Write tip

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