OK, I think I can reconfigure the 1.5.3 server.xml to match my install.  But, 
it looks like a whole bunch of other stuff has changed.  The first thing is the 
my directory information was in instances/default.  Now it appears that it 
doesn't use that directory structure at all anymore.

In the 1.5.3 server.xml, I specified the workingDirectory attribute on the 
<defaultDirectoryService> tag but it looks like it only goes one directory 
deep.  If I specify workingDirectory="instances/defualt", it puts all the 
partition info directly into "instances".  If I copy my 1.5.1 partition data 
from instances/default/partitions to the 1.5.3 install, it appears that all of 
my directory data is gone.  How do I get my 1.5.1 directory data into 1.5.3?

Finally, I have a custom schema LDIF that I had in instance/default/ldif.  
Since the directory structure has completely changed, where do I put that LDIF 
so my custom schema will be added?

Thanks for any help.
Tony

-----Original Message-----
From: Emmanuel Lécharny [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 24, 2008 4:20 PM
To: [email protected]
Subject: Re: Update to 1.5.3 from 1.5.1

Tony Thompson wrote:
> I downloaded Studio 1.2.0, opened my server.xml file (File > Open File...), 
> then saved it (File > Save As...) and I still get the same exception.  What 
> am I doing wrong? 
>   
Nothing ... The file structure has changed :/

Could you submit your server.xml if there is nothing confidential into it ? We 
will have a look at it and hopefully make it work.

Thanks !
> -----Original Message-----
> From: Emmanuel Lecharny [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 24, 2008 1:33 PM
> To: [email protected]
> Subject: Re: Update to 1.5.3 from 1.5.1
>
> Hi Tony,
>
> the configuration file format has changed since 1.5.1.
>
> You might want to use Apache Directory Studio to migrate your configuration 
> file, by loading it and saving it as a 1.5.3 file.
>
> Studio 1.2.0 has just been released today, and should be available in the 
> next hours (mirrors get updated slowly).
>
> Tony Thompson wrote:
>   
>> When I try to update from 1.5.1 to 1.5.3, I get the following stack
>> trace:
>>  
>> Exception in thread "main"
>> org.springframework.beans.factory.BeanDefinitionStoreException: 
>> Failed to load type: org.apache.directo 
>> ry.server.changepw.ChangePasswordConfiguration. Reason:
>> java.lang.ClassNotFoundException:
>> org.apache.directory.server.changepw.Cha
>> ngePasswordConfiguration; nested exception is
>> java.lang.ClassNotFoundException:
>> org.apache.directory.server.changepw.ChangePasswor
>> dConfiguration
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.directory.server.changepw.ChangePasswordConfiguration
>>         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
>> org.apache.xbean.spring.context.v2c.XBeanQNameHelper.loadClass(XBeanQ
>> N
>> am
>> eHelper.java:107)
>>         at
>> org.apache.xbean.spring.context.v2c.XBeanQNameHelper.getBeanInfo(XBea
>> n
>> QN
>> ameHelper.java:72)
>>         at
>> org.apache.xbean.spring.context.v2c.XBeanQNameHelper.coerceNamespaceA
>> w
>> ar
>> ePropertyValues(XBeanQNameHelper.java:54)
>>         at
>> org.apache.xbean.spring.context.v2c.XBeanBeanDefinitionParserDelegate.
>> pa
>> rseBeanDefinitionElement(XBeanBeanDefinitionParserDelegate.java:63)
>>         at
>> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.pa
>> r
>> se
>> BeanDefinitionElement(BeanDefinitionParserDelegate.java:341)
>>         at
>> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.pa
>> r
>> se
>> BeanDefinitionElement(BeanDefinitionParserDelegate.java:310)
>>         at
>> org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.
>> p
>> ro
>> cessBeanDefinition(XBeanBeanDefinitionDocumentReader.java:174)
>>         at
>> org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.
>> p
>> ar
>> seDefaultElement(XBeanBeanDefinitionDocumentReader.java:101)
>>         at
>> org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.
>> p
>> ar
>> seBeanDefinitions(XBeanBeanDefinitionDocumentReader.java:81)
>>         at
>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentRe
>> a
>> de
>> r.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:90)
>>         at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registe
>> r
>> Be
>> anDefinitions(XmlBeanDefinitionReader.java:458)
>>         at
>> org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.regis
>> t
>> er
>> BeanDefinitions(XBeanXmlBeanDefinitionReader.java:79)
>>         at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB
>> e
>> an
>> Definitions(XmlBeanDefinitionReader.java:353)
>>         at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
>> n
>> De
>> finitions(XmlBeanDefinitionReader.java:303)
>>         at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
>> n
>> De
>> finitions(XmlBeanDefinitionReader.java:280)
>>         at
>> org.springframework.beans.factory.support.AbstractBeanDefinitionReade
>> r
>> .l
>> oadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
>>         at
>> org.springframework.beans.factory.support.AbstractBeanDefinitionReade
>> r
>> .l
>> oadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
>>         at
>> org.springframework.beans.factory.support.AbstractBeanDefinitionReade
>> r
>> .l
>> oadBeanDefinitions(AbstractBeanDefinitionReader.java:173)
>>         at
>> org.springframework.context.support.AbstractXmlApplicationContext.loa
>> d
>> Be
>> anDefinitions(AbstractXmlApplicationContext.java:112)
>>         at
>> org.apache.xbean.spring.context.FileSystemXmlApplicationContext.loadB
>> e
>> an
>> Definitions(FileSystemXmlApplicationContext.java:168)
>>         at
>> org.springframework.context.support.AbstractRefreshableApplicationCon
>> t
>> ex
>> t.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
>>         at
>> org.springframework.context.support.AbstractApplicationContext.obtain
>> F
>> re
>> shBeanFactory(AbstractApplicationContext.java:389)
>>         at
>> org.springframework.context.support.AbstractApplicationContext.refres
>> h
>> (A
>> bstractApplicationContext.java:324)
>>         at
>> org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init
>> >
>> (F
>> ileSystemXmlApplicationContext.java:149)
>>         at
>> org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init
>> >
>> (F
>> ileSystemXmlApplicationContext.java:48)
>>         at org.apache.directory.server.Service.init(Service.java:60)
>>         at
>> org.apache.directory.server.UberjarMain.main(UberjarMain.java:56)
>>  
>> Any idea why or what I can do to fix it?
>>  
>> Thanks
>> Tony
>>  
>> This message (and any associated files) is intended only for the use 
>> of the individual or entity to which it is addressed and may contain 
>> information that is confidential, subject to copyright or constitutes 
>> a trade secret. If you are not the intended recipient you are hereby 
>> notified that any dissemination, copying or distribution of this 
>> message, or files associated with this message, is strictly 
>> prohibited. If you have received this message in error, please notify 
>> us immediately by replying to the message and deleting it from your 
>> computer. Messages sent to and from Stoneware, Inc.
>> may be monitored.
>>
>>   
>>     
>
>
> --
> --
> cordialement, regards,
> Emmanuel Lécharny
> www.iktek.com
> directory.apache.org
>
>
>
>   


--
--
cordialement, regards,
Emmanuel Lécharny
www.nextury.com
directory.apache.org


Reply via email to