From: Alistair Y. <ali...@sm...> - 2006-08-02 09:12:46
|
Jon, if your suspicions are correct and that the thread doesn't have time to get ready, then adding more sleeps would presumably make it worse? What happens if you remove them? Were they there to cure the original problem which went away itself? FWIW, the novell libs work fine on my laptop using openldap on localhost. Alistair On 1 Aug 2006, at 20:45, Jon Maber wrote: > Aggie, > for me its the setup with the ultrafast localhost connection from the > client to the server or the pretty damn fast campus connection that > throw exceptions. > I'm wondering whether its so fast that the Novell LDAP API timing > problems are more likely to occur.. > > Andrew Booth wrote: >> I have been testing from home via BT ADSL to the Leeds AD. >> >> My ADSL is currently running at 2272 Kb/s in and 288 Kb/s out. >> >> When I try it normally, I get exceptions and timeouts. >> > Presumably it just can't connect - the AD is firewalled against off > campus access. > You would get an exception on every single attempt to connect. >> When I go in through the University of Leeds VPN, it works fine. >> So I don't think it is related to the speed of the connection - it >> works >> fine at 288Kb/s. >> > My theory is that it fails on a fast e.g. 100Mbs ethernet connection > with low latency and works on slower response network but not on every > attempt to connect - it's random. >> Are you sure that this isn't something to do with the Leeds firewall? >> >> Aggie >> >> -----Original Message----- >> From: bod...@li... >> [mailto:bod...@li...] On >> Behalf Of Jon >> Maber >> Sent: 01 August 2006 18:24 >> To: a.g...@le...; Bodington developers >> Subject: Re: [Bodington-developers] More LDAP Fun and Games >> >> It's not the LDAP server that's the problem - my test fails against >> OpenLDAP and AD directories. It's the client side that is dodgy. From >> home I don't have access to any AD directories so I'm testing against >> OpenLDAP. >> >> Andrew Booth wrote: >> >>> OpenLDAP? >>> >>> I thought we were testing the LDAP in AD. >>> >>> Aggie >>> >>> -----Original Message----- >>> From: bod...@li... >>> [mailto:bod...@li...] On >>> Behalf Of >>> >> Jon >> >>> Maber >>> Sent: 01 August 2006 17:16 >>> To: Bodington developers >>> Subject: Re: [Bodington-developers] More LDAP Fun and Games >>> >>> I've got two near identical test scenarios - one throws >>> exceptions the >>> other doesn't; >>> >>> 1) Both access the same OpenLDAP server >>> 2) Both running linux although slightly different kernel numbers. >>> (one >>> that fails is newer) >>> 3) Both running the same release of the same version of Java >>> 4) Both using the same compiled test class and the same jar files >>> - not >>> merely the same version but the same files on a single shared >>> network >>> >> drive. >> >>> The only significant difference is that the one that fails has a >>> faster >>> network link to the LDAP server than the one that doesn't fail. >>> >>> Peter Crowther wrote: >>> >>> >>>>> From: Andrew Booth >>>>> OK - I've downloaded the latest jar file and recompiled the >>>>> test stuff. >>>>> >>>>> Still works OK. >>>>> >>>>> >>>>> >>>> That seems to exclude my idea, then. Good - one fewer area to >>>> test :-). >>>> >>>> - Peter >>>> >>>> ------------------------------------------------------------------- >>>> ------ >>>> Take Surveys. Earn Cash. Influence the Future of IT >>>> Join SourceForge.net's Techsay panel and you'll get the chance >>>> to share >>>> >>>> >>> your >>> >>> >>>> opinions on IT & business topics through brief surveys -- and >>>> earn cash >>>> http://www.techsay.com/default.php? >>>> page=join.php&p=sourceforge&CID=DEVDEV >>>> _______________________________________________ >>>> Bodington-developers mailing list >>>> Bod...@li... >>>> https://lists.sourceforge.net/lists/listinfo/bodington-developers >>>> >>>> >>>> >>>> >>> -------------------------------------------------------------------- >>> ----- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to >>> share >>> >> your >> >>> opinions on IT & business topics through brief surveys -- and >>> earn cash >>> http://www.techsay.com/default.php? >>> page=join.php&p=sourceforge&CID=DEVDEV >>> _______________________________________________ >>> Bodington-developers mailing list >>> Bod...@li... >>> https://lists.sourceforge.net/lists/listinfo/bodington-developers >>> >>> >>> -------------------------------------------------------------------- >>> ----- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to >>> share >>> >> your >> >>> opinions on IT & business topics through brief surveys -- and >>> earn cash >>> http://www.techsay.com/default.php? >>> page=join.php&p=sourceforge&CID=DEVDEV >>> _______________________________________________ >>> Bodington-developers mailing list >>> Bod...@li... >>> https://lists.sourceforge.net/lists/listinfo/bodington-developers >>> >>> >>> >> >> >> --------------------------------------------------------------------- >> ---- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys -- and earn >> cash >> http://www.techsay.com/default.php? >> page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Bodington-developers mailing list >> Bod...@li... >> https://lists.sourceforge.net/lists/listinfo/bodington-developers >> >> >> --------------------------------------------------------------------- >> ---- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys -- and earn >> cash >> http://www.techsay.com/default.php? >> page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Bodington-developers mailing list >> Bod...@li... >> https://lists.sourceforge.net/lists/listinfo/bodington-developers >> >> > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys -- and earn > cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers |