Bug 1022223 - Deployment descriptor overlays do not override JSPs
Summary: Deployment descriptor overlays do not override JSPs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Server
Version: 6.1.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER7
: EAP 6.2.0
Assignee: Stuart Douglas
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-22 18:40 UTC by John Doyle
Modified: 2013-12-15 16:15 UTC (History)
5 users (show)

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.
Clone Of:
Environment:
Last Closed: 2013-12-15 16:15:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-2324 0 Major Resolved Deployment overlays do not replace JSP files 2014-05-13 11:58:44 UTC

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.


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