> On Apr 26, 2016, at 2:26 PM, Chris Pike <[email protected]> wrote:
> 
> 
> I went ahead and refactored to not use static init blocks. There was a huge 
> ripple effect through the code and I ran into some other problems along the 
> way. (had to separate out local config from remote config and make some 
> changes to the DAOs). 
> 
> https://github.com/PennState/directory-fortress-core-1/commits/feature/modifyBootstrapSingleton
> 
> Let me know what you think.


Built and running junit tests.  Haven’t had time to walk the initialization 
with a debugger but it appears to be iterating over the same code sequences. Is 
this expected?  It’s generating a lot of INFO messages.

2016-04-24 18:15:045 INFO  Config:80 - static init: load config realm [DEFAULT]
2016-04-24 18:15:045 INFO  ConfigDAO:268 - getConfig dn 
[cn=DEFAULT,ou=Config,dc=example,dc=com]
2016-04-24 18:15:045 INFO  LdapConnectionProvider:96 - LDAP POOL:  
host=[localhost], port=[389], min=[1], max=[10]
2016-04-24 18:15:045 INFO  Config:80 - static init: load config realm [DEFAULT]
2016-04-24 18:15:045 INFO  ConfigDAO:268 - getConfig dn 
[cn=DEFAULT,ou=Config,dc=example,dc=com]
2016-04-24 18:15:045 INFO  LdapConnectionProvider:96 - LDAP POOL:  
host=[localhost], port=[389], min=[1], max=[10]
2016-04-24 18:15:045 INFO  LdapConnectionProvider:96 - LDAP POOL:  
host=[localhost], port=[389], min=[1], max=[10]
2016-04-24 18:15:045 INFO  LdapConnectionProvider:96 - LDAP POOL:  
host=[localhost], port=[389], min=[1], max=[10]
2016-04-24 18:15:045 INFO  Config:80 - static init: load config realm [DEFAULT]
2016-04-24 18:15:045 INFO  ConfigDAO:268 - getConfig dn 
[cn=DEFAULT,ou=Config,dc=example,dc=com]
2016-04-24 18:15:045 INFO  LdapConnectionProvider:96 - LDAP POOL:  
host=[localhost], port=[389], min=[1], max=[10]
2016-04-24 18:15:045 INFO  LdapConnectionProvider:96 - LDAP POOL:  
host=[localhost], port=[389], min=[1], max=[10]
2016-04-24 18:15:045 INFO  LdapConnectionProvider:96 - LDAP POOL:  
host=[localhost], port=[389], min=[1], max=[10]
...

Reply via email to