javax.naming.NamingException: Driver:com.mysql.jdbc.Driver@7bc1a03d returned null for URL:jdbc:mysql:thin://localhost:3306/mifosplatform-tenants

  1. 0

    Mifos X cannot connect to server when default login is used

    Stack Overflow | 2 months ago | Kwedwo Ntiamoah
    javax.naming.NamingException: Driver:com.mysql.jdbc.Driver@7bc1a03d returned null for URL:jdbc:mysql:thin://localhost:3306/mifosplatform-tenants
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.naming.NamingException

    Driver:com.mysql.jdbc.Driver@7bc1a03d returned null for URL:jdbc:mysql:thin://localhost:3306/mifosplatform-tenants

    at org.apache.naming.NamingContext.lookup()
  2. Web Container Naming Utilities
    NamingContextBindingsEnumeration.next
    1. org.apache.naming.NamingContext.lookup(NamingContext.java:865)
    2. org.apache.naming.NamingContext.lookup(NamingContext.java:159)
    3. org.apache.naming.NamingContextBindingsEnumeration.nextElementInternal(NamingContextBindingsEnumeration.java:117)
    4. org.apache.naming.NamingContextBindingsEnumeration.next(NamingContextBindingsEnumeration.java:71)
    5. org.apache.naming.NamingContextBindingsEnumeration.next(NamingContextBindingsEnumeration.java:34)
    5 frames
  3. Embedded GlassFish Web
    GlobalResourcesLifecycleListener.lifecycleEvent
    1. org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:138)
    2. org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:145)
    3. org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:110)
    4. org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:82)
    4 frames
  4. Glassfish Core
    Catalina.start
    1. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    2. org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    3. org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:388)
    4. org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:333)
    5. org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:749)
    6. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    7. org.apache.catalina.startup.Catalina.start(Catalina.java:693)
    7 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  6. Glassfish Core
    Bootstrap.start
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
    1 frame