If you are running multiple times from within the same application, be sure to initialize the service once and don't start/stop the service all the time. Just leave it running.
On 9 April 2013 23:43, SMSLib Discussion Group on behalf of bhavik itsolutions <[email protected]> wrote: > org.smslib.GatewayException: Comm library exception: > java.lang.RuntimeException: javax.comm.PortInUseException: Port > currently owned by org.smslib > 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$1Starter.run(Service.java:277) > > > Thanks in Advance > > -- > You received this message because you are subscribed to the Google Groups > "SMSLib Discussion Group" group. > > > -- You received this message because you are subscribed to the Google Groups "SMSLib Discussion Group" group.
