directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject DBFILES is killing us again on eclipse...
Date Sat, 05 Apr 2008 10:37:58 GMT
Hi,

I can't anymore launch ADS within eclipse, as I now get this error :
           _                     _          ____  ____  
          / \   _ __   __ _  ___| |__   ___|  _ \/ ___| 
         / _ \ | '_ \ / _` |/ __| '_ \ / _ \ | | \___ \  
        / ___ \| |_) | (_| | (__| | | |  __/ |_| |___) | 
       /_/   \_\ .__/ \__,_|\___|_| |_|\___|____/|____/  
               
|_|                                                              

Exception in thread "main" 
org.apache.directory.server.schema.bootstrap.partition.UniqueResourceException: 
Problem locating bootstrap partition database file list.  Be sure there 
is exactly one bootstrap partition jar in your classpath.
Multiple copies of resource named 
'org/apache/directory/server/schema/bootstrap/partition/DBFILES' located 
on classpath at urls
    
file:/home/elecharny/apacheds/bigbang-orig/apacheds/bootstrap-partition/target/classes/org/apache/directory/server/schema/bootstrap/partition/DBFILES
    
jar:file:/home/elecharny/.m2/repository/org/apache/directory/server/apacheds-bootstrap-partition/1.5.2-SNAPSHOT/apacheds-bootstrap-partition-1.5.2-SNAPSHOT.jar!/org/apache/directory/server/schema/bootstrap/partition/DBFILES
    at 
org.apache.directory.server.schema.bootstrap.partition.DbFileListing.getUniqueResource(DbFileListing.java:144)
    at 
org.apache.directory.server.schema.bootstrap.partition.DbFileListing.getUniqueResourceAsStream(DbFileListing.java:129)
    at 
org.apache.directory.server.schema.bootstrap.partition.DbFileListing.init(DbFileListing.java:82)
    at 
org.apache.directory.server.schema.bootstrap.partition.DbFileListing.<init>(DbFileListing.java:51)
    at 
org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1319)
    at 
org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:775)
    at 
org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:130)
    at org.apache.directory.server.Service.init(Service.java:86)
    at org.apache.directory.server.UberjarMain.main(UberjarMain.java:56)


Until last week, when this DBFILES was missing, I just had to run a mvn 
clean install in the apacheds/bootstrap-partition sub project, and 
launch ADS again. This is not working anymore. Now, either I get a NPE :

           _                     _          ____  ____  
          / \   _ __   __ _  ___| |__   ___|  _ \/ ___| 
         / _ \ | '_ \ / _` |/ __| '_ \ / _ \ | | \___ \  
        / ___ \| |_) | (_| | (__| | | |  __/ |_| |___) | 
       /_/   \_\ .__/ \__,_|\___|_| |_|\___|____/|____/  
               
|_|                                                              

Exception in thread "main" java.lang.NullPointerException
    at 
org.apache.directory.server.core.schema.SchemaPartitionDao.findDn(SchemaPartitionDao.java:480)
    at 
org.apache.directory.server.core.schema.SchemaPartitionDao.findSchema(SchemaPartitionDao.java:460)
    at 
org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1368)
    at 
org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:775)
    at 
org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:130)
    at org.apache.directory.server.Service.init(Service.java:86)
    at org.apache.directory.server.UberjarMain.main(UberjarMain.java:56)


if I delete the DBFILES from the disk, or the previous error if I do 
nothing.

It has to be fixed before the release, because we can't anymore debug 
the server otherwise...

-- 
--
cordialement, regards,
Emmanuel L├ęcharny
www.iktek.com
directory.apache.org



Mime
View raw message