From: haiko v. d. s. (JIRA) <ji...@jf...> - 2007-08-21 09:38:05
|
Restarting Tomcat with artifactory results in lock problem ---------------------------------------------------------- Key: RTFACT-223 URL: http://www.jfrog.org/jira//browse/RTFACT-223 Project: Artifactory Issue Type: Bug Environment: tomcat 6 redhat linux Reporter: haiko van der schaaf Assignee: Yoav Landman 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) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://www.jfrog.org/jira//secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |