Delivery Manager Tool - Package Contents - Incomplete Package Contents - Files on your file system - J2EE - Web xml files are ignored

Description

After package extraction in DMT,the web.xml files appear as ignored when seen in package content and are not defined in the analysis unit as indicated in the screenshot below.

Observed in CAST AIP

ReleaseYes/No
8.2.x
8.1.x
8.0.x
7.3.x
7.2.x
7.0.x

Observed on RDBMS

RDBMSYes/No
Oracle Server
Microsoft SQL Server
CSS2
CSS1

Step by Step Scenario

  1. Package the J2EE application in Delivery Manager Tool.
  2. Check the Package content.
  3. Web.xml files are ignored.

Action Plan

CASE 1: Issue with the option ‘Exclude basic JSP project when a full JEE project also exists for the same web.xml file’

The Solution is to deselect the check-box with the option ‘Exclude basic JSP project when a full JEE project also exists for the same web.xml file’ to include the web.xml files in the package.

CASE 2: Issue with the job changing from using a maven discoverer instead of an eclipse discoverer due to changes in the code

The Solution is to:

  • Package the version
  • Under package configuration, Unselect the Maven discoverer
  • Package again the version
  • The Eclipse project should be selected now.
  • Deliver, Accept and Set as Current version.
  • The web.xml file will be identified.
  • In CAST-MS, after having set the new version as current version, missing class paths need to be added manually.

The issue here is that the maven and eclipse discoverer behave differently during the discovery process and depending on the information in the files provided may not provide the same information for the same job if the source files associated with one type are incomplete. Switching back to will resolve the issue.

Impact on Analysis Results and Dashboard

Impact of issue: Web.xml files are ignored
Impact after applying solution: Web.xml files are selected.

Notes/comments

Ticket # 3695

Related Pages