<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-127</id>
	<title>Nabble - Apache Directory Project</title>
	<updated>2009-11-24T01:22:31Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Apache-Directory-Project-f127.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Apache-Directory-Project-f127.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26492771</id>
	<title>Re: [VOTE] Release of Apache Directory Studio 1.5.1</title>
	<published>2009-11-24T01:22:31Z</published>
	<updated>2009-11-24T01:22:31Z</updated>
	<author>
		<name>Kiran Ayyagari</name>
	</author>
	<content type="html">&amp;gt; [ X ] +1 | Release Apache Directory Studio 1.5.1 (and Shared 0.9.16)
&lt;br&gt;&lt;br&gt;Kiran Ayyagari
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-VOTE--Release-of-Apache-Directory-Studio-1.5.1-tp26492091p26492771.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26492533</id>
	<title>Re: [VOTE] Release of Apache Directory Studio 1.5.1</title>
	<published>2009-11-24T00:59:24Z</published>
	<updated>2009-11-24T00:59:24Z</updated>
	<author>
		<name>Ersin Er-3</name>
	</author>
	<content type="html">[X] +1 | Release Apache Directory Studio 1.5.1 (and Shared 0.9.16)&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Nov 24, 2009 at 10:22, Pierre-Arnaud Marcelot &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492533&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pa@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Hi all,&lt;br&gt;
&lt;br&gt;
We&amp;#39;d like to propose a vote for the release of Apache Directory Studio version 1.5.1.&lt;br&gt;
&lt;br&gt;
Version 1.5 shipped less than a month ago with lots of new features and improvements. Unfortunately, a few bugs (particularly a critical one) have gotten into the release too.&lt;br&gt;
&lt;br&gt;
We&amp;#39;ve addressed 14 Jiras since the release of 1.5 mainly related to:&lt;br&gt;
- a nasty bug where a modify operation could be sent to the server when refreshing the LDAP Browser view&lt;br&gt;
- correctly handling entries with a hash sign (#) in their DN&lt;br&gt;
- glitches and performance improvements in the UI&lt;br&gt;
- typos in the french translation&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Here are the complete release notes from JIRA:&lt;br&gt;
* Bug&lt;br&gt;
  - [DIRSTUDIO-576] - Context menu not shown after a right-click on a non-cached entry&lt;br&gt;
  - [DIRSTUDIO-577] - LDIF editor doesn&amp;#39;t notify Eclipse that the LDIF file has changed when saving&lt;br&gt;
  - [DIRSTUDIO-580] - Setting &amp;quot;Validate certificates for secure LDAP connections&amp;quot; is not saved&lt;br&gt;
  - [DIRSTUDIO-587] - UI flickers on quick search&lt;br&gt;
  - [DIRSTUDIO-589] - InvalidNameException: unexpected token for user ids starting with hash sign&lt;br&gt;
  - [DIRSTUDIO-590] - The &amp;#39;Quick Search&amp;#39; string has not been externalized in the LDAP Browser view&lt;br&gt;
  - [DIRSTUDIO-591] - Error reading objects with # in DN&lt;br&gt;
  - [DIRSTUDIO-592] - LDAP Browser view is refreshed twice after the initialization of the children of an entry&lt;br&gt;
  - [DIRSTUDIO-593] - Missing string and typo in the french translation of the Password Editor&lt;br&gt;
  - [DIRSTUDIO-594] - The &amp;#39;Show new password details&amp;#39; checkbox does not display the &amp;#39;Enter new password&amp;#39; text field as clear text when checked in the Password Editor&lt;br&gt;
  - [DIRSTUDIO-596] - Various typos in the french translation&lt;br&gt;
  - [DIRSTUDIO-597] - Modification sent to the server while browsing through the DIT and refreshing entries&lt;br&gt;
  - [DIRSTUDIO-598] - Base64 encoded DN marked as invalid in LDIF editor&lt;br&gt;
&lt;br&gt;
* Improvement&lt;br&gt;
  - [DIRSTUDIO-595] - The icon of the entry in the &amp;#39;Outline&amp;#39; view should be the same as the one in the &amp;#39;LDAP Browser&amp;#39; view&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Let&amp;#39;s vote now:&lt;br&gt;
[ ] +1 | Release Apache Directory Studio 1.5.1 (and Shared 0.9.16)&lt;br&gt;
[ ] +/-0 | Abstain&lt;br&gt;
[ ] -1 | Do *NOT* release Apache Directory Studio 1.5.1 (and Shared 0.9.16)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
IMPORTANT NOTE: The release of Studio *DOES* implicates the release of Shared version 0.9.16 as it bring fixes for correctly parsing DNs containing a hash sign (#).&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;Pierre-Arnaud Marcelot&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Ersin Er&lt;br&gt;The Apache Directory Project&lt;br&gt;Committer, PMC&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-VOTE--Release-of-Apache-Directory-Studio-1.5.1-tp26492091p26492533.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26492268</id>
	<title>Re: [VOTE] Release of Apache Directory Studio 1.5.1</title>
	<published>2009-11-24T00:38:09Z</published>
	<updated>2009-11-24T00:38:09Z</updated>
	<author>
		<name>Pierre-Arnaud Marcelot-2</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;As usual, distributions will be available for testing.&lt;br&gt;&lt;br&gt;I'm going to generate and upload them here:&lt;br&gt;&lt;a href=&quot;http://people.apache.org/~pamarcelot/ApacheDirectoryStudio_1.5.1-SNAPSHOT/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://people.apache.org/~pamarcelot/ApacheDirectoryStudio_1.5.1-SNAPSHOT/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;P-A&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;div&gt;&lt;div&gt;On 24 nov. 2009, at 09:22, Pierre-Arnaud Marcelot wrote:&lt;/div&gt;&lt;br class=&quot;Apple-interchange-newline&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;Hi all,&lt;br&gt;&lt;br&gt;We'd like to propose a vote for the release of Apache Directory Studio version 1.5.1.&lt;br&gt;&lt;br&gt;Version 1.5 shipped less than a month ago with lots of new features and improvements. Unfortunately, a few bugs (particularly a critical one) have gotten into the release too.&lt;br&gt;&lt;br&gt;We've addressed 14 Jiras since the release of 1.5 mainly related to:&lt;br&gt;- a nasty bug where a modify operation could be sent to the server when refreshing the LDAP Browser view&lt;br&gt;- correctly handling entries with a hash sign (#) in their DN&lt;br&gt;- glitches and performance improvements in the UI&lt;br&gt;- typos in the french translation&lt;br&gt;&lt;br&gt;&lt;br&gt;Here are the complete release notes from JIRA:&lt;br&gt;* Bug&lt;br&gt; &amp;nbsp;- [DIRSTUDIO-576] - Context menu not shown after a right-click on a non-cached entry&lt;br&gt; &amp;nbsp;- [DIRSTUDIO-577] - LDIF editor doesn't notify Eclipse that the LDIF file has changed when saving&lt;br&gt; &amp;nbsp;- [DIRSTUDIO-580] - Setting &quot;Validate certificates for secure LDAP connections&quot; is not saved&lt;br&gt; &amp;nbsp;- [DIRSTUDIO-587] - UI flickers on quick search&lt;br&gt; &amp;nbsp;- [DIRSTUDIO-589] - InvalidNameException: unexpected token for user ids starting with hash sign&lt;br&gt; &amp;nbsp;- [DIRSTUDIO-590] - The 'Quick Search' string has not been externalized in the LDAP Browser view&lt;br&gt; &amp;nbsp;- [DIRSTUDIO-591] - Error reading objects with # in DN&lt;br&gt; &amp;nbsp;- [DIRSTUDIO-592] - LDAP Browser view is refreshed twice after the initialization of the children of an entry&lt;br&gt; &amp;nbsp;- [DIRSTUDIO-593] - Missing string and typo in the french translation of the Password Editor&lt;br&gt; &amp;nbsp;- [DIRSTUDIO-594] - The 'Show new password details' checkbox does not display the 'Enter new password' text field as clear text when checked in the Password Editor&lt;br&gt; &amp;nbsp;- [DIRSTUDIO-596] - Various typos in the french translation&lt;br&gt; &amp;nbsp;- [DIRSTUDIO-597] - Modification sent to the server while browsing through the DIT and refreshing entries&lt;br&gt; &amp;nbsp;- [DIRSTUDIO-598] - Base64 encoded DN marked as invalid in LDIF editor&lt;br&gt;&lt;br&gt;* Improvement&lt;br&gt; &amp;nbsp;- [DIRSTUDIO-595] - The icon of the entry in the 'Outline' view should be the same as the one in the 'LDAP Browser' view&lt;br&gt;&lt;br&gt;&lt;br&gt;Let's vote now:&lt;br&gt;[ ] +1 | Release Apache Directory Studio 1.5.1 (and Shared 0.9.16)&lt;br&gt;[ ] +/-0 | Abstain&lt;br&gt;[ ] -1 | Do *NOT* release Apache Directory Studio 1.5.1 (and Shared 0.9.16)&lt;br&gt;&lt;br&gt;&lt;br&gt;IMPORTANT NOTE: The release of Studio *DOES* implicates the release of Shared version 0.9.16 as it bring fixes for correctly parsing DNs containing a hash sign (#).&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Pierre-Arnaud Marcelot&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-VOTE--Release-of-Apache-Directory-Studio-1.5.1-tp26492091p26492268.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26492137</id>
	<title>Re: [VOTE] Release of Apache Directory Studio 1.5.1</title>
	<published>2009-11-24T00:26:43Z</published>
	<updated>2009-11-24T00:26:43Z</updated>
	<author>
		<name>Emmanuel Lecharny</name>
	</author>
	<content type="html">Pierre-Arnaud Marcelot wrote:
&lt;br&gt;&amp;gt; [X] +1 | Release Apache Directory Studio 1.5.1 (and Shared 0.9.16)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;Go for it !
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;--
&lt;br&gt;cordialement, regards,
&lt;br&gt;Emmanuel Lécharny
&lt;br&gt;www.iktek.com
&lt;br&gt;directory.apache.org
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-VOTE--Release-of-Apache-Directory-Studio-1.5.1-tp26492091p26492137.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26492091</id>
	<title>[VOTE] Release of Apache Directory Studio 1.5.1</title>
	<published>2009-11-24T00:22:16Z</published>
	<updated>2009-11-24T00:22:16Z</updated>
	<author>
		<name>Pierre-Arnaud Marcelot-2</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;We'd like to propose a vote for the release of Apache Directory Studio version 1.5.1.
&lt;br&gt;&lt;br&gt;Version 1.5 shipped less than a month ago with lots of new features and improvements. Unfortunately, a few bugs (particularly a critical one) have gotten into the release too.
&lt;br&gt;&lt;br&gt;We've addressed 14 Jiras since the release of 1.5 mainly related to:
&lt;br&gt;- a nasty bug where a modify operation could be sent to the server when refreshing the LDAP Browser view
&lt;br&gt;- correctly handling entries with a hash sign (#) in their DN
&lt;br&gt;- glitches and performance improvements in the UI
&lt;br&gt;- typos in the french translation
&lt;br&gt;&lt;br&gt;&amp;nbsp; 
&lt;br&gt;Here are the complete release notes from JIRA:
&lt;br&gt;* Bug
&lt;br&gt;&amp;nbsp; - [DIRSTUDIO-576] - Context menu not shown after a right-click on a non-cached entry
&lt;br&gt;&amp;nbsp; - [DIRSTUDIO-577] - LDIF editor doesn't notify Eclipse that the LDIF file has changed when saving
&lt;br&gt;&amp;nbsp; - [DIRSTUDIO-580] - Setting &amp;quot;Validate certificates for secure LDAP connections&amp;quot; is not saved
&lt;br&gt;&amp;nbsp; - [DIRSTUDIO-587] - UI flickers on quick search
&lt;br&gt;&amp;nbsp; - [DIRSTUDIO-589] - InvalidNameException: unexpected token for user ids starting with hash sign
&lt;br&gt;&amp;nbsp; - [DIRSTUDIO-590] - The 'Quick Search' string has not been externalized in the LDAP Browser view
&lt;br&gt;&amp;nbsp; - [DIRSTUDIO-591] - Error reading objects with # in DN
&lt;br&gt;&amp;nbsp; - [DIRSTUDIO-592] - LDAP Browser view is refreshed twice after the initialization of the children of an entry
&lt;br&gt;&amp;nbsp; - [DIRSTUDIO-593] - Missing string and typo in the french translation of the Password Editor
&lt;br&gt;&amp;nbsp; - [DIRSTUDIO-594] - The 'Show new password details' checkbox does not display the 'Enter new password' text field as clear text when checked in the Password Editor
&lt;br&gt;&amp;nbsp; - [DIRSTUDIO-596] - Various typos in the french translation
&lt;br&gt;&amp;nbsp; - [DIRSTUDIO-597] - Modification sent to the server while browsing through the DIT and refreshing entries
&lt;br&gt;&amp;nbsp; - [DIRSTUDIO-598] - Base64 encoded DN marked as invalid in LDIF editor
&lt;br&gt;&lt;br&gt;* Improvement
&lt;br&gt;&amp;nbsp; - [DIRSTUDIO-595] - The icon of the entry in the 'Outline' view should be the same as the one in the 'LDAP Browser' view
&lt;br&gt;&lt;br&gt;&amp;nbsp; 
&lt;br&gt;Let's vote now:
&lt;br&gt;[ ] +1 | Release Apache Directory Studio 1.5.1 (and Shared 0.9.16)
&lt;br&gt;[ ] +/-0 | Abstain
&lt;br&gt;[ ] -1 | Do *NOT* release Apache Directory Studio 1.5.1 (and Shared 0.9.16)
&lt;br&gt;&lt;br&gt;&lt;br&gt;IMPORTANT NOTE: The release of Studio *DOES* implicates the release of Shared version 0.9.16 as it bring fixes for correctly parsing DNs containing a hash sign (#).
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Thanks,
&lt;br&gt;Pierre-Arnaud Marcelot</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-VOTE--Release-of-Apache-Directory-Studio-1.5.1-tp26492091p26492091.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26491726</id>
	<title>Re: [Studio] Development for 1.5.1</title>
	<published>2009-11-23T23:50:39Z</published>
	<updated>2009-11-23T23:50:39Z</updated>
	<author>
		<name>Pierre-Arnaud Marcelot-2</name>
	</author>
	<content type="html">Hi Stefan,
&lt;br&gt;&lt;br&gt;That's a very great news... :)
&lt;br&gt;&lt;br&gt;Let's launch the vote!
&lt;br&gt;Shall I do it ?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Pierre-Arnaud
&lt;br&gt;&lt;br&gt;On 24 nov. 2009, at 00:05, Stefan Seelmann wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Pierre-Arnaud Marcelot wrote:
&lt;br&gt;&amp;gt;&amp;gt; 6 issues have been fixed since my last mail and I know Stefan is in its way to resolve the two last ones (tests just need to be added for non-regression).
&lt;br&gt;&amp;gt;&amp;gt; Should we consider launching a vote for releasing 1.5.1 quickly?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If I count correctly we now have 14 fixed issues (+2 issues in shared). There was a very serious one [1]: A modify operation was sent to the server when doing wild refreshs in the browser.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So I suggest to launch a vote for 1.5.1, this time including a shared release.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Kind Regards,
&lt;br&gt;&amp;gt; Stefan
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; [1]&lt;a href=&quot;https://issues.apache.org/jira/browse/DIRSTUDIO-597&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DIRSTUDIO-597&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Studio--Development-for-1.5.1-tp26368432p26491726.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26488334</id>
	<title>Re: [Schema Refactoring] Serious side effect...</title>
	<published>2009-11-23T15:57:10Z</published>
	<updated>2009-11-23T15:57:10Z</updated>
	<author>
		<name>Emmanuel Lecharny</name>
	</author>
	<content type="html">Howard Chu wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Emmanuel Lecharny wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;snip/&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Any other operation (delete, modify, rename, disabling a schema) are 
&lt;br&gt;&amp;gt;&amp;gt; most certainly leading to dire errors, something an administrator 
&lt;br&gt;&amp;gt;&amp;gt; will not want to experiment in production. IMO, they should be 
&lt;br&gt;&amp;gt;&amp;gt; forbidden on a working base. Such operation is like manipulating a 
&lt;br&gt;&amp;gt;&amp;gt; loaded weapon with no safety...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is pretty much the same conclusion we reached, which is why in 
&lt;br&gt;&amp;gt; OpenLDAP 2.3 we only supported dynamic adding of schema. In 2.4 we 
&lt;br&gt;&amp;gt; support delete/modify but it's a hack - the deleted elements are kept 
&lt;br&gt;&amp;gt; around. If you do a Modify to alter an existing value (e.g. 
&lt;br&gt;&amp;gt; Modify/delete foo=1/add foo=2) we make sure the subsequent add applies 
&lt;br&gt;&amp;gt; to the corresponding deleted element. Since we don't refcount 
&lt;br&gt;&amp;gt; AttributeDescriptions, these things are kept around for the life of 
&lt;br&gt;&amp;gt; the server process, and only get purged on a restart.
&lt;/div&gt;Funny enough, this was what I got in ADS, until the point I decided that 
&lt;br&gt;I should clean the old schema, to avoid memory leaks. Too bad !!! All 
&lt;br&gt;the objects pointing to the deleted schema were doomed ! That led to 
&lt;br&gt;this thread...
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; For the reason I mentionned, I don't think that any alternative is ok.
&lt;br&gt;&amp;gt;&amp;gt; We probably don't have a perfect solution because there are none. As we
&lt;br&gt;&amp;gt;&amp;gt; say : &amp;quot;any problem vanishes when there is no solution&amp;quot;...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; More seriously, I don't think we need a dynamic schemaManager for a LDAP
&lt;br&gt;&amp;gt;&amp;gt; server in production : admins don't change such a critical thing in
&lt;br&gt;&amp;gt;&amp;gt; production, except those who are insane or desesperate. We must accept
&lt;br&gt;&amp;gt;&amp;gt; the idea that we might have a downtime, we just have to minimize it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That was my generally my perspective as well. IMO, admins should be 
&lt;br&gt;&amp;gt; able to dynamically Add tested schema to a production server. If 
&lt;br&gt;&amp;gt; they're experimenting and need to alter the schema on-the-fly, they 
&lt;br&gt;&amp;gt; should be testing in a dedicated test environment. This was the 
&lt;br&gt;&amp;gt; rationale behind the 2.3 implementation.
&lt;/div&gt;Make totally sense to me. But ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But it seems that admins like to whine a lot about things they think 
&lt;br&gt;&amp;gt; they need, even if they're more likely to shoot themselves in the 
&lt;br&gt;&amp;gt; foot. So we added dynamic delete/modify support in 2.4.
&lt;br&gt;There is also a special use case we are aware of : people using an 
&lt;br&gt;embedded server want to keep it running, forever. This is a reason why 
&lt;br&gt;they might want dynamic schema modifications.
&lt;br&gt;&lt;br&gt;Anyway, the desire to change a schema in production, embedded or not, is 
&lt;br&gt;probably sick. The larger the base, the sicker this request is : it's a 
&lt;br&gt;bit like trying to fix your engine while driving on the highway at 60 
&lt;br&gt;mph...
&lt;br&gt;&lt;br&gt;The few users I know who have huge database (from 100 000 entries to 70 
&lt;br&gt;00 000 entries) don't change the schema *at all*. The service don't go 
&lt;br&gt;in production if the schema is wrong, anyway. It's like changing a 
&lt;br&gt;database schema in production...
&lt;br&gt;&lt;br&gt;Let's be realistic : it can happen, but people have to pay the price for 
&lt;br&gt;their under tested system. Considering that a LDAP server is mainly used 
&lt;br&gt;for searches, the downtime to export the data, massage them accordingly 
&lt;br&gt;to the new schema, inject them in another server, index everyting, 
&lt;br&gt;launch the new server, stop the old one, inject the data updated between 
&lt;br&gt;the moment the extract has been done and the moment the old server has 
&lt;br&gt;been stopped, is probably very limited.
&lt;br&gt;My own experience (with an OpenLDAP server - 2.4.16, and 5 millions 
&lt;br&gt;entries) demonstrate that the downtime is around 5 minutes if we stop 
&lt;br&gt;all the server before exporting the data and reimport them. Probably 
&lt;br&gt;acceptable, if you are not managing the Kennedy Airport with this system 
&lt;br&gt;! Even if it's a one hour downtime, twice a year, this is a 99.98% uptime.
&lt;br&gt;&lt;br&gt;FYI, Amazon EC2 SLA is 99.95% uptime, a 4.38 hours/year downtime. Here, 
&lt;br&gt;what is important is not the downtime, but the failover solution, and 
&lt;br&gt;more important, the fact that you *select* the downtime period. Sundays 
&lt;br&gt;are not only a day off : they are a perfect day for maintenance operations !
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Either way, 2.3 or 2.4, it's possible to end up with entries in the DB 
&lt;br&gt;&amp;gt; using schema that no longer exist - we don't search them out and 
&lt;br&gt;&amp;gt; remove them when deleting schema elements. (Indeed, you really 
&lt;br&gt;&amp;gt; shouldn't; someone may be adding a new version of the deleted schema 
&lt;br&gt;&amp;gt; in the next operation. You have no way to know when a delete is really 
&lt;br&gt;&amp;gt; final, and spontaneously deleting user data is always a mistake...)
&lt;br&gt;Make sense. Again, Admin must *know* what they are doing. Aren't they ? 
&lt;br&gt;... Hopefully, we provide expensive consulting to those guys ;)
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;--
&lt;br&gt;cordialement, regards,
&lt;br&gt;Emmanuel Lécharny
&lt;br&gt;www.iktek.com
&lt;br&gt;directory.apache.org
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Schema-Refactoring--Serious-side-effect...-tp26474248p26488334.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26488069</id>
	<title>Re: [Schema Refactoring] Serious side effect...</title>
	<published>2009-11-23T15:31:43Z</published>
	<updated>2009-11-23T15:31:43Z</updated>
	<author>
		<name>Howard Chu-2</name>
	</author>
	<content type="html">Emmanuel Lecharny wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; We discussed this point with Alex extensively lately. This Observer/Listener pattern sounds good, but IMO, it does not solve the problem.
&lt;br&gt;&amp;gt; 1) We have to deal with all the serverEntries being currently processed, and maybe being modified. A ServerEntry is not an atomic object, and we don't want to deal with the extra complexity of a event occuring while we are in the middle of a modification of this ServerEntry
&lt;br&gt;&amp;gt; 2) Many ServerEntries might be stuck in memory, waiting for a thread to be free. This is the case for every partial ServerEntry waiting for some more bytes from the client.
&lt;br&gt;&amp;gt; 3) We have many places where we store cached ServerEntries. The question is how do we update them ?
&lt;br&gt;&amp;gt; 4) What do we do with the Original entry, which is stored into each OpContext, as we may need it later ? Do we update it too ? IMO, that would defeat the purpose of this object
&lt;br&gt;&amp;gt; 5) ServerEntries are serialized in the Backend, and if we modify the schema, it will most certainly impact them. If they are not migrated, they might not be usable anymore after the schema modification. Also if we have millions of entries, changing them online is probably not realistic. Anyway, the admin has to deal with this problem in any case
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I don't see how possibly we can deal with a schema modification live, except for a few modifications :
&lt;br&gt;&amp;gt; - AT, OC, S, MR, C, N and SC, and only for Add or Move operations
&lt;br&gt;&amp;gt; - schema enabling
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any other operation (delete, modify, rename, disabling a schema) are most certainly leading to dire errors, something an administrator will not want to experiment in production. IMO, they should be forbidden on a working base. Such operation is like manipulating a loaded weapon with no safety...
&lt;/div&gt;&lt;br&gt;This is pretty much the same conclusion we reached, which is why in OpenLDAP 
&lt;br&gt;2.3 we only supported dynamic adding of schema. In 2.4 we support 
&lt;br&gt;delete/modify but it's a hack - the deleted elements are kept around. If you 
&lt;br&gt;do a Modify to alter an existing value (e.g. Modify/delete foo=1/add foo=2) we 
&lt;br&gt;make sure the subsequent add applies to the corresponding deleted element. 
&lt;br&gt;Since we don't refcount AttributeDescriptions, these things are kept around 
&lt;br&gt;for the life of the server process, and only get purged on a restart.
&lt;br&gt;&lt;br&gt;&amp;gt; For the reason I mentionned, I don't think that any alternative is ok.
&lt;br&gt;&amp;gt; We probably don't have a perfect solution because there are none. As we
&lt;br&gt;&amp;gt; say : &amp;quot;any problem vanishes when there is no solution&amp;quot;...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; More seriously, I don't think we need a dynamic schemaManager for a LDAP
&lt;br&gt;&amp;gt; server in production : admins don't change such a critical thing in
&lt;br&gt;&amp;gt; production, except those who are insane or desesperate. We must accept
&lt;br&gt;&amp;gt; the idea that we might have a downtime, we just have to minimize it.
&lt;br&gt;&lt;br&gt;That was my generally my perspective as well. IMO, admins should be able to 
&lt;br&gt;dynamically Add tested schema to a production server. If they're experimenting 
&lt;br&gt;and need to alter the schema on-the-fly, they should be testing in a dedicated 
&lt;br&gt;test environment. This was the rationale behind the 2.3 implementation.
&lt;br&gt;&lt;br&gt;But it seems that admins like to whine a lot about things they think they 
&lt;br&gt;need, even if they're more likely to shoot themselves in the foot. So we added 
&lt;br&gt;dynamic delete/modify support in 2.4.
&lt;br&gt;&lt;br&gt;Either way, 2.3 or 2.4, it's possible to end up with entries in the DB using 
&lt;br&gt;schema that no longer exist - we don't search them out and remove them when 
&lt;br&gt;deleting schema elements. (Indeed, you really shouldn't; someone may be adding 
&lt;br&gt;a new version of the deleted schema in the next operation. You have no way to 
&lt;br&gt;know when a delete is really final, and spontaneously deleting user data is 
&lt;br&gt;always a mistake...)
&lt;br&gt;&lt;br&gt;&amp;gt; Unless someone has a genious idea !
&lt;br&gt;&amp;gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp;-- Howard Chu
&lt;br&gt;&amp;nbsp; &amp;nbsp;CTO, Symas Corp. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.symas.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.symas.com&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Director, Highland Sun &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://highlandsun.com/hyc/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://highlandsun.com/hyc/&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Chief Architect, OpenLDAP &amp;nbsp;&lt;a href=&quot;http://www.openldap.org/project/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openldap.org/project/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Schema-Refactoring--Serious-side-effect...-tp26474248p26488069.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26488050</id>
	<title>Re: [ApacheDS] [Schema] Update mechanism</title>
	<published>2009-11-23T15:30:22Z</published>
	<updated>2009-11-23T15:30:22Z</updated>
	<author>
		<name>Emmanuel Lecharny</name>
	</author>
	<content type="html">Alex Karasulu wrote:
&lt;br&gt;&amp;gt; Thinking more about how to update the schema and the mechanics involved
&lt;br&gt;&amp;gt; along with the various trade offs. &amp;nbsp;Here's how this should progress:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Schema Change Steps
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (1) A schema change operation arrives and changes are performed on a cloned
&lt;br&gt;&amp;gt; set of registries where the impact of the change is calculated in terms of
&lt;br&gt;&amp;gt; the total number of indirect dependents affected.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;As of today, the clone is mainly used to check that the registries 
&lt;br&gt;remain consistent after the changes. Calculating all the impacted 
&lt;br&gt;elements is a bit complex...
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; (2a) If the operation is consistent then a schema-txn-begin message is sent
&lt;br&gt;&amp;gt; to all listeners informing them of the OIDs impacted by the schema change
&lt;br&gt;&amp;gt; calculated in the first step. &amp;nbsp;This lets objects dependent on these schema
&lt;br&gt;&amp;gt; entities to respond to the situation. This message is delivered
&lt;br&gt;&amp;gt; synchronously. &amp;nbsp;Access to the old Registries is provided before the swap in
&lt;br&gt;&amp;gt; case the object needs them via the SchemaManager handle if they are exposed.
&lt;br&gt;&amp;gt; (2b) If the operation leaves the schema in an inconsistent state then no
&lt;br&gt;&amp;gt; message is sent to schema listeners and the schema change is rejected.
&lt;br&gt;&amp;gt; (3) The schema registries are swapped out.
&lt;br&gt;&amp;gt; (4) The SchemaManager then sends a schema-txn-commit message to all
&lt;br&gt;&amp;gt; listeners to now be able to access the modified schema elements they're
&lt;br&gt;&amp;gt; interested in from the newly swapped in registries. &amp;nbsp;This message is
&lt;br&gt;&amp;gt; delivered synchronously.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Schema Change Responses
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (1) Invalidate the object in question so all using/run processes and caches
&lt;br&gt;&amp;gt; can reset or update themselves via the acquisition of a new valid object to
&lt;br&gt;&amp;gt; continue the process.
&lt;br&gt;&amp;gt; (2) Make the object depending on schema objects valid by updating stale
&lt;br&gt;&amp;gt; references and hope for the best. &amp;nbsp;Sometimes timing will cause certain
&lt;br&gt;&amp;gt; failures but this is really OK with us since this is a rare situation to
&lt;br&gt;&amp;gt; update the schema.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;If the object has already been checked by the SchemaInterceptor, and if 
&lt;br&gt;the schema modification makes this object to be inconsistent, we won't 
&lt;br&gt;be able to fix that, as the chek has already be applied.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; SchemaListener Interface Methods
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;schemaChangeBegin( SchemaManager sm, List&amp;lt;String&amp;gt; oids );
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;schemaChangeCommit( SchemaManager sm, List&amp;lt;String&amp;gt; oids );
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Pulled these out of my arse so please elaborate.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;My guts say that it's far too complex to implement right now. My kidneys 
&lt;br&gt;feel that it might even don't work correctly : too many corner cases...
&lt;br&gt;&lt;br&gt;IMHO, we shoudl try to get the server back on rail, even without all 
&lt;br&gt;those dynamic schema modifications, except for the additions operation 
&lt;br&gt;and for the schema enabling operation.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;--
&lt;br&gt;cordialement, regards,
&lt;br&gt;Emmanuel Lécharny
&lt;br&gt;www.iktek.com
&lt;br&gt;directory.apache.org
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ApacheDS---Schema--Update-mechanism-tp26486075p26488050.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26487927</id>
	<title>Re: [Schema Refactoring] Serious side effect...</title>
	<published>2009-11-23T15:19:44Z</published>
	<updated>2009-11-23T15:19:44Z</updated>
	<author>
		<name>Emmanuel Lecharny</name>
	</author>
	<content type="html">More inline...
&lt;br&gt;&lt;br&gt;Alex Karasulu wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Emmanuel,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Nov 23, 2009 at 3:31 AM, Emmanuel Lecharny &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26487927&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;elecharny@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; when we modify the schema, for instance by adding a new AT, in order not to
&lt;br&gt;&amp;gt;&amp;gt; break the current schema, we apply the modification to a cloned Registries.
&lt;br&gt;&amp;gt;&amp;gt; So far, so good. And if the new registries is ok with the newly added
&lt;br&gt;&amp;gt;&amp;gt; SchemaObject, we swap the registries.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Now, this create a dull issue : all the ServerEntry instances still point
&lt;br&gt;&amp;gt;&amp;gt; to the previous registries, and as we clean the previous registries to avoid
&lt;br&gt;&amp;gt;&amp;gt; memory leaks, all those instances now point to non existing SchemaObjects
&lt;br&gt;&amp;gt;&amp;gt; (more specifically, each instance has attributes which contain a reference
&lt;br&gt;&amp;gt;&amp;gt; to the AttributeType schemaObject they are associated with) !
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; We cannot hold references to AttributeType or other schema objects anymore.
&lt;br&gt;&amp;gt; Instead we need to perform a lookup everytime to get these schema objects
&lt;br&gt;&amp;gt; from the registries via the schema manager. &amp;nbsp;This way when the swap occurs
&lt;br&gt;&amp;gt; the new objects are extracted every time. &amp;nbsp;No member references should be
&lt;br&gt;&amp;gt; made to schema objects any longer.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Question : how can we avoid this problem ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; See above.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;We discussed about this point this afternoon with Pierre Arnaud, but I 
&lt;br&gt;didn't decide anything before having updated the wiki with a page 
&lt;br&gt;describing the current data structure and all the interactions between 
&lt;br&gt;objects. The page is 
&lt;br&gt;&lt;a href=&quot;http://directory.apache.org/apacheds/1.5/apache-ds-schemamanager.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://directory.apache.org/apacheds/1.5/apache-ds-schemamanager.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;The big problem with this approach (which was what was implemented 
&lt;br&gt;before) is that each lookup is costly, and we do a lot of them while 
&lt;br&gt;processing a request.
&lt;br&gt;&lt;br&gt;Having the AT stored into the AttributeEntry solve this problem, as we 
&lt;br&gt;have a direct access to the data : we just do a single lookup at the 
&lt;br&gt;beginning.
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; My idea is to apply the modification to the initial registries once it has
&lt;br&gt;&amp;gt;&amp;gt; been proven that the registries alteration leave the Regsitries consistent.
&lt;br&gt;&amp;gt;&amp;gt; We will just clean the cloned registries, and don't swap anymore.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think this is not a good idea. &amp;nbsp;The swap is a clean approach that does the
&lt;br&gt;&amp;gt; job just fine. &amp;nbsp;Otherwise if there are sticking points in the registries we
&lt;br&gt;&amp;gt; will have problems. &amp;nbsp;This is too much to do to solve this issue. &amp;nbsp;Instead we
&lt;br&gt;&amp;gt; need dynamic look ups of all the schema objects or we need a update pattern
&lt;br&gt;&amp;gt; to inform of schema changes to swap out these objects.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am thinking of the Observer or Listener notification patterns here.
&lt;br&gt;&amp;gt; Otherwise we will have to use dynamic lookups every time which can cost us a
&lt;br&gt;&amp;gt; lot.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;We discussed this point with Alex extensively lately. This Observer/Listener pattern sounds good, but IMO, it does not solve the problem. 
&lt;br&gt;1) We have to deal with all the serverEntries being currently processed, and maybe being modified. A ServerEntry is not an atomic object, and we don't want to deal with the extra complexity of a event occuring while we are in the middle of a modification of this ServerEntry
&lt;br&gt;2) Many ServerEntries might be stuck in memory, waiting for a thread to be free. This is the case for every partial ServerEntry waiting for some more bytes from the client. 
&lt;br&gt;3) We have many places where we store cached ServerEntries. The question is how do we update them ?
&lt;br&gt;4) What do we do with the Original entry, which is stored into each OpContext, as we may need it later ? Do we update it too ? IMO, that would defeat the purpose of this object
&lt;br&gt;5) ServerEntries are serialized in the Backend, and if we modify the schema, it will most certainly impact them. If they are not migrated, they might not be usable anymore after the schema modification. Also if we have millions of entries, changing them online is probably not realistic. Anyway, the admin has to deal with this problem in any case
&lt;br&gt;&lt;br&gt;I don't see how possibly we can deal with a schema modification live, except for a few modifications :
&lt;br&gt;- AT, OC, S, MR, C, N and SC, and only for Add or Move operations
&lt;br&gt;- schema enabling
&lt;br&gt;&lt;br&gt;Any other operation (delete, modify, rename, disabling a schema) are most certainly leading to dire errors, something an administrator will not want to experiment in production. IMO, they should be forbidden on a working base. Such operation is like manipulating a loaded weapon with no safety...
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Does it sound good to you, or do you have any better idea ?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; No I think we either go with expensive dynamic lookups all over the place or
&lt;br&gt;&amp;gt; we utilize a update notification mechanism via the Observer or Listener
&lt;br&gt;&amp;gt; patterns.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Does this sound like a viable alternative?
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;For the reason I mentionned, I don't think that any alternative is ok. 
&lt;br&gt;We probably don't have a perfect solution because there are none. As we 
&lt;br&gt;say : &amp;quot;any problem vanishes when there is no solution&amp;quot;...
&lt;br&gt;&lt;br&gt;More seriously, I don't think we need a dynamic schemaManager for a LDAP 
&lt;br&gt;server in production : admins don't change such a critical thing in 
&lt;br&gt;production, except those who are insane or desesperate. We must accept 
&lt;br&gt;the idea that we might have a downtime, we just have to minimize it.
&lt;br&gt;&lt;br&gt;Unless someone has a genious idea !
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;--
&lt;br&gt;cordialement, regards,
&lt;br&gt;Emmanuel Lécharny
&lt;br&gt;www.iktek.com
&lt;br&gt;directory.apache.org
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Schema-Refactoring--Serious-side-effect...-tp26474248p26487927.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26487751</id>
	<title>Re: [Studio] Development for 1.5.1</title>
	<published>2009-11-23T15:05:07Z</published>
	<updated>2009-11-23T15:05:07Z</updated>
	<author>
		<name>Stefan Seelmann-3</name>
	</author>
	<content type="html">Pierre-Arnaud Marcelot wrote:
&lt;br&gt;&amp;gt; 6 issues have been fixed since my last mail and I know Stefan is in its way to resolve the two last ones (tests just need to be added for non-regression).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Should we consider launching a vote for releasing 1.5.1 quickly?
&lt;br&gt;&lt;br&gt;If I count correctly we now have 14 fixed issues (+2 issues in shared). 
&lt;br&gt;There was a very serious one [1]: A modify operation was sent to the 
&lt;br&gt;server when doing wild refreshs in the browser.
&lt;br&gt;&lt;br&gt;So I suggest to launch a vote for 1.5.1, this time including a shared 
&lt;br&gt;release.
&lt;br&gt;&lt;br&gt;Kind Regards,
&lt;br&gt;Stefan
&lt;br&gt;&lt;br&gt;[1]&lt;a href=&quot;https://issues.apache.org/jira/browse/DIRSTUDIO-597&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DIRSTUDIO-597&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Studio--Development-for-1.5.1-tp26368432p26487751.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26487640</id>
	<title>[jira] Closed: (DIRSTUDIO-597) Modification sent to the server while browsing through the DIT and refreshing entries</title>
	<published>2009-11-23T14:56:39Z</published>
	<updated>2009-11-23T14:56:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/DIRSTUDIO-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DIRSTUDIO-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Stefan Seelmann closed DIRSTUDIO-597.
&lt;br&gt;-------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Stefan Seelmann
&lt;br&gt;&lt;br&gt;Fixed:
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://svn.apache.org/viewvc?rev=882581&amp;view=rev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/viewvc?rev=882581&amp;view=rev&lt;/a&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://svn.apache.org/viewvc?rev=882586&amp;view=rev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/viewvc?rev=882586&amp;view=rev&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Modification sent to the server while browsing through the DIT and refreshing entries
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: DIRSTUDIO-597
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/DIRSTUDIO-597&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DIRSTUDIO-597&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Directory Studio
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: studio-ldapbrowser
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.5.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Stefan Seelmann
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Stefan Seelmann
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Blocker
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 1.5.1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I walk throught the DIT using mouse and/or arrow keys and refresh entries from time to time. Suddenly an error dialog pops up, an modification request was sent to the server!
&lt;br&gt;&amp;gt; #!RESULT ERROR
&lt;br&gt;&amp;gt; #!CONNECTION ldap://localhost:10389
&lt;br&gt;&amp;gt; #!DATE 2009-11-19T21:09:51.497
&lt;br&gt;&amp;gt; #!ERROR [LDAP: error code 65 - OBJECT_CLASS_VIOLATION: failed for &amp;nbsp; &amp;nbsp; Modify Request &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Object : '0.9.2342.19200300.100.1.25=example,0.9.2342.19200300.100.1.25=com' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Modification[0] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Operation : &amp;nbsp;delete &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Modification &amp;nbsp; &amp;nbsp; objectClass: (null) : null]
&lt;br&gt;&amp;gt; dn: dc=example,dc=com
&lt;br&gt;&amp;gt; changetype: modify
&lt;br&gt;&amp;gt; delete: objectClass
&lt;br&gt;&amp;gt; -
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28DIRSTUDIO-597%29-Modification-sent-to-the-server-while-browsing-through-the-DIT-and-refreshing-entries-tp26433335p26487640.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26487131</id>
	<title>[jira] Created: (DIRSHARED-40) DN parser, LdapDN, Rdn, Atav issues</title>
	<published>2009-11-23T14:23:39Z</published>
	<updated>2009-11-23T14:23:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">DN parser, LdapDN, Rdn, Atav issues
&lt;br&gt;-----------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: DIRSHARED-40
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/DIRSHARED-40&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DIRSHARED-40&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Directory Shared
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 0.9.15
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Stefan Seelmann
&lt;br&gt;&lt;br&gt;&lt;br&gt;In the last days I tried to fix DIRSHARED-39 and investigated some issues in the DN/Rdn/ATAV implementation. I just want to write them down, I think it makes sense to fix them after the schema branch is finished.
&lt;br&gt;&lt;br&gt;Class AttributeTypeAndValue:
&lt;br&gt;- the first three constructors are not used by productive code, only by unit tests
&lt;br&gt;- setType, setTypeNormalized, setValueNormalized are never used
&lt;br&gt;- getNormalizedValue returns a name (&amp;lt;type&amp;gt;=&amp;lt;value&amp;gt;) instead of a value
&lt;br&gt;- the meaning of upValue and normValue is not clear to me and is not consistent, see below
&lt;br&gt;- upValue and normValue are of type Value&amp;lt;?&amp;gt;, however they contain escaped string values. IMO they should contain the real unescaped values because the escapes are only necessary for the DN string representation. For this case we have another field upName that contains &amp;lt;type&amp;gt;=&amp;lt;escaped value&amp;gt;
&lt;br&gt;&lt;br&gt;Class Rdn:
&lt;br&gt;- three methods getValue, getUpValue, getNormValue; what does getValue() mean?
&lt;br&gt;- getNormValue() for MV-RDN returns the calls ATAV.getNormalizedValue() which returns a name
&lt;br&gt;- the meaning of upValue and normValue is not clear to me and not consistent, see below
&lt;br&gt;- getUpValue and getNormValue always return strings, what if RDN value is binary?
&lt;br&gt;&lt;br&gt;Class RdnParser:
&lt;br&gt;- this is still a hand-written parser. The hand-written code should be removed and the FastDnParser and ComplexDnParser should be used (like LdapDnParser)
&lt;br&gt;&lt;br&gt;General:
&lt;br&gt;- getNormValue and getUpValue should return the Value&amp;lt;?&amp;gt; object instead of a String or byte[]
&lt;br&gt;- getUpValue returns the escaped value, thus in the server and studio code we need to call Rdn.unescapeValue() to get the unescaped value
&lt;br&gt;- the normalizing is quite complex, I was not able to understand how it works.
&lt;br&gt;&lt;br&gt;Example: for the DN &amp;quot;ou=A\ &amp;quot; (trailing escaped whitespace) we have the following issues:
&lt;br&gt;After calling 
&lt;br&gt;&amp;nbsp; LdapDN dn = new LdapDN(&amp;quot;ou=A\\ &amp;quot;);
&lt;br&gt;we have the following result:
&lt;br&gt;&amp;nbsp; upValue is escaped: &amp;quot;A\ &amp;quot;
&lt;br&gt;&amp;nbsp; nornValue is unescaped: &amp;quot;A &amp;quot;
&lt;br&gt;&amp;nbsp; upName and normName are escaped: &amp;quot;ou=A\ &amp;quot;
&lt;br&gt;&lt;br&gt;After calling
&lt;br&gt;&amp;nbsp; dn.normalize( oidOids );
&lt;br&gt;we have the following result:
&lt;br&gt;&amp;nbsp; upValue is still escaped: &amp;quot;A\ &amp;quot;
&lt;br&gt;&amp;nbsp; normValue is &amp;quot;a&amp;quot; -&amp;gt; the space is gone!!!
&lt;br&gt;&amp;nbsp; upName is &amp;quot;ou=A\ &amp;quot;
&lt;br&gt;&amp;nbsp; normName is &amp;quot;2.5.4.11=a&amp;quot; -&amp;gt; the space is gone!!!
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28DIRSHARED-40%29-DN-parser%2C-LdapDN%2C-Rdn%2C-Atav-issues-tp26487131p26487131.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26486075</id>
	<title>[ApacheDS] [Schema] Update mechanism</title>
	<published>2009-11-23T13:20:42Z</published>
	<updated>2009-11-23T13:20:42Z</updated>
	<author>
		<name>Alex Karasulu</name>
	</author>
	<content type="html">Thinking more about how to update the schema and the mechanics involved along with the various trade offs.  Here&amp;#39;s how this should progress:&lt;br&gt;&lt;br&gt;Schema Change Steps&lt;br&gt;&lt;br&gt;(1) A schema change operation arrives and changes are performed on a cloned set of registries where the impact of the change is calculated in terms of the total number of indirect dependents affected.&lt;br&gt;
(2a) If the operation is consistent then a schema-txn-begin message is sent to all listeners informing them of the OIDs impacted by the schema change calculated in the first step.  This lets objects dependent on these schema entities to respond to the situation. This message is delivered synchronously.  Access to the old Registries is provided before the swap in case the object needs them via the SchemaManager handle if they are exposed.&lt;br&gt;
(2b) If the operation leaves the schema in an inconsistent state then no message is sent to schema listeners and the schema change is rejected.&lt;br&gt;(3) The schema registries are swapped out.&lt;br&gt;(4) The SchemaManager then sends a schema-txn-commit message to all listeners to now be able to access the modified schema elements they&amp;#39;re interested in from the newly swapped in registries.  This message is delivered synchronously.&lt;br&gt;
&lt;br&gt;&lt;br&gt;Schema Change Responses&lt;br&gt;&lt;br&gt;(1) Invalidate the object in question so all using/run processes and caches can reset or update themselves via the acquisition of a new valid object to continue the process.&lt;br&gt;(2) Make the object depending on schema objects valid by updating stale references and hope for the best.  Sometimes timing will cause certain failures but this is really OK with us since this is a rare situation to update the schema.&lt;br&gt;
&lt;br&gt;&lt;br&gt;SchemaListener Interface Methods&lt;br&gt;&lt;br&gt;   schemaChangeBegin( SchemaManager sm, List&amp;lt;String&amp;gt; oids );&lt;br&gt;   schemaChangeCommit( SchemaManager sm, List&amp;lt;String&amp;gt; oids );&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;Pulled these out of my arse so please elaborate.&lt;br&gt;
&lt;br&gt;Regards,&lt;br&gt;-- &lt;br&gt;Alex Karasulu&lt;br&gt;My Blog :: &lt;a href=&quot;http://www.jroller.com/akarasulu/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.jroller.com/akarasulu/&lt;/a&gt;&lt;br&gt;
Apache Directory Server :: &lt;a href=&quot;http://directory.apache.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://directory.apache.org&lt;/a&gt;&lt;br&gt;Apache MINA :: &lt;a href=&quot;http://mina.apache.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://mina.apache.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ApacheDS---Schema--Update-mechanism-tp26486075p26486075.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26485991</id>
	<title>[jira] Closed: (DIRSHARED-39) Trailing escaped space not parsed correctly by the DN parser</title>
	<published>2009-11-23T13:15:39Z</published>
	<updated>2009-11-23T13:15:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/DIRSHARED-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DIRSHARED-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Stefan Seelmann closed DIRSHARED-39.
&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;br&gt;Fixed in trunk and branches/schema
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://svn.apache.org/viewvc?rev=883499&amp;view=rev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/viewvc?rev=883499&amp;view=rev&lt;/a&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://svn.apache.org/viewvc?rev=883500&amp;view=rev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/viewvc?rev=883500&amp;view=rev&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Trailing escaped space not parsed correctly by the DN parser
&lt;br&gt;&amp;gt; ------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: DIRSHARED-39
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/DIRSHARED-39&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DIRSHARED-39&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Directory Shared
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 0.9.15
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Stefan Seelmann
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Stefan Seelmann
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 0.9.16
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; A trailing escaped space is not parsed correctly by te DN parser. Example: &amp;quot;cn=x\ &amp;quot;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28DIRSHARED-39%29-Trailing-escaped-space-not-parsed-correctly-by-the-DN-parser-tp26484540p26485991.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26484540</id>
	<title>[jira] Created: (DIRSHARED-39) Trailing escaped space not parsed correctly by the DN parser</title>
	<published>2009-11-23T11:41:39Z</published>
	<updated>2009-11-23T11:41:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">Trailing escaped space not parsed correctly by the DN parser
&lt;br&gt;------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: DIRSHARED-39
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/DIRSHARED-39&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DIRSHARED-39&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Directory Shared
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 0.9.15
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Stefan Seelmann
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Stefan Seelmann
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fix For: 0.9.16
&lt;br&gt;&lt;br&gt;&lt;br&gt;A trailing escaped space is not parsed correctly by te DN parser. Example: &amp;quot;cn=x\ &amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28DIRSHARED-39%29-Trailing-escaped-space-not-parsed-correctly-by-the-DN-parser-tp26484540p26484540.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26484042</id>
	<title>Re: [Schema Refactoring] Serious side effect...</title>
	<published>2009-11-23T11:05:49Z</published>
	<updated>2009-11-23T11:05:49Z</updated>
	<author>
		<name>Alex Karasulu-3</name>
	</author>
	<content type="html">Hi Emmanuel,&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 23, 2009 at 3:31 AM, Emmanuel Lecharny &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26484042&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;elecharny@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hi,&lt;br&gt;
&lt;br&gt;
when we modify the schema, for instance by adding a new AT, in order not to break the current schema, we apply the modification to a cloned Registries. So far, so good. And if the new registries is ok with the newly added SchemaObject, we swap the registries.&lt;br&gt;

&lt;br&gt;
Now, this create a dull issue : all the ServerEntry instances still point to the previous registries, and as we clean the previous registries to avoid memory leaks, all those instances now point to non existing SchemaObjects (more specifically, each instance has attributes which contain a reference to the AttributeType schemaObject they are associated with) !&lt;br&gt;

&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;We cannot hold references to AttributeType or other schema objects anymore.  Instead we need to perform a lookup everytime to get these schema objects from the registries via the schema manager.  This way when the swap occurs the new objects are extracted every time.  No member references should be made to schema objects any longer.&lt;br&gt;
&lt;br&gt;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Question : how can we avoid this problem ? &lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;See above.&lt;br&gt; &lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;My idea is to apply the modification to the initial registries once it has been proven that the registries alteration leave the Regsitries consistent. We will just clean the cloned registries, and don&amp;#39;t swap anymore.&lt;br&gt;

&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;I think this is not a good idea.  The swap is a clean approach that does the job just fine.  Otherwise if there are sticking points in the registries we will have problems.  This is too much to do to solve this issue.  Instead we need dynamic look ups of all the schema objects or we need a update pattern to inform of schema changes to swap out these objects.&lt;br&gt;
&lt;br&gt;I am thinking of the Observer or Listener notification patterns here.  Otherwise we will have to use dynamic lookups every time which can cost us a lot.&lt;br&gt; &lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

Does it sound good to you, or do you have any better idea ?&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;No I think we either go with expensive dynamic lookups all over the place or we utilize a update notification mechanism via the Observer or Listener patterns.&lt;br&gt;&lt;br&gt;Does this sound like a viable alternative?&lt;br&gt;
&lt;br&gt;Regards,&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;-- &lt;br&gt;Alex Karasulu&lt;br&gt;My Blog :: &lt;a href=&quot;http://www.jroller.com/akarasulu/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jroller.com/akarasulu/&lt;/a&gt;&lt;br&gt;Apache Directory Server :: &lt;a href=&quot;http://directory.apache.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://directory.apache.org&lt;/a&gt;&lt;br&gt;
Apache MINA :: &lt;a href=&quot;http://mina.apache.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mina.apache.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Schema-Refactoring--Serious-side-effect...-tp26474248p26484042.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26483031</id>
	<title>Re: [ApacheDS] Writing a custom partition</title>
	<published>2009-11-23T09:59:54Z</published>
	<updated>2009-11-23T09:59:54Z</updated>
	<author>
		<name>Stefan Zoerner-2</name>
	</author>
	<content type="html">Thomas Sahlin wrote:
&lt;br&gt;&amp;gt; Given your advice, I removed my wrapper.java.classpath.6 modification 
&lt;br&gt;&amp;gt; and instead moved my partition JAR into lib/ext and voilà - it works 
&lt;br&gt;&amp;gt; like a charm :-D
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Not sure why the wrapper.java.classpath did not work but at least I can 
&lt;br&gt;&amp;gt; begin coding my partition now :-)
&lt;br&gt;&lt;br&gt;This is great news. Please note that I have started another example some 
&lt;br&gt;time ago. Unfortunately, it is not finished, but at least it does some 
&lt;br&gt;more and contains some data.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://svn.apache.org/repos/asf/directory/sandbox/szoerner/syspropPartition&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/repos/asf/directory/sandbox/szoerner/syspropPartition&lt;/a&gt;&lt;br&gt;&lt;br&gt;Basic idea is to present the system properties as a (read only) 
&lt;br&gt;partition. Hopefully it helps you with your own implementation.
&lt;br&gt;&lt;br&gt;Greetings from Hamburg,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;StefanZ
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ApacheDS--Writing-a-custom-partition-tp26478216p26483031.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26481001</id>
	<title>Re: [ApacheDS] Writing a custom partition</title>
	<published>2009-11-23T08:11:42Z</published>
	<updated>2009-11-23T08:11:42Z</updated>
	<author>
		<name>Thomas Sahlin</name>
	</author>
	<content type="html">Stefan wrote:
&lt;br&gt;&amp;gt; It is sufficient to copy the resulting jar file in the lib/ext directory 
&lt;br&gt;&amp;gt; of ApacheDS -- no modification of the classpath needed. Simply adjust
&lt;br&gt;&lt;br&gt;Given your advice, I removed my wrapper.java.classpath.6 modification and 
&lt;br&gt;instead moved my partition JAR into lib/ext and voilà - it works like a 
&lt;br&gt;charm :-D
&lt;br&gt;&lt;br&gt;Not sure why the wrapper.java.classpath did not work but at least I can 
&lt;br&gt;begin coding my partition now :-)
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;Thomas 
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ApacheDS--Writing-a-custom-partition-tp26478216p26481001.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26480735</id>
	<title>Re: [ApacheDS] Writing a custom partition</title>
	<published>2009-11-23T07:56:44Z</published>
	<updated>2009-11-23T07:56:44Z</updated>
	<author>
		<name>Stefan Zoerner-2</name>
	</author>
	<content type="html">Thomas Sahlin wrote:
&lt;br&gt;&amp;gt; Ok, thanks!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I did compile my partition against the 1.5.5-JARs, but perhaps the API 
&lt;br&gt;&amp;gt; changes you mention cause problems at run time.
&lt;br&gt;&lt;br&gt;Strange. I have revisited the example and modified it to work with the 
&lt;br&gt;1.5.5 server. The WIKI page will take some time to get published on WWW, 
&lt;br&gt;but the main differences are in the source code anyway. Check them here:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://svn.apache.org/viewvc?revision=883370&amp;view=revision&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/viewvc?revision=883370&amp;view=revision&lt;/a&gt;&lt;br&gt;&lt;br&gt;The example, as committed here
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://svn.apache.org/repos/asf/directory/sandbox/szoerner/helloWorldPartition&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/repos/asf/directory/sandbox/szoerner/helloWorldPartition&lt;/a&gt;&lt;br&gt;&lt;br&gt;compiles well in my environment and runs within a standard 1.5.5 download.
&lt;br&gt;&lt;br&gt;It is sufficient to copy the resulting jar file in the lib/ext directory 
&lt;br&gt;of ApacheDS -- no modification of the classpath needed. Simply adjust 
&lt;br&gt;your server.xml to use the partition, or use it embedded as demonstrated 
&lt;br&gt;here
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://svn.apache.org/repos/asf/directory/sandbox/szoerner/helloWorldPartition/src/main/java/org/apache/directory/samples/partition/hello/Main.java&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/repos/asf/directory/sandbox/szoerner/helloWorldPartition/src/main/java/org/apache/directory/samples/partition/hello/Main.java&lt;/a&gt;&lt;br&gt;&lt;br&gt;Feel free to ask, if it still does not work as expected.
&lt;br&gt;Greetings from Hamburg,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;StefanZ
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ApacheDS--Writing-a-custom-partition-tp26478216p26480735.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26480119</id>
	<title>Re: [ApacheDS] Writing a custom partition</title>
	<published>2009-11-23T07:27:49Z</published>
	<updated>2009-11-23T07:27:49Z</updated>
	<author>
		<name>Thomas Sahlin</name>
	</author>
	<content type="html">&amp;gt; Stefan Zoerner wrote:
&lt;br&gt;&amp;gt; The pom.xml of the example uses 1.5.4, and the artifact runs well with 
&lt;br&gt;&amp;gt; ApacheDS 1.5.4.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But I can reproduce your problem with a current 1.5.5. The example jar, if 
&lt;br&gt;&amp;gt; used with this version simply does not work due to changes in the API.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I will update the example to work with the 1.5.5 in the evening. Stay 
&lt;br&gt;&amp;gt; tunes ...
&lt;br&gt;&lt;br&gt;Ok, thanks!
&lt;br&gt;&lt;br&gt;I did compile my partition against the 1.5.5-JARs, but perhaps the API 
&lt;br&gt;changes you mention cause problems at run time.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;&lt;br&gt;Thomas 
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ApacheDS--Writing-a-custom-partition-tp26478216p26480119.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26479326</id>
	<title>Re: [ApacheDS] Writing a custom partition</title>
	<published>2009-11-23T06:44:41Z</published>
	<updated>2009-11-23T06:44:41Z</updated>
	<author>
		<name>Stefan Zoerner-3</name>
	</author>
	<content type="html">Stefan Zoerner wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Thomas!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thomas Sahlin wrote:
&lt;br&gt;&amp;gt;&amp;gt; I'm trying out the example on how to write a simple custom partition 
&lt;br&gt;&amp;gt;&amp;gt; (it's at 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://directory.apache.org/apacheds/1.5/61-how-to-write-a-simple-custom-partition-for-apacheds.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://directory.apache.org/apacheds/1.5/61-how-to-write-a-simple-custom-partition-for-apacheds.html&lt;/a&gt;). 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; What am I doing wrong?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am going to check. I'll be back later ...
&lt;/div&gt;&lt;br&gt;The pom.xml of the example uses 1.5.4, and the artifact runs well with 
&lt;br&gt;ApacheDS 1.5.4.
&lt;br&gt;&lt;br&gt;But I can reproduce your problem with a current 1.5.5. The example jar, 
&lt;br&gt;if used with this version simply does not work due to changes in the API.
&lt;br&gt;&lt;br&gt;I will update the example to work with the 1.5.5 in the evening. Stay 
&lt;br&gt;tunes ...
&lt;br&gt;&lt;br&gt;Greetings from Hamburg,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;StefanZ
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ApacheDS--Writing-a-custom-partition-tp26478216p26479326.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26479091</id>
	<title>Re: [ApacheDS] Writing a custom partition</title>
	<published>2009-11-23T06:30:25Z</published>
	<updated>2009-11-23T06:30:25Z</updated>
	<author>
		<name>Stefan Zoerner-3</name>
	</author>
	<content type="html">Hi Thomas!
&lt;br&gt;&lt;br&gt;Thomas Sahlin wrote:
&lt;br&gt;&amp;gt; I'm trying out the example on how to write a simple custom partition 
&lt;br&gt;&amp;gt; (it's at 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://directory.apache.org/apacheds/1.5/61-how-to-write-a-simple-custom-partition-for-apacheds.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://directory.apache.org/apacheds/1.5/61-how-to-write-a-simple-custom-partition-for-apacheds.html&lt;/a&gt;). 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What am I doing wrong?
&lt;br&gt;&lt;br&gt;I am going to check. I'll be back later ...
&lt;br&gt;Greetings from Hamburg,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Stefan
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ApacheDS--Writing-a-custom-partition-tp26478216p26479091.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26478216</id>
	<title>[ApacheDS] Writing a custom partition</title>
	<published>2009-11-23T05:41:27Z</published>
	<updated>2009-11-23T05:41:27Z</updated>
	<author>
		<name>Thomas Sahlin</name>
	</author>
	<content type="html">Hi everyone,
&lt;br&gt;&lt;br&gt;I'm trying out the example on how to write a simple custom partition (it's 
&lt;br&gt;at 
&lt;br&gt;&lt;a href=&quot;http://directory.apache.org/apacheds/1.5/61-how-to-write-a-simple-custom-partition-for-apacheds.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://directory.apache.org/apacheds/1.5/61-how-to-write-a-simple-custom-partition-for-apacheds.html&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;I've created a class called TestPartition (pretty much identical to the 
&lt;br&gt;example HelloWorldPartition) and built it into a jar called LDAPTest.jar.
&lt;br&gt;&lt;br&gt;In /var/lib/apacheds-1.5.5/default/conf/server.xml I've added the following:
&lt;br&gt;&lt;br&gt;&amp;nbsp; ...
&lt;br&gt;&amp;nbsp; &amp;lt;/jdbmPartition&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;s:bean id=&amp;quot;testPartition&amp;quot; class=&amp;quot;se.invented.apacheds.TestPartition&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;s:property name=&amp;quot;suffix&amp;quot; value=&amp;quot;ou=hello&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/s:bean&amp;gt;
&lt;br&gt;&amp;lt;/partitions&amp;gt;
&lt;br&gt;&lt;br&gt;I've placed LDAPTest.jar inside /opt/apacheds-1.5.5/lib and added the 
&lt;br&gt;following to /opt/apacheds-1.5.5/conf/apacheds.conf:
&lt;br&gt;&lt;br&gt;wrapper.java.classpath.6=../lib/LDAPTest.jar
&lt;br&gt;&lt;br&gt;When I start the server it runs for a second and then dies with the attached 
&lt;br&gt;log message.
&lt;br&gt;&lt;br&gt;What am I doing wrong?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Thomas Sahlin 
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;apacheds-rolling.log&lt;/strong&gt; (7K) &lt;a href=&quot;http://old.nabble.com/attachment/26478216/0/apacheds-rolling.log&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ApacheDS--Writing-a-custom-partition-tp26478216p26478216.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26475654</id>
	<title>Re: [Schema Refactoring] Serious side effect...</title>
	<published>2009-11-23T02:36:43Z</published>
	<updated>2009-11-23T02:36:43Z</updated>
	<author>
		<name>Kiran Ayyagari</name>
	</author>
	<content type="html">&lt;br&gt;the approach of 'no-swapping' sounds good to me
&lt;br&gt;&lt;br&gt;thanks for all the great work I now understand what a pain this schema refactoring is
&lt;br&gt;&lt;br&gt;Kiran Ayyagari
&lt;br&gt;&lt;br&gt;Emmanuel Lecharny wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; when we modify the schema, for instance by adding a new AT, in order not 
&lt;br&gt;&amp;gt; to break the current schema, we apply the modification to a cloned 
&lt;br&gt;&amp;gt; Registries. So far, so good. And if the new registries is ok with the 
&lt;br&gt;&amp;gt; newly added SchemaObject, we swap the registries.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Now, this create a dull issue : all the ServerEntry instances still 
&lt;br&gt;&amp;gt; point to the previous registries, and as we clean the previous 
&lt;br&gt;&amp;gt; registries to avoid memory leaks, all those instances now point to non 
&lt;br&gt;&amp;gt; existing SchemaObjects (more specifically, each instance has attributes 
&lt;br&gt;&amp;gt; which contain a reference to the AttributeType schemaObject they are 
&lt;br&gt;&amp;gt; associated with) !
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Question : how can we avoid this problem ? My idea is to apply the 
&lt;br&gt;&amp;gt; modification to the initial registries once it has been proven that the 
&lt;br&gt;&amp;gt; registries alteration leave the Regsitries consistent. We will just 
&lt;br&gt;&amp;gt; clean the cloned registries, and don't swap anymore.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Does it sound good to you, or do you have any better idea ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Schema-Refactoring--Serious-side-effect...-tp26474248p26475654.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26474657</id>
	<title>Re: [Schema Refactoring] Serious side effect...</title>
	<published>2009-11-23T01:10:17Z</published>
	<updated>2009-11-23T01:10:17Z</updated>
	<author>
		<name>Pierre-Arnaud Marcelot-3</name>
	</author>
	<content type="html">Hi Emmanuel,
&lt;br&gt;&lt;br&gt;I think you're right. It's definitely a better idea.
&lt;br&gt;&lt;br&gt;You probably have a lot of objects of the original registry in use in &amp;nbsp;
&lt;br&gt;other classes or data structures.
&lt;br&gt;&lt;br&gt;Swapping registries means updating all the schema objects values &amp;nbsp;
&lt;br&gt;contained in the original registry which is kind of unnecessary &amp;nbsp;
&lt;br&gt;because most of these objects have no been modified at all.
&lt;br&gt;&lt;br&gt;So I think it definitely makes sense. Especially when i have in mind &amp;nbsp;
&lt;br&gt;the use the schema manager to rewrite the schema editor plugin for &amp;nbsp;
&lt;br&gt;Studio.
&lt;br&gt;&lt;br&gt;Using the registry swap would force us to do a lot of refresh in the &amp;nbsp;
&lt;br&gt;UI for almost nothing.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;P-A
&lt;br&gt;&lt;br&gt;On 23 nov. 2009, at 09:31, Emmanuel Lecharny &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474657&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;elecharny@...&lt;/a&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; when we modify the schema, for instance by adding a new AT, in order &amp;nbsp;
&lt;br&gt;&amp;gt; not to break the current schema, we apply the modification to a &amp;nbsp;
&lt;br&gt;&amp;gt; cloned Registries. So far, so good. And if the new registries is ok &amp;nbsp;
&lt;br&gt;&amp;gt; with the newly added SchemaObject, we swap the registries.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Now, this create a dull issue : all the ServerEntry instances still &amp;nbsp;
&lt;br&gt;&amp;gt; point to the previous registries, and as we clean the previous &amp;nbsp;
&lt;br&gt;&amp;gt; registries to avoid memory leaks, all those instances now point to &amp;nbsp;
&lt;br&gt;&amp;gt; non existing SchemaObjects (more specifically, each instance has &amp;nbsp;
&lt;br&gt;&amp;gt; attributes which contain a reference to the AttributeType &amp;nbsp;
&lt;br&gt;&amp;gt; schemaObject they are associated with) !
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Question : how can we avoid this problem ? My idea is to apply the &amp;nbsp;
&lt;br&gt;&amp;gt; modification to the initial registries once it has been proven that &amp;nbsp;
&lt;br&gt;&amp;gt; the registries alteration leave the Regsitries consistent. We will &amp;nbsp;
&lt;br&gt;&amp;gt; just clean the cloned registries, and don't swap anymore.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Does it sound good to you, or do you have any better idea ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; cordialement, regards,
&lt;br&gt;&amp;gt; Emmanuel Lécharny
&lt;br&gt;&amp;gt; www.iktek.com
&lt;br&gt;&amp;gt; directory.apache.org
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Schema-Refactoring--Serious-side-effect...-tp26474248p26474657.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26474248</id>
	<title>[Schema Refactoring] Serious side effect...</title>
	<published>2009-11-23T00:31:34Z</published>
	<updated>2009-11-23T00:31:34Z</updated>
	<author>
		<name>Emmanuel Lecharny</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;when we modify the schema, for instance by adding a new AT, in order not 
&lt;br&gt;to break the current schema, we apply the modification to a cloned 
&lt;br&gt;Registries. So far, so good. And if the new registries is ok with the 
&lt;br&gt;newly added SchemaObject, we swap the registries.
&lt;br&gt;&lt;br&gt;Now, this create a dull issue : all the ServerEntry instances still 
&lt;br&gt;point to the previous registries, and as we clean the previous 
&lt;br&gt;registries to avoid memory leaks, all those instances now point to non 
&lt;br&gt;existing SchemaObjects (more specifically, each instance has attributes 
&lt;br&gt;which contain a reference to the AttributeType schemaObject they are 
&lt;br&gt;associated with) !
&lt;br&gt;&lt;br&gt;Question : how can we avoid this problem ? My idea is to apply the 
&lt;br&gt;modification to the initial registries once it has been proven that the 
&lt;br&gt;registries alteration leave the Regsitries consistent. We will just 
&lt;br&gt;clean the cloned registries, and don't swap anymore.
&lt;br&gt;&lt;br&gt;Does it sound good to you, or do you have any better idea ?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;--
&lt;br&gt;cordialement, regards,
&lt;br&gt;Emmanuel Lécharny
&lt;br&gt;www.iktek.com
&lt;br&gt;directory.apache.org
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Schema-Refactoring--Serious-side-effect...-tp26474248p26474248.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26471590</id>
	<title>Re: [Schema Refactoring] Pb with AT, Collective and missing Usage</title>
	<published>2009-11-22T17:40:00Z</published>
	<updated>2009-11-22T17:40:00Z</updated>
	<author>
		<name>Alex Karasulu</name>
	</author>
	<content type="html">&lt;p&gt;I guess this finding in the rfc clarifies the issue for you.  Any other implementation issues in your way?&lt;/p&gt;
&lt;p&gt;&lt;blockquote type=&quot;cite&quot;&gt;On Nov 22, 2009 2:41 PM, &amp;quot;Emmanuel Lecharny&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26471590&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;elecharny@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;br&gt;Sorry, I was plain wrong. RFC 4512, par. 4.1.2 states that :&lt;br&gt;

&lt;br&gt;
&amp;quot;Usage of userApplications, the default, indicates that attributes of this type represent user information. That is, they are user attributes.&amp;quot;&lt;br&gt;
&lt;br&gt;
So the userApplications value is the default, and this parameter is not inherited from a SUP :&lt;br&gt;
&lt;br&gt;
&amp;quot;If SUP field is provided, the EQUALITY, ORDERING, and SUBSTRING fields, if not specified, take their value from the supertype.&amp;quot;&lt;p&gt;&lt;font color=&quot;#500050&quot;&gt;

Emmanuel Lecharny wrote:
&amp;gt;
&amp;gt; Hi,
&amp;gt;
&amp;gt; I had to remove the default initialization of the USAGE param...&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/p&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Schema-Refactoring--Pb-with-AT%2C-Collective-and-missing-Usage-tp26468624p26471590.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26468713</id>
	<title>Re: [Schema Refactoring] Pb with AT, Collective and missing Usage</title>
	<published>2009-11-22T11:41:23Z</published>
	<updated>2009-11-22T11:41:23Z</updated>
	<author>
		<name>Emmanuel Lecharny</name>
	</author>
	<content type="html">Sorry, I was plain wrong. RFC 4512, par. 4.1.2 states that :
&lt;br&gt;&lt;br&gt;&amp;quot;Usage of userApplications, the default, indicates that attributes of 
&lt;br&gt;this type represent user information. That is, they are user attributes.&amp;quot;
&lt;br&gt;&lt;br&gt;So the userApplications value is the default, and this parameter is not 
&lt;br&gt;inherited from a SUP :
&lt;br&gt;&lt;br&gt;&amp;quot;If SUP field is provided, the EQUALITY, ORDERING, and SUBSTRING fields, 
&lt;br&gt;if not specified, take their value from the supertype.&amp;quot;
&lt;br&gt;&lt;br&gt;Emmanuel Lecharny wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I had to remove the default initialization of the USAGE parameter for 
&lt;br&gt;&amp;gt; AttributeType, as we need to check that an injected AT is correct, and 
&lt;br&gt;&amp;gt; it might not be the case if it has a SUP which is not a 
&lt;br&gt;&amp;gt; UserApplications AT.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Let me explain the problem with some example. Let's assume we have 2 
&lt;br&gt;&amp;gt; AT, 'parent' and 'child' :
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ( 2.5.4.3 NAME 'parent' USAGE directoryOperation )
&lt;br&gt;&amp;gt; ( 2.5.4.4 NAME 'child' SUP parent )
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; as child inherit from parent, it must have the same Usage value. In 
&lt;br&gt;&amp;gt; this case, everything is fine, as we don't have a USAGE specified, as 
&lt;br&gt;&amp;gt; soon as the USAGE does not default to UserApplications, otherwise we 
&lt;br&gt;&amp;gt; have an error :
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ( 2.5.4.3 NAME 'parent' USAGE directoryOperation )
&lt;br&gt;&amp;gt; ( 2.5.4.4 NAME 'child' SUP parent USAGE userApplications ) /!\ Not 
&lt;br&gt;&amp;gt; allowed /!\
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Now, if we don't store the Usage with a default value ( 
&lt;br&gt;&amp;gt; userApplications ), we can deal with the first case, as Usage will be 
&lt;br&gt;&amp;gt; null. If we don't have a SUP, we then can default to userApplications.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Things get a bit muddier when the AT has a COLLECTIVE flag set, as now 
&lt;br&gt;&amp;gt; the USAGE *must* be userApplications.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sadly, the description parser for such a case throw an exception when 
&lt;br&gt;&amp;gt; trying to parse :
&lt;br&gt;&amp;gt; ( 2.5.4.3 NAME 'cn' SUP name COLLECTIVE )
&lt;br&gt;&amp;gt; as it does not know that the SUP has a userApplications Usage.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; IMO, we have to fix this by assuming that the SUP has necessarily a 
&lt;br&gt;&amp;gt; userApplications USAGE when we have a SUP *and* a COLLECTIVE 
&lt;br&gt;&amp;gt; parameters in the string. If we don't have a SUP, then we can default 
&lt;br&gt;&amp;gt; USAGE to userApplications.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; wdyt ?
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;--
&lt;br&gt;cordialement, regards,
&lt;br&gt;Emmanuel Lécharny
&lt;br&gt;www.iktek.com
&lt;br&gt;directory.apache.org
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Schema-Refactoring--Pb-with-AT%2C-Collective-and-missing-Usage-tp26468624p26468713.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26468624</id>
	<title>[Schema Refactoring] Pb with AT, Collective and missing Usage</title>
	<published>2009-11-22T11:31:32Z</published>
	<updated>2009-11-22T11:31:32Z</updated>
	<author>
		<name>Emmanuel Lecharny</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I had to remove the default initialization of the USAGE parameter for 
&lt;br&gt;AttributeType, as we need to check that an injected AT is correct, and 
&lt;br&gt;it might not be the case if it has a SUP which is not a UserApplications AT.
&lt;br&gt;&lt;br&gt;Let me explain the problem with some example. Let's assume we have 2 AT, 
&lt;br&gt;'parent' and 'child' :
&lt;br&gt;&lt;br&gt;( 2.5.4.3 NAME 'parent' USAGE directoryOperation )
&lt;br&gt;( 2.5.4.4 NAME 'child' SUP parent )
&lt;br&gt;&lt;br&gt;as child inherit from parent, it must have the same Usage value. In this 
&lt;br&gt;case, everything is fine, as we don't have a USAGE specified, as soon as 
&lt;br&gt;the USAGE does not default to UserApplications, otherwise we have an error :
&lt;br&gt;&lt;br&gt;( 2.5.4.3 NAME 'parent' USAGE directoryOperation )
&lt;br&gt;( 2.5.4.4 NAME 'child' SUP parent USAGE userApplications ) /!\ Not 
&lt;br&gt;allowed /!\
&lt;br&gt;&lt;br&gt;Now, if we don't store the Usage with a default value ( userApplications 
&lt;br&gt;), we can deal with the first case, as Usage will be null. If we don't 
&lt;br&gt;have a SUP, we then can default to userApplications.
&lt;br&gt;&lt;br&gt;Things get a bit muddier when the AT has a COLLECTIVE flag set, as now 
&lt;br&gt;the USAGE *must* be userApplications.
&lt;br&gt;&lt;br&gt;Sadly, the description parser for such a case throw an exception when 
&lt;br&gt;trying to parse :
&lt;br&gt;( 2.5.4.3 NAME 'cn' SUP name COLLECTIVE )
&lt;br&gt;as it does not know that the SUP has a userApplications Usage.
&lt;br&gt;&lt;br&gt;IMO, we have to fix this by assuming that the SUP has necessarily a 
&lt;br&gt;userApplications USAGE when we have a SUP *and* a COLLECTIVE parameters 
&lt;br&gt;in the string. If we don't have a SUP, then we can default USAGE to 
&lt;br&gt;userApplications.
&lt;br&gt;&lt;br&gt;wdyt ?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;--
&lt;br&gt;cordialement, regards,
&lt;br&gt;Emmanuel Lécharny
&lt;br&gt;www.iktek.com
&lt;br&gt;directory.apache.org
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Schema-Refactoring--Pb-with-AT%2C-Collective-and-missing-Usage-tp26468624p26468624.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26444740</id>
	<title>[jira] Updated: (DIRSTUDIO-589) InvalidNameException: unexpected token for user ids starting with hash sign</title>
	<published>2009-11-20T06:59:39Z</published>
	<updated>2009-11-20T06:59:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/DIRSTUDIO-589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DIRSTUDIO-589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Pierre-Arnaud Marcelot updated DIRSTUDIO-589:
&lt;br&gt;---------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Fix Version/s: 1.5.1
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; InvalidNameException: unexpected token for user ids starting with hash sign
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: DIRSTUDIO-589
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/DIRSTUDIO-589&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DIRSTUDIO-589&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Directory Studio
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: studio-ldapbrowser
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.5.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: z/OS LDAP Server
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Jürgen Weber
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Stefan Seelmann
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Critical
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 1.5.1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: DIRSTUDIO-589.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In our LDAP server we have user ids starting with hash sign (e.g. #123456)
&lt;br&gt;&amp;gt; On searching an existing user
&lt;br&gt;&amp;gt; (uid=\#123456)
&lt;br&gt;&amp;gt; &amp;nbsp;DS throws this exception. 
&lt;br&gt;&amp;gt; The search works with Jarek Gawor's browser 2.8.2 &amp;nbsp;I believe it also worked with DS 1.4
&lt;br&gt;&amp;gt; !ENTRY org.apache.directory.studio.connection.core 4 4 2009-11-17 10:44:53.792
&lt;br&gt;&amp;gt; !MESSAGE Error while performing search
&lt;br&gt;&amp;gt; &amp;nbsp;- unexpected token: 123456
&lt;br&gt;&amp;gt; !SUBENTRY 1 org.apache.directory.studio.connection.core 4 4 2009-11-17 10:44:53.792
&lt;br&gt;&amp;gt; !MESSAGE javax.naming.InvalidNameException: unexpected token: 123456 [Root exception is line 1:6: unexpected token: 123456]
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:55)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.LdapDnParser.parseInternal(LdapDnParser.java:97)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.LdapDN.&amp;lt;init&amp;gt;(LdapDN.java:205)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.utils.JNDIUtils.getDn(JNDIUtils.java:48)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.searchAndUpdateModel(SearchRunnable.java:331)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.run(SearchRunnable.java:184)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:114)
&lt;br&gt;&amp;gt; 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
&lt;br&gt;&amp;gt; Caused by: line 1:6: unexpected token: 123456
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.special(AntlrDnParser.java:1219)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.pair(AntlrDnParser.java:932)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.string(AntlrDnParser.java:777)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeValue(AntlrDnParser.java:517)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeTypeAndValue(AntlrDnParser.java:405)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedName(AntlrDnParser.java:229)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedNames(AntlrDnParser.java:307)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:51)
&lt;br&gt;&amp;gt; 	... 7 more
&lt;br&gt;&amp;gt; !STACK 0
&lt;br&gt;&amp;gt; javax.naming.InvalidNameException: unexpected token: 123456 [Root exception is line 1:6: unexpected token: 123456]
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:55)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.LdapDnParser.parseInternal(LdapDnParser.java:97)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.LdapDN.&amp;lt;init&amp;gt;(LdapDN.java:205)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.utils.JNDIUtils.getDn(JNDIUtils.java:48)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.searchAndUpdateModel(SearchRunnable.java:331)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.run(SearchRunnable.java:184)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:114)
&lt;br&gt;&amp;gt; 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
&lt;br&gt;&amp;gt; Caused by: line 1:6: unexpected token: 123456
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.special(AntlrDnParser.java:1219)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.pair(AntlrDnParser.java:932)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.string(AntlrDnParser.java:777)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeValue(AntlrDnParser.java:517)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeTypeAndValue(AntlrDnParser.java:405)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedName(AntlrDnParser.java:229)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedNames(AntlrDnParser.java:307)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:51)
&lt;br&gt;&amp;gt; 	... 7 more
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28DIRSTUDIO-589%29-InvalidNameException%3A-unexpected-token-for-user-ids-starting-with-hash-sign-tp26387081p26444740.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26444741</id>
	<title>[jira] Updated: (DIRSTUDIO-589) InvalidNameException: unexpected token for user ids starting with hash sign</title>
	<published>2009-11-20T06:59:39Z</published>
	<updated>2009-11-20T06:59:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/DIRSTUDIO-589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DIRSTUDIO-589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Pierre-Arnaud Marcelot updated DIRSTUDIO-589:
&lt;br&gt;---------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Fix Version/s: &amp;nbsp; &amp;nbsp; (was: 1.5.1)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; InvalidNameException: unexpected token for user ids starting with hash sign
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: DIRSTUDIO-589
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/DIRSTUDIO-589&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DIRSTUDIO-589&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Directory Studio
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: studio-ldapbrowser
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.5.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: z/OS LDAP Server
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Jürgen Weber
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Stefan Seelmann
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Critical
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 1.5.1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: DIRSTUDIO-589.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In our LDAP server we have user ids starting with hash sign (e.g. #123456)
&lt;br&gt;&amp;gt; On searching an existing user
&lt;br&gt;&amp;gt; (uid=\#123456)
&lt;br&gt;&amp;gt; &amp;nbsp;DS throws this exception. 
&lt;br&gt;&amp;gt; The search works with Jarek Gawor's browser 2.8.2 &amp;nbsp;I believe it also worked with DS 1.4
&lt;br&gt;&amp;gt; !ENTRY org.apache.directory.studio.connection.core 4 4 2009-11-17 10:44:53.792
&lt;br&gt;&amp;gt; !MESSAGE Error while performing search
&lt;br&gt;&amp;gt; &amp;nbsp;- unexpected token: 123456
&lt;br&gt;&amp;gt; !SUBENTRY 1 org.apache.directory.studio.connection.core 4 4 2009-11-17 10:44:53.792
&lt;br&gt;&amp;gt; !MESSAGE javax.naming.InvalidNameException: unexpected token: 123456 [Root exception is line 1:6: unexpected token: 123456]
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:55)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.LdapDnParser.parseInternal(LdapDnParser.java:97)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.LdapDN.&amp;lt;init&amp;gt;(LdapDN.java:205)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.utils.JNDIUtils.getDn(JNDIUtils.java:48)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.searchAndUpdateModel(SearchRunnable.java:331)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.run(SearchRunnable.java:184)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:114)
&lt;br&gt;&amp;gt; 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
&lt;br&gt;&amp;gt; Caused by: line 1:6: unexpected token: 123456
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.special(AntlrDnParser.java:1219)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.pair(AntlrDnParser.java:932)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.string(AntlrDnParser.java:777)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeValue(AntlrDnParser.java:517)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeTypeAndValue(AntlrDnParser.java:405)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedName(AntlrDnParser.java:229)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedNames(AntlrDnParser.java:307)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:51)
&lt;br&gt;&amp;gt; 	... 7 more
&lt;br&gt;&amp;gt; !STACK 0
&lt;br&gt;&amp;gt; javax.naming.InvalidNameException: unexpected token: 123456 [Root exception is line 1:6: unexpected token: 123456]
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:55)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.LdapDnParser.parseInternal(LdapDnParser.java:97)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.LdapDN.&amp;lt;init&amp;gt;(LdapDN.java:205)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.utils.JNDIUtils.getDn(JNDIUtils.java:48)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.searchAndUpdateModel(SearchRunnable.java:331)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.run(SearchRunnable.java:184)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:114)
&lt;br&gt;&amp;gt; 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
&lt;br&gt;&amp;gt; Caused by: line 1:6: unexpected token: 123456
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.special(AntlrDnParser.java:1219)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.pair(AntlrDnParser.java:932)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.string(AntlrDnParser.java:777)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeValue(AntlrDnParser.java:517)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeTypeAndValue(AntlrDnParser.java:405)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedName(AntlrDnParser.java:229)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedNames(AntlrDnParser.java:307)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:51)
&lt;br&gt;&amp;gt; 	... 7 more
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28DIRSTUDIO-589%29-InvalidNameException%3A-unexpected-token-for-user-ids-starting-with-hash-sign-tp26387081p26444741.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26444742</id>
	<title>[jira] Updated: (DIRSTUDIO-591) Error reading objects with # in DN</title>
	<published>2009-11-20T06:59:39Z</published>
	<updated>2009-11-20T06:59:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/DIRSTUDIO-591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DIRSTUDIO-591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Pierre-Arnaud Marcelot updated DIRSTUDIO-591:
&lt;br&gt;---------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Fix Version/s: 1.5.1
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Error reading objects with # in DN 
&lt;br&gt;&amp;gt; -----------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: DIRSTUDIO-591
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/DIRSTUDIO-591&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DIRSTUDIO-591&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Directory Studio
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: studio-ldapbrowser
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.5.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: WinXP SP3
&lt;br&gt;&amp;gt; java version &amp;quot;1.6.0_14&amp;quot;
&lt;br&gt;&amp;gt; Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
&lt;br&gt;&amp;gt; Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)
&lt;br&gt;&amp;gt; Eclipse Galileo Build id: 20090920-1017
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: a-giza
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Stefan Seelmann
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 1.5.1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; An error occurs when reading objects with # in DN. The DN looks like this: cn=#ACL_AD-Projects_Author,ou=Notes_Group,o=Contacts,c=DE
&lt;br&gt;&amp;gt; The error occurs since version 1.5. Versions before 1.5 have no problems with this kind of DN's.
&lt;br&gt;&amp;gt; The detailed error Message is:
&lt;br&gt;&amp;gt; eclipse.buildId=M20090917-0800
&lt;br&gt;&amp;gt; java.version=1.6.0_14
&lt;br&gt;&amp;gt; java.vendor=Sun Microsystems Inc.
&lt;br&gt;&amp;gt; BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
&lt;br&gt;&amp;gt; Framework arguments: &amp;nbsp;-product org.eclipse.epp.package.jee.product
&lt;br&gt;&amp;gt; Command-line arguments: &amp;nbsp;-os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
&lt;br&gt;&amp;gt; Error
&lt;br&gt;&amp;gt; Wed Nov 18 16:34:39 CET 2009
&lt;br&gt;&amp;gt; Fehler beim Lesen des Eintrages
&lt;br&gt;&amp;gt; &amp;nbsp;- unexpected token: AC
&lt;br&gt;&amp;gt; Error
&lt;br&gt;&amp;gt; Wed Nov 18 16:34:39 CET 2009
&lt;br&gt;&amp;gt; javax.naming.InvalidNameException: unexpected token: AC [Root exception is line 1:5: unexpected token: AC]
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:55)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.LdapDnParser.parseInternal(LdapDnParser.java:97)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.LdapDN.&amp;lt;init&amp;gt;(LdapDN.java:205)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.utils.JNDIUtils.getDn(JNDIUtils.java:48)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.searchAndUpdateModel(SearchRunnable.java:331)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.executeSearch(InitializeChildrenRunnable.java:361)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.initializeChildren(InitializeChildrenRunnable.java:212)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.run(InitializeChildrenRunnable.java:171)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:114)
&lt;br&gt;&amp;gt; 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
&lt;br&gt;&amp;gt; Caused by: line 1:5: unexpected token: AC
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.special(AntlrDnParser.java:1219)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.pair(AntlrDnParser.java:932)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.string(AntlrDnParser.java:777)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeValue(AntlrDnParser.java:517)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeTypeAndValue(AntlrDnParser.java:405)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedName(AntlrDnParser.java:229)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedNames(AntlrDnParser.java:307)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:51)
&lt;br&gt;&amp;gt; 	... 9 more
&lt;br&gt;&amp;gt; javax.naming.InvalidNameException: unexpected token: AC [Root exception is line 1:5: unexpected token: AC]
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:55)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.LdapDnParser.parseInternal(LdapDnParser.java:97)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.LdapDN.&amp;lt;init&amp;gt;(LdapDN.java:205)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.utils.JNDIUtils.getDn(JNDIUtils.java:48)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.searchAndUpdateModel(SearchRunnable.java:331)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.executeSearch(InitializeChildrenRunnable.java:361)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.initializeChildren(InitializeChildrenRunnable.java:212)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.run(InitializeChildrenRunnable.java:171)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:114)
&lt;br&gt;&amp;gt; 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
&lt;br&gt;&amp;gt; Caused by: line 1:5: unexpected token: AC
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.special(AntlrDnParser.java:1219)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.pair(AntlrDnParser.java:932)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.string(AntlrDnParser.java:777)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeValue(AntlrDnParser.java:517)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeTypeAndValue(AntlrDnParser.java:405)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedName(AntlrDnParser.java:229)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedNames(AntlrDnParser.java:307)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:51)
&lt;br&gt;&amp;gt; 	... 9 more
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28DIRSTUDIO-591%29-Error-readind-objects-with---in-DN-tp26410403p26444742.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26444744</id>
	<title>[jira] Updated: (DIRSTUDIO-591) Error reading objects with # in DN</title>
	<published>2009-11-20T06:59:39Z</published>
	<updated>2009-11-20T06:59:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/DIRSTUDIO-591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DIRSTUDIO-591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Pierre-Arnaud Marcelot updated DIRSTUDIO-591:
&lt;br&gt;---------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Fix Version/s: &amp;nbsp; &amp;nbsp; (was: 1.5.1)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Error reading objects with # in DN 
&lt;br&gt;&amp;gt; -----------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: DIRSTUDIO-591
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/DIRSTUDIO-591&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DIRSTUDIO-591&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Directory Studio
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: studio-ldapbrowser
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.5.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: WinXP SP3
&lt;br&gt;&amp;gt; java version &amp;quot;1.6.0_14&amp;quot;
&lt;br&gt;&amp;gt; Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
&lt;br&gt;&amp;gt; Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)
&lt;br&gt;&amp;gt; Eclipse Galileo Build id: 20090920-1017
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: a-giza
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Stefan Seelmann
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 1.5.1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; An error occurs when reading objects with # in DN. The DN looks like this: cn=#ACL_AD-Projects_Author,ou=Notes_Group,o=Contacts,c=DE
&lt;br&gt;&amp;gt; The error occurs since version 1.5. Versions before 1.5 have no problems with this kind of DN's.
&lt;br&gt;&amp;gt; The detailed error Message is:
&lt;br&gt;&amp;gt; eclipse.buildId=M20090917-0800
&lt;br&gt;&amp;gt; java.version=1.6.0_14
&lt;br&gt;&amp;gt; java.vendor=Sun Microsystems Inc.
&lt;br&gt;&amp;gt; BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
&lt;br&gt;&amp;gt; Framework arguments: &amp;nbsp;-product org.eclipse.epp.package.jee.product
&lt;br&gt;&amp;gt; Command-line arguments: &amp;nbsp;-os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
&lt;br&gt;&amp;gt; Error
&lt;br&gt;&amp;gt; Wed Nov 18 16:34:39 CET 2009
&lt;br&gt;&amp;gt; Fehler beim Lesen des Eintrages
&lt;br&gt;&amp;gt; &amp;nbsp;- unexpected token: AC
&lt;br&gt;&amp;gt; Error
&lt;br&gt;&amp;gt; Wed Nov 18 16:34:39 CET 2009
&lt;br&gt;&amp;gt; javax.naming.InvalidNameException: unexpected token: AC [Root exception is line 1:5: unexpected token: AC]
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:55)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.LdapDnParser.parseInternal(LdapDnParser.java:97)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.LdapDN.&amp;lt;init&amp;gt;(LdapDN.java:205)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.utils.JNDIUtils.getDn(JNDIUtils.java:48)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.searchAndUpdateModel(SearchRunnable.java:331)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.executeSearch(InitializeChildrenRunnable.java:361)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.initializeChildren(InitializeChildrenRunnable.java:212)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.run(InitializeChildrenRunnable.java:171)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:114)
&lt;br&gt;&amp;gt; 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
&lt;br&gt;&amp;gt; Caused by: line 1:5: unexpected token: AC
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.special(AntlrDnParser.java:1219)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.pair(AntlrDnParser.java:932)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.string(AntlrDnParser.java:777)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeValue(AntlrDnParser.java:517)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeTypeAndValue(AntlrDnParser.java:405)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedName(AntlrDnParser.java:229)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedNames(AntlrDnParser.java:307)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:51)
&lt;br&gt;&amp;gt; 	... 9 more
&lt;br&gt;&amp;gt; javax.naming.InvalidNameException: unexpected token: AC [Root exception is line 1:5: unexpected token: AC]
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:55)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.LdapDnParser.parseInternal(LdapDnParser.java:97)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.LdapDN.&amp;lt;init&amp;gt;(LdapDN.java:205)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.utils.JNDIUtils.getDn(JNDIUtils.java:48)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.searchAndUpdateModel(SearchRunnable.java:331)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.executeSearch(InitializeChildrenRunnable.java:361)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.initializeChildren(InitializeChildrenRunnable.java:212)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.run(InitializeChildrenRunnable.java:171)
&lt;br&gt;&amp;gt; 	at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:114)
&lt;br&gt;&amp;gt; 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
&lt;br&gt;&amp;gt; Caused by: line 1:5: unexpected token: AC
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.special(AntlrDnParser.java:1219)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.pair(AntlrDnParser.java:932)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.string(AntlrDnParser.java:777)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeValue(AntlrDnParser.java:517)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeTypeAndValue(AntlrDnParser.java:405)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedName(AntlrDnParser.java:229)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedNames(AntlrDnParser.java:307)
&lt;br&gt;&amp;gt; 	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:51)
&lt;br&gt;&amp;gt; 	... 9 more
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28DIRSTUDIO-591%29-Error-readind-objects-with---in-DN-tp26410403p26444744.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26443792</id>
	<title>[jira] Commented: (DIRSTUDIO-599) Widget disposed too early</title>
	<published>2009-11-20T06:03:39Z</published>
	<updated>2009-11-20T06:03:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/DIRSTUDIO-599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12780560#action_12780560&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DIRSTUDIO-599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12780560#action_12780560&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Giannis Kapetanakis commented on DIRSTUDIO-599:
&lt;br&gt;-----------------------------------------------
&lt;br&gt;&lt;br&gt;Well this is strange:
&lt;br&gt;&lt;br&gt;In my previous post I used /usr/lib/xulrunner/xulrunner-1.9.1 which was not a valid path for xulrunner.
&lt;br&gt;&lt;br&gt;Running with random path also works
&lt;br&gt;&lt;br&gt;./ApacheDirectoryStudio -vmargs -Dorg.eclipse.swt.browser.XULRunnerPath=/foo/bar
&lt;br&gt;&lt;br&gt;also worked (after the rm -rf)
&lt;br&gt;&lt;br&gt;Giannis
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Widget disposed too early
&lt;br&gt;&amp;gt; -------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: DIRSTUDIO-599
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/DIRSTUDIO-599&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DIRSTUDIO-599&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Directory Studio
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.4.0, 1.5.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: 2.6.31.5-127.fc12.i686.PAE
&lt;br&gt;&amp;gt; Fedora 12
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Giannis Kapetanakis
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: .log
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've come to the same bug as in
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://issues.apache.org/jira/browse/DIRSTUDIO-545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DIRSTUDIO-545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&lt;br&gt;&amp;gt; I'm attaching the log file.
&lt;br&gt;&amp;gt; The fix is the same:
&lt;br&gt;&amp;gt; rm -rf ~/.ApacheDirectoryStudio/
&lt;br&gt;&amp;gt; cd /usr/local/ApacheDirectoryStudio-linux-x86-1.5.0.v20091102/
&lt;br&gt;&amp;gt; ./ApacheDirectoryStudio -vmargs -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner/xulrunner-1.9.1 
&lt;br&gt;&amp;gt; Pierre I don't know what might be altering the 'org.eclipse.swt.browser.XULRunnerPath' property value on my setup.
&lt;br&gt;&amp;gt; Could it be that I'm NOT using Fedora's shipped Java? I use Sun's version of JAVA.
&lt;br&gt;&amp;gt; I've created sym links /usr/bin for this and set the JAVA_HOME appropriately.
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Giannis 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28DIRSTUDIO-599%29-Widget-disposed-too-early-tp26443634p26443792.html" />
</entry>

</feed>
