I have a situation that happens periodically when sending messages
asynchronously.


59828 [SMSLib-QueueManager] WARN org.smslib  - GTW: modem.com8: Queue
exception, marking gateway for reset.
org.smslib.TimeoutException: No response from device.
        at org.smslib.modem.AModemDriver$CharQueue.get(AModemDriver.java:519)
        at org.smslib.modem.AModemDriver.getResponse(AModemDriver.java:317)
        at org.smslib.modem.athandler.ATHandler.sendMessage(ATHandler.java:
304)
        at org.smslib.modem.ModemGateway.sendMessagePDU(ModemGateway.java:
346)
        at org.smslib.modem.ModemGateway.sendMessage(ModemGateway.java:173)
        at org.smslib.AGateway$QueueManager.run(AGateway.java:673)
        at java.lang.Thread.run(Thread.java:619)
>>> Gateway Status change for modem.com8, OLD: RUNNING -> NEW: RESTART
69984 [SMSLib-WatchDog] WARN org.smslib  - WatchDog: Gateway:
modem.com8 restarting.
>>> Gateway Status change for modem.com8, OLD: RESTART -> NEW: STOPPED
69984 [SMSlib-KeepAlive : modem.com8] WARN org.smslib  - GTW:
modem.com8: Re-throwing InterruptedException in Queue.get() - should
be during shutdown...
69984 [SMSlib-KeepAlive : modem.com8] WARN org.smslib  - GTW:
modem.com8: GetResponse() Interrupted.
java.lang.InterruptedException
        at org.smslib.modem.AModemDriver$CharQueue.get(AModemDriver.java:531)
        at org.smslib.modem.AModemDriver.getResponse(AModemDriver.java:317)
        at org.smslib.modem.athandler.ATHandler.isAlive(ATHandler.java:122)
        at org.smslib.modem.AModemDriver$KeepAlive.run(AModemDriver.java:689)

The application exits after throwing these exceptions.

I'd like to find a way to handle this gracefully and recover the
message and modem connectivity if necessary.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib User Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/SMSLib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to