I have a method that uses the @Schedule annotation. It is suppose to create and execute one thread but two threads are getting created.
The messages that are created in the console.log are;
606225 [LargeThreadPool-thread-107] INFO com.uline.silverpopxmlapi.ftpdata.FTPFileCheck - [USER:Unknown][TIER:DevClients] *** FTP job scheduled for 12/20/2016 17:52:08
606303 [LargeThreadPool-thread-121] INFO com.uline.silverpopxmlapi.ftpdata.FTPFileCheck - [USER:Unknown][TIER:DevClients] *** FTP job scheduled for 12/20/2016 17:52:08
How do I keep the second thread from being created?
I am running on Liberty server.
The messages that are created in the console.log are;
606225 [LargeThreadPool-thread-107] INFO com.uline.silverpopxmlapi.ftpdata.FTPFileCheck - [USER:Unknown][TIER:DevClients] *** FTP job scheduled for 12/20/2016 17:52:08
606303 [LargeThreadPool-thread-121] INFO com.uline.silverpopxmlapi.ftpdata.FTPFileCheck - [USER:Unknown][TIER:DevClients] *** FTP job scheduled for 12/20/2016 17:52:08
How do I keep the second thread from being created?
I am running on Liberty server.