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.

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 web17370

  • via Oracle Community by 3004, 11 months ago
    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.
  • via Oracle Community by 3004, 11 months ago
    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.
  • No suitable driver found for url=jdbc:derby://localhost:1527/GameDB;create=true
  • Stack trace

    • 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. at com.solarmetric.jdbc.PoolingDataSource.newConnection(PoolingDataSource.java:350) at com.solarmetric.jdbc.ConnectionPoolImpl.makeConnection(ConnectionPoolImpl.java:397) at com.solarmetric.jdbc.ConnectionPoolImpl.getConnection(ConnectionPoolImpl.java:275) at com.solarmetric.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:257) at com.solarmetric.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:131) at com.solarmetric.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:81) at com.solarmetric.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:131) at kodo.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:329) at kodo.jdbc.schema.LazySchemaFactory.findTable(LazySchemaFactory.java:129) at kodo.jdbc.meta.BaseClassMapping.fromMappingInfo(BaseClassMapping.java:168) at kodo.jdbc.meta.RuntimeMappingProvider.getMapping(RuntimeMappingProvider.java:59) at kodo.jdbc.meta.MappingRepository.getMappingInternal(MappingRepository.java:393) at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:348) at kodo.jdbc.meta.MappingRepository.getMappingInternal(MappingRepository.java:376) at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:348) at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:177) at kodo.jdbc.meta.MappingRepository.getMetaData(MappingRepository.java:165) at kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:2423) at kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:2375) at com.scancoin.system.database.KodoDatabaseHelper.store(KodoDatabaseHelper.java:98) at com.scancoin.system.database.PersistenceService.store(PersistenceService.java:176) at com.scancoin.system.database.PersistenceService.handleEvent(PersistenceService.java:148) at com.scancoin.system.event.EventService.fireEvent(EventService.java:102) at com.scancoin.system.event.EventService.addEvent(EventService.java:80) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at net.dpml.activation.metro.ApplianceInvocationHandler.invoke(ApplianceInvocationHandler.java:113) at $Proxy5.addEvent(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at net.dpml.activation.impl.BlockInvocationHandler.invoke(BlockInvocationHandler.java:109) at $Proxy2.addEvent(Unknown Source) at com.scancoin.system.device.DeviceManager.initialize(DeviceManager.java:117) at net.dpml.activation.metro.ContainerUtil.initialize(ContainerUtil.java:213) at net.dpml.activation.metro.DefaultComponentFactory.handleIncarnate(DefaultComponentFactoryjava:268) at net.dpml.activation.metro.DefaultComponentFactory.incarnate(DefaultComponentFactory.java:135) at net.dpml.activation.metro.SingletonLifestyleManager.refreshReference(SingletonLifestyleManager.java:142) at net.dpml.activation.metro.SingletonLifestyleManager.handleResolve(SingletonLifestyleManager.java:92) at net.dpml.activation.metro.SingletonLifestyleManager.commission(SingletonLifestyleManager.java:59) at net.dpml.activation.metro.DefaultAppliance.commission(DefaultAppliance.java:95) at net.dpml.activation.impl.DefaultRuntime.commission(DefaultRuntime.java:107) at net.dpml.composition.model.impl.DefaultDeploymentModel.commission(DefaultDeploymentModel.java:110) at net.dpml.composition.model.impl.DefaultComponentModel.commission(DefaultComponentModel.java:259) at net.dpml.composition.model.impl.Commissioner.run(Commissioner.java:194) at java.lang.Thread.run(Thread.java:534)

    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

    You’re the first here who have seen this exception.