Seeing error on syncing TIM monitors: "Communication Error 500" Data error: error in regular expression "*" at position 0: nothing to repeat

Document ID:  TEC1390759
Last Modified Date:  08/02/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA Application Performance Management

Releases

  • CA Application Performance Management:Release:10.5
  • CA Application Performance Management:Release:10.3
  • CA Application Performance Management:Release:10.2
  • CA Application Performance Management:Release:10.1
  • CA Application Performance Management:Release:10.0

Components

  • CUSTOMER EXPERIENCE MANAGER:APMCM
  • CUSTOMER EXPERIENCE MANAGER:CEM
  • CEM SYSTEM SETUP:CEMTIM
Issue:

 When wanting to use a regular expression in a component identification, you must use ".*" as a wildcard.
However if you enter "*" instead and save the changes, then you will no longer be able to synchronize the monitors.
It happens with any expression with an asterisk at the beginning (e.g. "*", *TEST, etc)


Steps to replicate:
-------------------

- Edit any component identification:
   Business Services -> Business Transactions -> Transactions -> Components -> Identification
- Change Action to "Matches regular expression"
- Change Pattern to "*"
- Click Update
- You will see the message: 
   "Confirmation: Parameter changes were saved successfully."
  and "Monitors are not synchronized" appears.


   Setting parameter identification


But, when you try to synchronize the changes, you will get an error:

- Go to Setup -> Monitors

- Click on "Synchronize all monitors"
- the following message appears:
   "Error: One or more monitors could not be synchronized. Please verify that all enabled monitors are running and accessible."
- "Domain Configuration Status" now shows
   "Communication Error 500"
   500 Error Data error: error in regular expression "*" at position 0: nothing to repeat Error in TIM when trying to sync monitorsDetailed error in TIM


- Try to revert back the change in "Business Services -> Business Transactions -> Transactions -> Components -> Identification" and you will always get :


   Error: Regular expression "*" is not valid. Error Message : ?+* follows nothing in expression.

And in the TIM logs you get:

   **ERROR: hub: ConfigFile: data error in /opt/CA/APM/tim/config/domainconfig.xml: error in regular expression "*" at position 0: nothing to repeat
   **ERROR: hub: ConfigFile: Data error: error in regular expression "*" at position 0: nothing to repeat

 

Environment:
All supported APM TIM releases.
Workaround:

Connect to the cemdb Database and run this query (as usual, a backup is recommended before any change is performed) :

select * from ts_params where ts_pattern = '*' and ts_operator='3';

      --> Note 1: For ts_pattern, use the exact expression you entered initially.

      --> Note 2: ts_operator = '3' is the value for action "Matches regular expression"

It will return the row for the component identification just edited. If it is the one you edited, then run this to update to a correct value:

update ts_params set
      ts_pattern='.*'
   where
      ts_pattern='*'
      and ts_params.ts_operator='3';
     
      --> Same as before, use the exact expression you entered initially

Ashampoo_Snap_2017.07.28_19h16m56s_005_.png

 

Workaround
     
Now you can successfully synchronize the monitors or edit the component identification.

 

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >