javax.naming.NameNotFoundException: WEB3885: Name java:comp is not bound in this Context

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

,
via Stack Overflow by dereck

Add localDataSource="true" to the realm when using local database.

,
via Stack Overflow by john

Make sure you use the same name for your database everywhere in context.xml.

Solutions on the web

via Oracle Community by 807567, 1 year ago
WEB3885: Name java:comp is not bound in this Context
via Oracle Community by 843793, 1 year ago
Name java:comp is not bound in this Context
via Oracle Community by 843836, 1 year ago
Name java:comp is not bound in this Context
via yahoo.com by Unknown author, 2 years ago
Name java:comp is not bound in this Context
via Stack Overflow by user2124871
, 1 year ago
Name [java:comp/env/jdbc/xxx] is not bound in this Context. Unable to find [java:comp].
via Oracle Community by 843793, 1 year ago
Name ccOraclePool is not bound in this Context
javax.naming.NameNotFoundException: WEB3885: Name java:comp is not bound in this Context
at org.apache.naming.NamingContext.lookup(NamingContext.java:811)
at org.apache.naming.NamingContext.lookup(NamingContext.java:194)

Users with the same issue

2 times, 3 months ago
6 times, 7 months ago
Once, 11 months ago
Once, 1 year ago
2 times, 1 year ago

Write tip

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