7 Replies Latest reply on Jun 25, 2012 10:14 AM by wdfink

    How to start Jboss7 through console

    hari309965

      I am add the realm by running the addusers batch file. But still it is not alow me to login by giving the credentials.Thanks for any help

        • 1. Re: How to start Jboss7 through console
          dlofthouse

          Is this domain mode or standalone  mode you are running?  You need to run either standalone.sh/bat or domain.sh/bat before you can connect.

          • 2. Re: How to start Jboss7 through console
            wdfink

            Where do you want to login?

            ManagementConsole or application?

            • 3. Re: How to start Jboss7 through console
              hari309965

              I have run the server in standalone mode.  have started the server in standalone mode and I am trying to access the console http://localhost:9990/console/App.html.  The server localhost at ManagementRealm requires a username and password. I have added the ManagementRealm by running the add-user.bat file. It is added in the mgmt-users if I added using ManagementRealm in both domain and standalone. If I giving the application Realm then it is added in the application-users of both domain and standalone folders

               

              • 4. Re: How to start Jboss7 through console
                wdfink

                What version do you use? It might be different in some versions.

                If you start a fresh unzip and try to access localhost:9990 there would be a message that you have to add a user (and how to do it).

                Use the add-user script and add a user to the ManagementRealm (it will be added to standalone and domain configurations).

                After that you should be able to login with this uses by using the link 'Try again' on the error page.

                • 5. Re: How to start Jboss7 through console
                  hari309965

                  Mon Jun 25 16:14:21 GMT+530 2012

                  Unknown error

                  Unexpected HTTP response: 500  
                  Request { "address" => [
                  ("subsystem" => "datasources"),
                  ("data-source" => "TradisOnlineJNDI"),
                  ("statistics" => "pool")
                  ],
                  "operation" => "read-resource",
                  "include-runtime" => true } 
                  Response
                  Internal Server Error { "outcome" => "failed",
                  "failure-description" => "JBAS014739: No handler for read-resource at address [
                  (\"subsystem\" => \"datasources\"),
                  (\"data-source\" => \"TradisOnlineJNDI\"),
                  (\"statistics\" => \"pool\") ]",
                  "rolled-back" => true
                  }

                  this is error showing in the admin console.

                  • 6. Re: How to start Jboss7 through console
                    wdfink

                    Looks like an connection problem, could you describe what you are doing?

                    • 7. Re: How to start Jboss7 through console
                      wdfink

                      Let us continue in you r new thread regarding this "unkown error"