1310
Views
10
Comments
Invalidate cacheĀ 
Question

I was getting this error often. Can I know the reason?


This is affecting my application.

2020-05-29 14-07-58
Rajendra Singh

Hi Ajit i think your question is incomplete may i know which error you are getting ?


Thanks

Rajendra Singh

2020-02-28 09-46-54
Eduardo Jauch

Hi,

You already asked this question here: https://www.outsystems.com/forums/discussion/38406/timer/

Please, avoid opening new posts for the same question.
If you need, give an UP in the original question, providing more information, like the code of the Timer, what it is doing, etc.

Also, provide information about the state of your environment, as an application being invalidate (I think) may be caused by problems with the server.

Cheers.

2019-12-07 10-53-52
Ajithkumar Radhakrishnan

Sorry will raise in same Eduardo.

Raj & Eduardo Please help me with this as it is affecting production environment.

59 14 Release  Something went wrong: ORA-01013: user requested cancel of current  operation
    
USERRelease
59 Espace invalidate  cache for espace with id 58 (TenantId: 0) in outsysUSERINVALIDATECACHE

 This is how the error is logged.

And timer execution is stopped as well.

2020-02-28 09-46-54
Eduardo Jauch

Please, provide all the information on the error (with the Stack Trace, etc).
Also, please, when does this errors happens? Could you provide an image of the logging list in Service Center with the times? 

2020-02-28 09-46-54
Eduardo Jauch

P.S. 

As it was explained in the other thread, the timer stops because it is raising a TIME OUT. 

So, whatever you're doing in the timer, is taking longer than the time out defined (60 seconds). This will abort the timer. 

You need to investigate if you can solve this issue increasing the time out of the timer, or if you need to take a different approach.

What I would like to understand is if this has any relation with the other error (cache invalidation)

Cheers.

2019-12-07 10-53-52
Ajithkumar Radhakrishnan

Eduardo Jauch wrote:

P.S. 

As it was explained in the other thread, the timer stops because it is raising a TIME OUT. 

So, whatever you're doing in the timer, is taking longer than the time out defined (60 seconds). This will abort the timer. 

You need to investigate if you can solve this issue increasing the time out of the timer, or if you need to take a different approach.

What I would like to understand is if this has any relation with the other error (cache invalidation)

Cheers.


Eduardo regarding that error I could see the application is published at the same time when the error Invalidate cache is logged.

Timeout for the timer configured is 20 minutes.

Below is the error log captured

2018-08-15 17:02:51
Timer ReleaseTimer_Deploy_Agent error (inside action 'Handler'). Timer duration = 61 secs: ORA-01013: user requested cancel of current operation
 [retry 1 of 3 scheduled]

outsysDetail
2018-08-15 17:02:20
ORA-01013: user requested cancel of current operation

outsysDetai
2020-02-28 09-46-54
Eduardo Jauch

Hi Ajithkumar.

The error about the invalidate cache is completely normal, so.

Everytime you publish a module or deploy an application, the cache of the application is invalidate, as there is a new application that must be loaded.

Regarding the timer, if the timeout of the timer itself is 20 minutes, there is another thing that is timing out and this is raising an exception.

Without knowing what your timer is doing, is hard to help.

2019-12-07 10-53-52
Ajithkumar Radhakrishnan

Eduardo Jauch wrote:

Hi Ajithkumar.

The error about the invalidate cache is completely normal, so.

Everytime you publish a module or deploy an application, the cache of the application is invalidate, as there is a new application that must be loaded.

Regarding the timer, if the timeout of the timer itself is 20 minutes, there is another thing that is timing out and this is raising an exception.

Without knowing what your timer is doing, is hard to help.


I think we could both as same. Because after invalidating cache the error for timer is thrown. So the timer is interrupted because of the publish hope so. 


The timer will deploy and install outsys application in the specified path.

2020-02-28 09-46-54
Eduardo Jauch

Ajithkumar,

How is this affecting your application?

I mean, If you are publishing/deploying the application, yes, this will have inpact (that's the reason we don't do this often for production, but deploy very carefully).

What exactly is your concern?

The deploy is failing?

Cheers.

2019-12-07 10-53-52
Ajithkumar Radhakrishnan

Hi Eduardo,


Apart from manually publishing the application. Is there any case by which the platform will kill and publish the application automatically?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.