Hi,

The log shows that you got a TIMEOUT condition, but SMSLib tries to
restart the gateway. So, apart from a small delay (due to the restart)
your app should continue even after the TIMEOUT error.

I am not really sure why you get this TIMEOUT. If it happens
consistently during message sending, you may find it helpful if you
increase the Settings.QUEUE_INTERVAL a bit (although this would drop
your sending rate as well).

On Mar 29, 10:42 pm, inzami <[email protected]> wrote:
> Yes, it is 3.3.3
>
> The app just exits.
>
> Here's detailed log
>
> 104188 2009-03-29 14:40:05,078 [SMSLib-QueueManager] WARN
> org.smslib.helper.Logger  - 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
>
> 104188 2009-03-29 14:40:05,078 [SMSLib-QueueManager] INFO
> org.smslib.helper.Logger  - GTW: modem.com8: QueueManager stopped.
> 105281 2009-03-29 14:40:06,171 [SMSLib-WatchDog] INFO
> org.smslib.helper.Logger  - WatchDog running...
> 105281 2009-03-29 14:40:06,171 [SMSLib-WatchDog] DEBUG
> org.smslib.helper.Logger  - Draining messages: Gateway: modem.com8
> restarting...
> 105281 2009-03-29 14:40:06,171 [SMSLib-WatchDog] WARN
> org.smslib.helper.Logger  - WatchDog: Gateway: modem.com8 restarting.
> 105281 2009-03-29 14:40:06,171 [SMSLib-WatchDog] INFO
> org.smslib.helper.Logger  - GTW: modem.com8: Stopping gateway...>>> Gateway 
> Status change for modem.com8, OLD: RESTART -> NEW: STOPPED
>
> 105281 2009-03-29 14:40:06,171 [SMSLib-WatchDog] DEBUG
> org.smslib.helper.Logger  - GTW: modem.com8: Trying to shutdown
> keepAlive thread...
> 105281 2009-03-29 14:40:06,171 [SMSLib-WatchDog] DEBUG
> org.smslib.helper.Logger  - GTW: modem.com8: Trying to shutdown
> asyncNotifier thread...
> 105281 2009-03-29 14:40:06,171 [SMSLib-WatchDog] DEBUG
> org.smslib.helper.Logger  - GTW: modem.com8: Trying to shutdown
> asyncMessageProcessor thread...
> 105281 2009-03-29 14:40:06,171 [SMSLib-WatchDog] DEBUG
> org.smslib.helper.Logger  - GTW: modem.com8: Trying to shutdown
> modemReader thread...
> 105281 2009-03-29 14:40:06,171 [SMSLib-WatchDog] DEBUG
> org.smslib.helper.Logger  - GTW: modem.com8: Trying to shutdown
> syncMessageProcessor thread...
> 105281 2009-03-29 14:40:06,171 [SMSlib-KeepAlive : modem.com8] DEBUG
> org.smslib.helper.Logger  - GTW: modem.com8: ModemDriver: KeepAlive
> thread ended.
> 105297 2009-03-29 14:40:06,187 [SMSLib-AsyncNotifier : modem.com8]
> DEBUG org.smslib.helper.Logger  - GTW: modem.com8: AsyncNotifier
> thread ended.
> 105297 2009-03-29 14:40:06,187 [SMSLib-AsyncMessageProcessor :
> modem.com8] DEBUG org.smslib.helper.Logger  - GTW: modem.com8:
> AsyncMessageProcessor thread ended.
> 105297 2009-03-29 14:40:06,187 [SMSLib-CNMIEmulator : modem.com8]
> DEBUG org.smslib.helper.Logger  - GTW: modem.com8:
> CNMIEmulatorProcessor thread ended.
> 105297 2009-03-29 14:40:06,187 [SMSlib-ModemReader-modem.com8] DEBUG
> org.smslib.helper.Logger  - GTW: modem.com8: ModemReader thread ended.
> 105297 2009-03-29 14:40:06,187 [SMSLib-WatchDog] INFO
> org.smslib.helper.Logger  - GTW: modem.com8: Closing: COM8 @38400
> 105297 2009-03-29 14:40:06,187 [SMSLib-WatchDog] INFO
> org.smslib.helper.Logger  - GTW: modem.com8: Gateway stopped.>>> Gateway 
> Status change for modem.com8, OLD: STOPPED -> NEW: RESTART
>
> 105297 2009-03-29 14:40:06,187 [SMSLib-WatchDog] INFO
> org.smslib.helper.Logger  - GTW: modem.com8: Starting gateway, using
> Generic AT Handler.
> 105297 2009-03-29 14:40:06,187 [SMSLib-WatchDog] INFO
> org.smslib.helper.Logger  - GTW: modem.com8: Opening: COM8 @38400
> 105313 2009-03-29 14:40:06,203 [SMSLib-WatchDog] DEBUG
> org.smslib.helper.Logger  - GTW: modem.com8: ModemDriver: KeepAlive
> thread started.
> 105313 2009-03-29 14:40:06,203 [SMSLib-WatchDog] DEBUG
> org.smslib.helper.Logger  - GTW: modem.com8: ModemReader thread
> started.
> 105313 2009-03-29 14:40:06,203 [SMSLib-WatchDog] DEBUG
> org.smslib.helper.Logger  - GTW: modem.com8: AsyncNotifier thread
> started.
> 105313 2009-03-29 14:40:06,203 [SMSLib-WatchDog] DEBUG
> org.smslib.helper.Logger  - GTW: modem.com8: AsyncMessageProcessor
> thread started.
> 105313 2009-03-29 14:40:06,203 [SMSLib-WatchDog] DEBUG
> org.smslib.helper.Logger  - GTW: modem.com8: clearBuffer() called.
--~--~---------~--~----~------------~-------~--~----~
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