java.sql.SQLException: A connection could not be obtained for driver class "org.apache.derby.jdbc.Driver30" and URL "jdbc:derby:net://localhost:9001/journaldb;create=true". You may have specified an invalid URL.

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Driver not used in Kodo

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: A connection could not be obtained for driver class "org.apache.derby.jdbc.Driver30" and URL "jdbc:derby:net://localhost:9001/journaldb;create=true". You may have specified an invalid URL.
  2. 0

    Derby 10.1.1.0 connection problem

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: A connection could not be obtained for driver class "org.apache.derby.jdbc.Dr iver30" and URL "jdbc:derby://localhost:9001/journaldb;create=true". You may have specified an inva lid URL.

    Root Cause Analysis

    1. java.sql.SQLException

      A connection could not be obtained for driver class "org.apache.derby.jdbc.Driver30" and URL "jdbc:derby:net://localhost:9001/journaldb;create=true". You may have specified an invalid URL.

      at com.solarmetric.jdbc.PoolingDataSource.newConnection()
    2. com.solarmetric.jdbc
      DelegatingDataSource.getConnection
      1. com.solarmetric.jdbc.PoolingDataSource.newConnection(PoolingDataSource.java:350)
      2. com.solarmetric.jdbc.ConnectionPoolImpl.makeConnection(ConnectionPoolImpl.java:392)
      3. com.solarmetric.jdbc.ConnectionPoolImpl.getConnection(ConnectionPoolImpl.java:270)
      4. com.solarmetric.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:257)
      5. com.solarmetric.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:131)
      6. com.solarmetric.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:81)
      7. com.solarmetric.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:131)
      7 frames
    3. kodo.jdbc.schema
      LazySchemaFactory.findTable
      1. kodo.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:329)
      2. kodo.jdbc.schema.LazySchemaFactory.findTable(LazySchemaFactory.java:129)
      2 frames
    4. kodo.jdbc.meta
      MappingRepository.getMetaDatas
      1. kodo.jdbc.meta.BaseClassMapping.fromMappingInfo(BaseClassMapping.java:168)
      2. kodo.jdbc.meta.RuntimeMappingProvider.getMapping(RuntimeMappingProvider.java:59)
      3. kodo.jdbc.meta.MappingRepository.getMappingInternal(MappingRepository.java:393)
      4. kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:348)
      5. kodo.jdbc.meta.MappingRepository.getMappings(MappingRepository.java:294)
      6. kodo.jdbc.meta.MappingRepository.getMetaDatas(MappingRepository.java:271)
      6 frames
    5. kodo.query
      AbstractQuery.execute
      1. kodo.query.AbstractQuery.createExecutor(AbstractQuery.java:614)
      2. kodo.query.AbstractQuery.compileForDataStore(AbstractQuery.java:578)
      3. kodo.query.AbstractQuery.executeWithArray(AbstractQuery.java:832)
      4. kodo.query.AbstractQuery.execute(AbstractQuery.java:795)
      4 frames
    6. com.scancoin.system
      DBQueryHelperTest.testOneTransactionStored
      1. com.scancoin.system.database.DBQueryHelperTest.testOneTransactionStored(DBQueryHelperTest.java:74)
      1 frame
    7. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3 frames
    8. net.dpml.magic
      JUnitTestTask.execute
      1. net.dpml.magic.tasks.JUnitTestTask.test(JUnitTestTask.java:400)
      2. net.dpml.magic.tasks.JUnitTestTask.execute(JUnitTestTask.java:154)
      2 frames