0 Replies Latest reply on Sep 3, 2014 2:18 PM by Ricki Lambert

    Application seems to be running in 2 JBoss Threads

    Ricki Lambert Newbie

      For some strange reason my application seems to be getting invoked by JBOSS twice. I had my suspicions when i saw the log being printed to the same file twice, so I added a print statement to double check and printed the thread id

       

      As we can see in the image below, my application is logging with 2 different thread id's and i have no way of knowing how to debug this.

       

      Please can someone offer some assistance?

       

      2014-09-03 18:11:01,777 INFO  com.swifte.database.DBFactory - ***************CACHE CALCULATION***************

      2014-09-03 18:11:01,778 INFO  com.swifte.database.DBFactory - Threadid=96

      2014-09-03 18:11:01,957 INFO  com.secondstory.commonutilities.database.DatabaseUtilities - Database connection test successful

      2014-09-03 18:11:02,033 INFO  com.swifte.database.DBFactory - Generated user profile for mike

      2014-09-03 18:11:02,047 INFO  com.swifte.database.DBFactory - Generated user profile for ricki

      2014-09-03 18:11:02,047 INFO  com.swifte.database.DBFactory - Generated user profile for review

      2014-09-03 18:11:02,048 INFO  com.swifte.database.DBFactory - ***************CACHE TIME TAKEN = 270440718 NANOSECONDS***************

      2014-09-03 18:11:02,048 INFO  com.swifte.database.DBFactory - ***************CACHE SIZE = 4***************

      2014-09-03 18:11:02,063 INFO  com.secondstory.pushservices.ApplePushNotificationSystem - environment variable is :  PROD

      2014-09-03 18:11:03,410 INFO  com.secondstory.pushservices.ApplePushNotificationSystem - Push manager connected succesully

      2014-09-03 18:11:09,361 INFO  com.swifte.database.DBFactory - ***************CACHE CALCULATION***************

      2014-09-03 18:11:09,361 INFO  com.swifte.database.DBFactory - Threadid=157

      2014-09-03 18:11:09,425 INFO  com.secondstory.commonutilities.database.DatabaseUtilities - Database connection test successful

      2014-09-03 18:11:09,445 INFO  com.swifte.database.DBFactory - Generated user profile for mike

      2014-09-03 18:11:09,446 INFO  com.swifte.database.DBFactory - Generated user profile for james

      2014-09-03 18:11:09,447 INFO  com.swifte.database.DBFactory - Generated user profile for ricki

      2014-09-03 18:11:09,448 INFO  com.swifte.database.DBFactory - Generated user profile for review

      2014-09-03 18:11:09,450 INFO  com.swifte.database.DBFactory - ***************CACHE TIME TAKEN = 88831789 NANOSECONDS***************

      2014-09-03 18:11:09,450 INFO  com.swifte.database.DBFactory - ***************CACHE SIZE = 4***************

      2014-09-03 18:11:09,453 INFO  com.secondstory.pushservices.ApplePushNotificationSystem - environment variable is :  PROD

      2014-09-03 18:11:09,607 INFO  com.secondstory.pushservices.ApplePushNotificationSystem - Push manager connected succesully