Bug 1070502

Summary: kie-wb tomcat 7 war (6.0.2-SNAPSHOT) is missing the hibernate-commons-annotations artifact
Product: [Retired] JBoss BPMS Platform 6 Reporter: Marco Rietveld <mrietvel>
Component: Business CentralAssignee: Marco Rietveld <mrietvel>
Status: CLOSED CURRENTRELEASE QA Contact: Marek Baluch <mbaluch>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.1CC: kverlaen, mrietvel, rrajasek, rzhang, smcgowan
Target Milestone: ER2   
Target Release: 6.0.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:03:38 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:
Attachments:
Description Flags
log with ClassNotFoundException none

Description Marco Rietveld 2014-02-27 00:55:57 UTC
Created attachment 868272 [details]
log with ClassNotFoundException

Description of problem:

Deployment of the kie-wb tomcat 7 war (6.0.2-20140226.230656-91) throws a 
java.lang.ClassNotFoundException for the org.hibernate.annotations.common.reflection.MetadataProvider class, which can be found in the hibernate-commons-annotations (4.0.1) artifact. 

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

6.0.2-SNAPSHOT (6.0.2-20140226.230656-91)

How reproducible:

Always. 

Steps to Reproduce:
1. Setup tomcat according to readme here: https://github.com/droolsjbpm/kie-wb-distributions/tree/master/kie-wb/kie-wb-distribution-wars/src/main/tomcat7
2. Deploy the kie-wb tomcat7 war (6.0.2-SNAPSHOT) to tomcat. 
3. Start tomcat. 

Actual results:

The attached error is thrown (see attached file). 

Expected results:

No ClassNotFoundException is thrown in the log. 

Additional info:

Comment 1 Marco Rietveld 2014-02-28 04:36:54 UTC
BZ-1069216 (that already has all flags) seems to depend on this one. At least, I had to fix this before addressing BZ-1069216.

Fixed. Commits:  

6.0.x: 
https://github.com/droolsjbpm/kie-wb-distributions/commit/60a24dc3
https://github.com/droolsjbpm/kie-wb-distributions/commit/032b7aac

master: 
https://github.com/droolsjbpm/kie-wb-distributions/commit/4e4c57fc
https://github.com/droolsjbpm/kie-wb-distributions/commit/99b7541c

Comment 2 Marek Baluch 2014-03-05 20:15:42 UTC
This issue is not related to the product but to the community version of Tomcat 7.

Anyway the generic binaries do contain the hibernate-commons-annotations.jar so I'm closing this issue as VERIFIED (on 6.0.1.ER2)