Bug 1022223

Summary: Deployment descriptor overlays do not override JSPs
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: John Doyle <jdoyle>
Component: ServerAssignee: Stuart Douglas <sdouglas>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.1CC: brian.stansberry, dandread, lthon, rdickens, rsvoboda
Target Milestone: ER7   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Deployment descriptor overlays should allow an administrator to override a JSP in a deployment. However the overlay functionality did not work because JBoss Web does not use VFS for serving content, and so the JSP files were not visible. An additional test of the deployment method has been added and the overriding of deployment descriptors now works as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:15:25 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 John Doyle 2013-10-22 18:40:12 UTC
Description of problem:  Deployment descriptor overlays should allow an administrator to override a JSP in a deployment.  


See https://bugzilla.redhat.com/show_bug.cgi?id=1006853

Hi,
  We have two server groups A and B. The mywar.war is deployed on both the server groups. However after this deployment we are trying to add a overlay for a test.jsp. 
to overdeploy we use below command in CLi
deployment-overlay add --name=myoverlay1 --deployments=mywar.war --content=/test/test.jsp=/myvol/edspworkspace/mywar/WebContent/test/test.jsp --deployments=mywar.war --server-groups=secondgroup --redeploy-affected

Comment 2 Ladislav Thon 2013-11-14 14:54:48 UTC
Verified with EAP 6.2.0.CR1.

Comment 3 Russell Dickenson 2013-11-25 05:37:08 UTC
Added Release Notes text. Please confirm whether or not the text is accurate.

Comment 4 Stuart Douglas 2013-11-25 08:52:16 UTC
The release notes text is not accurate. 

Basically it did not work because JBoss web does not use VFS for serving content. It should work now for non-exploded deployments.

Comment 5 Russell Dickenson 2013-12-04 00:52:52 UTC
I have amended the Release Notes text and will include the amended text in the next build of the Release Notes document.