java.sql.SQLException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When I restart my Tomcat 6 server, where Artifactory is deployed as webapp, it fails to connect with the derby DB. I get the following error in the log --> 2007-08-21 11:30:48,700 [INFO ] webapp.servlet.ArtifactoryContextConfigurer - Starting Artifactory... 2007-08-21 11:30:48,854 [INFO ] webapp.spring.ArtifactoryWebApplicationContext - Refreshing org.artifactory.webapp.spring.ArtifactoryWebApplicationContext@127f79d: display name [Root WebApplicationContext]; startup date [Tue Aug 21 11:30:48 CEST 2007]; root of context hierarchy 2007-08-21 11:30:49,273 [INFO ] webapp.spring.ArtifactoryWebApplicationContext - Bean factory for application context [org.artifactory.webapp.spring.ArtifactoryWebApplicationContext@127f79d]: org.springframework.beans.factory.support.DefaultListableBeanFactory@10bbd42 2007-08-21 11:30:49,658 [INFO ] repo.spring.CentralConfigFactoryBean - Loading configuration (using '/home/artifactory/etc/artifactory.config.xml')... 2007-08-21 11:30:49,677 [INFO ] repo.spring.CentralConfigFactoryBean - Trying to load configuration from url... 2007-08-21 11:30:49,677 [INFO ] repo.spring.CentralConfigFactoryBean - Could not load configuration from url '/home/artifactory/etc/artifactory.config.xml'. (no protocol: /home/artifactory/etc/artifactory.config.xml). 2007-08-21 11:30:49,677 [INFO ] repo.spring.CentralConfigFactoryBean - Trying to load configuration from regular path file reosurce.... 2007-08-21 11:30:50,536 [INFO ] repo.spring.CentralConfigFactoryBean - Loaded configuration from '/home/artifactory/etc/artifactory.config.xml'. 2007-08-21 11:30:50,746 [WARN ] jackrabbit.core.RepositoryImpl - Existing lock file at /home/artifactory/data/jcr/.lock detected. Repository was not shut down properly. 2007-08-21 11:30:51,967 [ERROR] fs.db.DbFileSystem - failed to initialize file system java.sql.SQLException: Failed to start database '/home/artifactory/data/jcr/db', see the next exception for details. at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
    via by haiko van der schaaf,
  • When I restart my Tomcat 6 server, where Artifactory is deployed as webapp, it fails to connect with the derby DB. I get the following error in the log --> 2007-08-21 11:30:48,700 [INFO ] webapp.servlet.ArtifactoryContextConfigurer - Starting Artifactory... 2007-08-21 11:30:48,854 [INFO ] webapp.spring.ArtifactoryWebApplicationContext - Refreshing org.artifactory.webapp.spring.ArtifactoryWebApplicationContext@127f79d: display name [Root WebApplicationContext]; startup date [Tue Aug 21 11:30:48 CEST 2007]; root of context hierarchy 2007-08-21 11:30:49,273 [INFO ] webapp.spring.ArtifactoryWebApplicationContext - Bean factory for application context [org.artifactory.webapp.spring.ArtifactoryWebApplicationContext@127f79d]: org.springframework.beans.factory.support.DefaultListableBeanFactory@10bbd42 2007-08-21 11:30:49,658 [INFO ] repo.spring.CentralConfigFactoryBean - Loading configuration (using '/home/artifactory/etc/artifactory.config.xml')... 2007-08-21 11:30:49,677 [INFO ] repo.spring.CentralConfigFactoryBean - Trying to load configuration from url... 2007-08-21 11:30:49,677 [INFO ] repo.spring.CentralConfigFactoryBean - Could not load configuration from url '/home/artifactory/etc/artifactory.config.xml'. (no protocol: /home/artifactory/etc/artifactory.config.xml). 2007-08-21 11:30:49,677 [INFO ] repo.spring.CentralConfigFactoryBean - Trying to load configuration from regular path file reosurce.... 2007-08-21 11:30:50,536 [INFO ] repo.spring.CentralConfigFactoryBean - Loaded configuration from '/home/artifactory/etc/artifactory.config.xml'. 2007-08-21 11:30:50,746 [WARN ] jackrabbit.core.RepositoryImpl - Existing lock file at /home/artifactory/data/jcr/.lock detected. Repository was not shut down properly. 2007-08-21 11:30:51,967 [ERROR] fs.db.DbFileSystem - failed to initialize file system java.sql.SQLException: Failed to start database '/home/artifactory/data/jcr/db', see the next exception for details. at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
    via by haiko van der schaaf,
  • Re: Shutting down in-memory Derby gracefully
    via by Kristian Waagan,
  • Issue executing jar of javafx project
    via by 818772,
    • java.sql.SQLException: Failed to start database '/home/artifactory/data/jcr/db', see the next exception for details. at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)

    Users with the same issue

    Unknown visitor1 times, last one,
    muffinmannen
    1 times, last one,