Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-11218

OpenAM throws service error for Application Module

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.0.2, 11.0.3, 12.0.0, 12.0.1, 12.0.2, 12.0.3, 12.0.4, 13.5.0
    • Fix Version/s: 14.5.0
    • Labels:
    • Support Ticket IDs:

      Description

      OpenAM throws the following error in the Authentication logs because there is no longer a service schema for the Application module:

      Error retrieving service schema

      Message:Service does not exist : sunAMAuthApplicationService

      at com.sun.identity.sm.ServiceSchemaManagerImpl.isValid(ServiceSchemaManagerImpl.java:139)
      at com.sun.identity.sm.ServiceSchemaManagerImpl.<init>(ServiceSchemaManagerImpl.java:117)
      at com.sun.identity.sm.ServiceSchemaManagerImpl.getInstance(ServiceSchemaManagerImpl.java:625)
      at com.sun.identity.sm.ServiceSchemaManager.<init>(ServiceSchemaManager.java:116)
      at com.sun.identity.sm.ServiceSchemaManager.<init>(ServiceSchemaManager.java:80)
      at com.sun.identity.authentication.config.AMAuthLevelManager.updateGlobalAuthLevelMap(AMAuthLevelManager.java:729)
      at com.sun.identity.authentication.config.AMAuthLevelManager.initialize(AMAuthLevelManager.java:195)
      at com.sun.identity.authentication.config.AMAuthLevelManager.<init>(AMAuthLevelManager.java:93)
      at com.sun.identity.authentication.config.AMAuthLevelManager.getInstance(AMAuthLevelManager.java:105)
      at com.sun.identity.authentication.config.AMConfiguration.addServiceListener(AMConfiguration.java:774)
      at com.sun.identity.authentication.config.AMConfiguration.getModuleBasedConfig(AMConfiguration.java:628)
      at com.sun.identity.authentication.config.AMConfiguration.newConfiguration(AMConfiguration.java:213)
      at com.sun.identity.authentication.config.AMConfiguration.getAppConfigurationEntry(AMConfiguration.java:695)
      at com.sun.identity.authentication.service.AuthUtils.isPureJAASModulePresent(AuthUtils.java:1510)
      at com.sun.identity.authentication.service.AMLoginContext.executeLogin(AMLoginContext.java:395)
      at com.sun.identity.authentication.server.AuthContextLocal.login(AuthContextLocal.java:544)
      at com.sun.identity.authentication.server.AuthContextLocal.login(AuthContextLocal.java:419)
      at com.sun.identity.authentication.AuthContext.runLogin(AuthContext.java:777)

       

      This error can be misleading and the only reason it occurs is because the Application module is present in amAuth.xml.  It would be helpful to end users if we could remove this reference to a service that no longer exists to prevent confusion when this error is thrown.

        Attachments

          Activity

            People

            • Assignee:
              peter.major Peter Major [X] (Inactive)
              Reporter:
              abel.hoxeng Abel Hoxeng
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: