Re: [VOTE] Release of Apache Directory Studio Maven Plugin 1.0.5 (Take 2)

2011-12-20 Thread Alex Karasulu
+1 - have not checked the release though On Tue, Dec 20, 2011 at 3:09 PM, Pierre-Arnaud Marcelot p...@marcelot.netwrote: Hi guys, I've managed to fix the bugs that prevented the release (obscure things needed to be configured for this to work). This release fixes a minor bug: -

Re: [VOTE] Release of Apache Directory Studio Maven Plugin 1.0.5 (Take 2)

2011-12-20 Thread Felix Knecht
[X] +1 | Release Apache Directory Studio Maven Plugin 1.0.5 Documentation looks good now, thanks for fixing it. Regards Felix

Transactions and Search/Cursor

2011-12-20 Thread Emmanuel Lecharny
Hi, I have added txns support in LdapCoreSessionConnection, but I have some issues with searches : the txn has to remain opened until the cursor is closed. That means the cursor must retain the txns and that the commit is done in the cursor.close() operation. I think we can use the inner

TxnManager should be moved to shared-ldap

2011-12-20 Thread Emmanuel Lecharny
Hi, if we want to make the search operation part of the transaction, then we may need to move the Txnmanager to the shared-ldap library, as we don't see this class from any cursor. The need is to be able to commit or rollback the txn when the cursor.close() is done (or if we've got an

Re: TxnManager should be moved to shared-ldap

2011-12-20 Thread Alex Karasulu
On Tue, Dec 20, 2011 at 5:41 PM, Emmanuel Lecharny elecha...@gmail.comwrote: Hi, if we want to make the search operation part of the transaction, then we may need to move the Txnmanager to the shared-ldap library, as we don't see this class from any cursor. I see what you mean. But there

Re: TxnManager should be moved to shared-ldap

2011-12-20 Thread Alex Karasulu
I am saying this because clearly TxnManager does not belong in shared if we just step back and think about it. Yes the mechanics of the code is making us consider this but we should resist and see what we can do with some pattern to decouple this. On Tue, Dec 20, 2011 at 7:00 PM, Alex Karasulu

Re: TxnManager should be moved to shared-ldap

2011-12-20 Thread Pierre-Arnaud Marcelot
Hi Alex, I just discussed this with Emmanuel, and like you, I think the transaction does not belong in shared. It's really meant to be placed between the piece of code which captures LDAP requests on the server and the various partition back-end implementations. I haven't looked at the code

[Studio] Setting the 'Apache Directory LDAP API' as the default network provider

2011-12-20 Thread Pierre-Arnaud Marcelot
Hi guys, Today, I have introduced a change in the Connection Core plugin of Apache Directory Studio to set the 'Apache Directory LDAP API' as the default network provider, instead of JNDI. I think it's safe to say that the LDAP API is now a great alternative to JNDI. It might still lack a few

Re: [Studio] Setting the 'Apache Directory LDAP API' as the default network provider

2011-12-20 Thread Kiran Ayyagari
On Tue, Dec 20, 2011 at 11:13 PM, Pierre-Arnaud Marcelot p...@marcelot.net wrote: Hi guys, Today, I have introduced a change in the Connection Core plugin of Apache Directory Studio to set the 'Apache Directory LDAP API' as the default network provider, instead of JNDI. I think it's safe

[Studio] Releasing a first milestone for version 2.0 (2.0.0-M1) soon?

2011-12-20 Thread Pierre-Arnaud Marcelot
Hi (again) guys, As you might have noticed, I took some time last week to go on a JIRA fixing campaign on Apache Directory Studio. With the recent developments, I think we are nearing a possible release of a first milestone for version 2.0. Of course, it still needs some work but various

Re: Transactions and Search/Cursor

2011-12-20 Thread Emmanuel Lécharny
On 12/20/11 6:04 PM, Alex Karasulu wrote: On Tue, Dec 20, 2011 at 4:50 PM, Emmanuel Lecharnyelecha...@gmail.comwrote: Hi, I have added txns support in LdapCoreSessionConnection, but I have some issues with searches : the txn has to remain opened until the cursor is closed. That means the

Re: [Studio] Releasing a first milestone for version 2.0 (2.0.0-M1) soon?

2011-12-20 Thread Emmanuel Lecharny
On 12/20/11 7:09 PM, Pierre-Arnaud Marcelot wrote: Hi (again) guys, As you might have noticed, I took some time last week to go on a JIRA fixing campaign on Apache Directory Studio. With the recent developments, I think we are nearing a possible release of a first milestone for version 2.0.

Re: TxnManager should be moved to shared-ldap

2011-12-20 Thread Alex Karasulu
On Tue, Dec 20, 2011 at 7:11 PM, Pierre-Arnaud Marcelot p...@marcelot.netwrote: Hi Alex, I just discussed this with Emmanuel, and like you, I think the transaction does not belong in shared. It's really meant to be placed between the piece of code which captures LDAP requests on the server

Re: [Studio] Setting the 'Apache Directory LDAP API' as the default network provider

2011-12-20 Thread Alex Karasulu
On Tue, Dec 20, 2011 at 8:03 PM, Kiran Ayyagari kayyag...@apache.orgwrote: On Tue, Dec 20, 2011 at 11:13 PM, Pierre-Arnaud Marcelot p...@marcelot.net wrote: Hi guys, Today, I have introduced a change in the Connection Core plugin of Apache Directory Studio to set the 'Apache Directory

Re: [Studio] Releasing a first milestone for version 2.0 (2.0.0-M1) soon?

2011-12-20 Thread Alex Karasulu
On Tue, Dec 20, 2011 at 9:32 PM, Emmanuel Lecharny elecha...@gmail.comwrote: On 12/20/11 7:09 PM, Pierre-Arnaud Marcelot wrote: Hi (again) guys, As you might have noticed, I took some time last week to go on a JIRA fixing campaign on Apache Directory Studio. With the recent developments,

How do we handle recursive requests wrt transactions ?

2011-12-20 Thread Emmanuel Lecharny
Hi, I tried to get some tests passing where a recursive delete is done. The problem is that we do a search at each level, whch means we start a new transaction at each new level. I can easily check that a transaction has not been started yet (so that the txn is only started once), but as I

Re: How do we handle recursive requests wrt transactions ?

2011-12-20 Thread Selcuk AYA
Since you cannot use triggers right now, I am assuming you are trying to do the recursive delete thorugh ldap core connection? As I tried to explain in my previous emails, the first thing to decide is to where to put the transaction boundaries: * For Ldap requests over the wite, ldap protocol