Clarity

 View Only
  • 1.  Background Server start fails

    Posted Mar 01, 2024 10:39 AM

    Hello everyone.

    Couple days ago, our RHEL 9 server faced an issue and we needed to restart it. After that the BG server fails when tries to start.

    It simply returns an error trying to get the tenant, even though all the other components works ok. Any idea?

    2024/03/01 11:39:58.201 | Launching a JVM...
    2024/03/01 11:39:58.503 | WrapperManager: Initializing...
    2024/03/01 11:39:59.206 | PPM Background 15.9.3.740 initializing...
    2024/03/01 11:39:59.206 |  installDir /usr/local/clarity
    2024/03/01 11:40:10.320 | java.lang.NullPointerException
    2024/03/01 11:40:10.420 | ERROR 01-03 11:40:10,315 -
    2024/03/01 11:40:10.420 | java.lang.NullPointerException
    2024/03/01 11:40:10.420 |       at com.niku.union.config.TenantConfigurationManager.getValidLocalTenant(TenantConfigurationManager.java:349)
    2024/03/01 11:40:10.420 |       at com.niku.union.config.TenantConfigurationManager.getTenantForBgService(TenantConfigurationManager.java:2683)
    2024/03/01 11:40:10.420 |       at com.niku.union.bgp.NikuBGServer.startServer(NikuBGServer.java:120)
    2024/03/01 11:40:10.420 |       at com.niku.union.bgp.NikuBGServer.initServer(NikuBGServer.java:101)
    2024/03/01 11:40:10.420 |       at com.niku.union.bgp.NikuBGServer.main(NikuBGServer.java:313)
    2024/03/01 11:40:10.420 |       at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2024/03/01 11:40:10.420 |       at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    2024/03/01 11:40:10.420 |       at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    2024/03/01 11:40:10.420 |       at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    2024/03/01 11:40:10.420 |       at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:290)
    2024/03/01 11:40:10.420 |       at java.base/java.lang.Thread.run(Thread.java:829)
    2024/03/01 11:40:10.420 | ERROR 2024-03-01 11:40:10,315 [WrapperSimpleAppMain] bgp.JobLogger
    2024/03/01 11:40:10.421 | java.lang.NullPointerException
    2024/03/01 11:40:10.421 |       at com.niku.union.config.TenantConfigurationManager.getValidLocalTenant(TenantConfigurationManager.java:349)
    2024/03/01 11:40:10.421 |       at com.niku.union.config.TenantConfigurationManager.getTenantForBgService(TenantConfigurationManager.java:2683)
    2024/03/01 11:40:10.421 |       at com.niku.union.bgp.NikuBGServer.startServer(NikuBGServer.java:120)
    2024/03/01 11:40:10.421 |       at com.niku.union.bgp.NikuBGServer.initServer(NikuBGServer.java:101)
    2024/03/01 11:40:10.421 |       at com.niku.union.bgp.NikuBGServer.main(NikuBGServer.java:313)
    2024/03/01 11:40:10.421 |       at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2024/03/01 11:40:10.421 |       at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    2024/03/01 11:40:10.421 |       at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    2024/03/01 11:40:10.421 |       at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    2024/03/01 11:40:10.421 |       at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:290)
    2024/03/01 11:40:10.421 |       at java.base/java.lang.Thread.run(Thread.java:829)
    2024/03/01 11:40:12.899 | <-- Wrapper Stopped



  • 2.  RE: Background Server start fails

    Broadcom Employee
    Posted Mar 04, 2024 09:25 AM

    Can you share the bg ca log and is the app services starting up? 



    ------------------------------
    Thanks & Regards
    Suman Pramanik
    Senior Principal Support Engineer | Agile Operations Division
    Broadcom Software
    ------------------------------



  • 3.  RE: Background Server start fails

    Posted Mar 05, 2024 03:53 PM
    Hi, Suman,
    Thank you for your help.
    The app services are up!!
    Our bg-ca log stopped writing since the day the incident occurred. We had an issue with crypto policies of our RHEL 9 server and had to add the SHA1 back to the server to be able to start the tomcat again.
    Here is the last log message
    ERROR 2024-02-19 13:08:39,797 [Action Execution Pipeline 0 (tenant=clarity)] bpm.engine (clarity:process_admin:23443041__B56D514A-40EE-489C-904C-E6BC831EF3D9:none) Error (will retry) caused by Step Instance: com.niku.bpm.engine.objects.StepInstance@48b5300a [Id: 9377002 Process Instance Id: 7669000 Step Id: 5066900 State: BPM_SIS_EXEC_ACTION Step Name: null Start Date: 2022-09-02 21:31:08.0 Expected End Date: null Percent Complete: 0.333333 Warned: false Retry Count: 1147 No of Pre Conditions: -1 No of Post Conditions: -1 Last Condition Eval Time: 0 Pre Condition Wait Events: null Post Condition Wait Events: null Pass Conditions: [] Error Id: -1 Priority: 1
     Process Thread: com.niku.bpm.engine.objects.ProcessThread@6e80ccca [Id: 7668001 Parent Step Instance Id: -1 Join Step Instance Id: -1]
     Split Threads: null
     Join Threads:null]
    com.niku.bpm.BpmException: java.lang.NullPointerException
            at com.niku.bpm.engine.rules.ActionExecutionPipeline.execute(ActionExecutionPipeline.java:107)
            at com.niku.bpm.engine.rules.Pipeline.run(Pipeline.java:280)
    Caused by: java.lang.NullPointerException
            at com.niku.bpm.engine.objects.StepInstance.processSynchronousStepAction(StepInstance.java:843)
            at com.niku.bpm.engine.rules.ActionExecutionPipeline.execute(ActionExecutionPipeline.java:64)
            ... 1 more
    Status of all services:
    Clarity PPM Beacon [beacon] is running: PID:1749185, Wrapper:STARTED, Java:STARTED
    Clarity PPM App Server [app] is running: PID:1749471, Wrapper:STARTED, Java:STARTED
    Clarity PPM System Admin Server [nsa] is running: PID:1749049, Wrapper:STARTED, Java:STARTED
    Clarity PPM Background Server [bg] is not running.