The same issue as bug 1060747 occurred during deployment of Dashbuilder to WebSphere AS. I am aware this can be closed as a duplicate in the future, but just for evidence.
We have downloaded and installed the Websphere App Server version 22.214.171.124 on a Fedora 19 host.
We've created a new assembly for WAS8 and fixed some cross-compatibility CDI issues on both the dashboard-builder and the jbpm-dashboard repos. These changes are basically the following:
1.- Weld jars must be removed from the distribution WAR since WAS provides its own CDI implementation based on Apache OpenWebBeans.
2.- Methods annotated with @PostConstruct, @PreDestroy must not declare to throw an exception. Otherwise WAS will reject to deploy the app.
3.- Our apps are SLF4J based and WAS used JUL. So the slf4j-log4j.jar dep. has been added to our assemblies in order to integrate with the WAS logging service.
I've successfully deployed & tested the application and I've also created a brief guide to explain the steps to deploy the jbpm-dashboard distribution on WAS:
- For the standalone Dashbuilder installation: https://github.com/droolsjbpm/dashboard-builder/tree/master/builder/src/main/was8
- For the jBPM integrated Dashboard installation:
Github commits (master):
Github commits (6.0.x):
Github commits - (product branding):
Required to ensure branding is applied to the WAS8 distribution.
WEB-INF/lib still contains weld-* jars.
I doubt this can work without building the was-8 assembly introduced by commits stated in comment 1, and thus additional (brms/bpms)-deployable-was.zip will be needed.
qe_test_coverage: failure of deployment - no need for additional test
The weld libraries are still present in dashbuilder WAS8 build (6.0.2.ER2) and no surprise, it cannot be deployed.
Could you please check if those commits stated in comment 1 made it into product?
The commits are in the tag:
Looks like a problem with the product build.
Sorry, I am afraid this mistake is on me.
I didn't realize that we do jbpm-dashboard special distribution for was8.
I have already fixed this on product assembly code.
Moving to MODIFIED.
Before ER3 is available, here is a fixed binary based on ER2: http://dev138.mw.lab.eng.bos.redhat.com/candidate/bpms-6.0.2-ER2/BZ-1061149/
If applicable, test on the above package for further test on dashbard.war for WAS8
(In reply to Ryan Zhang from comment #7)
Thanks for the additional build of dashbuilder Ryan, I was able to identify two more BZs (bug 1095363 and bug 1095391). This issue is fixed, but I will wait for a regular build to verify.
Verified with BPMS-6.0.2.ER3