It appears that for some reason Hibernate is generating a circular foreign key constraint. While HSQL and Postgres (what we've tested on so far) seem to deal with this apparently MySQL does not.

We're trying to figure out the cause for the FK and how to get rid of it.

-Eric

On 8/28/10 2:48 PM, Chris Hyzer wrote:

I installed the latest java and now things compile (checkout from trunk), but the ant dbinit on a clean mysql database gives errors (see log attached)

[java] Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`uportal`.`up_permission_activity`, CONSTRAINT `FK120337DBFB98B773` FOREIGN KEY (`ACTIVITY_ID`) REFERENCES `up_permission_activity` (`ACTIVITY_ID`))

I don't know if that derails everything, but I try to start uportal and it redirects to CAS, and I get an error from CAS. I attached that log as well, don't see an error in the logs...

*Central Authentication Service (CAS)*

*CAS is Unavailable*

There was an error trying to complete your request. Please notify your support desk or try again.

Copyright © 2005-2007 JA-SIG. All rights reserved.

Powered by JA-SIG Central Authentication Service 3.3.5 <http://www.ja-sig.org/products/cas/>

Thanks,

Chris

--

You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to