1 Reply Latest reply on Aug 12, 2009 2:30 AM by Richard Kennard

    REGRESSION: Groovy Booking not working under 2.2.0.GA and JBoss 5.1.0.GA?

    Richard Kennard Novice
      Hi guys,

      I take a fresh download of Seam 2.2.0.GA installed at /jboss-seam-2.2.0.GA, and a fresh install of JBoss 5.1.0.GA, installed at /Applications/jboss-5.1.0.GA (which is where the Seam examples build to). I then go into /examples/groovybooking, run Ant, and then go into JBoss and run bin\run.bat.

      Upon JBoss startup, I get...

      15:54:35,187 ERROR [SchemaExport] schema export unsuccessful
      org.hibernate.JDBCException: Error during import script execution at line 1
      ...
      Caused by: java.sql.SQLException: Violation of unique constraint SYS_PK_49: duplicate value(s) for column(s) $$

      ...and then I am unable to login to the Booking app (ie. using 'demo'/'demo').

      If I copy the 'jboss-seam-groovybooking.war' and 'groovybooking-dev-ds.xml' into a fresh install of JBoss 4.2.3.GA (not 5.1.0.GA), it all works fine.

      Can anyone confirm this? Am I doing something stupid? Or are there problems with the examples under JBoss 5.1.0.GA?

      Regards,

      Richard.