Red Hat Bugzilla – Bug 1007360
Cannot redeploy Business Central - fails with NoClassDefFoundError
Last modified: 2014-08-06 16:09:03 EDT
Created attachment 796761 [details]
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):
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)
Should deploy successfully.
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.
this should already be fixed as part of BZ1009028
Marking it as MODIFIED based on last comment. Please verify in ER4
Fixed in ER4. Redeploy tested both with marker files and from EAP Management console.
This BZ has been part of the 6.0.0 stream.