RHQ - incomplete deployment
Krzysztof Kwaśniewski
krzykwas at gmail.com
Sun Jun 24 16:33:54 UTC 2012
Hi!
I have encountered problems when trying to deploy RHQ and access it
via a web browser at http://127.0.0.1:7080. I have made the following steps:
1. Updated the code (git pull outputs „Already up-to-date.”)
2. Created two databases: rhq and rhqdev in postgresql and granted all
permissions on them to rhqadmin.
3. Changed postgresql configuration (standard_conforming_strings = off)
according to [1]
4. Built the code: JAVA_HOME=/usr/lib/jvm/java-6-openjdk mvn
-Penterprise,dev -Ddbsetup -DskipTests install
The build was successful.
5. Then in ./dev-container/bin I have executed:
RHQ_SERVER_JAVA_HOME=/usr/lib/jvm/java-6-openjdk/jre ./rhq-server.sh start
6. Each time I try to log on at http://127.0.0.1:7080 with
rhqadmin/rhqadmin, I get an error: „The username or password provided
does not match our records”. In the logs there are a couple of error
messages [2], among which there is: „ERROR
[org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete
Deployment listing:”
What am I doing wrong here? If the build was successful, why is the
database's structure wrong and how to fix it? I have followed this
instructions: [3]
My configuration:
1) uname -a
Linux feniks 3.0.0-21-generic #35-Ubuntu SMP Fri May 25 17:57:41 UTC
2012 x86_64 x86_64 x86_64 GNU/Linux
2) mvn --version
Apache Maven 2.2.1 (rdebian-6)
Java version: 1.7.0_147-icedtea
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: pl_PL, platform encoding: UTF-8
OS name: "linux" version: "3.0.0-21-generic" arch: "amd64" Family: "unix"
(but notice how I chose jdk 6 when building and running RHQ)
3) psql --version
psql (PostgreSQL) 9.1.4
contains support for command-line editing
[1] https://bugzilla.redhat.com/show_bug.cgi?id=741855
[2] http://pastebin.com/4kZpRZ0k
[3]
https://docs.jboss.org/author/display/RHQ/Building+RHQ#BuildingRHQ-BuildRHQ
Cheers
Krzysiek
More information about the rhq-devel
mailing list