You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by stefan humbold <s_...@yahoo.com.INVALID> on 2016/01/04 14:26:47 UTC

Unable to save Server-Configuration: ERR_55 Trying to remove an non-existant attribute: attributetype

Hi all,

i have problems with the new versions of DS-Studio and DS-Server...

Problem: Using the new installed Studio and the new installed ApacheDS Server i can't save the Server-Configuration with DS-Studio.

I changed nothing in the configuration.

When i try to save the config i can see the following exceptions:

Exception shown in DS-Log:
INFO   | jvm 1    | 2016/01/04 12:59:47 | [12:59:47] ERROR [org.apache.directory.server.core.schema.SchemaInterceptor] - ERR_55 Trying to remove an non-existant attribute: attributetype ( 1.3.6.1.4.1.18060.0.4.1.2.164 NAME 'ads-indexCacheSize'
INFO   | jvm 1    | 2016/01/04 12:59:47 |     DESC 'The number of key we store in the cache for this index'
INFO   | jvm 1    | 2016/01/04 12:59:47 |     EQUALITY integerMatch
INFO   | jvm 1    | 2016/01/04 12:59:47 |     ORDERING integerOrderingMatch
INFO   | jvm 1    | 2016/01/04 12:59:47 |     SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
INFO   | jvm 1    | 2016/01/04 12:59:47 |     SINGLE-VALUE
INFO   | jvm 1    | 2016/01/04 12:59:47 |     USAGE userApplications )

Exception shown in DS-Studio Dialog-Error-Message:
java.lang.Exception: ....
    at org.apache.directory.studio.apacheds.configuration.editor.ServerConfigurationEditorUtils.saveConfiguration(ServerConfigurationEditorUtils.java:370)
    at org.apache.directory.studio.apacheds.configuration.jobs.SaveConfigurationRunnable.run(SaveConfigurationRunnable.java:109)
    at org.apache.directory.studio.common.core.jobs.StudioJob.run(StudioJob.java:85)

    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Environment:
ApacheDS-Studio-Version: 2.0.0.v20151221-M10
ApacheDS Version: 2.0.0-M21
Win7, JDK8 (ApacheDS), JRE7 (DS-Studio)


Has anybody else realized this problem ?


Thx

Humbi

Re: Unable to save Server-Configuration: ERR_55 Trying to remove an non-existant attribute: attributetype

Posted by stefan humbold <s_...@yahoo.com.INVALID>.
Hi Stefan,
bug report in Jira:https://issues.apache.org/jira/browse/DIRSTUDIO-1080
Thx,Humbi 


Re: Unable to save Server-Configuration: ERR_55 Trying to remove an non-existant attribute: attributetype

Posted by Stefan Seelmann <ma...@stefan-seelmann.de>.
On 01/04/2016 02:26 PM, stefan humbold wrote:
> Environment:
> ApacheDS-Studio-Version: 2.0.0.v20151221-M10
> ApacheDS Version: 2.0.0-M21
> Win7, JDK8 (ApacheDS), JRE7 (DS-Studio)
> 
> 
> Has anybody else realized this problem ?

Hi Humbi,

yes, I was able to reproduce the exact error. It happens when
opening/saving the configuration via connection to the remote server.

Can you please file a bug report in Jira [1]?

Thanks,
Stefan

[1] https://issues.apache.org/jira/browse/DIRSTUDIO


Re: Unable to save Server-Configuration: ERR_55 Trying to remove an non-existant attribute: attributetype

Posted by Wind Li <ni...@163.com>.
stefan humbold <s_...@...> writes:

> 
> Hi all,
> 
> i have problems with the new versions of DS-Studio and DS-Server...
> 
> Problem: Using the new installed Studio and the new installed ApacheDS
Server i can't save the
> Server-Configuration with DS-Studio.
> 
> I changed nothing in the configuration.
> 
> When i try to save the config i can see the following exceptions:
> 
> Exception shown in DS-Log:
> INFO   | jvm 1    | 2016/01/04 12:59:47 | [12:59:47] ERROR
> [org.apache.directory.server.core.schema.SchemaInterceptor] - ERR_55
Trying to remove an
> non-existant attribute: attributetype ( 1.3.6.1.4.1.18060.0.4.1.2.164 NAME
'ads-indexCacheSize'
> INFO   | jvm 1    | 2016/01/04 12:59:47 |     DESC 'The number of key we
store in the cache for this index'
> INFO   | jvm 1    | 2016/01/04 12:59:47 |     EQUALITY integerMatch
> INFO   | jvm 1    | 2016/01/04 12:59:47 |     ORDERING integerOrderingMatch
> INFO   | jvm 1    | 2016/01/04 12:59:47 |     SYNTAX
1.3.6.1.4.1.1466.115.121.1.27
> INFO   | jvm 1    | 2016/01/04 12:59:47 |     SINGLE-VALUE
> INFO   | jvm 1    | 2016/01/04 12:59:47 |     USAGE userApplications )
> 
> Exception shown in DS-Studio Dialog-Error-Message:
> java.lang.Exception: ....
>     at
org.apache.directory.studio.apacheds.configuration.editor
.ServerConfigurationEditorUtils.saveConfiguration
(ServerConfigurationEditorUtils.java:370)
>     at
org.apache.directory.studio.apacheds.configuration.
jobs.SaveConfigurationRunnable.run(SaveConfigurationRunnable.java:109)
>     at
org.apache.directory.studio.common.core.jobs.StudioJob.run(StudioJob.java:85)
> 
>     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> 
> Environment:
> ApacheDS-Studio-Version: 2.0.0.v20151221-M10
> ApacheDS Version: 2.0.0-M21
> Win7, JDK8 (ApacheDS), JRE7 (DS-Studio)
> 
> Has anybody else realized this problem ?
> 
> Thx
> 
> Humbi

Same issue for me. It does not after fresh new install. 
I am using linux.
I have to create servers with ds studio.
Here is the steps I make a working ds server.
1. Stop default ds server
2. Create new ds server in ds studio:
https://directory.apache.org/apacheds/configuration/ads-2.0-configuration.html.
Make any change and test to make sure it works. Stop it.
3. Rename default ds server instance folder to default.removed.
/var/lib/apacheds-2.0.0-M21/default for linux.
4. Copy ds folder created in in studio as default instance. Copy
default.removed/conf/wrapper-instance.conf to default/conf.
5. Change default owner to the same one as default.removed.
6. Restart ds server.

You an now connect and modify server configuration from ds studio. 
There maybe some incorrect setting in the default instance template.