Ok

got the issue, thanks for your patience.

It is mainly stop/restart kills quartz executor service, I'll fix it
tonight



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 14:29 GMT+02:00 Bjorn Danielsson <
[email protected]>:

> 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 <[email protected]> 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 <
> > [email protected]>:
> >
> >> Romain Manni-Bucau <[email protected]> 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
> >>
>

Reply via email to