I had a interesting time trying to figure out why the JA-SIG CAS service registry status was being reset when ever I restarted CAS. After much frustration I figured out the problem was in the schema that hibernate has automatically created.
Hibernate was creating
BIT(1) for boolean atributes instead of
TINYINT(1). Because of this MySQL was not returning anything meaningful for the status. I have now changed the schema, and removed/commented the propery
hibernate.hbm2ddl.auto in the enitity manager bean. It seem to work perfectly.
Hope someone in a similar situation will find this information useful.i