So using the installation guides from http://support.hyperic.com/display/EVO/Set+Up+MySQL and http://support.hyperic.com/display/hyperforge/MySQL+Stats+5.5.x+server I have been trying to setup Hyperic 4.5.1 on CentOS x86_64 with a MySQL 5.5 server. I have been stuck at the below error. Please help. Please let me know if you have an idea on how to resolve the following error or can give advice on installing the Hyperic server with MySQL 5.5.
[hyperic@testcentos ~]$ /home/hyperic/hyperic-hq-installer-4.5.1/setup.sh -mysql
Unpacking JRE to temporary directory /tmp/jre
Please ignore references to missing tools.jar
Unable to locate tools.jar. Expected to find it in /tmp/lib/tools.jar
Loading taskdefs...
Taskdefs loaded
Initializing Hyperic HQ 4.5.1 Installation...
Choose which software to install:
1: Hyperic HQ Server
2: Hyperic HQ Agent
You may enter multiple choices, separated by commas.
1
HQ server installation path [default '/home/hyperic']:
Choices:
1: Yes
2: No
Should we overwrite the existing HQ server installation? [default '2']:
1
Enter the JDBC connection URL for the MySQL Enterprise / Community Server 5.x database [default 'jdbc:mysql://localhost:3306/HQ']:
Enter the username to use to connect to the database:
hqagent
Enter the password to use to connect to the database.:
(again):
Enter an encryption key to use to encrypt the database password.:
encryption
Loading install configuration...
Install configuration loaded.
Preparing to install...
Validating server install configuration...
Checking server webapp port...
Checking server secure webapp port...
Checking database permissions...
Verifying admin user properties
Validating server DB configuration...
Installing the server...
Creating server configuration files...
Copying binaries and libraries to server installation...
Copying server configuration file...
Copying server db-upgrade files...
Copying server libs...
Setting up server database...
Loading taskdefs...
Taskdefs loaded
Loading taskdefs...
Taskdefs loaded
--------------------------------------------------------------------------------
An ERROR occurred, the installation cannot continue.
FATAL EXCEPTION at /home/hyperic/hyperic-hq-installer-4.5.1/installer/data/setup.xml:493: : The following error occurred while executing this line:
/home/hyperic/hyperic-hq-installer-4.5.1/installer/data/setup.xml:502: The following error occurred while executing this line:
/home/hyperic/hyperic-hq-installer-4.5.1/installer/data/setup.xml:683: The following error occurred while executing this line:
/home/hyperic/hyperic-hq-installer-4.5.1/installer/data/setup-db-MySQL.xml:16: The following error occurred while executing this line:
/home/hyperic/hyperic-hq-installer-4.5.1/installer/data/setup-db-hibernate.xml:119: org.hibernate.InvalidMappingException: Could not read mapping documents from jar: hq-server-4.5.1.jar
--------------------------------------------------------------------------------
Deleting temporary JRE
Message was edited by: camille
[hyperic@testcentos ~]$ /home/hyperic/hyperic-hq-installer-4.5.1/setup.sh -mysql
Unpacking JRE to temporary directory /tmp/jre
Please ignore references to missing tools.jar
Unable to locate tools.jar. Expected to find it in /tmp/lib/tools.jar
Loading taskdefs...
Taskdefs loaded
Initializing Hyperic HQ 4.5.1 Installation...
Choose which software to install:
1: Hyperic HQ Server
2: Hyperic HQ Agent
You may enter multiple choices, separated by commas.
1
HQ server installation path [default '/home/hyperic']:
Choices:
1: Yes
2: No
Should we overwrite the existing HQ server installation? [default '2']:
1
Enter the JDBC connection URL for the MySQL Enterprise / Community Server 5.x database [default 'jdbc:mysql://localhost:3306/HQ']:
Enter the username to use to connect to the database:
hqagent
Enter the password to use to connect to the database.:
(again):
Enter an encryption key to use to encrypt the database password.:
encryption
Loading install configuration...
Install configuration loaded.
Preparing to install...
Validating server install configuration...
Checking server webapp port...
Checking server secure webapp port...
Checking database permissions...
Verifying admin user properties
Validating server DB configuration...
Installing the server...
Creating server configuration files...
Copying binaries and libraries to server installation...
Copying server configuration file...
Copying server db-upgrade files...
Copying server libs...
Setting up server database...
Loading taskdefs...
Taskdefs loaded
Loading taskdefs...
Taskdefs loaded
--------------------------------------------------------------------------------
An ERROR occurred, the installation cannot continue.
FATAL EXCEPTION at /home/hyperic/hyperic-hq-installer-4.5.1/installer/data/setup.xml:493: : The following error occurred while executing this line:
/home/hyperic/hyperic-hq-installer-4.5.1/installer/data/setup.xml:502: The following error occurred while executing this line:
/home/hyperic/hyperic-hq-installer-4.5.1/installer/data/setup.xml:683: The following error occurred while executing this line:
/home/hyperic/hyperic-hq-installer-4.5.1/installer/data/setup-db-MySQL.xml:16: The following error occurred while executing this line:
/home/hyperic/hyperic-hq-installer-4.5.1/installer/data/setup-db-hibernate.xml:119: org.hibernate.InvalidMappingException: Could not read mapping documents from jar: hq-server-4.5.1.jar
--------------------------------------------------------------------------------
Deleting temporary JRE
Message was edited by: camille