Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1022223 - Deployment descriptor overlays do not override JSPs
Deployment descriptor overlays do not override JSPs
Status: CLOSED CURRENTRELEASE
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Server (Show other bugs)
6.1.1
Unspecified Unspecified
unspecified Severity high
: ER7
: EAP 6.2.0
Assigned To: Stuart Douglas
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-22 14:40 EDT by John Doyle
Modified: 2013-12-15 11:15 EST (History)
5 users (show)

See Also:
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 11:15:25 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker WFLY-2324 Major Resolved Deployment overlays do not replace JSP files 2014-05-13 07:58:44 EDT

  None (edit)
Description John Doyle 2013-10-22 14:40:12 EDT
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 09:54:48 EST
Verified with EAP 6.2.0.CR1.
Comment 3 Russell Dickenson 2013-11-25 00:37:08 EST
Added Release Notes text. Please confirm whether or not the text is accurate.
Comment 4 Stuart Douglas 2013-11-25 03:52:16 EST
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-03 19:52:52 EST
I have amended the Release Notes text and will include the amended text in the next build of the Release Notes document.

Note You need to log in before you can comment on or make changes to this bug.