directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu" <akaras...@apache.org>
Subject Re: DBFILES is killing us again on eclipse...
Date Sat, 05 Apr 2008 20:40:53 GMT
Oh good because this looked serious.  Anyway I would like to look into
removing this DBFILES file and leveraging properties in the master table
instead.  This should save us the hassle of dealing with this stupid problem
and meanwhile we'll be able to associate information about the database into
the master for safe keeping.  This way all one has to do is move the master
table and the entire db can be regenerated from the information it contains
- of course after we use ServerEntry which also contains the DN.

Alex

On Sat, Apr 5, 2008 at 2:22 PM, Emmanuel Lecharny <elecharny@gmail.com>
wrote:

> After some investigation, I discovered that the message I got was
> misleaded. I removed the example.com directory and suddenly, the
> server started.
>
> This is somehow strange... Maybe I'm just a little bit too stressed
> and tired ... Whatever. We will check that next week !
>
> On Sat, Apr 5, 2008 at 12:37 PM, Emmanuel Lecharny <elecharny@gmail.com>
> wrote:
> > 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
> >
> >
> >
>
>
>
> --
> Regards,
> Cordialement,
> Emmanuel L├ęcharny
> www.iktek.com
>

Mime
View raw message