You probably know this already, but hbm2ddl is the Hibernate task that
creates your database schema. This can fail for a limited number of
reasons. The task looks something like this:
<hbm2ddl
destdir="${build.dir}/sql"
outputFileName="hibernate.sql"
drop="false"
create="true"
update="false"
format="true"
console="false"
export="true"
delimiter=";"
haltonerror="true"
/>
As you can see, this can fail if the user doesn't have create permission
on the database (check username and password in
server/default/deploy/hq-ds.xml against the grant permissions for the
database, and in general make sure the hq-ds.xml entries look right) or
perhaps even if the user doesn't have write permissions on the output
file directory, or on the destdir directory.
George0211 wrote:
> Hi,
>
> I'm trying to install hyperic on Solaris 10 and it keeps failing on the server installation with
> An ERROR occurred, the installation cannot continue.
> FATAL EXCEPTION at /Documents/hyperic-hq-installer/installer-4.0.3/data/setup.xml:401: : The following error occurred while executing this line:
> /Documents/hyperic-hq-installer/installer-4.0.3/data/setup.xml:407: The following error occurred while executing this line:
> /Documents/hyperic-hq-installer/installer-4.0.3/data/setup.xml:531: The following error occurred while executing this line:
> /Documents/hyperic-hq-installer/installer-4.0.3/data/setup-db-MySQL.xml:16: The following error occurred while executing this line:
> /Documents/hyperic-hq-installer/installer-4.0.3/data/setup-db-hibernate.xml:193: Errors while performing <hbm2ddl>
>
>
> I can't seem to find any info on this.
>
> Please help.
>
> Thank you