Hi, For issue (2):
I did the following change: (1) commented out directoryService.startup() in DefaultDirectoryServiceFactory.build(). (2)commented out directoryService.startup() in Service.initLdap() directoryService will be started when call apacheDS.startup() in Service.initLdap(). It seems works now when I launched UberjarMain from Eclipse. I will verify if I did not change something inproperly. -----Original Message----- From: Pierre-Arnaud Marcelot [mailto:[email protected]] On Behalf Of Pierre-Arnaud Marcelot Sent: Wednesday, March 24, 2010 7:05 PM To: [email protected] Subject: Re: [ANNOUNCE] Apache Directory Server 1.5.6 released ! Hi again, I just installed the windows version and I was able to get it running without issue... I can't find the log file you're talking about in your previous mail. Could you send it again or copy/paste it ? Regarding the other issue, I'm almost sure Apache DS would run fine if you embed it following the documentation. If not, we'll have a look. Regards, Pierre-Arnaud On 24 mars 2010, at 11:16, Guofeng Zhang wrote: > I want to embed it in an application, but I do not want to use service.xml to > configure it. I want to use DefaultDirectoryService like what documented in > the site about embedding ApacheDS. > > -----Original Message----- > From: Pierre-Arnaud Marcelot [mailto:[email protected]] On Behalf Of > Pierre-Arnaud Marcelot > Sent: Wednesday, March 24, 2010 6:05 PM > To: [email protected] > Subject: Re: [ANNOUNCE] Apache Directory Server 1.5.6 released ! > > Hi, > > On 24 mars 2010, at 10:54, Guofeng Zhang wrote: > >> Hi, >> >> (1) >> I download apacheds-1.5.6-setup.exe and install it on XP. But the service >> cannot be started. I attached the log with this mail. Could you figure out >> what happened? > > I'm going to look at it on my Windows VM. > >> (2) >> I unzip the apacheds-1.5.6.zip, and launch it by running apacheds.bat, it >> launched properly. But If I removed the "conf\server.xml" in command line >> and rerun apacheds.ds, I got the following error: >> Exception in thread "main" java.lang.IllegalStateException: ERR_429 Not >> allowed to set the wrappedPartition after initialization. >> at >> org.apache.directory.server.core.schema.SchemaPartition.setWrappedPartition(SchemaPartition.java:138) >> at >> org.apache.directory.server.configuration.ApacheDS.initSchema(ApacheDS.java:486) >> at >> org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:124) >> at org.apache.directory.server.Service.initLdap(Service.java:136) >> at org.apache.directory.server.Service.init(Service.java:77) >> at org.apache.directory.server.UberjarMain.main(UberjarMain.java:60) > > Why would you try to remove the "conf\server.xml" parameter from the command > line ? > Removing the path to the server configuration does not look a very good idea > to me... > >> For 1.5.5, it works properly for the two cases. >> >> Your advice is appreciated! >> >> Thanks >> >> Guofeng >> >> >> -----Original Message----- >> From: Pierre-Arnaud Marcelot [mailto:[email protected]] On Behalf Of >> Pierre-Arnaud Marcelot >> Sent: Wednesday, March 24, 2010 2:24 PM >> To: [email protected] >> Subject: Re: [ANNOUNCE] Apache Directory Server 1.5.6 released ! >> >> Thanks! >> >> I fixed the link. It should be updated on the website within the hour. >> >> Regards, >> Pierre-Arnaud >> >> >> On 24 mars 2010, at 04:59, Guofeng Zhang wrote: >> >>> The download link for windows installer seems pointed to >>> apacheds-1.5.5-setup.exe. >>> >>> -----Original Message----- >>> From: Kiran Ayyagari [mailto:[email protected]] >>> Sent: Tuesday, March 23, 2010 6:53 PM >>> To: [email protected]; Apache Directory Developers List; >>> [email protected] >>> Subject: [ANNOUNCE] Apache Directory Server 1.5.6 released ! >>> >>> Apache Directory team is pleased to announce the release of Apache >>> Directory Server version 1.5.6, numerous enhancements and >>> bug fixes were included in this release. >>> >>> >>> Downloads are available at >>> http://directory.apache.org/apacheds/1.5/downloads.html >>> >>> >>> What's new ? >>> >>> >>> * Schema subsystem was completely refactored and rewritten >>> * LDIF based schema support >>> * A new testing framework was designed with annotation support to >>> start and stop DirectoryService/LdapServer >>> * The new client LDAP API has been used in server integration tests >>> * A new partition implementation using LDIF files as backend >>> * ApacheDS now uses MINA 2.0.0-RC1 >>> >>> >>> ChangeLog >>> Bug >>> >>> * [DIRSERVER-935] - Test hangs on non-existant schema entry lookup >>> * [DIRSERVER-1214] - Searches done with an empty baseDN are not >>> accepted, except for the rootDSE >>> * [DIRSERVER-1314] - Helpless error message while a LDIF import >>> fails in unit tests >>> * [DIRSERVER-1340] - Search the schema partition for >>> (objectClass=metaTop) returns no results >>> * [DIRSERVER-1401] - Infinite loop on moddn, when moving an entry >>> below itself >>> * [DIRSERVER-1404] - NullPointerException when a client disconnects >>> * [DIRSERVER-1459] - Adding members to a groupOfNames results in >>> polynomial increase in JDBM partition size >>> * [DIRSERVER-1462] - Empty Depends field in .deb package breaks >>> repository >>> * [DIRSERVER-1465] - objectClass, entryUUID, entryCSN indices not >>> used in search optimizer >>> * [DIRSERVER-1470] - Error code 80 - OTHER is thrown when trying to >>> remove a value from the objectClass attribute >>> * [DIRSERVER-1473] - The typesOnly flag is not correctly handled >>> * [DIRSERVER-1474] - IllegalStateException when restarting the >>> LdapServer programmatically >>> * [DIRSERVER-1475] - The sizeLimit must be a long, not an int >>> * [DIRSERVER-1476] - Incorrect attribute description value set for >>> AttributeValueAssertion in the transformFilter( ExprNode ) method of >>> LdapTransformer >>> * [DIRSHARED-47] - Testfailures on jdk1.5, jdk1.6 works in >>> shared-ldap-schema-manager >>> >>> Improvement >>> >>> * [DIRSERVER-1466] - Support SHA-256 for userPassword values >>> * [DIRSERVER-1472] - Use Generic Type Parameter for ID in XDBM >>> instead of Long >>> * IRSHARED-13] - Replace the MultiHashMap in RDN by a MultiValueMap >>> * [DIRSHARED-15] - Create a Fast DN parser handling simple DNs >>> * [DIRSHARED-49] - Add i18n translation for error messages and other >>> >>> Task >>> >>> * [DIRSHARED-43] - Rename LdapDN to DN >>> * [DIRSHARED-44] - Rename Rdn to RDN >>> * [DIRSHARED-45] - Rename AttributeTypeAndValue to AVA >>> >>> >>> Apache Directory Team >>> >> >> > >
