Bug 1070502 - kie-wb tomcat 7 war (6.0.2-SNAPSHOT) is missing the hibernate-commons-annotations artifact
Summary: kie-wb tomcat 7 war (6.0.2-SNAPSHOT) is missing the hibernate-commons-annotat...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER2
: 6.0.1
Assignee: Marco Rietveld
QA Contact: Marek Baluch
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-27 00:55 UTC by Marco Rietveld
Modified: 2016-09-20 05:05 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:03:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
log with ClassNotFoundException (15.64 KB, text/x-log)
2014-02-27 00:55 UTC, Marco Rietveld
no flags Details

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)


Note You need to log in before you can comment on or make changes to this bug.