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

Bug 1144427

Summary: exec-server profile does not work due to CNFE org.guvnor.m2repo.backend.server.FileDownloadServlet
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jiri Svitak <jsvitak>
Component: Business CentralAssignee: manstis
Status: CLOSED EOL QA Contact: Marek Baluch <mbaluch>
Severity: high Docs Contact:
Priority: high    
Version: 6.1.0CC: kverlaen, manstis, mbaluch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 18:40:05 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
server.log none

Description Jiri Svitak 2014-09-19 11:10:22 UTC
Created attachment 939227 [details]
server.log

Business central does not deploy in exec-server profile due to modules problem:
ClassNotFoundException: org.guvnor.m2repo.backend.server.FileDownloadServlet

See the attached server.log for more details.

To reproduce:
1.) Download and setup BPMS 6.1.0.DR2 http://dev138.mw.lab.eng.bos.redhat.com/candidate/bpms-6.1.0-DR2/
2.) Setup the exec-server profile:

cd standalone/deployments/business-central.war/WEB-INF
mv web.xml web-full-server.xml
cp web-exec-server.xml web.xml

cd standalone/bin
./standalone.sh

My env:
BPMS 6.1.0.DR2
EAP 6.3.0
PostgreSQL 9.3.5

Comment 1 Jeremy Lindop 2014-09-22 17:04:56 UTC
This doesn't look like a modules problem. The error is:

Caused by: java.lang.ClassNotFoundException: org.guvnor.m2repo.backend.server.FileDownloadServlet from [Module "deployment.business-central.war:main" from Service Module Loader]

This indicates that the failure to find the class FileDownloadServlet is from within the business-central.war file, not from a module in the bpms layer. The war file contains guvnor-m2repo-editor-backend-6.2.0.Beta1-redhat-1.jar in WEB-INF/lib, but this jar does not contain FileDownloadServlet. It looks as though there is an invalid reference to this class - maybe it has been refactored to some other package.

Comment 2 Kris Verlaenen 2014-09-23 00:22:26 UTC
Michael, could you take a look? I did search kie-wb and still did find references to the old org.guvnor.m2repo.backend.server.FileDownloadServlet in weblogic12 web-exec-server.xml and web-ui-server.xml, but not sure if this would explain the issue on EAP?  Or is it possible this is already resolved on master for the EAP case?

Comment 3 Jiri Svitak 2014-11-18 10:29:19 UTC
I have tried to deploy BPMS 6.1.0.ER2 business-central.war in exec-server profile and it worked well. My REST scenario to start processes worked well too.

Verified in BPMS 6.1.0.ER2.

QE performs testing of exec-server profile, so possible regressions will be found, thus setting qe_test_coverage+.

Can you please add commit links which fixed the issue?

Comment 4 manstis 2014-11-18 10:37:43 UTC
Hi Jiri,

It was probably this commit: https://github.com/droolsjbpm/kie-wb-distributions/commit/9850fc70ede32f1bee07108008b0b2b90e761b3f

With kind regards,

Mike