@postconstruct doesn't work in payara 5

28 views
Skip to first unread message

Arunesh Srivastava

unread,
Aug 20, 2021, 5:55:49 AM8/20/21
to Payara Forum
Hi i've a scheduler call annotated with @postconstruct .. which runs in every 60 sec,
the problem is like it runs fine in payara 4 , 
but the same deployment doesn't work in payara 5 .
is there any particular settings i need to enable in payara 5 to make it work ?

Rudy De Busscher

unread,
Aug 23, 2021, 3:21:27 AM8/23/21
to Payara Forum
Hi,

Can you post a snippet of the class with the @PostConstruct? (How have you defined Stateless EJB, etc ..)

Thx
Rudy

Reply all
Reply to author
Forward
0 new messages