java.sql.SQLException

No registered driver will accept url org.apache.derby.jdbc.EmbeddedDataSource

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6253

  • No registered driver will accept url org.apache.derby.jdbc.EmbeddedDataSource
  • via Hibernate JIRA by Aleksander Dukhno, 1 year ago
    No suitable driver found for url
  • via Hibernate JIRA by Aleksander Dukhno, 1 year ago
    No suitable driver found for url
  • Stack trace

    • java.sql.SQLException: No registered driver will accept url org.apache.derby.jdbc.EmbeddedDataSource at net.sf.hajdbc.sql.SQLExceptionFactory.createException(SQLExceptionFactory.java:51) at net.sf.hajdbc.sql.SQLExceptionFactory.createException(SQLExceptionFactory.java:35) at net.sf.hajdbc.AbstractExceptionFactory.createException(AbstractExceptionFactory.java:62) at net.sf.hajdbc.util.concurrent.LifecycleRegistry.get(LifecycleRegistry.java:95) at net.sf.hajdbc.util.concurrent.LifecycleRegistry.get(LifecycleRegistry.java:34) at net.sf.hajdbc.sql.Driver.connect(Driver.java:139) at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:278) at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182) at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701) at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635) at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:486) at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:144) at org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEConnectionPool.<init>(TomEEDataSourceCreator.java:331) at org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource.createPool(TomEEDataSourceCreator.java:249) at org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource.<init>(TomEEDataSourceCreator.java:227) at org.apache.tomee.jdbc.TomEEDataSourceCreator.pool(TomEEDataSourceCreator.java:82) at org.apache.openejb.resource.jdbc.pool.PoolDataSourceCreator.poolManaged(PoolDataSourceCreator.java:77) at org.apache.openejb.resource.jdbc.DataSourceFactory.create(DataSourceFactory.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.xbean.recipe.ReflectionUtil$StaticFactory.create(ReflectionUtil.java:998) at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276) at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96) at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61) at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:49) at org.apache.openejb.assembler.classic.Assembler.createResource(Assembler.java:2106) at org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:490) at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:409) at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:148) at org.apache.openejb.OpenEJB.init(OpenEJB.java:296) at org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:246) at org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:134) at org.apache.tomee.catalina.ServerListener.lifecycleEvent(ServerListener.java:122) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110) at org.apache.catalina.startup.Catalina.load(Catalina.java:640) at org.apache.catalina.startup.Catalina.load(Catalina.java:665) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455) Caused by: java.lang.IllegalArgumentException: No registered driver will accept url org.apache.derby.jdbc.EmbeddedDataSource at net.sf.hajdbc.sql.DriverDatabase.getDriver(DriverDatabase.java:110) at net.sf.hajdbc.sql.DriverDatabase.createConnectionSource(DriverDatabase.java:93) at net.sf.hajdbc.sql.DriverDatabase.createConnectionSource(DriverDatabase.java:39) at net.sf.hajdbc.sql.DatabaseClusterImpl.isAlive(DatabaseClusterImpl.java:834) at net.sf.hajdbc.sql.DatabaseClusterImpl.start(DatabaseClusterImpl.java:708) at net.sf.hajdbc.util.concurrent.LifecycleRegistry.get(LifecycleRegistry.java:76) ... 43 more Caused by: java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(DriverManager.java:278) at net.sf.hajdbc.sql.DriverDatabase.getDriver(DriverDatabase.java:106) ... 48 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    3 times, 1 year ago
    Unknown user
    Once, 1 year ago
    24 times, 2 months ago
    Unknown user
    Once, 8 months ago
    Unknown user
    Once, 11 months ago
    11 more bugmates