yes, I wait long time, but control did not return to the point where I
called stopService method.
The same code I tested with release 3.4.2, It is working perfectly
fine. In this release I dont have to wait.

this problem is coming with the latest release only.

Thanks for reply..



On 12/22/09, Thanasis <[email protected]> wrote:
> There is a delay in shutting down the Service class. Did you wait and
> see if it closed successfully?
>
> On Dec 22, 8:50 am, Daya Shanker <[email protected]> wrote:
>> yes I am usiing latest version: 3.4.4?
>>
>> Please reply me solution for the same problem..
>>
>> Thanks for helping..
>> Regds..
>> Daya
>>
>> On 12/22/09, Thanasis <[email protected]> wrote:
>>
>>
>>
>>
>>
>> > What version are you using? A similar error was solved in the latest
>> > one.
>>
>> > On Dec 22, 8:09 am, j2ee <[email protected]> wrote:
>> >> Hello,
>>
>> >>  I am facing one problem with stopService.
>> >>  I have modified SendMessage.java program to send SMS, In that program
>> >> I tried to send SMS more than 2 times. for sending SMS to each number
>> >> it first start the service usiing startService() method of Service
>> >> class and after sending SMS, it stops the service using stopService()
>> >> method of Service class.
>> >> I found that first time it stops the service successfully, But during
>> >> second time it is unable to stop the service. Following are the trace
>> >> corresponding to stopService method :
>> >> 1. During first time
>> >> Stopping the service
>> >> Stopped.
>> >> Stopped.
>> >> GTW: gateway1: Stopping gateway...
>> >> NotifyQueueManager end...
>> >> Stopped.
>> >> Stopped.
>> >> Stopped.
>> >> GTW: gateway1: AsyncNotifier thread ended.
>> >> GTW: gateway1: AsyncMessageProcessor thread ended.
>> >> GTW: gateway1: ModemReader thread ended.
>> >> Stopped.
>> >> GTW: gateway1: Closing: /dev/ttyS4 @115200
>> >> GTW: gateway1: Gateway stopped.
>> >> Running...
>> >> NotifyQueueManager running...
>> >> NotifyQueueManager end...
>> >> Running...
>> >> NotifyQueueManager running...
>> >> Stopped.
>> >> Removing Gateway
>> >> Service is stopped successfully
>>
>> >> 2. during Second time :
>> >> Stopping the service
>> >> Stopped.
>> >> Stopped.
>> >> GTW: gateway1: Stopping gateway...
>> >> Stopped.
>> >> Stopped.
>> >> Stopped.
>> >> GTW: gateway1: AsyncNotifier thread ended.
>> >> GTW: gateway1: AsyncMessageProcessor thread ended.
>> >> GTW: gateway1: ModemReader thread ended.
>> >> Stopped.
>> >> GTW: gateway1: Closing: /dev/ttyS4 @115200
>> >> GTW: gateway1: Gateway stopped.
>>
>> >> Please reply me the reason/problem, why it is  not able to stop the
>> >> service..
>>
>> >> Thanks in Advance..
>>
>> >> Regds
>> >> Daya
>>
>> > --
>>
>> > 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.
>>
>> --
>> 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.
>
>
>


-- 
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.


Reply via email to