← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 1314949] [NEW] Error starting up tomcat (version 2.15)

 

Hi Busoye,

this is not a critical problem - we renamed some foreign key constraints
which hibernate complains about since it tries to recreate them while they
already exist. We will fix (but you can safely ignore them).

Lars



On Thu, May 1, 2014 at 11:52 AM, Adebusoye Anifalaje <busoye@xxxxxxxx>wrote:

> Public bug reported:
>
> Hi
>
> This is related to some of the issues I've reported recently. Can anyone
> shed some light into how to resolve the following errors I get when I
> start up my servlet?
>
>
>  ERROR 2014-05-01 10:47:33,128 HHH000388: Unsuccessful: alter table
> program_attributes add constraint fk_program_attributeid foreign key
> (trackedenti
> yattributeid) references trackedentityattribute (SchemaUpdate.java
> [pool-2-thread-1])
>  ERROR 2014-05-01 10:47:33,128 ERROR: constraint "fk_program_attributeid"
> for relation "program_attributes" already exists (SchemaUpdate.java [pool-2
> thread-1])
>  ERROR 2014-05-01 10:47:33,128 HHH000388: Unsuccessful: alter table
> programstage add constraint fk_programstage_dataentryform foreign key
> (dataentryf
> rmid) references dataentryform (SchemaUpdate.java [pool-2-thread-1])
>  ERROR 2014-05-01 10:47:33,128 ERROR: constraint
> "fk_programstage_dataentryform" for relation "programstage" already exists
> (SchemaUpdate.java [pool-
> -thread-1])
>  ERROR 2014-05-01 10:47:33,128 HHH000388: Unsuccessful: alter table
> trackedentityform add constraint fk_trackedentityform_dataentryformid
> foreign key
> (dataentryformid) references dataentryform (SchemaUpdate.java
> [pool-2-thread-1])
>  ERROR 2014-05-01 10:47:33,144 ERROR: constraint
> "fk_trackedentityform_dataentryformid" for relation "trackedentityform"
> already exists (SchemaUpdate
> java [pool-2-thread-1])
>
> Many thanks.
>
> Regards,
>
> Busoye
>
> Version 2.15
> Build: 14986
>
> ** Affects: dhis2
>      Importance: Undecided
>          Status: New
>
> --
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/1314949
>
> Title:
>   Error starting up tomcat (version 2.15)
>
> Status in DHIS 2:
>   New
>
> Bug description:
>   Hi
>
>   This is related to some of the issues I've reported recently. Can
>   anyone shed some light into how to resolve the following errors I get
>   when I start up my servlet?
>
>
>    ERROR 2014-05-01 10:47:33,128 HHH000388: Unsuccessful: alter table
> program_attributes add constraint fk_program_attributeid foreign key
> (trackedenti
>   yattributeid) references trackedentityattribute (SchemaUpdate.java
> [pool-2-thread-1])
>    ERROR 2014-05-01 10:47:33,128 ERROR: constraint
> "fk_program_attributeid" for relation "program_attributes" already exists
> (SchemaUpdate.java [pool-2
>   thread-1])
>    ERROR 2014-05-01 10:47:33,128 HHH000388: Unsuccessful: alter table
> programstage add constraint fk_programstage_dataentryform foreign key
> (dataentryf
>   rmid) references dataentryform (SchemaUpdate.java [pool-2-thread-1])
>    ERROR 2014-05-01 10:47:33,128 ERROR: constraint
> "fk_programstage_dataentryform" for relation "programstage" already exists
> (SchemaUpdate.java [pool-
>   -thread-1])
>    ERROR 2014-05-01 10:47:33,128 HHH000388: Unsuccessful: alter table
> trackedentityform add constraint fk_trackedentityform_dataentryformid
> foreign key
>   (dataentryformid) references dataentryform (SchemaUpdate.java
> [pool-2-thread-1])
>    ERROR 2014-05-01 10:47:33,144 ERROR: constraint
> "fk_trackedentityform_dataentryformid" for relation "trackedentityform"
> already exists (SchemaUpdate
>   java [pool-2-thread-1])
>
>   Many thanks.
>
>   Regards,
>
>   Busoye
>
>   Version 2.15
>   Build: 14986
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1314949/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>

References