Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1175912

Summary: Hibernate fix should result in the elimination of Hibernate warnings in the quickstarts
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: sgilda
Component: QuickstartsAssignee: jboss-set
Status: CLOSED CURRENTRELEASE QA Contact: Nikoleta Hlavickova <nziakova>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: bsutter, gbadner, ggastald, jkudrnac
Target Milestone: CR1   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-19 12:41:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1175388    
Bug Blocks:    

Description sgilda 2014-12-18 21:02:00 UTC
Description of problem:

This is dependent on bug 1175388,

A fix should be merged into JBoss EAP 6.4 that will eliminate some of the warnings related to dropped constraints. 

Retest and remove any warnings from the README files that no longer occur.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Nikoleta Hlavickova 2015-02-11 14:36:14 UTC
Readme for cmt quickstart says:
Note: You will see the following warnings and errors in the server log. This is because Hibernate attempts to drop the table and constraints before they are created without checking first to see if they exist. The issues can tracked here: https://hibernate.atlassian.net/browse/HHH-6670 and https://hibernate.atlassian.net/browse/HHH-9545. You can ignore these warnings and errors.

-- the referenced bugs are both closed as fixed, so it does not say the user why the errors are still present

Comment 5 Nikoleta Hlavickova 2015-03-04 14:37:33 UTC
The readme for cmt QS does not contain information about the hibernate errors now, but they are present in server log:

ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 62) HHH000389: Unsuccessful: drop sequence hibernate_sequence
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 62) ERROR: sequence "hibernate_sequence" does not exist

Comment 9 sgilda 2015-03-04 20:48:53 UTC
Thanks Gail!

Restored the warnings to the following README files:

    bean-validation-custom-constraint/README.md
    bean-validation/README.md
    cdi-interceptors/README.md
    cdi-stereotype/README.md
    cmt/README.md
    forge-from-scratch/README.md
    greeter/README.md
    kitchensink-ear/README.md
    kitchensink-jsp/README.md
    kitchensink-ml-ear/README.md
    kitchensink-ml/README.md
    kitchensink/README.md
    tasks-jsf/README.md
    tasks-rs/README.md
    tasks/README.md

Comment 12 sgilda 2015-03-05 11:56:24 UTC
Interesting. I don't understand why the warning disappears for all but the cmt quickstart, but I'll check it. Thanks!

Comment 13 sgilda 2015-03-05 13:18:49 UTC
Nikoleta, you are correct. Only the cmt quickstart now displays this error. 

Fixed in this commit: https://github.com/jboss-developer/jboss-eap-quickstarts/commit/cd0505f5adfd0d18c92c674df2c5eca1971fce9b