9 Replies Latest reply on Aug 4, 2011 7:56 AM by heldwein

    RHQ 4.0 Installation problem

    geethanga

      Hi,

       

      I have downloaded the RHQ 4.0 DP2 distribution and am eager to check it out.

      But my problem is when i'm trying to access URL

      http://localhost:7080

       

      it gives the following error.

       

      HTTP Status 404 - /installer/welcome.jsf


      type Status report

      message /installer/welcome.jsf

      description The requested resource (/installer/welcome.jsf) is not  available.


      JBossWeb/2.0.1.GA

       

      can anybody please help to resolve this issue?

       

      \Geethanga

        • 1. Re: RHQ 4.0 Installation problem
          mahdi24rajabi

          As probably you know this error occure when such resource (welcome.jsf) doesn't exist in your context root, refer to %RHQ_SERVER_HOME%\jbossas\server\default\deploy\rhq-installer.war.rej  and check the mentioned resource. if that exist or not. if it does, go to log file of embbeded jboss of RHQ server and make sure that the /installer  context has been deployed  successfully.

           

          the other probability is that your server zip file may be cropted during downloading.

          • 2. Re: RHQ 4.0 Installation problem
            mazz

            Hmm... this is weird. Is this the very first time you ran the server? It should have come up in "installer" mode. What happens if you go to:

             

            http://localhost:7080/coregui/CoreGUI.html#Dashboard

            • 3. Re: RHQ 4.0 Installation problem
              pilhuhn

              Hey,

              I've just tried it on OS X and it works.

              So I suspect that either the downloaded archive is corrupt or that unpackaging mangled some paths.

              If you are on windows, make sure that

              - you use short path (like c:\rhq) to unzip into

              - try winzip, as the built-in zip utility has been the cause for corruption for long file path in the past.

               

              HTH

                 Heiko

              • 4. Re: RHQ 4.0 Installation problem
                geethanga

                Hey thanks for the replies,

                @John : I tried what you said it's not working either.

                As you guys think it may be because of a corrupted file. I will download it again and try.

                • 5. Re: RHQ 4.0 Installation problem
                  ips

                  The following yellow note from the RHQ install guide (http://rhq-project.org/display/JOPR2/Running+The+Installer) provides a bit more detail on the path-too-long issue on Windows that Heiko alluded to:

                   

                  For Windows users
                  Do not install the RHQ Server into a directory with a path longer than about 19 characters (e.g. use C:\jopr rather than C:\Documents and Settings\myusername). Excessively long pathnames may cause errors during execution of the server. It has also been seen that unzipping the distribution using 7-Zip may also help avoid the long-pathname problem.

                  • 6. Re: RHQ 4.0 Installation problem
                    geethanga

                    Finally i got it to work in my personal machine. I have two test machines but both have the above issue.

                    And now i have another problem. If need to use SQL server as the database which versions are currently supported?

                    I have SQL Server 2005 express edition already installed in my machine but i couldn't get connected.

                    Do i need special drivers?

                    Here is the connection string is used. "jdbc:jtds:sqlserver://localhost/sqlexpress:1433;databaseName=rhq"

                     

                    But i get the following error

                     

                    ---------------------------
                    Windows Internet Explorer
                    ---------------------------
                    java.sql.SQLException: Network error IOException: Connection refused: connect
                    ---------------------------
                    OK  
                    ---------------------------

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

                    Windows Internet Explorer

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

                    java.sql.SQLException: Network error IOException: Connection refused: connect

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

                    OK  

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

                    Please note that i have created, a database named rhq and a user for the database rhqadmin and password is set as rhqadmin

                    • 7. Re: RHQ 4.0 Installation problem
                      mazz

                      Here's more docs that talks about that:

                       

                      http://rhq-project.org/display/JOPR2/Microsoft+SQL+Server

                       

                      http://rhq-project.org/display/JOPR2/FAQ#FAQ-IsXXXdatabasesupported%3F

                       

                      I know Joseph M did alot of work on SQL Server, but IIRC the work wasn't fully tested/completed and it was many months ago. Perhaps Joe can chime in on SQL Server support in the developer builds.

                      • 8. Re: RHQ 4.0 Installation problem

                        A while back I added support for SQLServer 2005/2008.  The instructions for what you must modify on your instance are in the Bugzilla that tracked that work -- https://bugzilla.redhat.com/show_bug.cgi?id=RHQ-2142

                        • 9. Re: RHQ 4.0 Installation problem
                          heldwein

                          Hi,

                           

                          I had the same problem ("The requested resource (/installer/welcome.jsf) is not  available.") as you and solved it by upgrading from Java 5 to Java 6.