Re: JDNI Resource not reusable

2008-08-08 Thread Sebastian Gerdes
ebastian - -- *** Universität Oldenburg - Department für Informatik Sebastian Gerdes PGP/GPG: 0xF50268FF *** -- View this message in context: http://www.nabble.com/JDNI-Resource-not-reusable-tp14297571p18889857.html Sent from the Tomca

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 ob

JDNI Resource not reusable

2007-12-12 Thread Sebastian Gerdes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, in my context.xml/server.xml I setup a JDNI resource which I access via: Context newCtx = new InitialContext(); Context envCtx = (Context) newCtx.lookup("java:comp/env"); DirContext ctx = (DirContext) envCtx.lookup("ldap/ox"); I use this cont