7 Replies Latest reply on May 24, 2011 11:54 AM by 862281

    WebtopNaming - can not find server name for server ID

    862281
      We have a LB, and web servers in front of OpenSSO app servers in our environment.
      OpenSSO debug log CoreSystem fills up with lot of errors like these:
      ERROR: WebtopNaming.getServerFromID() can not find server name for server ID : 07
      com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server.

      Sometimes, it even complains about a server id (07 in the following trace) which doesn't even exist in the Site Id Table.

      There are no changes in the configuration. DNS is properly configured and all the servers and their connectivity are available. CoreSystem throws these errors even after a restart of opensso app servers.

      Any ideas about the root cause?

      amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
      Server Id Table -> {%protocol://%host:%port%uri/AssertionManagerServlet/AssertionManagerIF=iplanet-am-naming-samlassertionmanager-url, http://host4.company.com:8080/openSSO=04, com.iplanet.dpro.profile.agent.ProfileService=iplanet-am-naming-profile-class, %protocol://%host:%port%uri/SecurityTokenManagerServlet/SecurityTokenManagerIF=iplanet-am-naming-securitytokenmanager-url, %protocol://%host:%port%uri/authservice=iplanet-am-naming-auth-url, %protocol://%host:%port%uri/sts=sun-naming-sts-url, %protocol://%host:%port%uri/SAMLAwareServlet=iplanet-am-naming-samlawareservlet-url, http://host5.company.com:8080/openSSO=05, com.sun.identity.authentication.server.AuthXMLHandler=iplanet-am-naming-auth-class, com.sun.identity.policy.remote.PolicyRequestHandler=iplanet-am-naming-policy-class, %protocol://%host:%port%uri/loggingservice=iplanet-am-naming-logging-url, %protocol://%host:%port%uri/jaxrpc/=iplanet-am-naming-jaxrpc-url, %protocol://%host:%port%uri/FSAssertionManagerServlet/FSAssertionManagerIF=iplanet-am-naming-fsassertionmanager-url, %protocol://%host:%port%uri/identity/=sun-naming-idsvcs-rest-url, 03,05,04,02|03,01|03=iplanet-am-platform-site-id-list, %protocol://%host:%port%uri/identityservices/=sun-naming-idsvcs-jaxws-url, %protocol://%host:%port%uri/sts/mex=sun-naming-sts-mex-url, %protocol://%host:%port%uri/profileservice=iplanet-am-naming-profile-url, %protocol://%host:%port%uri/SAMLPOSTProfileServlet=iplanet-am-naming-samlpostservlet-url, 02|02,01|01,05|05,04|04=iplanet-am-platform-lb-cookie-value-list, %protocol://%host:%port%uri/SAMLSOAPReceiver=iplanet-am-naming-samlsoapreceiver-url, https://host4.company.com:8443/openSSO=01, com.sun.identity.log.service.LogService=iplanet-am-naming-logging-class, %protocol://%host:%port%uri/sessionservice=iplanet-am-naming-session-url, https://host5.company.com:8443/openSSO=02, %protocol://%host:%port%uri/policyservice=iplanet-am-naming-policy-url, iplanet-am-naming-service=serviceObjectClasses, com.iplanet.dpro.session.service.SessionRequestHandler=iplanet-am-naming-session-class, https://opensso-qa.company.com:443/openSSO=03}
      amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
      Site Id Table -> {03=03, 02=03, 01=03, 05=05, 04=04}
      amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
      Platform Servers -> [https://opensso-qa.company.com:443/openSSO, https://host5.company.com:8443/openSSO, https://host4.company.com:8443/openSSO, http://host4.company.com:8080/openSSO, http://host5.company.com:8080/openSSO]
      amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
      Platform Server IDs -> [03, 02, 01, 04, 05]
      amNaming:05/13/2011 10:22:37:010 AM PST: Thread[WebContainer : 0,5,main]

      ERROR: WebtopNaming.getServerFromID() can not find server name for server ID : 07
      com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server.
      at com.iplanet.services.naming.ServerEntryNotFoundException.<init>(ServerEntryNotFoundException.java:52)
      at com.iplanet.services.naming.WebtopNaming.getServerFromID(WebtopNaming.java:709)
      at com.iplanet.dpro.session.SessionID.setServerID(SessionID.java:380)
      at com.iplanet.dpro.session.SessionID.parseSessionString(SessionID.java:363)
      at com.iplanet.dpro.session.SessionID.getSessionServerID(SessionID.java:261)
      at com.iplanet.dpro.session.service.SessionService.isLocalSite(SessionService.java:881)
      at com.iplanet.dpro.session.Session.getSessionServiceURL(Session.java:1197)
      at com.sun.identity.authentication.UI.LoginServlet.initializeRequestContext(LoginServlet.java:153)
      at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:578)
      at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)