tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bjorn Danielsson <bjorn-apa...@lists.cuspycode.com>
Subject Re: Spooky org.terracotta.quartz.skipUpdateCheck
Date Tue, 22 Jul 2014 12:29:13 GMT
When I press Stop followed by Start, scheduling stops working.

Had a quick look with jconsole and noticed that after running
the webapp for about 20 seconds I can see these threads:

OpenEJB-TimerService-Scheduler_QuartzSchedulerThread
EjbTimerPool - 1
EjbTimerPool - 2
EjbTimerPool - 3

Stop removes all four threads. Start recreates the first one
but no EjbTimerPool threads appear.

-- 
Bjorn Danielsson
Cuspy Code AB


Romain Manni-Bucau <rmannibucau@gmail.com> wrote:
> Hi
>
> I tried but when I hit F5 I get "app already deployed". If I stop it or
> remove it and restart/redeploy it works.
>
>
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-07-22 11:50 GMT+02:00 Bjorn Danielsson <
> bjorn-apache@lists.cuspycode.com>:
>
>> Romain Manni-Bucau <rmannibucau@gmail.com> wrote:
>> > How do you deploy it? deploying it at startup then hitting several times
>> > reload works fine
>>
>> I have now reproduced the weird behaviour using the Tomcat manager:
>>
>> 1. Add this to system.properties:
>>
>>    org.terracotta.quartz.skipUpdateCheck=true
>>
>> 2. Enable the manager webapp.
>>
>> 3. Deploy the WAR via the manager.
>>
>> 4. tail -f catalina.out. A message will be logged every 5 seconds
>>    showing that the @Schedule method is being invoked by Quartz.
>>
>> 5. Hit reload in the manager.
>>
>> 6. Notice silence in catalina.out after deployment is complete.
>>
>> Versions used:
>>
>> apache-tomee-1.7.0-20140722.041427-62-jaxrs
>> apache-tomee-1.7.0-20140722.041427-62-plus   (tested separately)
>> jdk-7u60-linux-x64
>> Ubuntu 12.04
>>
>> --
>> Bjorn Danielsson
>> Cuspy Code AB
>>

Mime
View raw message