Questions tagged [ejbscheduler]

Enterprise JavaBeans (EJB) is a managed, server-side component architecture for modular construction of enterprise applications.

6 questions
3
votes
1 answer

Parameterize EJB scheduler with Schedule Expression

I am using EJB 3.1 and jboss-eap-6.4 and I want to set some dynamic parameters for hour, minute and second of ejb scheduler as follows: Non-parametric code - which run in 30th second of every 5 minutes : @Singleton @Startup public class TriggerJob…
Hosein Aqajani
  • 1,553
  • 4
  • 26
  • 46
3
votes
2 answers

How to set timer values in EJB scheduling?

Currently I am using following configuration to schedule my scheduler. @Schedule(second ="1/10", minute = "*", hour = "*") private void scheduleUser() { try { new UserFacade().insertUserInfo(); } catch (Exception…
Ruchira Gayan Ranaweera
  • 34,993
  • 17
  • 75
  • 115
1
vote
2 answers

Wildfly 10 to Wildfly 16 : EJB Scheduler stuck, Not able to undeploy/disable deployments and need to kill server

We have General Filemover Service which is scheduled and file moves from one to other location. We are migrating from Wildfly 10 to Wildfly 16 and facing this issue in Wildfly 16. In Wildfly 16, It is giving strange behavior i.e when timer stuck and…
fatherazrael
  • 5,511
  • 16
  • 71
  • 155
0
votes
0 answers

EJB-Wildfly: Is it fine to execute multiple EJB Scheduler in Wildfly or should i keep it in separate Class files?

There are 10 scheduler of this type in same Class file: @Startup @Singleton @AccessTimeout(value = 1, unit = TimeUnit.HOURS) public class MeowPoller { @Schedule(hour = "02", minute = "00", persistent = false) public void…
fatherazrael
  • 5,511
  • 16
  • 71
  • 155
0
votes
1 answer

Schedule java batch job with interval from last end date

I wrote my job using jsr-352 and deployed it on wildfly. How can I schedule one job with some delay after last end time like below time line where = is execution time and - is delay time: ===============--=====--========-- Note: maximum number of…
mohammad_1m2
  • 1,571
  • 5
  • 19
  • 38
0
votes
0 answers

How to stop EJB Schedulers to become timeout for a certain timeperiod in Websphere 8.5

I have an EJB scheduler, This scheduler calls a procedure. The procedure takes 25 minutes to fetch the data. Now, my EJB scheduler gets timed out before the procedure could get complete. Is there any way I can configure my EJB schedulers to do not…
Alok
  • 184
  • 2
  • 18