jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Ericson <beric...@ptc.com>
Subject ConfigurationException when building
Date Tue, 05 Feb 2008 23:43:11 GMT
mvn install in "jackrabbit" results in the following error (repeated 
multiple times):
...

Compiling 640 source files to /tmp/jackrabbit/jackrabbit-core/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [antrun:run {execution: process-test-resources}]
[INFO] Executing tasks
     [copy] Copying 5 files to 
/tmp/jackrabbit/jackrabbit-core/target/repository
[INFO] Executed tasks
[INFO] [compiler:testCompile]
Compiling 83 source files to 
/tmp/jackrabbit/jackrabbit-core/target/test-classes
[INFO] [surefire:test]
[INFO] Setting reports dir: 
/tmp/jackrabbit/jackrabbit-core/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
org.apache.jackrabbit.core.config.ConfigurationException: Configuration 
file could not be read.: 
/tmp/jackrabbit/src/test/repository/repository.xml (No such file or 
directory): /tmp/jackrabbit/src/test/repository/repository.xml (No such 
file or directory)
   at 
org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:202)
   at 
org.apache.jackrabbit.core.config.RepositoryConfigurationParser.parseRepositoryConfig(RepositoryConfigurationParser.java:187)
   at 
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:141)
   at 
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:83)
   at 
org.apache.jackrabbit.core.jndi.BindableRepository.createRepositoryConfig(BindableRepository.java:160)
   at 
org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:137)
   at 
org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableRepository.java:125)
   at 
org.apache.jackrabbit.core.jndi.BindableRepositoryFactory.createInstance(BindableRepositoryFactory.java:59)
   at 
org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(RegistryHelper.java:60)
   at 
org.apache.jackrabbit.core.JackrabbitRepositoryStub.getRepository(JackrabbitRepositoryStub.java:108)
   at 
org.apache.jackrabbit.test.RepositoryHelper.getRepository(RepositoryHelper.java:68)

...

Attempting to build just jackrabbit-core (cd jackrabbit-core; mvn 
install) isn't much better (but is *different*):
...
[INFO] Building jar: 
/tmp/jackrabbit/jackrabbit-core/target/jackrabbit-core-1.4-sources.jar
[INFO] [surefire:test {execution: do_init}]
[INFO] Setting reports dir: 
/tmp/jackrabbit/jackrabbit-core/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
javax.jcr.RepositoryException: The repository home 
/tmp/jackrabbit/jackrabbit-core/target/repository appears to be already 
locked by the current process.
        at 
org.apache.jackrabbit.core.util.RepositoryLock.tryLock(RepositoryLock.java:166)
        at 
org.apache.jackrabbit.core.util.RepositoryLock.acquire(RepositoryLock.java:121)
        at 
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:240)
        at 
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:550)
        at 
org.apache.jackrabbit.core.jndi.BindableRepository.createRepository(BindableRepository.java:174)
        at 
org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:138)
        at 
org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableRepository.java:125)
        at 
org.apache.jackrabbit.core.jndi.BindableRepositoryFactory.createInstance(BindableRepositoryFactory.java:59)
        at 
org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(RegistryHelper.java:60)
        at 
org.apache.jackrabbit.core.JackrabbitRepositoryStub.getRepository(JackrabbitRepositoryStub.java:108)
        at 
org.apache.jackrabbit.test.RepositoryHelper.getRepository(RepositoryHelper.java:68)
        at 
org.apache.jackrabbit.test.RepositoryHelper.getProperty(RepositoryHelper.java:150)
        at 
org.apache.jackrabbit.test.AbstractJCRTest.getProperty(AbstractJCRTest.java:442)
        at 
org.apache.jackrabbit.test.AbstractJCRTest.setUp(AbstractJCRTest.java:264)
...

Tried mvn clean install to get rid of whatever lock file it's using and 
got the same result.  Tried both "trunk" and "branches/1.4".

Any ideas?

Mime
View raw message