directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Zoerner <ste...@labeo.de>
Subject Re: [ApacheDS] Problems with noarch-installer in 1.5.5 SNAPSHOT (NoClassDefFoundError)
Date Mon, 23 Feb 2009 19:28:15 GMT
Thanks Felix for taking care of this.

I got this error yesterday as well, after fixing the commons logging and 
the xdbm prob. Seems like nothing suitable is in the lib folder (Bouncy 
Castle)

Greetings from Hamburg,
     Stefan



Felix Knecht wrote:
> I replaced hard coded -cp by using a dynamical one (see http://svn.apache.org/viewvc?rev=747059&view=rev).
> To use it you probably need to rebuild updated daemon/trunk.
> 
> There are still problems, but they look different know:
> 
> felix@donar ~/svn/apache/directory/installers/trunk/apacheds/target/images/apacheds_1.5.5-SNAPSHOT
$ ./apacheds.sh
> log4j:ERROR setFile(null,true) call failed.
> java.io.FileNotFoundException: /apacheds-rolling.log (Permission denied)
>         at java.io.FileOutputStream.openAppend(Native Method)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
>         at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
>         at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)
>         at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
>         at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
>         at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:132)
>         at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:96)
>         at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:654)
>         at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)
>         at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509)
>         at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415)
>         at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:441)
>         at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:470)
>         at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
>         at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73)
>         at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:103)
>         at org.apache.directory.server.Service.<clinit>(Service.java:48)
>         at org.apache.directory.server.UberjarMain.main(UberjarMain.java:45)
> Starting the LDAP server
>            _                     _          ____  ____
>           / \   _ __    ___  ___| |__   ___|  _ \/ ___|
>          / _ \ | '_ \ / _` |/ __| '_ \ / _ \ | | \___ \
>         / ___ \| |_) | (_| | (__| | | |  __/ |_| |___) |
>        /_/   \_\ .__/ \__,_|\___|_| |_|\___|____/|____/
>                |_|
> 
> [17:07:31] WARN [org.apache.directory.server.schema.registries.DefaultOidRegistry] -
OID for name 'krb5PrincipalName'
> was not found within the OID registry
> Exception in thread "main" java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
>         at
> org.apache.directory.server.core.DefaultDirectoryService.createBootstrapEntries(DefaultDirectoryService.java:1014)
>         at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1434)
>         at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:851)
>         at org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:126)
>         at org.apache.directory.server.Service.initLdap(Service.java:128)
>         at org.apache.directory.server.Service.init(Service.java:70)
>         at org.apache.directory.server.UberjarMain.main(UberjarMain.java:56)
> Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>         ... 7 more
> 
> 



Mime
View raw message