[Building Sakai] Sakai 2.9.1 and tomcat 7

Fatemeh Asl aa2821 at nyumc.org
Thu Apr 18 07:38:03 PDT 2013


OK, I still don't know why calling searchResults.next() 
has to have anything to do with 
"LDAPException: Server Message: 000004DC: LdapErr: DSID-0C0906E8,
 comment: In order to perform this operation a successful bind must
 be completed on the connection., data 0, v1db1..." 
but we simply decided to ignore the exception and
 modified that part of code like this:

			while ( searchResults.hasMore() ) {
				try {
					 LDAPEntry entry = searchResults.next();
					Object mappedResult = mapper.mapLdapEntry(entry, ++resultCnt);
					if ( mappedResult == null ) {
						continue;
					}
					mappedResults.add((LdapUserData) mappedResult);
				}
				catch (LDAPException e) {
					continue;
				}
			}

and then everything seemed to work perfectly fine.

Fatemeh



More information about the sakai-dev mailing list