Discovery Pattern Failure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2019 10:59 AM
I ran a discovery, and below is the error that I received.
Identification Engine: Discovery status is FAILURE, Identification sections in pattern failed: section: discovery, error: JAVASCRIPT_CODE_FAILURE: Caused by error in Ad hoc script EvalClosure-Parse Application.cfc' at line 5
Identification Engine: Discovery status is FAILURE, Identification sections in pattern failed: section: Coldfusion app server, error: JAVASCRIPT_CODE_FAILURE: Caused by error in Ad hoc script 'EvalClosure-Parse Application.cfc' at line 5 2: var filePath= CTX.getAttribute("apps_cfc[].application_file_path"); 3: 4: if(filePath){ ==> 5: var fileContent = 6: CTX.getCommandManager().shellCommand(type_file_cmd+" "+filePath, false, null, null, CTX); 7: 8: var regex_for_node = /.*cfset this.name.*?=.*?'(.*?)'.*/;
Can you please help me with this error??
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2019 01:44 AM
From the above code it seems that someone pressed enter after the equal "=" sign on line number 5 of the script as it is not terminating.
I think you are discovering a machine with Adobe Coldfusion installed. Can you check the step which runs the above script and correct the code by putting the below code in a single line:
var fileContent = CTX.getCommandManager().shellCommand(type_file_cmd+" "+filePath, false, null, null, CTX);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2021 02:03 AM
Hi Rajesh,
I am facing the same kind of error:
Error: Pattern exit because graceful termination, reason: There is no Veritas Cluster Process running on this server.
Can you please tell, how you proceed in resolving your issue, and also I am unable to access the debug of the failure patterns.
Any help will be appreciated.
Thanks.
Akshay Sharma

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2021 03:41 AM
Hi Akshay
Linux Pattern looks for presence of veritas cluster on given Linux Box , But if its not there
then it will exit and continue discovery. You can ignore this.
Press Here as per SS - You will get this. But this you can ignore as Veritas process is not present.
It will not impact the discovery.
Regards
RP