Hello,
Please help me,
I am using SMSLib to send SMSs. Following error message is dumped in log
file.
GTW: gateway1: Stopping gateway...
[06 Jan 2010 10:44:03:353] smslib: Stopped.
[06 Jan 2010 10:44:03:353] smslib: GTW: gateway1: Re-throwing
InterruptedException in Queue.peek() - should be during shutdown...
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at
org.smslib.modem.AModemDriver$CharQueue.peek(AModemDriver.java:527)
at org.smslib.modem.AModemDriver.getResponse(AModemDriver.java:288)
at org.smslib.modem.athandler.ATHandler.isAlive(ATHandler.java:123)
at
org.smslib.modem.AModemDriver$KeepAlive.process(AModemDriver.java:660)
at org.smslib.threading.AServiceThread.run(AServiceThread.java:117)
[06 Jan 2010 10:44:03:353] smslib: GTW: gateway1: GetResponse() Interrupted.
java.lang.InterruptedException
at
org.smslib.modem.AModemDriver$CharQueue.peek(AModemDriver.java:537)
at org.smslib.modem.AModemDriver.getResponse(AModemDriver.java:288)
at org.smslib.modem.athandler.ATHandler.isAlive(ATHandler.java:123)
at
org.smslib.modem.AModemDriver$KeepAlive.process(AModemDriver.java:660)
at org.smslib.threading.AServiceThread.run(AServiceThread.java:117)
[06 Jan 2010 10:44:03:654] smslib: Running..please reply me the reason, why it is coming.. Warm Regds.. Daya S Chaubey On Wed, Dec 30, 2009 at 8:50 AM, Daya Shanker <[email protected]> wrote: > Please reply me, about the next release? > When it will come? > > Thanks > > > > On 12/24/09, Daya Shanker <[email protected]> wrote: > > Hello, > > > > But why this problem is coming.. Actually I was doing testing by > > this code. In main design, I have to take one queue which holds SMS > > info. Service is started once and It starts sending messages until > > some SMS info is in Queue. whenever queue got empty, It will stop the > > service. Again when some items some in the queue it will start the > > service and and will start sending messages. > > > > The problem with stopping the Service will remain same.. > > > > Please help me... > > > > thanks > > > > On 12/24/09, Thanasis <[email protected]> wrote: > >> I think you solution is too complicated... > >> > >> Don't add and remove the gateway per message. Don't start and stop the > >> service after each message. > >> > >> Define your gateway, add it to the Service, start the Service, send as > >> many messages as you want and then shutdown the service. > >> All this start/stop/add/remove does not offer you anything other than > >> unecessary delays in message dispatch. > >> > >> On Dec 23, 5:45 am, Daya Shanker <[email protected]> wrote: > >>> yes Following codes, I have written and doing testing with the same > code > >>> > >>> package com.ems.scp; > >> > >> -- > >> > >> You received this message because you are subscribed to the Google > Groups > >> "SMSLib for Java User Group" group. > >> To post to this group, send email to [email protected]. > >> To unsubscribe from this group, send email to > >> [email protected]<smslib%[email protected]> > . > >> For more options, visit this group at > >> http://groups.google.com/group/smslib?hl=en. > >> > >> > >> > > > > > > -- > > Thanks & Regds. > > ***************************** > > Daya Shanker Chaubey > > Research Engineer > > IN Group > > C-DOT Delhi > > > > > -- > Thanks & Regds. > ***************************** > Daya Shanker Chaubey > Research Engineer > IN Group > C-DOT Delhi > -- Thanks & Regds. ***************************** Daya Shanker Chaubey Research Engineer IN Group C-DOT Delhi--
You received this message because you are subscribed to the Google Groups "SMSLib for Java 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.
