8 Replies Latest reply on Nov 10, 2009 7:56 AM by 807573

    Failed to load configuration: ApplicationSSOTokenProvider.getApplicationSSO

    807573
      Hi,


      I'm trying to configure an openSSO setup that involves two GlassFish domains

      domain1 - Acts as my openSSO server

      domain2 - holds the policy agent and the protected web application

      I'm using the following versions:
      GlassFish - Sun GlassFish Enterprise Server v2.1 (9.1.1) (build b60e-fcs)
      OpenSSO - OpenSSO Express Build 8 - http://download.java.net/general/opensso/stable/opensso-build8/opensso_express_20090901.zip
      Policy Agent - J2EE Agent 3.0 - http://download.java.net/general/opensso/nightly/latest/j2eeagents/appserver_v9_agent_3.zip

      I've installed/configured GlassFish domains, openSSO and Policy agent as per the instructions on the following pages:

      http://wikis.sun.com/display/OpenSSO/b5agentinstallinstruction
      Similar steps are mentioned at - http://blogs.sun.com/vijayanand/entry/opensso_and_agent_installation_in


      I'm not getting any errors or problems installing or configuring any of the servers:

      Application Server Config Directory :
      /opt/sun/SUNWappserver/domains/domain2/config

      Application Server Instance name : server
      OpenSSO server URL : http://abhidllx.abhidomain.com:8080/opensso

      Agent URL : http://abhidllx.abhidomain.com:10080/agentapp

      Agent Profile name : myagent1

      Agent Profile Password file name :
      /opt/sun/SUNWappserver/domains/agent-password

      But when I try to access the housekeeping app - agentapp.war i.e.

      I get the following error:

      -----
      HTTP Status 500 -
      
      type Exception report
      
      message
      
      descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
      
      exception
      
      javax.servlet.ServletException: PWC1243: Filter execution threw an exception
      
      root cause
      
      java.lang.ExceptionInInitializerError
      
      root cause
      
      java.lang.RuntimeException: Failed to load configuration: ApplicationSSOTokenProvider.getApplicationSSOToken(): Unable to get Application SSO Token
      
      note The full stack traces of the exception and its root causes are available in the Sun GlassFish Enterprise Server v2.1 logs.
      -----


      When I retry or press reload I get a different error message:



      -----
      HTTP Status 500 -
      
      type Exception report
      
      message
      
      descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
      
      exception
      
      javax.servlet.ServletException: PWC1243: Filter execution threw an exception
      
      root cause
      
      java.lang.NoClassDefFoundError: Could not initialize class com.sun.identity.agents.filter.AmFilterManager
      
      note The full stack traces of the exception and its root causes are available in the Sun GlassFish Enterprise Server v2.1 logs.
      -----

      Now I don't know if I'm doing anything wrong coz I've tried it out over 10 times and I continue getting the same errors.

      I googled a lot and managed to find this link - http://wikis.sun.com/display/OpenSSO/Troubleshooting+Java+Enterprise+Edition+%28Java+EE%29+Policy+Agents#TroubleshootingJavaEnterpriseEdition%28JavaEE%29PolicyAgents-AgentthrowsClassNotFoundExceptionexceptionwhenaccessingagentappapplication

      I did what it says but I'm still getting the error.

      I'm sharing few log files:

      Anybody who can help?

      thanks in advance.
        • 1. Re: Failed to load configuration: ApplicationSSOTokenProvider.getApplicationSSO
          807573
          domain1 - /opt/sun/SUNWappserver/domains/domain1/logs/server.log


          No errors


          ----------------------------------------------------------------------------------------------------------


          domain2 - /opt/sun/SUNWappserver/domains/domain2/logs/server.log


          [#|2009-10-29T00:45:15.651+0530|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=16;_ThreadName=httpSSLWorkerThread-10080-1;_RequestID=885d1f56-09ef-4855-9321-4254a44bd3c4;|com.sun.identity.authentication.spi.AuthLoginException: Failed to create new Authentication Context: Cannot find server ID.
               at com.sun.identity.authentication.AuthContext.login(AuthContext.java:584)
               at com.sun.identity.authentication.AuthContext.login(AuthContext.java:523)
               at com.sun.identity.authentication.AuthContext.login(AuthContext.java:382)
          ... ... ...
          
               at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
               at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
               at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
               at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
               at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
               at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
          
          |#]
          
          [#|2009-10-29T00:45:15.654+0530|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=httpSSLWorkerThread-10080-1;_RequestID=885d1f56-09ef-4855-9321-4254a44bd3c4;|StandardWrapperValve[default]: PWC1406: Servlet.service() for servlet default threw exception
          java.lang.ExceptionInInitializerError
               at com.sun.identity.agents.arch.Manager.<clinit>(Manager.java:643)
               at com.sun.identity.agents.filter.AmAgentBaseFilter.initializeFilter(AmAgentBaseFilter.java:267)
               at com.sun.identity.agents.filter.AmAgentBaseFilter.getAmFilterInstance(AmAgentBaseFilter.java:357)
               at com.sun.identity.agents.filter.AmAgentBaseFilter.doFilter(AmAgentBaseFilter.java:69)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
               at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
          ... ... ...
               at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
               at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
               at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
               at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
          Caused by: java.lang.RuntimeException: Failed to load configuration: ApplicationSSOTokenProvider.getApplicationSSOToken(): Unable to get Application SSO Token
               at com.sun.identity.agents.arch.AgentConfiguration.bootStrapClientConfiguration(AgentConfiguration.java:745)
               at com.sun.identity.agents.arch.AgentConfiguration.initializeConfiguration(AgentConfiguration.java:1095)
               at com.sun.identity.agents.arch.AgentConfiguration.<clinit>(AgentConfiguration.java:1543)
               ... 33 more
          |#]
          ---------------------------------
          • 2. Re: Failed to load configuration: ApplicationSSOTokenProvider.getApplicationSSO
            807573
            policy agent - /opt/sun/j2ee_agents/appserver_v9_agent/Agent_001/logs/debug/debug.out

            amAgentCore:10/29/2009 12:45:14:970 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            **********************************************
            amAgentCore:10/29/2009 12:45:14:970 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            AgentConfiguration.setOrganizationName: organization name for realm is set to: /
            amAgentCore:10/29/2009 12:45:14:971 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            AgentConfiguration: service resolver set to: com.sun.identity.agents.appserver.v81.AmASAgentServiceResolver
            amAgentCore:10/29/2009 12:45:14:973 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            AgentConfiguration: service resolver reports EJBContext available: true
            amAgentCore:10/29/2009 12:45:14:973 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            AgentConfiguration: Application User: myagent1
            amAgentCore:10/29/2009 12:45:15:354 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            AgentConfiguration: Policy Admin Location: null
            amAgentCore:10/29/2009 12:45:15:358 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            No configuration found for com.sun.identity.agents.config.amAgentCore.locale.language, trying com.sun.identity.agents.config.locale.language
            amAgentCore:10/29/2009 12:45:15:358 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            No configuration found for com.sun.identity.agents.config.locale.language, using default value: en
            amAgentCore:10/29/2009 12:45:15:358 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            No configuration found for com.sun.identity.agents.config.amAgentCore.locale.country, trying com.sun.identity.agents.config.locale.country
            amAgentCore:10/29/2009 12:45:15:358 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            No configuration found for com.sun.identity.agents.config.locale.country, using default value: US
            amAuthContext:10/29/2009 12:45:15:421 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            **********************************************
            amAuthContext:10/29/2009 12:45:15:420 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            *ERROR: Failed to obtain auth service url from server: null://null:null*
            amNaming:10/29/2009 12:45:15:421 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            **********************************************
            amNaming:10/29/2009 12:45:15:421 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            Naming service URL list: [http://abhidllx.abhidomain.com:8080/opensso/namingservice]
            amNaming:10/29/2009 12:45:15:433 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            SiteMonitor : SiteStatusCheck class = com.iplanet.services.naming.SiteStatusCheckThreadImpl
            amComm:10/29/2009 12:45:15:443 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            **********************************************
            amComm:10/29/2009 12:45:15:442 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            Configured Protocol Handler : null
            PLLClient:10/29/2009 12:45:15:443 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            **********************************************
            PLLClient:10/29/2009 12:45:15:443 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            Configured Protocol Handler : null
            amNaming:10/29/2009 12:45:15:522 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            Server Properties are changed : 
            amNaming:10/29/2009 12:45:15:523 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            com.iplanet.am.server.protocol : http
            amNaming:10/29/2009 12:45:15:523 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            com.iplanet.am.server.host : abhidllx.abhidomain.com
            amNaming:10/29/2009 12:45:15:523 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            com.iplanet.am.server.port : 8080
            amNaming:10/29/2009 12:45:15:523 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            com.iplanet.am.services.deploymentDescriptor : /opensso
            amNaming:10/29/2009 12:45:15:524 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            SiteID table -> {01=01}
            amNaming:10/29/2009 12:45:15:524 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
            WebtopNaming.updateLBCookieValueMappings():LBCookieValues table -> {01=01}
            ... ... ...
            Edited by: don_mahantya on Oct 29, 2009 10:18 PM
            • 3. Re: Failed to load configuration: ApplicationSSOTokenProvider.getApplicationSSO
              807573
              contd...
              amNaming:10/29/2009 12:45:15:538 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
              Naming table -> {iplanet-am-platform-site-id-list=01, iplanet-am-naming-policy-url=%protocol://%host:%port%uri/policyservice, iplanet-am-naming-session-class=com.iplanet.dpro.session.service.SessionRequestHandler, iplanet-am-naming-session-url=%protocol://%host:%port%uri/sessionservice, iplanet-am-naming-securitytokenmanager-url=%protocol://%host:%port%uri/SecurityTokenManagerServlet/SecurityTokenManagerIF, iplanet-am-naming-samlawareservlet-url=%protocol://%host:%port%uri/SAMLAwareServlet, serviceObjectClasses=iplanet-am-naming-service, iplanet-am-naming-auth-url=%protocol://%host:%port%uri/authservice, iplanet-am-naming-profile-class=com.iplanet.dpro.profile.agent.ProfileService, iplanet-am-naming-samlassertionmanager-url=%protocol://%host:%port%uri/AssertionManagerServlet/AssertionManagerIF, 01=http://localhost:8080/opensso, iplanet-am-naming-policy-class=com.sun.identity.policy.remote.PolicyRequestHandler, iplanet-am-naming-jaxrpc-url=%protocol://%host:%port%uri/jaxrpc/, iplanet-am-naming-logging-class=com.sun.identity.log.service.LogService, iplanet-am-naming-profile-url=%protocol://%host:%port%uri/profileservice, sun-naming-idsvcs-jaxws-url=%protocol://%host:%port%uri/identityservices/, iplanet-am-naming-samlsoapreceiver-url=%protocol://%host:%port%uri/SAMLSOAPReceiver, sun-naming-idsvcs-rest-url=%protocol://%host:%port%uri/identity/, iplanet-am-platform-lb-cookie-value-list=01|01, iplanet-am-naming-logging-url=%protocol://%host:%port%uri/loggingservice, iplanet-am-naming-fsassertionmanager-url=%protocol://%host:%port%uri/FSAssertionManagerServlet/FSAssertionManagerIF, iplanet-am-platform-server-list=http://localhost:8080/opensso, iplanet-am-naming-samlpostservlet-url=%protocol://%host:%port%uri/SAMLPOSTProfileServlet, sun-naming-sts-mex-url=%protocol://%host:%port%uri/sts/mex, sun-naming-sts-url=%protocol://%host:%port%uri/sts, iplanet-am-naming-auth-class=com.sun.identity.authentication.server.AuthXMLHandler}
              amNaming:10/29/2009 12:45:15:538 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
              Server Id Table -> {%protocol://%host:%port%uri/AssertionManagerServlet/AssertionManagerIF=iplanet-am-naming-samlassertionmanager-url, 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, com.sun.identity.authentication.server.AuthXMLHandler=iplanet-am-naming-auth-class, com.sun.identity.policy.remote.PolicyRequestHandler=iplanet-am-naming-policy-class, 01=iplanet-am-platform-site-id-list, %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, %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, %protocol://%host:%port%uri/SAMLSOAPReceiver=iplanet-am-naming-samlsoapreceiver-url, com.sun.identity.log.service.LogService=iplanet-am-naming-logging-class, %protocol://%host:%port%uri/sessionservice=iplanet-am-naming-session-url, %protocol://%host:%port%uri/policyservice=iplanet-am-naming-policy-url, iplanet-am-naming-service=serviceObjectClasses, 01|01=iplanet-am-platform-lb-cookie-value-list, com.iplanet.dpro.session.service.SessionRequestHandler=iplanet-am-naming-session-class, http://localhost:8080/opensso=01}
              amNaming:10/29/2009 12:45:15:538 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
              Site Id Table -> {01=01}
              amNaming:10/29/2009 12:45:15:538 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
              Platform Servers -> [http://localhost:8080/opensso]
              amNaming:10/29/2009 12:45:15:539 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
              Platform Server IDs -> [01]
              amNaming:10/29/2009 12:45:15:539 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
              ERROR: WebtopNaming.getServerId():serverId null for server: http://abhidllx.abhidomain.com:8080/opensso
              amNaming:10/29/2009 12:45:15:539 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
              ERROR: WebtopNaming.getServerId()
              com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server ID.
                   at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:673)
                   at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:594)
                   at com.iplanet.services.naming.WebtopNaming$SiteMonitor.<clinit>(WebtopNaming.java:1384)
                   at com.iplanet.services.naming.WebtopNaming.startSiteMonitor(WebtopNaming.java:1291)
                   at com.iplanet.services.naming.WebtopNaming.initializeNamingService(WebtopNaming.java:247)
                   at com.iplanet.services.naming.WebtopNaming.updateNamingTable(WebtopNaming.java:1067)
              ... ... ...
                   at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
                   at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
                   at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
                   at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
              
              amNaming:10/29/2009 12:45:15:539 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
              SiteMonitor initialization failed : 
              com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server ID.
                   at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:681)
                   at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:594)
                   at com.iplanet.services.naming.WebtopNaming$SiteMonitor.<clinit>(WebtopNaming.java:1384)
                   at com.iplanet.services.naming.WebtopNaming.startSiteMonitor(WebtopNaming.java:1291)
              ... ... ...
                   at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
                   at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
                   at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
              
              amNaming:10/29/2009 12:45:15:557 AM IST: Thread[SystemTimer,10,Grizzly]
              URLChecker.checkSocketConnection() returning true
              amNaming:10/29/2009 12:45:15:572 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
              ERROR: WebtopNaming.getServerId():serverId null for server: http://abhidllx.abhidomain.com:8080/opensso
              amNaming:10/29/2009 12:45:15:572 AM IST: Thread[SystemTimer,10,Grizzly]
              URLChecker.check() : Http connection took 10 ms
              amNaming:10/29/2009 12:45:15:572 AM IST: Thread[SystemTimer,10,Grizzly]
              URLChecker.check() :  setting status to AVAILABLE for http://abhidllx.abhidomain.com:8080/opensso/namingservice
              amNaming:10/29/2009 12:45:15:601 AM IST: Thread[SystemTimer,10,Grizzly]
              Edited by: don_mahantya on Oct 29, 2009 10:19 PM
              • 4. Re: Failed to load configuration: ApplicationSSOTokenProvider.getApplicationSSO
                807573
                contd...
                ERROR: SiteMonitor run failed : 
                java.lang.IllegalMonitorStateException
                     at java.lang.Object.wait(Native Method)
                     at com.iplanet.services.naming.SiteStatusCheckThreadImpl.getURLChecker(SiteStatusCheckThreadImpl.java:112)
                     at com.iplanet.services.naming.SiteStatusCheckThreadImpl.doCheckSiteStatus(SiteStatusCheckThreadImpl.java:126)
                     at com.iplanet.services.naming.WebtopNaming$SiteMonitor.checkAvailableSiteList(WebtopNaming.java:1448)
                     at com.iplanet.services.naming.WebtopNaming$SiteMonitor.runCheckValidSite(WebtopNaming.java:1427)
                     at com.iplanet.services.naming.WebtopNaming$SiteMonitor.run(WebtopNaming.java:1420)
                     at com.sun.identity.common.TimerPool$WorkerThread.run(TimerPool.java:430)
                ... ... ...
                amNaming:10/29/2009 12:45:15:572 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]
                ERROR: WebtopNaming.getServerId()
                com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server ID.
                     at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:673)
                     at com.iplanet.services.naming.WebtopNaming$SiteMonitor.isAvailable(WebtopNaming.java:1488)
                     at com.iplanet.services.comm.client.PLLClient.send(PLLClient.java:145)
                     at com.iplanet.services.comm.client.PLLClient.send(PLLClient.java:93)
                     at com.iplanet.services.naming.WebtopNaming.getNamingTable(WebtopNaming.java:1042)
                So as you can see from the above log even the policy agent is showing these few errors :

                ERROR: WebtopNaming.getServerId():serverId null for server: http://abhidllx.abhidomain.com:8080/opensso
                *amNaming:10/29/2009 12:45:15:539 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]*
                ERROR: WebtopNaming.getServerId()
                com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server ID.


                *amNaming:10/29/2009 12:45:15:539 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]*
                SiteMonitor initialization failed :
                com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server ID.


                ERROR: SiteMonitor run failed :
                java.lang.IllegalMonitorStateException
                *     at java.lang.Object.wait(Native Method)*
                *     at com.iplanet.services.naming.SiteStatusCheckThreadImpl.getURLChecker(SiteStatusCheckThreadImpl.java:112)*
                *     at com.iplanet.services.naming.SiteStatusCheckThreadImpl.doCheckSiteStatus(SiteStatusCheckThreadImpl.java:126)*
                *     at com.iplanet.services.naming.WebtopNaming$SiteMonitor.checkAvailableSiteList(WebtopNaming.java:1448)*
                *     at com.iplanet.services.naming.WebtopNaming$SiteMonitor.runCheckValidSite(WebtopNaming.java:1427)*
                *     at com.iplanet.services.naming.WebtopNaming$SiteMonitor.run(WebtopNaming.java:1420)*
                *     at com.sun.identity.common.TimerPool$WorkerThread.run(TimerPool.java:430)*

                *amNaming:10/29/2009 12:45:15:572 AM IST: Thread[httpSSLWorkerThread-10080-1,10,Grizzly]*
                ERROR: WebtopNaming.getServerId()
                com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server ID.
                *     at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:673)*



                I've searched online quite a bit but have not been able to find a solution.
                Anybody out there who can help?

                Please let me know if you need any further details.

                I've also posted this issue in the Access manager forum - [http://forums.sun.com/thread.jspa?threadID=5413723&tstart=0]

                thanks in advance.

                Edited by: don_mahantya on Oct 29, 2009 10:20 PM
                • 5. Re: Failed to load configuration: ApplicationSSOTokenProvider.getApplicationSSO
                  807573
                  Hi,
                  it looks like the agent is unable to load it's configuration which is why you are getting the initialisation errors. Is the agent configuration being stored centrally in OpenSSO or locally in the agent properties file? Could you paste in the content of your agent config file if you have one?

                  Cheers
                  mike
                  • 6. Re: Failed to load configuration: ApplicationSSOTokenProvider.getApplicationSSO
                    807573
                    What's the agent config filename?

                    thanks.
                    • 7. Re: Failed to load configuration: ApplicationSSOTokenProvider.getApplicationSSO
                      807573
                      usually amAgent.properties

                      It should be under the particular agent instance whereever you installed the glassfish agent
                      • 8. Re: Failed to load configuration: ApplicationSSOTokenProvider.getApplicationSSO
                        807573
                        The configuration is stored centrally on the openSSO server i.e. in domain1

                        Following is the content of file - /opt/sun/SUNWappserver/domains/domain1/applications/j2ee-modules/opensso/WEB-INF/classes/amAgent.properties

                        onlinehelp.doc=entityserv.html
                        iplanet-am-agent-service-description=Entity
                        agent-service-description=Agents
                        create-entity-failed-title=agent
                        create-entity-description=Agent
                        delete-entity-failed-description=agent(s)
                        no-entity-select-title=agents
                        no-entity-select-description=agents
                        entity-display-off-description=agents
                        update-entity-description=agent
                        invalid-entity-description=Agent
                        no-entity-description=agent
                        log-entity-name=agent
                        entity-name-description=Agent
                        entities-description=Agents
                        
                        u102=Password
                        u105=Description
                        u106=XML Key Value
                        u107=Agent Key Value(s)
                        u111=Device Status
                        
                        u200=Active
                        u201=Inactive