Question

IAM Scheduled system flow doesn't run anymore


Since a last IAM Sync today our scheduled system flow won't be executed anymore.

 

 

Last run was at 2.21: PM (UTC) today but the next run every 3 minutes will be updates, but the task won't be executed.

We have bot Indicium and Indiciuum Legacy running against this IAM to support both Universal and Windows UI via Indicium.

An IIS restart didn't fix the issue, nor a sync of the IAM did fix it.

Running IAM 2021.1


19 replies

Userlevel 6
Badge +18

Hi, did you check the Indicium (Universal) log to see if any errors were returned by Indicium? System flows might stop working due to an error in the model. Indicium will write the error to the log.

hi Mark,

no errors in Indicium related to the schedule. Last error was from 13:46 (UTC) and was related to some error we made in the data when calculating a value in Universal.

But….on the server where our TEST-environment is running, also we have an DEV and ACC environment running on the same server. Only PROD is running on a separate server.

What I noticed is that also the Scheduler for DEV (15:00 UTC) and ACC (14:57 UTC) stopped.
They have their own IAM DB and also own Indicium Universal/Legacy running. So wondering if it's related to the server somewhere.

Will do a reboot of it now and see what will happen.

also a reboot and installing the latest Windows updates didn't solve it.
Wondering if  some IIS issue is causing this problem.
 

==

Just restarted the Application Pool of the Indicium (Universal) and noticing the following erros in IIS-Configuration Administrative event log:


Unable to find schema for config section 'system.serviceModel/extensions'. This section will be ignored.
Unable to find schema for config section 'system.serviceModel/client'. This section will be ignored.
Unable to find schema for config section 'system.serviceModel/tracking'. This section will be ignored.
Unable to find schema for config section 'system.serviceModel/serviceHostingEnvironment'. This section will be ignored.
Unable to find schema for config section 'system.xaml.hosting/httpHandlers'. This section will be ignored.

 

:thinking:

Also remarkable is that the “Next run” every 3 minutes will be updated

 

Userlevel 5
Badge +9

Indicium will try to run the system flow each 3 minutes. If it is not able to run for whatever reason it will try again so the next run time will be updated but the last run will stay the same. Does the indicium log mention it's skipping the schedule?

Are you sure the system flows works, was something changed to the flow or the data? Is there a step where you could add some logging to a table in the database? 
 

Found the issue!

We restarted the Application Pool of the Indicium Universal, but that doesn't make the scheduler active yet.

After I also opened the Universal login screen (without logging in yet), the scheduler was running again.

Checked the IIS settings for the application pool, and noticed the Start Mode = "AlwaysRunnning”.

So it seems that this IIS setting is not sufficient for starting the Indicium Universal again after an Application Pool restart (recycle I don't know)

So is this a bug or expected behavior ?

btw, running Indicium 2021.2.1.2.0

Userlevel 5
Badge +9

Can you check if you have application initialization activated in IIS? https://docs.thinkwisesoftware.com/docs/deployment/iis.html#application-initialization

yes it is:

 

Userlevel 5
Badge +9

The Application Initialization module fires the startup requests to web applications over http. These requests need to arrive in order for Indicium to be started automatically after downtime. Can you check the site bindings in IIS?

Userlevel 2
Badge +2

For what its worth we currently experiencing the same issue - got that one adressed in ticket #2030S - status is ‘being assessed’ - Also app-init installed, preload set to true - but to no avail.

Our binding settings:

The Hostname is a local DNS-entry (A-record)

Userlevel 5
Badge +9

These binding settings should be fine. What version of Indicium are you currently using? 

These binding settings should be fine. What version of Indicium are you currently using? 

Indicium 2021.2.12.0

Userlevel 5
Badge +9

You mentioned you use both indicium legacy and indicium. Do they have their own application Pool or are you sharing 1 app pool?

They have their own application pool as also the Legacy needs the  .NET CLR configured and the Indicium not.

Userlevel 5
Badge +9

Is preload enabled set to true for the indicium site? 

 

 

no, this is set to false:

 

So this was missed during initial setup I guess ?
And if I enable it this will solve the issue ?

Userlevel 5
Badge +9

I tested it locally and without this feature enabled the warmup does not work. Could you enable this and try to recycle the app pool?

Userlevel 6
Badge +18

Hi @C. Lousberg, is the problem solved? If so, could you mark the reply that solved your problem? Thanks!

Reply