Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] vtldapPooling options seem to be ignored.

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] vtldapPooling options seem to be ignored.


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Jeffrey Crawford <>
  • Cc: Gouper Users List <>
  • Subject: RE: [grouper-users] vtldapPooling options seem to be ignored.
  • Date: Tue, 15 Sep 2015 17:40:28 +0000
  • Accept-language: en-US

Ive been trying to figure out what is going on here…

 

I think the problem is here around line 77

 

https://code.google.com/p/vt-middleware/source/browse/vt-ldap/trunk/src/main/java/edu/vt/middleware/ldap/props/AbstractPropertyInvoker.java

 

They check for “get” and “set”, but not “is” (for Boolean properties).

 

At this point I need to find a workaround…

 

Thanks,

Chris

 

 

 

From: Jeffrey Crawford [mailto:]
Sent: Tuesday, September 15, 2015 1:06 PM
To: Chris Hyzer
Cc: Gouper Users List
Subject: Re: [grouper-users] vtldapPooling options seem to be ignored.

 

Just following up, is this a real problem or did I so something wrong?


Jeffrey

 

Both pilots and IT professionals require training and currency before charging into clouds!

---------------------------------------

 

On Thu, Sep 10, 2015 at 2:04 PM, Jeffrey Crawford <> wrote:

Attached


Jeffrey E. Crawford
ITS Application Administrator (IdM)
831-459-4365

 

Both pilots and IT professionals require training and currency before charging into clouds!

---------------------------------------

 

On Thu, Sep 10, 2015 at 1:51 PM, Chris Hyzer <> wrote:

Can you send me a sanitized copy of the sources.xml and ldap.properties files?  I think the vtlap properties need to be in an ldap.properties file

 

Thanks

Chris

 

From: Jeffrey Crawford [mailto:]
Sent: Thursday, September 10, 2015 4:48 PM


To: Chris Hyzer
Cc: Gouper Users List
Subject: Re: [grouper-users] vtldapPooling options seem to be ignored.

 

I'm attaching, let me know if you need it another way


Jeffrey E. Crawford
ITS Application Administrator (IdM)
831-459-4365

 

Both pilots and IT professionals require training and currency before charging into clouds!

---------------------------------------

 

On Thu, Sep 10, 2015 at 12:55 PM, Chris Hyzer <> wrote:

Can you please send the full error stack?

 

Thanks,

Chris

 

From: Jeffrey Crawford [mailto:]
Sent: Thursday, September 10, 2015 12:40 PM
To: Chris Hyzer
Cc: Gouper Users List
Subject: Re: [grouper-users] vtldapPooling options seem to be ignored.

 

Ahh okay I have the patch but not the additional config elements, however it still doesn't seem to work (Looks like the work is done on the validator not the pruning).

I also tried adding the following to the ldap.properties file:
edu.vt.middleware.ldap.pool.validatePeriodically = true
edu.vt.middleware.ldap.pool.validateTimerPeriod = 30000

But I get the following error in the log:
No getter method found for edu.vt.middleware.ldap.pool.validatePeriodically


Jeffrey E. Crawford
ITS Application Administrator (IdM)
831-459-4365

 

Both pilots and IT professionals require training and currency before charging into clouds!

---------------------------------------

 

On Thu, Sep 10, 2015 at 7:09 AM, Chris Hyzer <> wrote:

Please make sure you have the latest Grouper 2.2.1 with patches, and see this doc:

 

https://bugs.internet2.edu/jira/browse/GRP-1151

 

Thanks,

Chris

 

From: [mailto:] On Behalf Of Jeffrey Crawford
Sent: Wednesday, September 09, 2015 7:32 PM
To: Gouper Users List
Subject: [grouper-users] vtldapPooling options seem to be ignored.

 

After having trouble with pooled connections. I tried to adjust the parameters by using the options provided by https://code.google.com/p/vt-middleware/wiki/vtldapPooling. I'm pretty sure that at least the sources.xml referencing the ldap.properties file is ignoring those parameters.

I've tried setting edu.vt.middleware.ldap.pool.minPoolSize to "5" but I still only get three connections on startup. I've adjusted the edu.vt.middleware.ldap.pool.pruneTimerPeriod and edu.vt.middleware.ldap.pool.expirationTime but I never see the disconnect. at the theoretical maximum of two minutes. experationTime to 90 seconds and pruneTimerPeriod to 30.

We have a load balancer sitting between us and the multiple LDAP server backend, however if a connection is open and idle, the LB will drop the connection silently after about three minutes. However the vtldapPool defaults keep the connections open for a lot longer than the LB allows.


Jeffrey

Both pilots and IT professionals require training and currency before charging into clouds!

---------------------------------------

 

 

 

 




Archive powered by MHonArc 2.6.16.

Top of Page