Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 94413 invoked from network); 18 Jun 2009 17:20:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jun 2009 17:20:51 -0000 Received: (qmail 10279 invoked by uid 500); 18 Jun 2009 17:21:02 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 10227 invoked by uid 500); 18 Jun 2009 17:21:02 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 10217 invoked by uid 99); 18 Jun 2009 17:21:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 17:21:02 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ersin.er@gmail.com designates 209.85.220.228 as permitted sender) Received: from [209.85.220.228] (HELO mail-fx0-f228.google.com) (209.85.220.228) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 17:20:54 +0000 Received: by fxm28 with SMTP id 28so1448230fxm.25 for ; Thu, 18 Jun 2009 10:20:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=rFbq4rMBwsQka3cf8hWRFNpRUn7mSb571/ffMB3eNXU=; b=wrSM/mQikR9I9KfrErRMe2gmPzEqA4jT6pTkSaGR7PgvW4BfKcRtZpXvLQIm/tKZyE vK9RGmBVboqiVLXIYRa/hf1WFZduKgN8ATEzKHvEoxNs5N37/qV1eiKPeRIaGOpbfH45 pdFybAiOAVDzt3vGHW3pru9XGrmKUZlEBOJyI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Ols2nVIqO5+6qYAiDAesXtr0TSkDGrrVsz3/Gc1o3QIhsWyISQqyu3WRXp4ULB0rmv pNjVfQSYz612kFX+3ieX4rax814loHcB91ydArv6wce1BYXGeSOmOojPGHnPQzftx4Q/ CdfbTdD5VoCXHKGubeJdv0lYI5TU7rm9Gqva0= MIME-Version: 1.0 Received: by 10.204.97.204 with SMTP id m12mr1480230bkn.185.1245345632650; Thu, 18 Jun 2009 10:20:32 -0700 (PDT) In-Reply-To: <4A3A5092.5010204@apache.org> References: <4A3A5092.5010204@apache.org> Date: Thu, 18 Jun 2009 20:20:32 +0300 Message-ID: Subject: Re: [apacheds triggers] few issues From: Ersin ER To: users@directory.apache.org Content-Type: multipart/alternative; boundary=001636457c720e86e4046ca2a0f6 X-Virus-Checked: Checked by ClamAV on apache.org --001636457c720e86e4046ca2a0f6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On Thu, Jun 18, 2009 at 17:34, Stefan Seelmann wrote: > Varun Dev schrieb: > > Hi, > > I am new to apacheds and LDAP. I am trying to setup triggers and Ersin > > Er's presentation and the white paper have been really helpful so far. I > > have been able to trigger add, modify and delete events. > > Yeah, very good resources. > > > * apacheds 1.5 looks for stored procedures in [ou=Stored > > Procedures,ou=system] by default. How can I change the location of a > > stored procedure. > > This is fix in the code. Why do you need to change the location? This can easily be made configurable but we did not see an obvious reason to do that. Also IMO SPs should not be located "anywhere" in the server or they should be managed (using access control) very carefully. They can be dangerous in wrong hands ;-) > > * when you change the byte code inside a stored procedure, you have to > > restart the server for new class to be called by the trigger, can this > > be fixed? > > Afaik we just use the default java classloading mechanism, so once the > class is loaded it can't be changed. One idea we have is to use java > scription API see [1]. Maybe it is also possible to use BSF [2]. The class loading stuff is bit hard to get it right. If you file and issue and explain your requirements in detail we can have a look at it. Scripting support is a TODO, but I would really like to move to Java6 in order to leverage the scripting API. > Kind Regards, > Stefan > > > [1] https://issues.apache.org/jira/browse/DIRSERVER-993 > [2] http://jakarta.apache.org/bsf/ > > Regards, -- Ersin ER --001636457c720e86e4046ca2a0f6--