Hi, some questions pls:

1) Up to the moment when you saw the "disconnection" message on your phone,
was SMSServer functioning properly?
2) Is this reproducible? Does it happen every 10 minutes or something like
this?
3) Have you modified the KEEPALIVE setting?

The "port used by another app" can only be thrown if you have some other
phone related application running. Something like the Nokia Suite that
Nokias have.

I am not very sure what is this.
The only way that I could get some hints is if you could try to make this
happen again and send me the *entire* log, from the beginning up to the
point the SMSServer tries to reconnect and fails.

2008/11/26 Subbash <[EMAIL PROTECTED]>

>
> Hi,
> I connected a phone (LG KP220) to my desktop(using blue tooth dongle)
> and started java SMS Server. It connected properly to the phone. I
> could send out an SMS as well as read all the SMS on the phone. Then I
> kept the server running for a while. I noticed that after some 10 mins
> the phone's LCD screen lit up saying the serial connection
> disconnected. So, I tried reading SMS again at this point and SMS
> Server throws an exception in the log file. The SMS Server tries to
> reopen the serial connection and it gets the exception.
>
> Here is what I think may be happening. For some reason the COM port
> connection is lost (either the phone is closing it or server is
> closing it or Windows is closing it). The SMSServer tries to restart
> the modem gateway again but now it gets an exception (Port used by
> unknown application). This I confirmed by setting a breakpoint in the
> connectPort method of SerialModemDriver.java.
>
> Following is the corresponding server log
>
> [SMSLib-WatchDog] WARN org.smslib  - WatchDog: Gateway: modem1
> restarting.
> [SMSLib-WatchDog] WARN org.smslib  - WatchDog: Gateway: modem1
> restarting.
> [SMSLib-WatchDog] ERROR org.smslib  - WatchDog: error while starting
> Gateway: modem1
> org.smslib.GatewayException: Comm library exception:
> java.lang.reflect.InvocationTargetException
>        at org.smslib.modem.SerialModemDriver.connectPort
> (SerialModemDriver.java:92)
>        at org.smslib.modem.AModemDriver.connect(AModemDriver.java:111)
>        at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:126)
>        at org.smslib.Service$WatchDog.run(Service.java:1194)
> [SMSLib-WatchDog] WARN org.smslib  - WatchDog: Gateway: modem1
> restarting.
> [SMSLib-WatchDog] ERROR org.smslib  - WatchDog: error while starting
> Gateway: modem1
> org.smslib.GatewayException: Comm library exception:
> java.lang.reflect.InvocationTargetException
>        at org.smslib.modem.SerialModemDriver.connectPort
> (SerialModemDriver.java:92)
>        at org.smslib.modem.AModemDriver.connect(AModemDriver.java:111)
>        at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:126)
>        at org.smslib.Service$WatchDog.run(Service.java:1194)
> [SMSLib-WatchDog] WARN org.smslib  - WatchDog: Gateway: modem1
> restarting.
> [SMSLib-WatchDog] ERROR org.smslib  - WatchDog: error while starting
> Gateway: modem1
> org.smslib.GatewayException: Comm library exception:
> java.lang.reflect.InvocationTargetException
>        at org.smslib.modem.SerialModemDriver.connectPort
> (SerialModemDriver.java:92)
>        at org.smslib.modem.AModemDriver.connect(AModemDriver.java:111)
>        at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:126)
>        at org.smslib.Service$WatchDog.run(Service.java:1194)
> [SMSLib-WatchDog] WARN org.smslib  - WatchDog: Gateway: modem1
> restarting.
> [SMSLib-WatchDog] ERROR org.smslib  - WatchDog: error while starting
> Gateway: modem1
> org.smslib.GatewayException: Comm library exception:
> java.lang.reflect.InvocationTargetException
>        at org.smslib.modem.SerialModemDriver.connectPort
> (SerialModemDriver.java:92)
>        at org.smslib.modem.AModemDriver.connect(AModemDriver.java:111)
>        at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:126)
>        at org.smslib.Service$WatchDog.run(Service.java:1194)
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib Users 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