Seeing caught exception while passivating com.ca.apm.transactiontrace.appmap.mapper.beans.CollectorTransactionTraceAppMapProcessorBean in EMlog
search cancel

Seeing caught exception while passivating com.ca.apm.transactiontrace.appmap.mapper.beans.CollectorTransactionTraceAppMapProcessorBean in EMlog

book

Article ID: 38259

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE

Issue/Introduction

  Symptoms:

   EM getting this message and then shutting down.

[ERROR] [Thread-ModelSynchronization] [Manager.AppMap] Unable to complete model synchronization with storage!
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'transactionManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:215)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
    at org.springframework.transaction.interceptor.TransactionAspectSupport.determineTransactionManager(TransactionAspectSupport.java:334)
    at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:252)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
    at com.sun.proxy.$Proxy117.getNamedParameterJdbcTemplate(Unknown Source)
    at com.wily.introscope.appmap.em.model.dao.impl.OperationsDaoImpl.getNamedParameterJdbcTemplate(OperationsDaoImpl.java:72)
    at com.wily.introscope.appmap.em.model.dao.impl.CollectorOperationsDaoImpl.setVertexStatusTransactional(CollectorOperationsDaoImpl.java:713)
    at com.wily.introscope.appmap.em.model.dao.impl.SubtransactionsDaoImpl.setVertexStatusTransactional(SubtransactionsDaoImpl.java:83)
    at sun.reflect.GeneratedMethodAccessor580.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
    at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98)
    at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
    at com.sun.proxy.$Proxy114.setVertexStatusTransactional(Unknown Source)
    at com.wily.introscope.appmap.em.model.dao.impl.CollectorOperationsDaoImpl.setVertexStatusInternal(CollectorOperationsDaoImpl.java:775)
    at com.wily.introscope.appmap.em.model.dao.impl.CollectorOperationsDaoImpl.setVertexStatus(CollectorOperationsDaoImpl.java:673)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)
    at com.sun.proxy.$Proxy133.setVertexStatus(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
    at com.wily.introscope.appmap.em.model.dao.interceptor.ProfilingMethodInterceptor.invoke(ProfilingMethodInterceptor.java:54)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
    at com.sun.proxy.$Proxy134.setVertexStatus(Unknown Source)
    at com.wily.introscope.appmap.em.ontology.ModelSynchronization.run(ModelSynchronization.java:363)
    at java.lang.Thread.run(Thread.java:745)

   On shutdown seeing this exception
 [INFO] [Thread-54] [Manager] Shutting down the Isengard server
 [INFO] [Thread-32] [Manager.com.wily.apm.tess.isengard.BizEventTransactionTraceService] TransactionTraceProcessorThread terminated normally
 [INFO] [Thread-54] [Manager.com.wily.apm.tess.isengard.BizDefUpdatesPublisherServiceBean] Passivated BizDefUpdatesPublisherServiceBean
 [INFO] [Thread-54] [Manager.DependencyMapServerBean] DependencyMapServerBean passivate
 [INFO] [Thread-54] [Manager.IscopeAlertsExtension] Isengard Alert Extension Bean has been passivated
 [ERROR] [Thread-54] [Manager] Caught Exception while passivating bean  com.ca.apm.transactiont[email protected]3b4d8586
 [INFO] [Thread-54] [Manager] Orderly shutdown complete.

 

  Environment:

  All cases reported have been APM 10.0 and 10.1

 

  Cause:

  Passivation is an approach Java uses to efficiently limit resources (EJB Java beans) through deactivation of the bean into secondary memory. In the above step,

   APM tries to shut down the various Java resources and connections associated with the appmap bean. It runs into an issue doing this, the exception appears, and

   a dirty shutdown takes place.

   

    Workaround

    A reboot of the EM may clean up the environment. Failing that, open a support case to resolve this issue.

    There is a Hotfix already created by CA Technologies to address this situation, please open a support case and ask for "380611_101Hotfix4".

   

 

  

 

 

Environment

Release: CEMUGD00200-10.1-Introscope to CA Application-Performance Management-Upgrade Mai
Component: