cancel
Showing results for 
Search instead for 
Did you mean: 

Business Process remains in running state intermittently

We have used business processes to implement email functionality in our application. Sometimes we are facing an issue that the business processes remain in running state and are not processed until we restart the hybris server. When we check logs, there is no hint of what is failing. Instead a warning "IGNORING XML CONFIGURATION" is logged in the logs

Can anyone provide a solution for this?

bhavirisetty
Active Participant
0 Kudos

We also facing same issue, Do let us know here if you got any solution.

Former Member
0 Kudos

can you provide the logs where u are seeing "Ignoring xml configuration"??

0 Kudos

INFO | jvm 1 | main | 2016/05/17 15:06:07.260 | INFO [AfterSaveEventPublisher-master] [DefaultTaskService] Task engine starting up (min:10 max:10 idle:20s interval:10s) INFO | jvm 1 | main | 2016/05/17 15:06:07.273 | INFO [Task-master-poll] [DefaultTaskService] Polling thread started. INFO | jvm 1 | main | 2016/05/17 15:06:07.273 | INFO [TaskExecutor-master-63-TriggerTask [8796093318070]] [ConfigurationImpl] HV000002: Ignoring XML configuration.

Former Member
0 Kudos

Can you please check if there is any cron job with this id? HV000002

check the logs of the cron job.

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member

We too faced the issue in our AWS cluster environment , the root cause for the problem was that the property "task.engine.loadonstartup" was set to false , we set it to true and restarted all the nodes , this resolved the issue.

Former Member
0 Kudos

Hi Team, We are also facing the same issue after the upgrade to 6.3 in multi node environment and none of the solutions posted here worked. Is there any solution for this issue ?

former_member483526
Participant
0 Kudos

Below are few steps to troubleshoot this issue-

  1.  First of all, application logs should reveal something about this issue. For that, you can enable debug level logging if needed.
    
  2.   If logs are not helping much then take the thread dump at the time when this issue occurs (Go to hac-> monitoring -> Thread Dump)
    
  3.  Skim the thread dump and search for thread "TaskExecutor-master". By looking it, you should able to figure out problematic piece of code (method call). 
    
  4.  You can also use any other profiling tools (e.g. jvisualvm) to know the exact status of process thread.
    
    

I was also facing same issue and was able to identify root cause with help of thread dump. There was programmatic error in our custom EmailContext Class.

I hope it helps.

Thanks,

Former Member
0 Kudos

We also facing the same issue, did you guys find any solution for this?

0 Kudos

ok, i faced this issue as well, but in my case i had an explicit setting in my local.properties task.excluded.cluster.ids=0 (Disable the task engine to avoid processing tasks that use system resources) . Removing this setting fixed the issue for me (as expected) .

ghulam-123
Explorer
0 Kudos

Is the environment is clustured? This issue happens when there are multiple nodes on which the application is running. Please check

0 Kudos

Yes we are using clustered environment. Can u please provide the solution as well?

Former Member
0 Kudos

We are also facing the same issue and all the business process stay in running state. Would appreciate if you can share the resolution to it.

Thanks, Sachin

0 Kudos

Hi Sachin, Did u get any solution for it?

Former Member
0 Kudos

Hi Sagar,

We also facing the same issue, there is any solution ?

Thanks, Youness

0 Kudos

Hi, did you find a solution for this issue?