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.

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

Solutions on the web

via Oracle Community by 3004, 1 year 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, 1 year 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.
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 undefined.$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 undefined.$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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.