Studio writes out an invalid server.xml
---------------------------------------

                 Key: DIRSTUDIO-277
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-277
             Project: Directory Studio
          Issue Type: Bug
          Components: studio-apacheds-configuration
    Affects Versions: 1.0.1
         Environment: Apache DS 1.0.2, Linux
            Reporter: cam morris


Any server.xml that directory studio writes seems to be invalid.  

Steps I took to duplicate this
1) install apache ds 1.0.2
2) install directory studio 1.0.1
3) started and stoped ds just to make sure it works, it did.
4) start up directory studio and open server.xml
5) make a change that lets you save, I checked and then unchecked "Allow 
anonymous Access" then saved it.
6) start up the server again

Result: This error message shows up in the log:
"           _                     _          ____  ____   
          / \   _ __   __ _  ___| |__   ___|  _ \/ ___|  
         / _ \ | '_ \ / _` |/ __| '_ \ / _ \ | | \___ \   
        / ___ \| |_) | (_| | (__| | | |  __/ |_| |___) |  
       /_/   \_\ .__/ \__,_|\___|_| |_|\___|____/|____/   
               |_|                                                              
 

[14:31:19] INFO [org.apache.directory.server.Service] - server: loading 
settings from 
[14:31:20] ERROR [org.apache.directory.daemon.Bootstrapper] - Failed on 
org.apache.directory.server.Service.init(InstallationLayout, String[])
org.springframework.beans.factory.BeanDefinitionStoreException: Error 
registering bean with name 'configuration' defined in URL 
[file:/home/cmorris/apacheds-1.0.2/conf/server.xml]: <property> element for 
property 'partitionConfigurations' must specify a ref or value
"

I'll attach a before and after server.xml and the log

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to