Re: Java LDAP Connection Pool

2006-01-09 Thread ShuhChang
I am not sure how Netscape internally handles the dropped connections by the LDAP server, but I experienced similar thing using Novell's JLDAP driver. Basically, rather than the firewall dropping the connections, the LDAP server could also timeout and dropped the connection. Please see my d

Re: Java LDAP Connection Pool

2005-10-24 Thread sudip shrestha
in the previous email, i is the index of LDAPConnectionObject in the actual pooll (ConnectionPool), it can be obtained by moving the declaration of int i outside the for loop in the same function: such as    // Get an available connection     int i;    for (i = 0; i < pSize; i++ )  

Re: Java LDAP Connection Pool

2005-10-24 Thread sudip shrestha
Brandon:After Working with my fw-admin here, He fixed that problem (tcp connections being timed out) quite a while ago.  We did not experience that for a while.  Now, it was resurfacing again.  So, I downloaded the source code from http://www.dahbura.com/ldap/, who is the original author of the Co

Re: Java LDAP Connection Pool

2005-10-24 Thread Brandon Keepers
Sudip, On Mon, 2005-10-24 at 08:45 -0500, sudip shrestha wrote: > I am using netscape.ldap.util.ConnectionPool and found that after a > while tomcat (5.5.7) server would stop responding to any pages/actions > that have to deal with ldap functions...can't even do printPool(). I > checked all other

Java LDAP Connection Pool

2005-10-24 Thread sudip shrestha
I am using netscape.ldap.util.ConnectionPool and found that after a while tomcat (5.5.7) server would stop responding to any pages/actions that have to deal with ldap functions...can't even do printPool().  I checked all other stuffs regarding the website, any other pages or actions regarding the d

Re: LDAP connection

2002-05-03 Thread Dan Mosedale
"Matt Ross" <[EMAIL PROTECTED]> writes: > > I also tried changing directory to 'mozilla/directory/c-sdk' and using > 'configure'. This worked but when I ran make (symbolic link to GNU make) I > get this: > > $ make > make export > make[1]: Entering directory > `/cygdrive/c/mydocu~1/cbuilder/mozil

Re: LDAP connection

2002-05-03 Thread Dan Mosedale
"Matt Ross" <[EMAIL PROTECTED]> writes: > > "Dan Mosedale" <[EMAIL PROTECTED]> wrote in message > Yes I am using the Sun iPlanet SDK 5.08. I have both the debugging and > optimised versions. I was using the debugging version previously but > debugging kept freezing when it tried to do an LDAP func

Re: LDAP connection

2002-05-02 Thread daa
Matt Ross wrote: > "Matt Ross" <[EMAIL PROTECTED]> wrote in message > news:aaquat$[EMAIL PROTECTED]... > [snip] > > I am downloading the source of the SDK now. I will have a go at building > it > > under Borland C++ Builder but I suspect the Windows portion is designed > for > > MS Visual C++ so

Re: LDAP connection

2002-05-01 Thread Dan Mosedale
"Matt Ross" <[EMAIL PROTECTED]> writes: > > I had a look at bugzilla but couldn't make head or tail of it. It's not that bad; really. Give it another shot! :-) > I suspect this is a problem to do with the way I am using the SDK as I am > starting to see this blocking problem in most of the LD

Re: LDAP connection

2002-04-26 Thread Dan Mosedale
"Matt Ross" <[EMAIL PROTECTED]> writes: > "Dan Mosedale" <[EMAIL PROTECTED]> wrote in message > aaa4p6$[EMAIL PROTECTED]">news:aaa4p6$[EMAIL PROTECTED]... > > hedi <[EMAIL PROTECTED]> writes: > > > Hi everybody, > > > > > > I am using C SDK 5.08 to access the Iplanet Directory server 4.1 and I'd >

Re: LDAP connection

2002-04-25 Thread Dan Mosedale
hedi <[EMAIL PROTECTED]> writes: > Hi everybody, > > I am using C SDK 5.08 to access the Iplanet Directory server 4.1 and I'd > like to have a mechanism of call back (or any other event) in case of > deconnection (or anything similar) to be sure that my connection is > still valid before any read

LDAP connection timeout

2002-01-11 Thread Ahmad Noori
Hello, I am using Netscape Java tool kit 4.1 to establish a connection with a netscape directory. Sometime when the directory is not available, the tool kit tries to establish a connection any way and it takes about at least 3 to 5 minutes before an LDAPException is thrown, basically it hang