javax.naming.SizeLimitExceededException error when enable jndi authentication in contorltier 3.6.0

215 views
Skip to first unread message

ZhaoHailong

unread,
Nov 11, 2010, 2:17:12 PM11/11/10
to contr...@googlegroups.com
Hi,

We are getting this error when enable jndi authentication:

2010-11-11 02:59:02.097:/itnav:WARN:  action: *** ACTION EXCEPTION:
javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'cn=users,dc=******,dc=******,dc=*****,dc=*****'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3093)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2794)
    at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumeration.java:129)
    at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:198)
    at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:171)
    at org.opendepo.services.roles.RoleMgr.getUsers(RoleMgr.java:470)
    at com.networkgps.itnav.users.List.go(List.java:47)

Looks like it is caused by this bug: https://issues.apache.org/jira/browse/DIRSTUDIO-703

Is it possible for ControlTier to apply this patch in the future release? or could you give some advice on how we can patch it by ourselves?


Thanks,
Hailong

Greg Schueler

unread,
Nov 11, 2010, 2:31:25 PM11/11/10
to contr...@googlegroups.com
Hi Hailong,

Are you using Active Directory? this bug seems to describe it slightly better: https://issues.openthinclient.org/otc/browse/SUITE-254

It seems paged results are required to handle this issue.  Please file a bug request

--
You received this message because you are subscribed to the Google Groups "ControlTier" group.
To post to this group, send email to contr...@googlegroups.com
To unsubscribe from this group, send email to controltier...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/controltier?hl=en
http://wiki.controltier.org

ZhaoHailong

unread,
Nov 11, 2010, 2:48:43 PM11/11/10
to contr...@googlegroups.com
Hi Greg,

Yes, we are using Active Directory and the ldap authentication works well. But I'm thinking it's DIRSTUDIO-703 because the call stacks are exactly matching.

Thanks,
Hailong


From: gr...@controltier.com
Date: Thu, 11 Nov 2010 11:31:25 -0800
Subject: Re: [ControlTier] javax.naming.SizeLimitExceededException error when enable jndi authentication in contorltier 3.6.0
To: contr...@googlegroups.com

Noah Campbell

unread,
Nov 11, 2010, 7:02:53 PM11/11/10
to contr...@googlegroups.com
Raise a bug and we'll get that implemented.

hailong

unread,
Nov 11, 2010, 2:44:42 PM11/11/10
to contr...@googlegroups.com
Hi Greg,

Yes, we are using Active Directory. But I’m thinking it is DIRSTUDIO-703 because the call stacks are exactly matching.

Thanks,
Hailong



On 11/12/10 3:31 AM, "Greg Schueler" <gr...@controltier.com> wrote:

Reply all
Reply to author
Forward
0 new messages