LDAP Server bad populated

Hi,

I install the Identity Server 7.1, and can not access to the services. When tray to access an error is generated:

exception

javax.servlet.ServletException: AMSetupFilter.doFilter

com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:100)

root cause

javax.servlet.ServletException

org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:300)

org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)

java.security.AccessController.doPrivileged(Native Method)

com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:86)

root cause

java.lang.NoClassDefFoundError

com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:100)

com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:242)

com.sun.identity.console.base.ConsoleServletBase.checkAuthentication(ConsoleServletBase.java:303)

com.sun.identity.console.base.ConsoleServletBase.validateSSOToken(ConsoleServletBase.java:193)

com.sun.identity.console.base.ConsoleServletBase.onBeforeRequest(ConsoleServletBase.java:157)

com.iplanet.jato.ApplicationServletBase.fireBeforeRequestEvent(ApplicationServletBase.java:1105)

com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:591)

com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)

javax.servlet.http.HttpServlet.service(HttpServlet.java:747)

javax.servlet.http.HttpServlet.service(HttpServlet.java:860)

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

java.lang.reflect.Method.invoke(Method.java:585)

org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)

java.security.AccessController.doPrivileged(Native Method)

javax.security.auth.Subject.doAsPrivileged(Subject.java:517)

org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)

org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)

java.security.AccessController.doPrivileged(Native Method)

com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:86)

So, looking in the debug log, I found:

06/07/2007 05:21:12:455 PM CEST: Thread[service-j2ee,5,main]

ERROR: ConsoleServletBase.getOrganizationQueryParam

com.iplanet.am.sdk.AMException: Search failed.::LDAP Error:The entry specified in the request does not exist.

at com.iplanet.am.sdk.ldap.DirectoryServicesImpl.processInternalException(DirectoryServicesImpl.java:320)

And looking in the DS log file show things like:

[08/Jun/2007:12:25:31 +0200] conn=11381 op=163 msgId=164 - SRCH base="ou=organizationconfig,ou=1.0,ou=iplanetamsessionservice,ou=services,dc=tsc,dc=uc3m,dc=es" scope=1 filter="(objectClass=*)" attrs="dn"

[08/Jun/2007:12:25:31 +0200] conn=11381 op=163 msgId=164 - RESULT err=0 tag=101 nentries=0 etime=0

Or worst, with err=32.

So, I think is a LDAP problem: bad populated.

How can I reload ALL the LDAP definitions needed for the Identity Server? If I try to full reinstall the Identity server, it generate an error

ldapmodify entry exist

Thanks in advance for any help or idea.

H.

[3556 byte] By [h.molinaa] at [2007-11-27 6:49:50]
# 1
Did you do a directory backup before installation? Could you just delete the entire dc=tsc,dc=uc3m,dc=es suffix and try to reinstall again?
Aaron_Andersona at 2007-7-12 18:23:40 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2

Anyway....

I edit the ACIs and destroy all about AM entries, the users and groups asociated, etc..

After that, reinstalls the Identity Server and now works well..

The main problem was: When try to add a new set of aci definitions, if the script finds an aci previously defined, generate an error (ldap error: entry found) and do not continues.

So, a several aci definitions do not created.....

I can consider the problem solved.... but may can change the LDAP scripts to avoid stop with a problem due duplicated definitions.

Thx

H.

h.molinaa at 2007-7-12 18:23:40 > top of Java-index,Web & Directory Servers,Directory Servers...