TSSA/BSA: Unable to open TSSA Patch Analysis Job -  No job found with key : DBKey:SJobKeyImpl:XXXX

Version 74
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    TrueSight Server Automation Suite


    COMPONENT:

    TrueSight Server Automation


    APPLIES TO:

    TSSA 8.9SP2+



    PROBLEM:

    When attempting to open a TSSA Patch Analysis job in TSA 8.9.2+, the operation fails with the following error: (The exact DBKey value may vary)

    "No job found with key : DBKey:SJobKeyImpl:232-1"

    No Job Found with key


    The following more-detailed stack trace is displayed in the TSSA Application Server logs:
     

    [02 Aug 2019 08:28:39,299] [Job-Execution-4] [ERROR] [{role_user}] [Batch] No job found with key : DBKey:SJobKeyImpl:232-1 com.bladelogic.om.infra.common.BeanException: No job found with key : DBKey:SJobKeyImpl:232-1         at com.bladelogic.om.infra.common.BeanUtil.getBean(BeanUtil.java:109)         at com.bladelogic.om.infra.model.job.JobFactory.loadJob(JobFactory.java:1440)         at com.bladelogic.om.infra.model.job.JobFactory.loadJobs(JobFactory.java:1146)         at com.bladelogic.om.infra.model.job.JobFactory.loadJobs(JobFactory.java:1100)         at com.bladelogic.om.infra.model.job.JobFactory.loadSingleJob(JobFactory.java:1259)         at com.bladelogic.om.infra.model.job.JobFactory.loadSingleJob(JobFactory.java:1249)         at com.bladelogic.om.infra.model.job.JobFactory.findLatestById(JobFactory.java:398)         at com.bladelogic.om.infra.model.job.batch.BatchJobExecutor.getMemberJob(BatchJobExecutor.java:322)         at com.bladelogic.om.infra.model.job.batch.BatchJobExecutor.sendOutMemberJobForExecution(BatchJobExecutor.java:343)         at com.bladelogic.om.infra.model.job.batch.BatchJobByStageExecutor.sendOutNextMemberJobForExecution(BatchJobByStageExecutor.java:71)         at com.bladelogic.om.infra.model.job.batch.BatchJobExecutor.startJobExecution(BatchJobExecutor.java:287)         at com.bladelogic.om.infra.app.service.job.JobExecutor.processEvent(JobExecutor.java:535)         at com.bladelogic.om.infra.model.job.batch.BatchJobExecutor.processEvent(BatchJobExecutor.java:608)         at com.bladelogic.om.infra.app.service.job.JobExecutor.processEvents(JobExecutor.java:338)         at com.bladelogic.om.infra.app.service.job.execution.JobExecutionThread.execute(JobExecutionThread.java:122)         at com.bladelogic.om.infra.app.service.job.execution.JobExecutionThread.execute(JobExecutionThread.java:34)         at com.bladelogic.om.infra.app.service.thread.BlBlockingThread.run(BlBlockingThread.java:104) Caused by: com.bladelogic.om.infra.mfw.util.NotFoundException: No job found with key : DBKey:SJobKeyImpl:232-1         at com.bladelogic.om.infra.model.job.JobFactory.loadSingleJob(JobFactory.java:1262)         at com.bladelogic.om.infra.model.job.JobFactory.findByDBKey(JobFactory.java:477)         at com.bladelogic.om.patch.model.job.patching.PatchingJobImpl.<init>(PatchingJobImpl.java:207)         at com.bladelogic.om.patch.model.job.patching.WindowsPatchingJobImpl.<init>(WindowsPatchingJobImpl.java:66)         at com.bladelogic.om.patch.model.job.patching.PatchingJobFactory.createPatchingJob(PatchingJobFactory.java:160)         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:498)         at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)         at org.springframework.beans.factory.support.ConstructorResolver.lambda$instantiateUsingFactoryMethod$2(ConstructorResolver.java:575)         at java.security.AccessController.doPrivileged(Native Method)         at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:574)         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1250)         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099)         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:541)         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335)         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:209)         at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1101)         at com.bladelogic.om.infra.common.BeanUtil.getBean(BeanUtil.java:104)         ... 16 more

     


    CAUSE:

    Defect DRBLG-116693 - Old Job Version cleanup can cause data consistency issues in Patching Jobs


    SOLUTION:

    In TSSA 8.9.02, a new cleanup command - "Delete cleanupHistoricalData OldVersionJob" - was introduced to cleanup old versions of jobs.

    This OldVersionJob cleanup had a defect (DRBLG-116693)  in 8.9.02 which could result in this error message.

    Cleanup defect DRBLG-116693 is fixed in TSSA 8.9.04.

    To prevent the problem from happening in 8.9.02 or 8.9.03, stop running the OldVersionJob cleanup until you upgrade to 8.9.04.  
    If you need a remediation for the problem, contact BMC Customer Support. 





     


    Article Number:

    000172213


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles