Re: JDNI Resource not reusable

2008-08-08 Thread Sebastian Gerdes
Hello, to whom it may concern, I solved this problem in another way. In the ContextFactory I only return an InitialDirContext. The class which wants to connect to the LDAP uses this InitialDirContext, looks up the environment and connects to the LDAP. You can find the source code at:

Re: JDNI Resource not reusable

2007-12-12 Thread David Delbecq
Hello, ho did you create your ldap object (not ldap/ox) ? For ox to be pool, the ldap object must be a pool, that return a new object each time a child object is requested. envCtx.lookup(ldap/ox) actually request object ox from object ldap. It ldap is not a pool, it will return a single object,