Bug 1007360

Summary: Cannot redeploy Business Central - fails with NoClassDefFoundError
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jiri Locker <jlocker>
Component: Business CentralAssignee: Alexandre Porcelli <porcelli>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Locker <jlocker>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.0.0CC: kverlaen, mbaluch, mswiders, rrajasek
Target Milestone: ER4   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
JBoss EAP 6.1.0
Last Closed: 2014-08-06 20:09:03 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 Locker 2013-09-12 10:38:48 UTC
Created attachment 796761 [details]
server.log

Description of problem:
Not possible to redeploy business-central.war. When it's deployed it can be successfully undeployed but after that, any attempt to deploy it again will fail due to NoClassDefFoundError: Could not initialize class org.kie.commons.java.nio.file.api.FileSystemProviders$FileSystemProvidersHolder raised during Weld @PostConstruct phase.

It is not possible to redeploy Business Central without restarting application server.

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

How reproducible:
always

Steps to Reproduce:
1. start server (with business-central.war.dodeploy marker)
2. undeploy (rm business-central.war.deployed)
3. deploy again (touch business-central.war.dodeploy)

Actual results:
Deployment fails.

Expected results:
Should deploy successfully.

Additional info:
The attached server.log is complete but you may skip to 10:59:31,764 where the server start is completed. Then business-central.war deployment is stopped and started again. The error is logged at 11:01:26,668 ERROR.

Comment 2 Rajesh Rajasekaran 2013-10-29 11:22:03 UTC
Marking it as MODIFIED based on last comment. Please verify in ER4

Comment 3 Jiri Locker 2013-10-30 12:24:58 UTC
Fixed in ER4. Redeploy tested both with marker files and from EAP Management console.

Comment 4 Lukáš Petrovický 2014-02-07 16:14:59 UTC
This BZ has been part of the 6.0.0 stream.