Bug 815740

Summary: gwt-console-server.war doesn't contain some jars though it is not provided by every supported container (EWS)
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Petr Široký <psiroky>
Component: Build ProcessAssignee: lcarlon <lcarlon>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Široký <psiroky>
Severity: medium Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GACC: atangrin, brms-jira, kverlaen, lpetrovi, rzhang
Target Milestone: ER7   
Target Release: BRMS 5.3.0.GA   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-25 02:58:42 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:

Description Petr Široký 2012-04-24 12:12:09 UTC
Description of problem:
gwt-console-server.war doesn't contain some jars that are not not in every supported container (like EWS). 
Following jars are missing:
 - slf4j-api (in Guvnor install guide is stated, that slf4j should be copied to
   EWS's lib dir, so this should not be a problem)
 - logging implementation and slf4j bindings to this implementation 
   (e.g. log4j*.jar and slf4j-log4j*.jar)


Steps to Reproduce:
1. Deploy gwt-console-server.war to EWS.
2. Start EWS
3. NoClassDefFoundError will be thrown
  
The jars should be either included in lib dir of the gwt-console.war (which may not be possible) or the documentation must specify what jars (and from) should be copied to lib dir when deploying to EWS.

Comment 1 Lukáš Petrovický 2012-04-24 12:24:50 UTC
Necessary for supporting EWS, proposing as blocker.

Comment 2 Kris Verlaenen 2012-05-09 16:36:13 UTC
Will this be resolved by documenting this or by fixing this on the product side?  Or do you need support from the engineering team to modify this in the product branch / at the community side as well?  If so, could you recommend what needs to be done exactly?

Comment 3 Ryan Zhang 2012-05-10 10:36:51 UTC
The slf4j* jars and log4j jar issue is also happen to jboss-brms.war.
Adding the log jars in deployable war package would cause problem for EAP deployment since it's already exist in those container.

The way we did for jboss-brms.war is marked on documentation and shows the steps how to deploy it on EWS. 
See reference: http://documentation-stage.bne.redhat.com/docs/en-US/JBoss_Enterprise_BRMS_Platform/5/html-single/BRMS_Administrator_Guide/index.html#appendix-EWS-installation.

I think this issue also happens to designer.war, jbpm-human-task.war, business-central.war deployment.

Could we do the same way as we did for  jboss-brms.war?

Comment 4 Lukáš Petrovický 2012-05-10 12:15:54 UTC
(In reply to comment #3)
> Could we do the same way as we did for  jboss-brms.war?

I think we could - Lee?

Comment 5 lcarlon 2012-05-11 00:35:40 UTC
Hi Lukas,

I'm updating the instructions now. I'll post a link as soon as the updated instructions are online.

Thanks

Comment 6 lcarlon 2012-05-11 01:49:12 UTC
I've updated the EWS installation instructions and added them to the getting started guide as an appendix. It should be live on the internal doc stage within the next hour:

http://documentation-stage.bne.redhat.com/docs/en-US/JBoss_Enterprise_BRMS_Platform/5/html-single/BRMS_Getting_Started_Guide/index.html

Comment 7 Petr Široký 2012-05-11 14:48:23 UTC
Deploying into EWS is also documented in Administration Guide http://documentation-stage.bne.redhat.com/docs/en-US/JBoss_Enterprise_BRMS_Platform/5/html/BRMS_Administrator_Guide/appendix-EWS-installation.html

Not sure what's the best place for that, but is should be definitely only on one place.

Comment 8 lcarlon 2012-05-12 03:01:27 UTC
Hi Petr,

I've moved it from the admin guide into the Getting Started Guide (sorry I should have made that clearer in my comment), however the Admin guide hasn't been updated on the stage yet. The EWS instructions in the admin guide will disappear with the next update.

Thanks
Lee

Comment 9 Ryan Zhang 2012-05-14 08:16:11 UTC
The fixed for this issue should be included in ER7. Please do verification on it.

Comment 11 Petr Široký 2012-05-22 12:15:28 UTC
The EWS intall guide has been updated. There are still some things that has to be added, but I will track them together with bug 815744, that is very similar to this one.

Comment 12 lcarlon 2012-06-25 02:58:42 UTC
Closing as status already set to verified.