Description
When you run the JEE analysis some of the JEE objects are not saved in local base.
Observed in CAST AIP
Release | Yes/No |
---|---|
8.3.x | |
8.2.x | x<5 |
8.1.x | |
8.0.x | |
7.3.x |
Observed on RDBMS
RDBMS | Yes/No |
---|---|
Oracle Server | |
Microsoft SQL Server | |
CSS3 | |
CSS2 |
Step by Step scenario
- Create a user defined analysis unit with some application root path.
- Create another user defined analysis unit with other application root path.
- Annotate the analysis units.
- Run the analysis, in the Keys table you will see the objects on the analysis unit which has run last.
Action Plan
To troubleshoot this issue, you need the following Relevant input
Perform the below actions:
- Check if you have two user defined analysis units which share the same name, their resulting KB projects are shared (that is, only one project is created),such as in the below scenarios then check these solutions:
the two analysis units are in two different applications, or separated into two execution units, the last executed one replaces the content of the other one.
the two analysis units are in the same execution unit, the two contents are merged, in this merge case, this may lead to problems (e.g., when defining UDMs per analysis unit, this will generate an empty module). - If this is the case then follow the below steps to perform the analysis:
- Take the backup of your management base first, because we have to run a query and if that does not work you should have a backup to restore it.
Run the below query in your management base:
UPDATE CMS_J2EE_Analysis cja SET Object_Name = cja.Object_Name || '_' || CAST(cja.Object_Id AS VARCHAR), AnalyzerProjectName = NULL WHERE cja.Project_Id IS NULL AND cja.Object_Name IN (SELECT cja.Object_Name FROM CMS_J2EE_Analysis cja GROUP BY cja.Object_Name HAVING COUNT(1) > 1 );
- Run the full analysis.
- Take the backup of your management base first, because we have to run a query and if that does not work you should have a backup to restore it.
- If the issue is not about the above scenario, then contact CAST Technical Support with Relevant input.
Relevant Input
CAST Support Tool (CST) - alias Sherlock by checking Export bases, Export logs, Export Configuration files and export source code.
Impact on Analysis and Snapshot
Notes/comments
Ticket # 9196
The issue is fixed in CAST 8.2.5