Hi all,
I use JMX into my project when I stop JMX Bean then do my application have some error about connection :
[System]: Dung lai tien trinh gui tin nhan cho thue bao
07/05/2011 11:45:51 INFO [RMI TCP Connection(5)-192.168.208.5] Thread_Send_SMS:name = THREAD_SEND_SMS_LOCK_CARD_ERROR_EXCEPTION: stop THREAD_SEND_SMS_LOCK_CARD_ERROR_EXCEPTION process
07/05/2011 11:45:51 INFO [RMI TCP Connection(5)-192.168.208.5] Thread_Send_SMS:name = THREAD_SEND_SMS_LOCK_CARD_ERROR_EXCEPTION: waiting THREAD_SEND_SMS_LOCK_CARD_ERROR_EXCEPTION process stop...
07/05/2011 11:45:51 ERROR [THREAD_SEND_SMS_LOCK_CARD_ERROR_EXCEPTION] BoneCPConnection: When get connection from pool :
java.sql.SQLException
at com.jolbox.bonecp.BoneCP.getConnection(BoneCP.java:507)
at com.viettel.ussdPay.connection.BoneCPConnection.getConnection(BoneCPConnection.java:96)
at com.viettel.ussdPay.connection.ConnectionManager.getConnection(ConnectionManager.java:102)
at com.viettel.ussdPay.services.SendSMSServices.execute(SendSMSServices.java:46)
at com.viettel.ussdPay.process.ThreadSendSMS.process(ThreadSendSMS.java:53)
at com.viettel.mmserver.base.ProcessThread.run(ProcessThread.java:125)
at java.lang.Thread.run(Thread.java:662)
07/05/2011 11:45:51 ERROR [THREAD_SEND_SMS_LOCK_CARD_ERROR_EXCEPTION] Thread_Send_SMS:name = THREAD_SEND_SMS_LOCK_CARD_ERROR_EXCEPTION: SendSMSServices :
com.viettel.ussdPay.exception.ConnectionException
at com.viettel.ussdPay.connection.BoneCPConnection.getConnection(BoneCPConnection.java:110)
at com.viettel.ussdPay.connection.ConnectionManager.getConnection(ConnectionManager.java:102)
at com.viettel.ussdPay.services.SendSMSServices.execute(SendSMSServices.java:46)
at com.viettel.ussdPay.process.ThreadSendSMS.process(ThreadSendSMS.java:53)
at com.viettel.mmserver.base.ProcessThread.run(ProcessThread.java:125)
at java.lang.Thread.run(Thread.java:662)
Underlying Throwable stack trace follows:
java.sql.SQLException
at com.jolbox.bonecp.BoneCP.getConnection(BoneCP.java:507)
at com.viettel.ussdPay.connection.BoneCPConnection.getConnection(BoneCPConnection.java:96)
at com.viettel.ussdPay.connection.ConnectionManager.getConnection(ConnectionManager.java:102)
at com.viettel.ussdPay.services.SendSMSServices.execute(SendSMSServices.java:46)
at com.viettel.ussdPay.process.ThreadSendSMS.process(ThreadSendSMS.java:53)
at com.viettel.mmserver.base.ProcessThread.run(ProcessThread.java:125)
at java.lang.Thread.run(Thread.java:662)
07/05/2011 11:45:51 ERROR [THREAD_SEND_SMS_LOCK_CARD_ERROR_EXCEPTION] Thread_Send_SMS:name = THREAD_SEND_SMS_LOCK_CARD_ERROR_EXCEPTION: Error ThreadSendSMSPayment Process :
java.lang.Exception: Exception Send SMS services :
at com.viettel.ussdPay.services.SendSMSServices.execute(SendSMSServices.java:122)
at com.viettel.ussdPay.process.ThreadSendSMS.process(ThreadSendSMS.java:53)
at com.viettel.mmserver.base.ProcessThread.run(ProcessThread.java:125)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.viettel.ussdPay.exception.ConnectionException
at com.viettel.ussdPay.connection.BoneCPConnection.getConnection(BoneCPConnection.java:110)
at com.viettel.ussdPay.connection.ConnectionManager.getConnection(ConnectionManager.java:102)
at com.viettel.ussdPay.services.SendSMSServices.execute(SendSMSServices.java:46)
Please help me !
