Instead of restarting the machine, try if stopping smslib, unplugging and plugging back the USB cable and restarting smslib solves the problem. This might be a USB related problem.
On Monday, February 6, 2012 11:34:50 AM UTC+5:30, yadhu bhat wrote: > > Hi, > > We are using SMS Lib 3.5.1 for our SMS application. We have this > application deployed in our production environment and this works fine > with application successfully able to read and send the messages. > However during some point of time we receive the following exception : > > org.smslib.GatewayException: Comm library exception: > java.lang.RuntimeException: javax.comm.PortInUseException: Port > currently owned by Unknown Windows Application > at > org.smslib.modem.SerialModemDriver.connectPort(SerialModemDriver.java: > 102) > at org.smslib.modem.AModemDriver.connect(AModemDriver.java:114) > at > org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:189) > at org.smslib.Service$WatchDog.process(Service.java:1625) > at > org.smslib.threading.AServiceThread.run(AServiceThread.java:105) > > This exception was not occurring frequently before, but now its > occurring at an average of once per week. We have to restart the > machine on which app is deployed to make the application up and > running once we get this exception. > We couldn't find why this issue is occurring, we sincerely request > your help on possible reasons on why this could be occurring. Kindly > let me know in case you need further details. > > Thanks in advance !! > > -- You received this message because you are subscribed to the Google Groups "SMSLib Discussion Group" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msg/smslib/-/kWwOf2ezzeMJ. For more options, visit https://groups.google.com/groups/opt_out.
