-
1. Re: RHQ 4.0 Installation problem
mahdi24rajabi Dec 21, 2010 7:51 AM (in response to geethanga)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 Dec 21, 2010 8:31 AM (in response to mahdi24rajabi)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:
-
3. Re: RHQ 4.0 Installation problem
pilhuhn Dec 21, 2010 8:34 AM (in response to geethanga)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 Dec 21, 2010 9:25 PM (in response to pilhuhn)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 Dec 21, 2010 10:40 PM (in response to pilhuhn)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 Dec 22, 2010 1:14 AM (in response to ips)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 Dec 22, 2010 8:59 AM (in response to geethanga)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
joe.marques Dec 22, 2010 9:27 AM (in response to mazz)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 Aug 4, 2011 7:56 AM (in response to geethanga)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.