7 Replies Latest reply on Dec 27, 2012 9:29 AM by lazo

    Capedwarf in Openshift - admin password

    rimolive

      Hello all,

       

      I tried Openshift Capedwarf cartridge and I could deploy my GAE application without problems. However, when trying to access admin console (via <app>/_ah/admin) it returns a login popup. Where can I find this user/password? I tried search in the github instructions but didn't find anything.

       

       

      Regards,

       

      Ricardo

        • 1. Re: Capedwarf in Openshift - admin password
          alesj

          You can disable the login.

          In standalone-capedwarf.xml there is a CapeDwarf subsystem config, which enables this auth check.

          For the actual user / password, I pinged Matej who will tell you more.

          • 2. Re: Capedwarf in Openshift - admin password
            lazo

            Pasword is generated on first deploy and shown on a welcome page. As it is described on a welcome page, you don't have access to your pass once you trigger redeploy.

             

            Doing standard JBossAS password reset, can set new pass for "admin".

             

            New password generation could be triggered by removing user "admin" user from "application-users.properties" and provide default index.html (welcome page) to show the pass.

            • 3. Re: Capedwarf in Openshift - admin password
              rimolive

              Matej Lazar wrote:

               

              Pasword is generated on first deploy and shown on a welcome page. As it is described on a welcome page, you don't have access to your pass once you trigger redeploy.

               

              Doing standard JBossAS password reset, can set new pass for "admin".

               

              New password generation could be triggered by removing user "admin" user from "application-users.properties" and provide default index.html (welcome page) to show the pass.

               

              Is this password only shown in the first access? Because I accessed welcome page and I found the following message:

               

              "To access CapeDwarf admin console use username "admin" and password "" without quotes."

               

              So I tried to access admin console with the information provided but still no access.

              • 4. Re: Capedwarf in Openshift - admin password
                lazo

                Not only on first acces, but you must open welcome page before restart or git push to your OpenShift repo.

                 

                If there was a blank pass before git push or app restart, could you please provide steps to reproduce this scenario ?

                 

                Matej.

                • 5. Re: Capedwarf in Openshift - admin password
                  rimolive

                  Hello Matej,

                   

                  Just to document what we discussed, you were right about the password generation but remember to fix the problem with some special chars that can't work when generating the password.

                  • 6. Re: Capedwarf in Openshift - admin password
                    rimolive

                    Hello Matej,

                     

                    Just to document what we discussed, you were right about the password generation but remember to fix the problem with some special chars that can't work when generating the password.

                    • 7. Re: Capedwarf in Openshift - admin password
                      lazo

                      Password generation fixed.