JCS returning error message "Timer Already Cancelled" and a vApp restart is needed

Document ID : KB000010440
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

servicemix.log will have this error "Timer already cancelled" problem: 

 

YYYY-mm-dd 13:06:45,222 | WARN | Worker-thread-56 | MetaConnectorFactory | 131 - com.ca.jcs.core - 1.1.0.20170325 | Setting log level of MS_SQL_Server_<servername>to FATAL 

YYYY-mm-dd 13:06:45,225 | INFO | Worker-thread-56 | ConnectorConfig | 131 - com.ca.jcs.core - 1.1.0.20170325 | using DataSource properties: {timeBetweenEvictionRunsMillis=60000, minEvictableIdleTimeMillis=600000, url=jdbc:sqlserver://<servername>:1433, password=** NOT SHOWN **, maxActive=20, username=idm, maxIdle=4} 

YYYY-mm-dd 13:06:45,236 | INFO | Worker-thread-56 | CoreFileConnectorPersister | 131 - com.ca.jcs.core - 1.1.0.20170325 | No Connector was found to be deleted: eTSQLDirectoryName=WSQL20141,eTNamespaceName=MS SQL Server,dc=im,dc=etasa 

YYYY-mm-dd 13:06:45,239 | ERROR | Worker-thread-56 | MessageRouter | 131 - com.ca.jcs.core - 1.1.0.20170325 | A remote server returned an error: org.apache.directory.shared.ldap.exception.LdapConfigurationException: JCS@<connectorserverhostname>: internal error in ADD(): java.lang.IllegalStateException: Timer already cancelled. [Root exception is java.lang.IllegalStateException: Timer already cancelled.] 

YYYY-mm-dd 13:06:45,265 | ERROR | Worker-thread-58 | DefaultConnectorManager | 131 - com.ca.jcs.core - 1.1.0.20170325 | no information available for connector: eTSQLDirectoryName=WSQL20142,eTNamespaceName=MS SQL Server,dc=im,dc=etasa 

Environment:
CA Identity Manager with Virtual Appliance 14.01
Instructions:

1. For Vaap 14.01 request the hot-fix HF-DE305119-20170718-0003.tgz.gpg 

1. Take a back up of ~CA\Identity Manager\Connector Server\jcs\conf\override\ora\SAMPLE.connector.xml. 
2. Change the above file name from "SAMPLE.connector.xml" to "connector.xml". 
3. Ope the above file in editor and change from "timeBetweenEvictionRunsMillis">60000</prop>" to "timeBetweenEvictionRunsMillis">-1</prop>". Save it. 
4. restart JCS service.