Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-7196

Hibernate ERROR when booting UnifiedPushServer

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None

      When starting the PushEE/UnifiedPush server, Hibernate is generating a few ERRORs, while creating/updating the tables:

      2013/08/13 02:14:50,016 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-1) HHH000388: Unsuccessful: create table Developer (id bigint not null, newPassword varchar(255), password varchar(255), role varchar(255), primary key (id))
      2013/08/13 02:14:50,018 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-1) Table 'Developer' already exists
      2013/08/13 02:14:50,660 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-1) HHH000232: Schema update complete
      2013/08/13 02:14:50,779 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-2) HHH000388: Unsuccessful: create table hibernate_sequence ( next_val bigint )
      2013/08/13 02:14:50,781 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-2) Table 'hibernate_sequence' already exists
      2013/08/13 02:14:50,783 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-2) HHH000232: Schema update complete
      

      The reason for this is that the 'Developer' class/entity is present in BOTH persistence units.

            Unassigned Unassigned
            mwessend@redhat.com Matthias Wessendorf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: