[
https://issues.apache.org/jira/browse/AMQ-5971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
JIE CHEN updated AMQ-5971:
--------------------------
Description:
the LDAP server I used is Active Directory. when I try to set
refreshInterval=-1 for cachedLDAPAuthorizationMap, I got the following errors:
ERROR | Caught unexpected exception.
javax.naming.OperationNotSupportedException: [LDAP: error code 12 - 00000057:
LdapErr: DSID-0C090796, comment: Error processing control, data 0, v23f0];
remaining name 'OU=Topic,OU=Destination,OU=INT,OU=ActiveMQ,...'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3147)[:1.7.0_75]
at
com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3033)[:1.7.0_75]
at
com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2840)[:1.7.0_75]
at
com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumeration.java:147)[:1.7.0_75]
at
com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:216)[:1.7.0_75]
at
com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:189)[:1.7.0_75]
at
com.sun.jndi.ldap.NamingEventNotifier.run(NamingEventNotifier.java:134)[:1.7.0_75]
at java.lang.Thread.run(Thread.java:745)[:1.7.0_75]
ERROR | Policy not applied!. Error processing policy under
'[OU=Queue,OU=Destination,OU=INT,OU=ActiveMQ,..., (cn=Read)]' with filter
'java.lang.NullPointerException'
was:
the LDAP server I used is Active Directory. when I try to set
refreshInterval=-1 for cachedLDAPAuthorizationMap, I got the following errors:
ERROR | Caught unexpected exception.
javax.naming.OperationNotSupportedException: [LDAP: error code 12 - 00000057:
LdapErr: DSID-0C090796, comment: Error processing control, data 0, v23f0];
remaining name
'OU=Topic,OU=Destination,OU=INT,OU=ActiveMQ,OU=Applications,OU=Global
Online,OU=Delegated,DC=thirdparty,DC=ad,DC=ea,DC=com'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3147)[:1.7.0_75]
at
com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3033)[:1.7.0_75]
at
com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2840)[:1.7.0_75]
at
com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumeration.java:147)[:1.7.0_75]
at
com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:216)[:1.7.0_75]
at
com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:189)[:1.7.0_75]
at
com.sun.jndi.ldap.NamingEventNotifier.run(NamingEventNotifier.java:134)[:1.7.0_75]
at java.lang.Thread.run(Thread.java:745)[:1.7.0_75]
ERROR | Policy not applied!. Error processing policy under
'[OU=Queue,OU=Destination,OU=INT,OU=ActiveMQ,OU=Applications,OU=Global
Online,OU=Delegated,DC=thirdparty,DC=ad,DC=ea,DC=com, (cn=Read)]' with filter
'java.lang.NullPointerException'
> Unable to apply policy when set refreshInterval=-1 for
> cachedLDAPAuthorizationMap
> ---------------------------------------------------------------------------------
>
> Key: AMQ-5971
> URL: https://issues.apache.org/jira/browse/AMQ-5971
> Project: ActiveMQ
> Issue Type: Bug
> Components: jaas
> Affects Versions: 5.11.1
> Reporter: JIE CHEN
> Priority: Blocker
>
> the LDAP server I used is Active Directory. when I try to set
> refreshInterval=-1 for cachedLDAPAuthorizationMap, I got the following errors:
> ERROR | Caught unexpected exception.
> javax.naming.OperationNotSupportedException: [LDAP: error code 12 - 00000057:
> LdapErr: DSID-0C090796, comment: Error processing control, data 0, v23f0];
> remaining name 'OU=Topic,OU=Destination,OU=INT,OU=ActiveMQ,...'
> at
> com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3147)[:1.7.0_75]
> at
> com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3033)[:1.7.0_75]
> at
> com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2840)[:1.7.0_75]
> at
> com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumeration.java:147)[:1.7.0_75]
> at
> com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:216)[:1.7.0_75]
> at
> com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:189)[:1.7.0_75]
> at
> com.sun.jndi.ldap.NamingEventNotifier.run(NamingEventNotifier.java:134)[:1.7.0_75]
> at java.lang.Thread.run(Thread.java:745)[:1.7.0_75]
> ERROR | Policy not applied!. Error processing policy under
> '[OU=Queue,OU=Destination,OU=INT,OU=ActiveMQ,..., (cn=Read)]' with filter
> 'java.lang.NullPointerException'
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)