Heads up on JDBM Transactions !

2012-08-27 Thread Göktürk Gezer
Hi Guys, Currently i see we disabled transactions on RecordManager at all. It's not suggested since it introduces the possibility of inconsistencies on data store even ApacheDS txns might not recover silently. RecordFile was broken since it was not initiating recovery while initializing. It's fix

Re: [ApacheDS] [OSGi] Tests on schema blows chunks in OSGi Branch

2012-08-02 Thread Göktürk Gezer
Hi Guys, I fixed the test in both osgi and txns branch manually like what Emmanuel said. Regards, Gokturk On Wed, Jul 25, 2012 at 1:49 AM, Emmanuel Lécharny wrote: > Le 7/24/12 8:19 PM, Alex Karasulu a écrit : > > I'm seeing the following in the OSGi branch: >> >> testLoadAllEnabled(org.apache

Re: Question about Replication of Config Partition and Schema Partition

2012-07-16 Thread Göktürk Gezer
On Tue, Jul 17, 2012 at 1:28 AM, Alex Karasulu wrote: > > > On Mon, Jul 16, 2012 at 6:50 PM, Emmanuel Lécharny wrote: > >> >>- But i'm not against on replicating configuration completely. Some > one > > would want to simply clone the server in its entirety. ( This is

Re: Question about Replication of Config Partition and Schema Partition

2012-07-16 Thread Göktürk Gezer
On Sun, Jul 15, 2012 at 2:03 AM, Emmanuel Lécharny wrote: > Le 7/14/12 9:13 PM, Göktürk Gezer a écrit : > >> Hi Devs, >> >> Here i share my findings on LDAP replication in terms of OSGI layer. >> >> - First of all i found nothing related to replicating co

Re: Question about Replication of Config Partition and Schema Partition

2012-07-14 Thread Göktürk Gezer
Hi Devs, Here i share my findings on LDAP replication in terms of OSGI layer. - First of all i found nothing related to replicating configuration of LDAP Server on any RFC related to replication. So replicating configuration is only ApacheDS's concern because it keeps its configuration a

Re: Question about Replication of Config Partition and Schema Partition

2012-07-11 Thread Göktürk Gezer
On Jul 10, 2012 6:31 PM, "Emmanuel Lécharny" wrote: > > Le 7/10/12 5:07 PM, Göktürk Gezer a écrit : > >> >>>> This is something we've postponed to discuss later, it's not a concern for >>>> single server but in replication scenario i&#x

Re: Question about Replication of Config Partition and Schema Partition

2012-07-11 Thread Göktürk Gezer
On Jul 11, 2012 12:13 AM, "Alex Karasulu" wrote: > > > > On Tue, Jul 10, 2012 at 1:54 PM, Göktürk Gezer wrote: >> >> Hi Everyone, >> >> I would like to know, it config and schema partitions of one server node can be candidate for replication? If r

Re: Question about Replication of Config Partition and Schema Partition

2012-07-10 Thread Göktürk Gezer
On Tue, Jul 10, 2012 at 4:37 PM, Emmanuel Lécharny wrote: > Le 7/10/12 12:54 PM, Göktürk Gezer a écrit : > > Hi Everyone, >> >> I would like to know, it config and schema partitions of one server node >> can be candidate for replication? >> > Yes. > I

Question about Replication of Config Partition and Schema Partition

2012-07-10 Thread Göktürk Gezer
Hi Everyone, I would like to know, it config and schema partitions of one server node can be candidate for replication? If replication of some ApacheDS instance will also clone its config and schema partition, we have a little problem because of the randomly assigned OIDs to component factories. S

LdapOperation timeout issue.

2012-06-13 Thread Göktürk Gezer
Hi Guys, I have a little question with probably quick answers: * Lets assume LdapServer is issuing some operation through DirService.OperationManager. If i change the code in OperationManager to obtain a Lock of target Partition which is exclusively owned by other thread which is destroying the P

Re: Eclipse Equinox Logger Configuration

2012-06-11 Thread Göktürk Gezer
7;m finished. Thanks, Gokturk > > Thanks, > Pierre-Arnaud > > > On 11 juin 2012, at 12:49, Göktürk Gezer wrote: > > > Hi Guys, > > > > I'm having problem with configuring Eclipse Equinox launcher's logger > settings. I suppose some of you have an ans

Eclipse Equinox Logger Configuration

2012-06-11 Thread Göktürk Gezer
Hi Guys, I'm having problem with configuring Eclipse Equinox launcher's logger settings. I suppose some of you have an answer to this. Right now when i use pax-logging infrastructure osgi bundles in equinox, it is working in DEBUG mode as default, making impossible to start server(thanks to Massiv

Re: Problem of JDBM being hard(impossible) to reconfigure once it is initialized

2012-05-23 Thread Göktürk Gezer
On Wed, May 23, 2012 at 1:36 AM, Emmanuel Lécharny wrote: > Le 5/23/12 12:01 AM, Selcuk AYA a écrit : > > I do not know the OSGI jargon but I believe, at the end, changing >> these should reduce to something like this: >> >> 1) quiesce the necessary ldap operations: The simplest thing to do >>

Re: Problem of JDBM being hard(impossible) to reconfigure once it is initialized

2012-05-20 Thread Göktürk Gezer
On Mon, May 21, 2012 at 1:12 AM, Alex Karasulu wrote: > On Wed, May 16, 2012 at 6:58 AM, Göktürk Gezer > wrote: > > Hi Everyone, > > > > As i told you in OSGI branch update, JDBM is so immutable in runtime. > Almost > > every setter calls checkInitializ

Re: Problem of JDBM being hard(impossible) to reconfigure once it is initialized

2012-05-17 Thread Göktürk Gezer
ing other properties to be reconfigurable at runtime and does not break anything? Thanks, Gokturk On Thu, May 17, 2012 at 9:35 PM, Göktürk Gezer wrote: > > On May 17, 2012 8:18 PM, "Selcuk AYA" wrote: > > > > On Thu, May 17, 2012 at 2:37 AM, Göktürk Gezer > wrote

Re: Problem of JDBM being hard(impossible) to reconfigure once it is initialized

2012-05-17 Thread Göktürk Gezer
On May 17, 2012 8:18 PM, "Selcuk AYA" wrote: > > On Thu, May 17, 2012 at 2:37 AM, Göktürk Gezer wrote: > > Hi, > > > > To let all of us think in a way that is compatible with new design. I felt > > like i have to share some basic knowledge of how it works.

Re: Problem of JDBM being hard(impossible) to reconfigure once it is initialized

2012-05-17 Thread Göktürk Gezer
Hi, To let all of us think in a way that is compatible with new design. I felt like i have to share some basic knowledge of how it works. Every entry in config partition is tried to be instantiated by component-hub. There are some things that need to be satisfied to be able to instantiate an entr

Problem of JDBM being hard(impossible) to reconfigure once it is initialized

2012-05-15 Thread Göktürk Gezer
Hi Everyone, As i told you in OSGI branch update, JDBM is so immutable in runtime. Almost every setter calls checkInitialized() method first which throws an exception when its already initialized. We have to change that behavior in as much aspects of it as we can. Otherwise there is no point in g

[ OSGI Branch ] status update

2012-05-12 Thread Göktürk Gezer
Hi Guys, I'd like to give you an update on current status of the OSGI branch, and ask your opinions on some topics... First of all, now we have ApacheDS running in OSGI, capable of reconfiguring itself on the fly (partially for now just for test, only server itself along with interceptors and som

Re: How Authenticators and PasswordPolicies will be managed in new component design.

2012-01-12 Thread Göktürk Gezer
On Thu, Jan 12, 2012 at 6:21 PM, Alex Karasulu wrote: > > > On Thu, Jan 12, 2012 at 3:45 PM, Emmanuel Lecharny wrote: > >> On 1/12/12 2:01 PM, Alex Karasulu wrote: >> >>> On Tue, Jan 10, 2012 at 2:33 AM, Göktürk Gezer* >>> *wrote: >>> &

Re: How Authenticators and PasswordPolicies will be managed in new component design.

2012-01-09 Thread Göktürk Gezer
things. So i'll work on that before everything. But you can still say if Authenticators must be extensible Regards, Gokturk On Tue, Jan 10, 2012 at 1:35 AM, Göktürk Gezer wrote: > Hi Everyone, > > I'm moving through Interceptors to tie them to our new component system. &

How Authenticators and PasswordPolicies will be managed in new component design.

2012-01-09 Thread Göktürk Gezer
Hi Everyone, I'm moving through Interceptors to tie them to our new component system. As you might guess AuthenticationInterceptor needs some special care. Right now, Authenticators and PasswordPolicies are defined as entries under AuthenticationInterceptor's entry on DIT. I must say this is not s

Re: osgi-branch ( status update )

2012-01-09 Thread Göktürk Gezer
On Mon, Jan 9, 2012 at 3:21 PM, Pierre-Arnaud Marcelot wrote: > On 9 janv. 2012, at 03:55, Göktürk Gezer wrote: > > > Hi Everyone, > > > > I finally completed component-hub. It's core functionality is > implemented with the latest commits. > > > &

Re: osgi-branch ( status update )

2012-01-09 Thread Göktürk Gezer
Hi, On Mon, Jan 9, 2012 at 11:25 AM, Alex Karasulu wrote: > > On Mon, Jan 9, 2012 at 4:55 AM, Göktürk Gezer wrote: > >> Hi Everyone, >> >> I finally completed component-hub. It's core functionality is implemented >> with the latest commits. >> >&g

osgi-branch ( status update )

2012-01-08 Thread Göktürk Gezer
Hi Everyone, I finally completed component-hub. It's core functionality is implemented with the latest commits. Now it can be used to : * listen for annotated component's of any type,(Interceptors,Partitions,DirectoryBackedServers for now...) * create, cache and reconfigure instances of installed

Re: ServiceBuilder class duplicate

2012-01-06 Thread Göktürk Gezer
Hi Emmanuel, On Fri, Jan 6, 2012 at 12:37 PM, Emmanuel Lecharny wrote: > Hi guys, > > we currently have two ServiceBuilder class : > org.apache.directory.server.**config.ServiceBuilder > org.apache.directory.server.**config.builder.ServiceBuilder > > There are almost identical. > > I guess that o

Back from exams...

2011-12-28 Thread Göktürk Gezer
Hi Everyone, I stretched my MIA period for a week, due to some reports and presentations i had to do. Now i'm back on work again. Component-Hub work is going on schedule. I've found some spare time to work on it. Almost all subsystems of it are implemented, just InstanceManager is left for run-ti

MIA for 2 weeks

2011-12-06 Thread Göktürk Gezer
Hi Devs, I'll be mostly MIA for 2 weeks due to final exams. Then we can speed up osgification process without school barrier :) Cheers, Göktürk

Re: Accessing SchemaPartition and SingleFileLdifPartition directly

2011-12-05 Thread Göktürk Gezer
On Mon, Dec 5, 2011 at 5:18 PM, Pierre-Arnaud Marcelot wrote: > On 5 déc. 2011, at 10:11, Pierre-Arnaud Marcelot wrote: > > As a matter of fact, I really believe that it should always be allowed to > do any kind of operation with any session. > > > Sorry, I meant "withOUT any session" ( == with a

Re: Accessing SchemaPartition and SingleFileLdifPartition directly

2011-12-05 Thread Göktürk Gezer
Hi Pierre, On Mon, Dec 5, 2011 at 11:11 AM, Pierre-Arnaud Marcelot wrote: > Hi guys, > > On 5 déc. 2011, at 10:00, Emmanuel Lecharny wrote: > > > On 12/4/11 8:23 PM, Göktürk Gezer wrote: > >> BTW, > >> > >> If passing null as CoreSession is ok on Ab

Re: Accessing SchemaPartition and SingleFileLdifPartition directly

2011-12-05 Thread Göktürk Gezer
Hi Emmanuel, On Mon, Dec 5, 2011 at 11:00 AM, Emmanuel Lecharny wrote: > On 12/4/11 8:23 PM, Göktürk Gezer wrote: > >> BTW, >> >> If passing null as CoreSession is ok on AbstractBTreePartition(Schema and >> Config Partitions.) operations, i might use some pointers

Re: Accessing SchemaPartition and SingleFileLdifPartition directly

2011-12-04 Thread Göktürk Gezer
BTW, If passing null as CoreSession is ok on AbstractBTreePartition(Schema and Config Partitions.) operations, i might use some pointers about how to use them best. Pointers on SearchEngine usage could save me lots of hours also. Regards, Gokturk On Sun, Dec 4, 2011 at 8:55 PM, Göktürk Gezer

Accessing SchemaPartition and SingleFileLdifPartition directly

2011-12-04 Thread Göktürk Gezer
Hi Everyone, I have couple of questions about accessing Partitions directly. To initialize and manage component informations on DIT, i need to access both SchemaPartition and SingleFileLdifPartition(for config partition) before the DirectoryService is reference is even created, or partially initi

Re: OSGi idea with equinox issues

2011-11-30 Thread Göktürk Gezer
On Nov 30, 2011 1:00 PM, "Pierre-Arnaud Marcelot" wrote: > > Hi Alex, > > For sure. Good idea. > It was also on my schedule… > > I just wanted to see what Göktürk thinks of the issue first and if the "dumb me" did miss something obvious… > I don't think you're missing some obvious thing. This may

Re: Questions about the design of the "component-hub"

2011-11-29 Thread Göktürk Gezer
On Nov 29, 2011 12:00 PM, "Emmanuel Lecharny" wrote: > > On 11/28/11 10:56 AM, Alex Karasulu wrote: >> >> On Mon, Nov 28, 2011 at 2:25 AM, Göktürk Gezer wrote: >>> >>> Hi Devs, >>> As i go through implementing component-hub, i couldn't

Re: Questions about the design of the "component-hub"

2011-11-28 Thread Göktürk Gezer
On Mon, Nov 28, 2011 at 8:03 PM, Selcuk AYA wrote: > On Mon, Nov 28, 2011 at 6:24 PM, Göktürk Gezer wrote: > > > > > > On Mon, Nov 28, 2011 at 11:56 AM, Alex Karasulu > > wrote: > >> > >> On Mon, Nov 28, 2011 at 2:25 AM, Göktürk Gezer &g

Re: Questions about the design of the "component-hub"

2011-11-28 Thread Göktürk Gezer
On Mon, Nov 28, 2011 at 11:56 AM, Alex Karasulu wrote: > On Mon, Nov 28, 2011 at 2:25 AM, Göktürk Gezer wrote: > > Hi Devs, > > As i go through implementing component-hub, i couldn't think clearly > about > > some things, so i need some pointers on them. I'

Questions about the design of the "component-hub"

2011-11-27 Thread Göktürk Gezer
Hi Devs, As i go through implementing component-hub, i couldn't think clearly about some things, so i need some pointers on them. I've made some decisions on code based on my experiments but i need to hear more from you on these specific issues. component-hub is responsible for providing main ext

Re: [API][ApacheDS][Studio] Status on the OSGI branch

2011-11-23 Thread Göktürk Gezer
On Wed, Nov 23, 2011 at 5:31 PM, Pierre-Arnaud Marcelot wrote: > Hi guys, > > I wanted to give you a little bit of feedback and ask for status from the > other team members (especially Göktük) working on the OSGI branch. > > > On the API side, Göktük introduced extensibility for the comparators a

MIA for 5 days

2011-11-22 Thread Göktürk Gezer
Hi Everyone, I will be MIA for the following 5 days due to exams, will be back at 28th. Take care. Regards, Göktürk

Re: MIA for 2 days

2011-11-17 Thread Göktürk Gezer
Take care Emmanuel. Get well soon... Cheers, Gokturk

Re: ApacheDS in OSGi

2011-11-08 Thread Göktürk Gezer
On Nov 9, 2011 1:16 AM, "Christoph Czurda" wrote: > > On 11/08/2011 08:00 PM, Göktürk Gezer wrote: >> >> >> On Nov 8, 2011 8:43 PM, "Christoph Czurda" wrote: >> > >> > Hello! >> > >> > I would like to know about the

Re: ApacheDS in OSGi

2011-11-08 Thread Göktürk Gezer
On Nov 8, 2011 8:43 PM, "Christoph Czurda" wrote: > > Hello! > > I would like to know about the status of ApacheDS and OSGi. I saw that there is a dedicated branch on SVN and I read that some parts of the server are now OSGi compliant. Yes, we are working heavily on moving ApacheDS to OSGI. Howev

Re: Implementing Interceptor Extendibility

2011-11-01 Thread Göktürk Gezer
Hi Emmanuel, On Mon, Oct 31, 2011 at 8:52 PM, Emmanuel Lecharny wrote: > On 10/31/11 10:17 AM, Alex Karasulu wrote: > >> On Sun, Oct 30, 2011 at 7:02 PM, Göktürk Gezer** >> wrote: >> >> Hi Devs, >>> >>> I'd like to do some brainstorming

Re: Implementing Interceptor Extendibility

2011-10-31 Thread Göktürk Gezer
On Oct 31, 2011 11:18 AM, "Alex Karasulu" wrote: > > On Sun, Oct 30, 2011 at 7:02 PM, Göktürk Gezer wrote: >> >> Hi Devs, >> >> I'd like to do some brainstorming about Interceptor extension mechanism which we're about to implement. Ideas those

Re: Implementing Interceptor Extendibility

2011-10-31 Thread Göktürk Gezer
Sorry i've made a typo. See below... On Oct 30, 2011 7:02 PM, "Göktürk Gezer" wrote: > > Hi Devs, > > I'd like to do some brainstorming about Interceptor extension mechanism which we're about to implement. Ideas those will come out from that thread will

Implementing Interceptor Extendibility

2011-10-30 Thread Göktürk Gezer
Hi Devs, I'd like to do some brainstorming about Interceptor extension mechanism which we're about to implement. Ideas those will come out from that thread will enlighten our way on other extension points of the ApacheDS. The first main issue is whether we're going to preserve old standalone Apac

Re: svn commit: r1188706 - in /directory/apacheds/branches/apacheds-osgi: service-osgi/src/main/java/org/apache/directory/server/ service/src/main/java/org/apache/directory/server/ xdbm-partition/src/

2011-10-25 Thread Göktürk Gezer
Ohh.This is all accidental while i try to sync both ApacheDsService class on both service and service-osgi because of some debugger issue. I changed both back to original. On Tue, Oct 25, 2011 at 6:33 PM, Pierre-Arnaud Marcelot wrote: > Hi Göktürk, > > I'm not sure this commented field should b

Re: [ApacheDS 2.0] OSGI, Implementing Services

2011-10-25 Thread Göktürk Gezer
Hi Guys, Comparators, Normalizers and SyntaxCheckers are modified to be extendible in OSGI and left the same in non OSGI environments. I removed the "String compType" property that i wrote in every Comparator, and didn't use it on Normalizers and SyntaxCheckers. Because it was a piece of some adv

Re: svn commit: r1188213 - /directory/sandbox/gokturk/

2011-10-24 Thread Göktürk Gezer
Hey On Oct 24, 2011 10:16 PM, "Emmanuel Lecharny" wrote: > > hats down ! Your first commit ! You deserve a beer, at least (from each of us of course :) (and then you will do your first vomit... Haha :) I don't think I'm gonna vomit unless you buy me the second ones :) > > On 10/24/11 6:39 PM, g

Re: [API] Experimenting OSGI fragments to solve the extensibility issue

2011-10-20 Thread Göktürk Gezer
On Thu, Oct 20, 2011 at 2:39 PM, Pierre-Arnaud Marcelot wrote: > Hi Göktürk, > > On 20 oct. 2011, at 13:19, Göktürk Gezer wrote: > > Hi All, > > I see lots of discussions took place. So i would like to say some more. > > On Thu, Oct 20, 2011 at 1:58 PM, Emmanuel Lécha

Re: [API] Experimenting OSGI fragments to solve the extensibility issue

2011-10-20 Thread Göktürk Gezer
Hi All, I see lots of discussions took place. So i would like to say some more. On Thu, Oct 20, 2011 at 1:58 PM, Emmanuel Lécharny wrote: > On 10/20/11 12:33 PM, Alex Karasulu wrote: > >> On Thu, Oct 20, 2011 at 1:18 PM, Emmanuel Lecharny** >> wrote: >> >> On 10/20/11 12:06 PM, Alex Karasulu wr

Re: [API] Experimenting OSGI fragments to solve the extensibility issue

2011-10-19 Thread Göktürk Gezer
some unique signature. Like org.foo.BarComparator. So when that extender sees that fragment being installed into framework, it can notify the shared to load that new class name to its internal list. Regards, Gokturk On Thu, Oct 20, 2011 at 4:48 AM, Göktürk Gezer wrote: > Hi Emmanuel,Pierre &g

Re: [API] Experimenting OSGI fragments to solve the extensibility issue

2011-10-19 Thread Göktürk Gezer
Hi Emmanuel,Pierre I just attached my current work on Comparators to #DIRSERVER-1672. So here is the explanation of how it works and how we can improve. Because both issues i asked are ambigious. I decided to keep them both. I mean Comparators are not shared and their OID is also assignable. Firs

Re: [API] Experimenting OSGI fragments to solve the extensibility issue

2011-10-19 Thread Göktürk Gezer
On Wed, Oct 19, 2011 at 10:13 PM, Pierre-Arnaud Marcelot wrote: > Hi Göktürk, > > Le 19 oct. 2011 à 19:05, "Göktürk Gezer" a > écrit : > > Hi Pierre, > > On Wed, Oct 19, 2011 at 6:36 PM, Pierre-Arnaud Marcelot > wrote: > >> Hi Dev, >> >>

Re: [API] Experimenting OSGI fragments to solve the extensibility issue

2011-10-19 Thread Göktürk Gezer
Hi Pierre, On Wed, Oct 19, 2011 at 6:36 PM, Pierre-Arnaud Marcelot wrote: > Hi Dev, > > Following our efforts on the OSGI side, I took some time to think about > (and experiment) how we could solve our extensibility issue on the LDAP API, > where we want our users to be able to provide their own

Re: [ApacheDS 2.0] OSGI, Implementing Services

2011-10-19 Thread Göktürk Gezer
On Wed, Oct 19, 2011 at 10:20 AM, Emmanuel Lecharny wrote: > On 10/19/11 9:08 AM, Pierre-Arnaud Marcelot wrote: > >> Hi Göktürk, >> >> On 19 oct. 2011, at 06:35, Göktürk Gezer wrote: >> >> Hi Emmanuel, >>> >>> I'm doing some experimen

Re: [ApacheDS 2.0] OSGI, Implementing Services

2011-10-19 Thread Göktürk Gezer
On Wed, Oct 19, 2011 at 9:05 AM, Emmanuel Lécharny wrote: > On 10/19/11 6:35 AM, Göktürk Gezer wrote: > >> Hi Emmanuel, >> >> I'm doing some experiments on DS. I saw some problems on our way. Before >> diving deeper i must consult you about somethings. >

Re: [ApacheDS 2.0] OSGI, Implementing Services

2011-10-18 Thread Göktürk Gezer
Hi Emmanuel, I'm doing some experiments on DS. I saw some problems on our way. Before diving deeper i must consult you about somethings. I'm changing the way we deal with schema elements(LdapComparator,Normalizer,SyntaxChecker) so that they will be pluggable. Schema manager tries to classload the

Re: [ApacheDS 2.0] OSGI, Implementing Services

2011-10-18 Thread Göktürk Gezer
On Tue, Oct 18, 2011 at 5:10 PM, Emmanuel Lécharny wrote: > On 10/18/11 4:03 PM, Göktürk Gezer wrote: > >> Hi Emmanuel, >> >> Services can be implement into ApacheDS . Good mix of OSGI itself and >> IPojo >> will let us do everything we wanted to make Apach

[ApacheDS 2.0] OSGI, Implementing Services

2011-10-18 Thread Göktürk Gezer
Hi Emmanuel, Services can be implement into ApacheDS . Good mix of OSGI itself and IPojo will let us do everything we wanted to make ApacheDS an OSGI application. Later changes to the code will make it dependent on OSGI Framework. So i'm waiting for a branch as we talked. I think, if we apply min

Re: svn commit: r1185648 - /directory/apacheds/trunk/apache-felix/

2011-10-18 Thread Göktürk Gezer
Hi Pierre, Can you add apache-felix/felix-cache into svn ignore too. Thanks. Regards, Gokturk On Tue, Oct 18, 2011 at 4:38 PM, wrote: > Author: pamarcelot > Date: Tue Oct 18 13:38:45 2011 > New Revision: 1185648 > > URL: http://svn.apache.org/viewvc?rev=1185648&view=rev > Log: > Added 'bundle

Re: OSGI and Interface vs classes separation

2011-10-18 Thread Göktürk Gezer
Hi Emmanuel, On Tue, Oct 18, 2011 at 3:59 PM, Emmanuel Lecharny wrote: > Hi, > > today, I did a bit of cleanup in core-api and core-shared, moving what I > have put in core-shared to core-api (most of the moved classes were > associated with interceptors), and now, it raises a question : > - wha

Re: [ApacheDS 2.0] OSGI, Implementing modularity

2011-10-17 Thread Göktürk Gezer
Hi, On Mon, Oct 17, 2011 at 6:52 PM, Kiran Ayyagari wrote: > thanks Gokturk for the details, have another q. what will happen if I > try to run the server in another OSGi runtime? will the server still > start its own > OSGi runtime? I just embedded Felix as debug platform. Custumization i've d

Re: [ApacheDS 2.0] OSGI, Implementing modularity

2011-10-17 Thread Göktürk Gezer
all after > > complete OSGification of the server? > > put it in another way, would it be possible to start the server using > > the existing apacheds.sh script, without loading karaf? > > > > > > On Mon, Oct 17, 2011 at 1:04 AM, Göktürk Gezer > wrote: > &

Re: [ApacheDS 2.0] OSGI, Implementing modularity

2011-10-16 Thread Göktürk Gezer
Hi Emmanuel, I attached "custom felix framework distribution" patch at #DIRSERVER-1669 . This custom framework will let us run and debug our OSGI based codes inside Eclipse. To use it properly, there are two additional steps: ...after mvn install, mvn eclipse:eclipse and importing projects into

Re: [ApacheDS 2.0] OSGI, Implementing modularity

2011-10-15 Thread Göktürk Gezer
Hi Stefan, On Sat, Oct 15, 2011 at 9:07 PM, Stefan Seelmann wrote: > Hi Göktürk, > > can you please create a Jira issue and attach the patch there? That's > the common way we handle contributions. When attaching the patch there > is also a checkbox "Grant license to ASF for inclusion in ASF works

Re: [ADS 2.0] OSGi, interceptors : status

2011-10-14 Thread Göktürk Gezer
Hi Emmanuel, On Fri, Oct 14, 2011 at 7:36 PM, Emmanuel Lécharny wrote: > Ok, as of today, I have a working trunk (all tests passing). > > The main modifications are : > - we have one sub-project under apacheds, 'interceptors', which is the root > for all the interceptors. It's a pom > - each inte

Re: [ADS 2.0] OSGi, interceptors

2011-10-13 Thread Göktürk Gezer
Hi Emmanuel,Alex I would like to add something to discussion. More inline... On Thu, Oct 13, 2011 at 3:23 PM, Alex Karasulu wrote: > > > On Thu, Oct 13, 2011 at 3:05 PM, Emmanuel Lécharny > wrote: > >> On 10/13/11 1:44 PM, Alex Karasulu wrote: >> >>> On Thu, Oct 13, 2011 at 2:20 PM, Emmanuel L

Re: [ADS 2.0] OSGi : solving package conflicts

2011-10-11 Thread Göktürk Gezer
Hi Stefan, Packages are fine now, thanks. About core-api, Emmanuel thinks the same, moving all packages org.apache.directory.server.core.api parent. Package renamings have broken the apacheds-service BTW. Its Just a harcoded class name. diff to fix attached. Regards, Gokturk Index: apacheds/ser

Re: [ApacheDS 2.0] OSGI, Implementing modularity

2011-10-11 Thread Göktürk Gezer
Hi, I bundelized all submodules of apacheds and shared properly. Temporarily pushed all dependencies into a new bundle and serving them from it. Unfortunately. the first problem arised. Interceptors are hardcoded into config.ldif file, and being load using reflection. So OSGIfication broke that c

[ApacheDS 2.0] OSGI, Implementing modularity

2011-10-10 Thread Göktürk Gezer
Package conflicts are almost completely resolved. So we can begin implementing OSGI modularity into ApacheDS. To pass through the list again, we must do following: * 3.th party dependencies must be bundleized. Apache commons that we are dependent on are already osgi bundles. Some of the remainings

Re: [ADS 2.0] OSGi : solving package conflicts

2011-10-09 Thread Göktürk Gezer
On Sun, Oct 9, 2011 at 11:55 PM, Stefan Seelmann wrote: > > > On Sun, Oct 9, 2011 at 9:02 PM, Stefan Seelmann wrote: > >> On Sat, Oct 8, 2011 at 5:12 PM, Göktürk Gezer wrote: >> >>> Hi, >>> I attached a patch that solves these package conflicts.

Re: [ADS 2.0] OSGi : solving package conflicts

2011-10-09 Thread Göktürk Gezer
Hi Stefan, Thank you for that. I would create a patch but, it is still not the best way. I'm waiting for you then. Regards, Gokturk On Sun, Oct 9, 2011 at 7:39 PM, Stefan Seelmann wrote: > Hi Göktürk, > > I agree that it doesn't make sense to rename packages as a > non-committer. When applying

Re: [ADS 2.0] OSGi : solving package conflicts

2011-10-08 Thread Göktürk Gezer
Hi, I attached a patch that solves these package conflicts. But i'm still unsure about working on trunk.Package renamings are something hard to describe as diff. Right now, this diff zeroes the old package contents, add new ones and modify other parts of code to use new packages. i can also create

Re: [ADS 2.0] OSGi

2011-10-06 Thread Göktürk Gezer
On Thu, Oct 6, 2011 at 8:10 PM, Emmanuel Lécharny wrote: > On 10/6/11 12:29 PM, Göktürk Gezer wrote: > >> Hi Emmanuel, >> >> I would like to elaborate the things about OSGI those we've talked with >> you >> and Alex here. So that we can have some road

Re: [ADS 2.0] OSGi

2011-10-06 Thread Göktürk Gezer
Hi Emmanuel, I would like to elaborate the things about OSGI those we've talked with you and Alex here. So that we can have some road map. With respect to OSGI's 3 layer (modularity, lifecycle and services), we can divide our future efforts into 3 main step. Actually the first and second steps ca