Quantcast
Channel: SCN : All Content - SAP Business Process Management
Viewing all articles
Browse latest Browse all 887

How to analyze BPM Process definition errors

$
0
0

Hello experts,

 

We are unable to start any new BPM processes, complete BPM engine status in Red.

Suddenly some of the BPM process definition showing in RED, that count reached to maximum Threshold.

 

We had tried restarting the server to clean up the count, but still we are facing the same issue.

 

Can you please help me how to analyze the process definition errors which are showing in ‘Process Instance Memory Threshold

 

Attached file for more details.

 

Exception:

  1. com.sap.glx.adapter.api.AdapterException: Process start failed due to TransitionException!

    Caused by: com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script "_SimpleProcess:START_EVENT_BPMN_Start(
          com.sap.glx.adapter.BPMNAdapter:Request request,
          com.sap.glx.adapter.BPMNAdapter:Event_0_Start_40cf97feea7e82e95a52e04629485499 event){
      initiator=request:initiator;
      kicker=request:kicker;
      instance=new com.sap.glx.adapter.BPMNAdapter:Instance_0_SimpleProcess_40cf97feea7e82e95a52e04629485499(initiator, null, kicker, false);
      bridge=new com.sap.glx.adapter.internal.Synchronizer:Bridge_0_SimpleProcess_40cf97feea7e82e95a52e04629485499(instance, null, null, null, null);
      bridge:setRequest(request);
      token=new com.sap.glx.adapter.BPMNAdapter:Token_0_SimpleProcess_40cf97feea7e82e95a52e04629485499(instance, 0, null, null, null);
      delete event;
      exit=new com.sap.glx.adapter.BPMNAdapter:Exit();
      exit:onActivation("E0E1B8C6C5CC519033E611DECB110050569E73BC", instance, token);
      delete exit;
      controller=new com.sap.glx.adapter.internal.ExceptionAdapter:ExceptionController();
      controller:setContext(token);
      delete controller;
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_0_SimpleProcess_40cf97feea7e82e95a52e04629485499(instance);
      role_1=new com.sap.glx.adapter.internal.ContainerAdapter:View_0_Administrators_40cf97feea7e82e95a52e04629485499(instance, scope, -1, false, false, null);
      instance:setContainerObject("Administrators", role_1);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_2_SimpleProcess_40cf97feea7e82e95a52e04629485499(instance);
      role_2=new com.sap.glx.adapter.internal.ContainerAdapter:View_1_SimpleProcess_ExcludedOwners_40cf97feea7e82e95a52e04629485499(instance, scope, -1, false, false, null);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_3_SimpleProcess_40cf97feea7e82e95a52e04629485499(instance);
      view_3=new com.sap.glx.adapter.internal.ContainerAdapter:View_2_TextVariables_40cf97feea7e82e95a52e04629485499(instance, scope, -1, false, false, null);
      instance:setContainerObject("TextVariables", view_3);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_4_SimpleProcess_40cf97feea7e82e95a52e04629485499(instance);
      role_4=new com.sap.glx.adapter.internal.ContainerAdapter:View_3_SimpleProcess_PotentialOwners_40cf97feea7e82e95a52e04629485499(instance, scope, -1, false, false, null);
      payload=request:getData();
      mapper=new com.sap.glx.adapter.internal.Transformer:DataMapper();
      yves_in=new com.sap.glx.adapter.internal.Transformer:Data();
      yves_in:setData("sap.com/glx/", "$sap.com/glx/:Empty", payload, "03B52A6F6BA8CA710F0EFCC44F7C5AE4");
      yves_out=new com.sap.glx.adapter.internal.Transformer:Data();
      mapper:map("E0E1B8C6C5CC519433E611DE90710050569E73BC_40cf97feea7e82e95a52e04629485499", yves_in, yves_out);
      delete yves_in;
      delete yves_out;
      delete mapper;
      new com.sap.glx.adapter.internal.LoggingAdapter:FlightRecorder_0_SimpleProcess_40cf97feea7e82e95a52e04629485499(instance);
    }"
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:83)
    at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:141)
    at com.sap.glx.core.kernel.mmtx.DirectNestedTransaction.inPrepare(DirectNestedTransaction.java:67)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:200)
    ... 110 more
    Caused by: com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script command "instance=new com.sap.glx.adapter.BPMNAdapter:Instance_0_SimpleProcess_40cf97feea7e82e95a52e04629485499(initiator, null, kicker, false)"
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:803)
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:78)
    ... 113 more
    Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException
    at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:839)
    at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:848)
    at com.sap.glx.core.dock.impl.GalaxyClassImpl.create(GalaxyClassImpl.java:219)
    at com.sap.glx.core.kernel.trigger.config.Script$NewInstance.execute(Script.java:368)
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:798)
    ... 114 more
    Caused by: java.lang.RuntimeException: BPMN process could not be started; maximum number of 2000 allowed active processes reached; try again later
    at com.sap.glx.process.adapter.bpmn.impl.ProcessInstanceCountBrake.assertNotInErrorState(ProcessInstanceCountBrake.java:115)
    at com.sap.glx.process.adapter.bpmn.impl.ProcessInstanceCountBrake.assertProcessStartAllowed(ProcessInstanceCountBrake.java:105)
    at com.sap.glx.process.adapter.bpmn.impl.BPMNDisasterBrakes.assertProcessStartAllowed(BPMNDisasterBrakes.java:50)
    at com.sap.glx.process.adapter.bpmn.impl.BPMNInstanceHandler.onConstruction(BPMNInstanceHandler.java:115)
    at com.sap.glx.core.dock.impl.DockObjectImpl.creation(DockObjectImpl.java:203)
    at com.sap.glx.core.dock.impl.GalaxyClassImpl.create(GalaxyClassImpl.java:209)
    ... 116 more


Viewing all articles
Browse latest Browse all 887

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>