Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-1335

In a local configuration setting, the webagent does not write to the debug log

    XMLWordPrintable

    Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1.0
    • 4.2.0.0
    • None

      Description

      Tested using 4.1.0-28

      Using a local configuration for example

      com.sun.identity.agents.config.repository.location = local    <==================
      
      com.sun.identity.agents.config.naming.url = http://openam.internal.example.com:8080/openam
      com.sun.identity.client.notification.url = http://eave.internal.example.com:8000/UpdateAgentCacheServlet?shortcircuit=false
      com.sun.identity.agents.config.organization.name = /
      com.sun.identity.agents.config.username = webagent
      com.sun.identity.agents.config.password = FLEvErrOEIM=
      com.sun.identity.agents.config.key = ZjVjOGYzMmQtZDE3Zi00NQ==
      com.sun.identity.agents.config.connect.timeout = 4
      com.sun.identity.agents.config.local.logfile = /work/openam13.5.1-4.1.0-28-local-25980/test/4.1.0-28v24/web_agents/apache24_agent/bin/../instances/agent_1/logs/debug/debug.log   <======
      com.sun.identity.agents.config.local.audit.logfile = /work/openam13.5.1-4.1.0-28-local-25980/test/4.1.0-28v24/web_agents/apache24_agent/bin/../instances/agent_1/logs/audit/audit.log
       
      com.sun.identity.agents.config.debug.file.rotate=true
      com.sun.identity.agents.config.debug.file.size=-1
      com.sun.identity.agents.config.debug.level=All

       

      #1. start up the webagent

      #2. ps -ef | grep http and look for the pid

      #3. access a protected page and made sure that it is redirect to OpenAM for authentication

      #4. execute the unix command :  lsof -p < pid >

      You will notice that you cannot find the debug log information in the lsof output

       

      Workaround

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

      Use centralized configuration until this bug is fixed

        Attachments

          Activity

            People

            mareks Mareks Malnacs
            sam.phua Sam Phua
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: