directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seshu Kumar" <seshu.ku...@onrelay.com>
Subject RE: problem with new schema and dump afterwards in APACHEDS
Date Tue, 28 Nov 2006 13:27:19 GMT
Hi ,

       Thanks again. I am putting the output of below command here. Please
correct me.

 

 

 

C:\apacheds-1.0.0\bin>java -classpath
C:\apacheds-1.0.0\lib\preference-schema-1.

0-SNAPSHOT.jar -jar apacheds-tools.jar dump -i "C:\apacheds-1.0.0" -p
onrelay -f

 dump.ldif

       _                     _          ____  ____    _____           _

      / \   _ __   __ _  ___| |__   ___|  _ \/ ___|  |_   _|__   ___ | |___

     / _ \ | '_ \ / _` |/ __| '_ \ / _ \ | | \___ \    | |/ _ \ / _ \| / __|

    / ___ \| |_) | (_| | (__| | | |  __/ |_| |___) |   | | (_) | (_) | \__ \

   /_/   \_\ .__/ \__,_|\___|_| |_|\___|____/|____/    |_|\___/ \___/|_|___/

           |_|

 

loading settings from: C:\apacheds-1.0.0\conf\server.xml

log4j:WARN No appenders could be found for logger
(org.springframework.core.Coll

ectionFactory).

log4j:WARN Please initialize the log4j system properly.

Exception in thread "main"
org.springframework.beans.factory.BeanDefinitionStore

Exception: Error registering bean with name 'configuration' defined in URL
[file

:/C:/apacheds-1.0.0/conf/server.xml]: Could not parse inner bean definition;
nes

ted exception is
org.springframework.beans.factory.BeanDefinitionStoreException:

 Error registering bean with name '' defined in URL
[file:/C:/apacheds-1.0.0/con

f/server.xml]: Bean class
[org.apache.directory.server.core.schema.bootstrap.Pre

ferenceSchema] not found; nested exception is
java.lang.ClassNotFoundException:

org.apache.directory.server.core.schema.bootstrap.PreferenceSchema

org.springframework.beans.factory.BeanDefinitionStoreException: Error
registerin

g bean with name '' defined in URL
[file:/C:/apacheds-1.0.0/conf/server.xml]: Be

an class
[org.apache.directory.server.core.schema.bootstrap.PreferenceSchema] no

t found; nested exception is java.lang.ClassNotFoundException:
org.apache.direct

ory.server.core.schema.bootstrap.PreferenceSchema

java.lang.ClassNotFoundException:
org.apache.directory.server.core.schema.bootst

rap.PreferenceSchema

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Unknown Source)

        at org.springframework.util.ClassUtils.forName(ClassUtils.java:109)

        at
org.springframework.beans.factory.support.BeanDefinitionReaderUtils.c

reateBeanDefinition(BeanDefinitionReaderUtils.java:65)

        at
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.

parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:466)

 

 

Best Regards,

Seshu Kumar.

 

  _____  

From: Emmanuel Lecharny [mailto:elecharny@gmail.com] 
Sent: 28 November 2006 12:36
To: Apache Directory Developers List
Subject: Re: problem with new schema and dump afterwards in APACHEDS

 

 

On 11/28/06, Seshu Kumar <seshu.kumar@onrelay.com> wrote:

Hi Emmanuel,

        Thanks for the info. Here I am just putting all the steps I followed
and please correct me, if any mistakes in the procedure - Thanks.

- now tried to dump the data using command,

               java -jar apacheds-tools.jar dump -i "C:\apacheds-1.0.0" -p
onrelay -f dump.ldif


What about :
 

java -classpath 
C:\apacheds-1.0.0\lib\preference-schema-1.0-SNAPSHOT.jar 
-jar apacheds-tools.jar dump -i "C:\apacheds-1.0.0" -p onrelay -f dump.ldif

?
Emmanuel

 


Mime
View raw message