Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.5
    • Component/s: doc
    • Labels:
      None
    • Environment:

      NA

      Description

      The Duke Tutoring doc suggest (58.4.1.3) to use the admin@example.com / javaee user for the Admin Interface. It would be useful to let the user that he needs to create that user (and how)

      The error message is more useful:
      --8<--
      Please enter a user name or password that is authorized to access this application. For this application, this means a user that has been created in the "tutoringRealm" realm and has been assigned to the group of "Administrator".
      --8<--

        Activity

        Hide
        jendrock added a comment -

        The admin user is created as part of the process of creating the tutoringRealm. I saw this error as it was being created:

        exec-maven-plugin:1.2.1:exec (create-tutoring-realm) @ dukes-tutoring-war —
        remote failure: Creation of Authrealm tutoringRealm failed. com.sun.enterprise.security.auth.realm.BadRealmException: java.lang.ClassNotFoundException: com.sun.enterprise.security.ee.auth.realm.jdbc.JDBCRealm not found by org.glassfish.main.security [328]
        com.sun.enterprise.security.auth.realm.BadRealmException: java.lang.ClassNotFoundException: com.sun.enterprise.security.ee.auth.realm.jdbc.JDBCRealm not found by org.glassfish.main.security [328]
        Command create-auth-realm failed.

        The realm and, consequently, the admin user were never created. I modified the POM file to specify the right package (com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm). After this, the realm and the admin user were created correctly. The security refactoring that occurred in GF 4.0.1 bit me again!

        Show
        jendrock added a comment - The admin user is created as part of the process of creating the tutoringRealm. I saw this error as it was being created: exec-maven-plugin:1.2.1:exec (create-tutoring-realm) @ dukes-tutoring-war — remote failure: Creation of Authrealm tutoringRealm failed. com.sun.enterprise.security.auth.realm.BadRealmException: java.lang.ClassNotFoundException: com.sun.enterprise.security.ee.auth.realm.jdbc.JDBCRealm not found by org.glassfish.main.security [328] com.sun.enterprise.security.auth.realm.BadRealmException: java.lang.ClassNotFoundException: com.sun.enterprise.security.ee.auth.realm.jdbc.JDBCRealm not found by org.glassfish.main.security [328] Command create-auth-realm failed. The realm and, consequently, the admin user were never created. I modified the POM file to specify the right package (com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm). After this, the realm and the admin user were created correctly. The security refactoring that occurred in GF 4.0.1 bit me again!

          People

          • Assignee:
            jendrock
            Reporter:
            David Delabassee
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: