I have a WAR which deploys fine and not getting the exception when using AD
in GF v3.
I have a mega-bundle WAR (based on same WAR above) in karaf 3.0.0 which is
giving following exception when I exec the same use case in front-end:
javax.naming.PartialResultException [Root exception is
javax.naming.PartialResultException [Root exception is
javax.naming.NotContextException: Cannot create context for:
ldap://ForestDnsZones.internal.nextgatesolutions.com/DC=ForestDnsZones,DC=internal,DC=nextgatesolutions,DC=com;
remaining name 'DC=internal,DC=nextgatesolutions,DC=com']
at
this java doc helped:
http://docs.oracle.com/javase/6/docs/api/javax/naming/NamingEnumeration.html
using hasMoreElements() and nextElement() which doesn't throw that exception
and I see my users during import now.
I'm not sure why I have this problem in Karaf but not Glassfish
--
View