tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo K. Shikida" <shik...@gmail.com>
Subject Re: using quartz + tomee 1.7.1+
Date Tue, 21 Oct 2014 14:13:08 GMT
yes, but quartz will be loaded by a different classloader, right?

because when I try

        JobDetail jobDetail = newJob(HelloJob.class)
                .withIdentity(name+"", "group1")
                .build();


HelloJob will be in the webapp, but quartz will be probably under tomee, so
will quartz find the HelloJob class?


[]

Leo

On Tue, Oct 21, 2014 at 9:15 AM, Romain Manni-Bucau <
rmannibucau@tomitribe.com> wrote:

> this is the same quartz as standard one, just packages are different.
> So all you can do with quartz can be done out of the box
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
>
> 2014-10-21 13:07 GMT+02:00 Leonardo K. Shikida <shikida@gmail.com>:
> > is there a way to create a quartz job using the shaded classes?
> >
> > it seems to me that only the functions needed by tomee are available
> there
> >
> > []
> >
> > Leo
> >
> > On Tue, Oct 21, 2014 at 7:36 AM, Romain Manni-Bucau <
> > rmannibucau@tomitribe.com> wrote:
> >
> >> it is compatible is you configure it manually in application
> >> properties or openejb-jar.xml but that's all.
> >> Romain Manni-Bucau
> >> Twitter: @rmannibucau
> >> Blog: http://rmannibucau.wordpress.com/
> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >> Github: https://github.com/rmannibucau
> >>
> >>
> >>
> >> 2014-10-21 11:34 GMT+02:00 Leonardo K. Shikida <shikida@gmail.com>:
> >> > I've also read somewhere that tomee would be backward compatible again
> >> with
> >> > the old quartz properties.
> >> >
> >> > If so, won't be a conflict?
> >> >
> >> > []
> >> >
> >> > Leo
> >> >
> >> > On Tue, Oct 21, 2014 at 7:17 AM, Andy <andy.is@gmx.de> wrote:
> >> >
> >> >> Leo,
> >> >>
> >> >> Just read something that indicates that maybe our quartz.properties
> is
> >> >> sometimes found first. So it is probably best to set the
> >> >> 'org.quartz.properties' in the cong/system.properties file to point
> to
> >> the
> >> >> quartz.properties you want to use.
> >> >>
> >> >> Andy.
> >> >>
> >> >>
> >> >> On 21/10/2014 00:57, Andy wrote:
> >> >>
> >> >>> Sure, if you want your app to be portable then add a quartz jar
-
> >> That's
> >> >>> why ours is shaded, to avoid conflicts.
> >> >>>
> >> >>> Of course, if you never leave TomEE then you can use the shaded
one
> ;-)
> >> >>>
> >> >>> Andy.
> >> >>>
> >> >>> On 21/10/2014 00:30, Leonardo K. Shikida wrote:
> >> >>>
> >> >>>> Hi
> >> >>>>
> >> >>>> I'd like to create quartz timers not using TimerServiceAPI
> >> >>>>
> >> >>>> Is it possible to be done using the new shaded quartz classes
or
> >> should I
> >> >>>> add another quartz jar to the project?
> >> >>>>
> >> >>>> If I have to add the quartz jar, is it safe?
> >> >>>>
> >> >>>> TIA
> >> >>>>
> >> >>>> Leo
> >> >>>>
> >> >>>>
> >> >>>
> >> >>>
> >> >>>
> >> >>
> >>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message