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

  1. ,
    Expert tip

    Try removing the server.xml file and adding it again to the project, and do a Clean Build.

  2. ,
    via Stack Overflow by dereck

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

Solutions on the web

via Stack Overflow by Leonardo
, 1 year ago
Name [UserDatabase] is not bound in this Context. Unable to find [UserDatabase].
via Stack Overflow by lcazarre
, 1 year ago
Name [UserDatabase] is not bound in this Context. Unable to find [UserDatabase].
via soso.io by Unknown author, 2 years ago
Name [UserDatabase] is not bound in this Context. Unable to find [UserDatabase].
via tagwith.com by Unknown author, 2 years ago
Name [UserDatabase] is not bound in this Context. Unable to find [UserDatabase].
via Stack Overflow by skiabox
, 2 years ago
Name [UserDatabase] is not bound in this Context. Unable to find [UserDatabase].
via Stack Overflow by user3710129
, 2 years ago
Name [UserDatabase] is not bound in this Context. Unable to find [UserDatabase].
javax.naming.NameNotFoundException: Name [UserDatabase] is not bound in this Context. Unable to find [UserDatabase].	at org.apache.naming.NamingContext.lookup(NamingContext.java:817)	at org.apache.naming.NamingContext.lookup(NamingContext.java:173)	at org.apache.catalina.realm.UserDatabaseRealm.startInternal(UserDatabaseRealm.java:215)	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)	at org.apache.catalina.realm.CombinedRealm.startInternal(CombinedRealm.java:245)	at org.apache.catalina.realm.LockOutRealm.startInternal(LockOutRealm.java:115)	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:926)	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793)	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)	at org.apache.catalina.startup.Catalina.start(Catalina.java:655)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355)	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)