From: Peter C. <Pet...@me...> - 2006-08-01 14:39:19
|
> From: Jon Maber > Exception in thread "Thread-4" java.lang.RuntimeException:=20 > Connection.freeWriteSemaphore(7): thread does not own the semaphore,=20 > owned by -3 Jon, what JDK version are you running and what set of libraries? Aggie and Alistair, ditto? That feels a little too much like a JDK issue for comfort... - Peter |
From: Peter C. <Pet...@me...> - 2006-08-01 15:37:23
|
> From: Andrew Booth > OK - I've downloaded the latest jar file and recompiled the=20 > test stuff. >=20 > Still works OK. That seems to exclude my idea, then. Good - one fewer area to test :-). - Peter |
From: Jon M. <jo...@te...> - 2006-08-01 16:16:16
|
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 > > |
From: Sean M. <se...@sm...> - 2006-08-01 16:23:15
|
cool, let's see some ping and bing times to quantify this network congestion difference. what are the kernels and distros? s On 1 Aug 2006, at 17:16, Jon Maber wrote: > 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 > |
From: Jon M. <jo...@te...> - 2006-08-01 17:21:58
|
Sean Mehan wrote: > cool, let's see some ping and bing times to quantify this network > congestion difference. > The fastest link was via the localhost device and when I tried against the University AD it was a dedicated 100Mbs ethernet line to a router on the really really fast ATM network (I think). The slower connection that works is through my high latency 54Mbps wireless network. > > what are the kernels and distros? > PC That doesn't throw exceptions; Linux version 2.6.9-1.667 (bhc...@tw...) (gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)) #1 Tue Nov 2 14:41:25 EST 2004 PC That does; Linux version 2.6.17-1.2145_FC5 (bre...@hs...) (gcc version 4.1.1 2006 0525 (Red Hat 4.1.1-1)) #1 Sat Jul 1 13:03:45 EDT 2006 I've been digging in the source code for OpenLDAP and I think it's related to poor coding in relation to handling timings. As a test of that theory I set the LDAP search timeout to infinity and the exceptions stopped. Setting the search timeout to any finite value causes exceptions on one particular client PC. Of course I also chopped out the custom Socket Factory but that made no difference at all. My sneaking suspicion is that the conversation with the LDAP server starts in one thread while another thread prepares to receive the response but the response comes back before that setup is complete. Mostly it seems to be trying to clear semaphores that don't exist and carries on executing anyway but from time to time it just locks up. |
From: Andrew B. <a.g...@le...> - 2006-08-01 17:08:39
|
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=20 other doesn't; 1) Both access the same OpenLDAP server 2) Both running linux although slightly different kernel numbers. (one=20 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=20 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=20 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=20 >> test stuff. >> >> Still works OK. >> =20 > > 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=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers > > =20 -------------------------------------------------------------------------= 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=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Bodington-developers mailing list Bod...@li... https://lists.sourceforge.net/lists/listinfo/bodington-developers |
From: Jon M. <jo...@te...> - 2006-08-01 17:24:08
|
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 > > |
From: Andrew B. <a.g...@le...> - 2006-08-01 18:59:51
|
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. 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. 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 |
From: Jon M. <jo...@te...> - 2006-08-01 19:45:25
|
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 > > |
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 |
From: Jon M. <jo...@te...> - 2006-08-02 13:12:22
|
Alistair Young wrote: > 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? > I find that the longer those sleeps are the less often the exceptions occur - my interpretation is that this allows the API's background threads to catch up with the API calls but it is hard to trace this kind of problem because the exceptions occur in the background thread are caught in the background thread and their stack trace refers to that thread. With a zero delay the exceptions come thick and fast. There's a limit to how much time I can put into studying this. In my personal opinion a good stable implementation of a network protocol should always report errors up to the application layer and not simply spew out stack traces on stderr and in the worst case silently freeze up. I have lost confidence in the Novell code. (By the way , can anyone find a bug reporting web site?) Another good reason to switch to the Sun LDAP provider is that it conforms to JNDI which is the directory equivalent of JDBC. That means if we ever experience problems with the Sun provider we can drop in another one without wasting time reprogramming to a new API - you just drop a jar file into the lib directory and edit the config file. Anyway, I realise that I'm in a minority of 1. The Leeds specific authenticator is now based on JNDI and I'm not going to switch it back to the Novell API because I need to get on with the next job. However, I'd be perfectly happy if someone else wants to rewrite it for release. Jon |
From: Andrew B. <a.g...@le...> - 2006-08-01 14:42:59
|
D:\eclipse\workspace\ADDebug>java -version java version "1.5.0_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05) Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode) Ldap.jar file taken from Bodington HEAD Aggie -----Original Message----- From: bod...@li... [mailto:bod...@li...] On Behalf Of Peter Crowther Sent: 01 August 2006 15:39 To: Bodington developers Subject: Re: [Bodington-developers] More LDAP Fun and Games > From: Jon Maber > Exception in thread "Thread-4" java.lang.RuntimeException: > Connection.freeWriteSemaphore(7): thread does not own the semaphore, > owned by -3 Jon, what JDK version are you running and what set of libraries? Aggie and Alistair, ditto? That feels a little too much like a JDK issue for comfort... - 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 |
From: Alistair Y. <ali...@sm...> - 2006-08-01 14:48:22
|
> Ldap.jar file taken from Bodington HEAD ditto Alistair On 1 Aug 2006, at 15:42, Andrew Booth wrote: > D:\eclipse\workspace\ADDebug>java -version > java version "1.5.0_05" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05) > Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode) > > Ldap.jar file taken from Bodington HEAD > > Aggie > > > -----Original Message----- > From: bod...@li... > [mailto:bod...@li...] On > Behalf Of > Peter Crowther > Sent: 01 August 2006 15:39 > To: Bodington developers > Subject: Re: [Bodington-developers] More LDAP Fun and Games > >> From: Jon Maber >> Exception in thread "Thread-4" java.lang.RuntimeException: >> Connection.freeWriteSemaphore(7): thread does not own the semaphore, >> owned by -3 > > Jon, what JDK version are you running and what set of libraries? > Aggie > and Alistair, ditto? That feels a little too much like a JDK issue > for > comfort... > > - 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 |
From: Jon M. <jo...@te...> - 2006-08-01 15:05:24
|
Alistair Young wrote: >> Ldap.jar file taken from Bodington HEAD >> > ditto > I used the most recent ldap.jar from the Novell web site, i.e. 2006.06.22-1 because that's what you told me to use! I ran it inside NetBeans with JDK 1.5.0_06. Jon |
From: Andrew B. <a.g...@le...> - 2006-08-01 15:31:16
|
OK - I've downloaded the latest jar file and recompiled the test stuff. Still works OK. Aggie -----Original Message----- From: bod...@li... [mailto:bod...@li...] On Behalf Of Jon Maber Sent: 01 August 2006 16:05 To: Bodington developers Subject: Re: [Bodington-developers] More LDAP Fun and Games Alistair Young wrote: >> Ldap.jar file taken from Bodington HEAD >> > ditto > I used the most recent ldap.jar from the Novell web site, i.e. 2006.06.22-1 because that's what you told me to use! I ran it inside NetBeans with JDK 1.5.0_06. Jon ------------------------------------------------------------------------- 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 |
From: Alistair Y. <ali...@sm...> - 2006-08-01 14:47:54
|
Forgot to add, tried it on Mac OS X JDK 1.5.0_06 and Suse Linux 1.5.0_06 and 1.4.2_01 Alistair On 1 Aug 2006, at 15:39, Peter Crowther wrote: >> From: Jon Maber >> Exception in thread "Thread-4" java.lang.RuntimeException: >> Connection.freeWriteSemaphore(7): thread does not own the semaphore, >> owned by -3 > > Jon, what JDK version are you running and what set of libraries? > Aggie > and Alistair, ditto? That feels a little too much like a JDK issue > for > comfort... > > - 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 |