RE: Update to 1.5.3 from 1.5.1

2008-08-07 Thread Tony Thompson
When I started out I was trying to use the archive install because I had
1.5.1 installed already and running the windows installer for 1.5.3 over
the top of that install didn't work at all (noclassdef issues).

So, I have since cleaned up all of my old installs and now I have the
1.5.3 Windows install running.  It is still not picking up my custom
schema and I don't see any errors in the apacheds-rolling.log for my
instance or in the wrapper.log.  I am attaching my 1.5.3 config file in
case there is something in there I need to change to make it work.

Thanks
Tony 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Pierre-Arnaud Marcelot
Sent: Friday, August 01, 2008 9:39 AM
To: users@directory.apache.org
Subject: Re: Update to 1.5.3 from 1.5.1

Hi Tony,

On Mon, Jul 28, 2008 at 4:26 PM, Tony Thompson
[EMAIL PROTECTED]
 wrote:

 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.


It should have stayed the same. What is your OS and what kind of
installer did you choose to install ?

Maybe you've chosen the zip or tar.gz archive. These installers do not
share the same directory structure and don't allow to run multiple
instance but only one.


 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?


I suggest that you use Apache Directory Studio and extract all your data
in your partitions as LDIF. Then you can import them easily in 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?


As I said, the directory structure as not changed so you should be able
to drop your custom schema in your instance ldif directory, unless
you've used the zip or tar.gz archives.
If yes, I suggest that you download the same installer you installed
1.5.1 with.

Regards,
Pierre-Arnaud
 
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.
?xml version=1.0 encoding=UTF-8?
spring:beans xmlns:spring=http://xbean.apache.org/schemas/spring/1.0; xmlns:s=http://www.springframework.org/schema/beans; xmlns=http://apacheds.org/config/1.0;
   defaultDirectoryService id=directoryService instanceId=default workingDirectory=example.com allowAnonymousAccess=false accessControlEnabled=false denormalizeOpAttrsEnabled=false
  systemPartition
 jdbmPartition id=system cacheSize=100 suffix=ou=system optimizerEnabled=true syncOnWrite=true
indexedAttributes
   jdbmIndex attributeId=1.3.6.1.4.1.18060.0.4.1.2.1 cacheSize=100/
   jdbmIndex attributeId=1.3.6.1.4.1.18060.0.4.1.2.2 cacheSize=100/
   jdbmIndex attributeId=1.3.6.1.4.1.18060.0.4.1.2.3 cacheSize=100/
   jdbmIndex attributeId=1.3.6.1.4.1.18060.0.4.1.2.4 cacheSize=100/
   jdbmIndex attributeId=1.3.6.1.4.1.18060.0.4.1.2.5 cacheSize=10/
   jdbmIndex attributeId=1.3.6.1.4.1.18060.0.4.1.2.6 cacheSize=10/
   jdbmIndex attributeId=1.3.6.1.4.1.18060.0.4.1.2.7 cacheSize=10/
   jdbmIndex attributeId=ou cacheSize=100/
   jdbmIndex attributeId=uid cacheSize=100/
   jdbmIndex attributeId=objectClass cacheSize=100/
/indexedAttributes
contextEntry#systemContextEntry/contextEntry
 /jdbmPartition
  /systemPartition
  partitions
 jdbmPartition id=webNetwork cacheSize=100 suffix=ou=swExternal-Users optimizerEnabled=true syncOnWrite=true
indexedAttributes
   jdbmIndex attributeId=1.3.6.1.4.1.18060.0.4.1.2.1 cacheSize=100/
   jdbmIndex attributeId=1.3.6.1.4.1.18060.0.4.1.2.2 cacheSize=100/
   jdbmIndex attributeId=1.3.6.1.4.1.18060.0.4.1.2.3 cacheSize=100/
   jdbmIndex attributeId

Re: Update to 1.5.3 from 1.5.1

2008-08-01 Thread Emmanuel Lécharny

Hi Tony,

Tony Thompson wrote:

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.
  
Yes, the structure has change. However, you won't be able to reuse the 
same data files from 1.5.1 and make them work with 1.5.3 : the way we 
are storing entries has totally changed.



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?
  
There is only one option : export your data from 1.5.1 as a big ldif 
file, and re-import them in 1.5.3


More to come ...

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




RE: Update to 1.5.3 from 1.5.1

2008-07-28 Thread Tony Thompson
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: users@directory.apache.org
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: users@directory.apache.org
 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

Update to 1.5.3 from 1.5.1

2008-07-24 Thread Tony Thompson
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(XBeanQNam
eHelper.java:107)
at
org.apache.xbean.spring.context.v2c.XBeanQNameHelper.getBeanInfo(XBeanQN
ameHelper.java:72)
at
org.apache.xbean.spring.context.v2c.XBeanQNameHelper.coerceNamespaceAwar
ePropertyValues(XBeanQNameHelper.java:54)
at
org.apache.xbean.spring.context.v2c.XBeanBeanDefinitionParserDelegate.pa
rseBeanDefinitionElement(XBeanBeanDefinitionParserDelegate.java:63)
at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parse
BeanDefinitionElement(BeanDefinitionParserDelegate.java:341)
at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parse
BeanDefinitionElement(BeanDefinitionParserDelegate.java:310)
at
org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.pro
cessBeanDefinition(XBeanBeanDefinitionDocumentReader.java:174)
at
org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.par
seDefaultElement(XBeanBeanDefinitionDocumentReader.java:101)
at
org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.par
seBeanDefinitions(XBeanBeanDefinitionDocumentReader.java:81)
at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReade
r.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:90)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBe
anDefinitions(XmlBeanDefinitionReader.java:458)
at
org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.register
BeanDefinitions(XBeanXmlBeanDefinitionReader.java:79)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBean
Definitions(XmlBeanDefinitionReader.java:353)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDe
finitions(XmlBeanDefinitionReader.java:303)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDe
finitions(XmlBeanDefinitionReader.java:280)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.l
oadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.l
oadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.l
oadBeanDefinitions(AbstractBeanDefinitionReader.java:173)
at
org.springframework.context.support.AbstractXmlApplicationContext.loadBe
anDefinitions(AbstractXmlApplicationContext.java:112)
at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.loadBean
Definitions(FileSystemXmlApplicationContext.java:168)
at
org.springframework.context.support.AbstractRefreshableApplicationContex
t.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
at
org.springframework.context.support.AbstractApplicationContext.obtainFre
shBeanFactory(AbstractApplicationContext.java:389)
at
org.springframework.context.support.AbstractApplicationContext.refresh(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

Re: Update to 1.5.3 from 1.5.1

2008-07-24 Thread Emmanuel Lecharny

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(XBeanQNam
eHelper.java:107)
at
org.apache.xbean.spring.context.v2c.XBeanQNameHelper.getBeanInfo(XBeanQN
ameHelper.java:72)
at
org.apache.xbean.spring.context.v2c.XBeanQNameHelper.coerceNamespaceAwar
ePropertyValues(XBeanQNameHelper.java:54)
at
org.apache.xbean.spring.context.v2c.XBeanBeanDefinitionParserDelegate.pa
rseBeanDefinitionElement(XBeanBeanDefinitionParserDelegate.java:63)
at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parse
BeanDefinitionElement(BeanDefinitionParserDelegate.java:341)
at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parse
BeanDefinitionElement(BeanDefinitionParserDelegate.java:310)
at
org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.pro
cessBeanDefinition(XBeanBeanDefinitionDocumentReader.java:174)
at
org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.par
seDefaultElement(XBeanBeanDefinitionDocumentReader.java:101)
at
org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.par
seBeanDefinitions(XBeanBeanDefinitionDocumentReader.java:81)
at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReade
r.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:90)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBe
anDefinitions(XmlBeanDefinitionReader.java:458)
at
org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.register
BeanDefinitions(XBeanXmlBeanDefinitionReader.java:79)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBean
Definitions(XmlBeanDefinitionReader.java:353)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDe
finitions(XmlBeanDefinitionReader.java:303)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDe
finitions(XmlBeanDefinitionReader.java:280)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.l
oadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.l
oadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.l
oadBeanDefinitions(AbstractBeanDefinitionReader.java:173)
at
org.springframework.context.support.AbstractXmlApplicationContext.loadBe
anDefinitions(AbstractXmlApplicationContext.java:112)
at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.loadBean
Definitions(FileSystemXmlApplicationContext.java:168)
at
org.springframework.context.support.AbstractRefreshableApplicationContex
t.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
at
org.springframework.context.support.AbstractApplicationContext.obtainFre
shBeanFactory(AbstractApplicationContext.java:389)
at
org.springframework.context.support.AbstractApplicationContext.refresh(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

RE: Update to 1.5.3 from 1.5.1

2008-07-24 Thread Tony Thompson
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? 

-Original Message-
From: Emmanuel Lecharny [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 24, 2008 1:33 PM
To: users@directory.apache.org
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(XBeanQN
 am
 eHelper.java:107)
 at
 org.apache.xbean.spring.context.v2c.XBeanQNameHelper.getBeanInfo(XBean
 QN
 ameHelper.java:72)
 at
 org.apache.xbean.spring.context.v2c.XBeanQNameHelper.coerceNamespaceAw
 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.par
 se
 BeanDefinitionElement(BeanDefinitionParserDelegate.java:341)
 at
 org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.par
 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.DefaultBeanDefinitionDocumentRea
 de
 r.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:90)
 at
 org.springframework.beans.factory.xml.XmlBeanDefinitionReader.register
 Be
 anDefinitions(XmlBeanDefinitionReader.java:458)
 at
 org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.regist
 er
 BeanDefinitions(XBeanXmlBeanDefinitionReader.java:79)
 at
 org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBe
 an
 Definitions(XmlBeanDefinitionReader.java:353)
 at
 org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBean
 De
 finitions(XmlBeanDefinitionReader.java:303)
 at
 org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBean
 De
 finitions(XmlBeanDefinitionReader.java:280)
 at
 org.springframework.beans.factory.support.AbstractBeanDefinitionReader
 .l
 oadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
 at
 org.springframework.beans.factory.support.AbstractBeanDefinitionReader
 .l
 oadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
 at
 org.springframework.beans.factory.support.AbstractBeanDefinitionReader
 .l
 oadBeanDefinitions(AbstractBeanDefinitionReader.java:173)
 at
 org.springframework.context.support.AbstractXmlApplicationContext.load
 Be
 anDefinitions(AbstractXmlApplicationContext.java:112)
 at
 org.apache.xbean.spring.context.FileSystemXmlApplicationContext.loadBe
 an
 Definitions(FileSystemXmlApplicationContext.java:168)
 at
 org.springframework.context.support.AbstractRefreshableApplicationCont
 ex
 t.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
 at
 org.springframework.context.support.AbstractApplicationContext.obtainF
 re
 shBeanFactory(AbstractApplicationContext.java:389)
 at
 org.springframework.context.support.AbstractApplicationContext.refresh
 (A
 bstractApplicationContext.java:324

RE: Update to 1.5.3 from 1.5.1

2008-07-24 Thread Tony Thompson
It should be attached.

When I saved the file, the new file was about 19Kb vs. 27Kb for the original so 
something happened. 

-Original Message-
From: Emmanuel Lécharny [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 24, 2008 4:20 PM
To: users@directory.apache.org
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: users@directory.apache.org
 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