tracker issue : CF-4158918

select a category, or use search below
(searches all categories and all time range)

WEB.XML - Deployed EAR file

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Paul Cassar / Paul Cassar (Godwin Schembri)

Created: 05/30/2016

Components: Application Deployment

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Linux RHEL 6.4

Vote Count: 0

Problem Description:

After the EAR file was generated via ColdFusion 11, our customized web.xml which was configured in order to comply to our security procedures was replaced by the default ColdFusion web.xml. This issue has been observed when ColdFusion is installed as an EAR file on JBoss Application Server. 

Steps to Reproduce:

*Go to ColdFusion Administrator 
*Click on Packaging & Deployment and choose J2EE Archives
*Configure the different paths correctly and click submit to generate the EAR file
* Download the generated EAR and check the web.xml

Actual Result:

The web.xml generated in the EAR file was the default Coldfusion web.xml

Expected Result:

The web.xml generated in the EAR file must be our customized xml file. 

Any Workarounds:

Currently we have manually amended the exported EAR file using third party tools and continue with the deployments.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4158918

External Customer Info:
External Company:  
External Customer Name: Godwin Schembri
External Customer Email:  
External Test Config: My Hardware and Environment details:

REHL 6.5

JBoss 6.3 EAP

Coldfusion 11 Enterprise



web.xml is default one . This should change according to the configured path .
Comment by Nitin K.
2598 | June 05, 2016 08:47:48 AM GMT
When we create an EAR file, the ‘jee-archive-web.xml’ present in the WEB-INF directory of CF is copied as the ‘web.xml’ of the EAR file. Also, the original ‘web.xml’ present in the WEB-INF of CF is not touched or overwritten. Hence, any changes that need to go in the EAR’s web.xml, should be made in the ‘jee-archive-web.xml’ in the WEB-INF of CF.
Comment by Nikhil S.
2599 | June 09, 2016 06:08:49 AM GMT
As per the dev this is "as designed" . Please let us know if you need further explaination / have any information on this.
Comment by Nitin K.
2600 | June 23, 2016 02:14:56 AM GMT
Can you clarify the status of this issue? It appears the solution for this is that jee-archive-web.xml needs to be modified as well to ensure that the current EAR file web.xml configuration is exported in the EAR file.
Comment by External U.
2601 | July 04, 2016 04:48:24 AM GMT
jee-archive-web.xml is included as web.xml in WAR . So, jee-archive-web.xml needs to be configured/modified (instead of web.xml )
Comment by Nitin K.
2602 | July 07, 2016 05:48:01 AM GMT
I hope this answers your doubt . Withdrawing the bug now . Please get back to us if you have any concern .
Comment by Nitin K.
2603 | July 18, 2016 04:15:20 AM GMT