google-code-export / smslib

Automatically exported from code.google.com/p/smslib
1 stars 0 forks source link

how to solve this exception : Port Currently owned by smslib #518

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Port is not getting released  .....

This software is distributed under the terms of the Apache v2.0 License.
Web Site: http://smslib.org
Version: 3.5.2
Gateway Added
Inside setServiousStatus ! Service Running
Inside setServiousStatus ! Service Running

Modem Information:
  Manufacturer: huawei
  Model: E1731
  Serial No: 354369045945434
  SIM IMSI: ** MASKED **
  Signal Level: -81 dBm
  Battery Level: 0%

===============================================================================
<< OutboundMessage >>
-------------------------------------------------------------------------------
 Gateway Id: *
 Message Id: 0
 Message UUID: ef9912b2-fe30-4865-8078-fe4ef937f534
 Encoding: 7-bit
 Date: Wed Oct 24 17:01:53 IST 2012
 SMSC Ref No: 
 Recipient: MyParents
 Dispatch Date: null
 Message Status: UNSENT
 Failure Cause: NO_ERROR
 Validity Period (Hours): -1
 Status Report: false
 Source / Destination Ports: -1 / -1
 Flash SMS: false
 Text: ASAs
 PDU data: C169700E
 Scheduled Delivery: null
===============================================================================

Example: Send message from a serial gsm modem.
SMSLib: A Java API library for sending and receiving SMS via a GSM modem or 
other supported gateways.
This software is distributed under the terms of the Apache v2.0 License.
Web Site: http://smslib.org
Version: 3.5.2
Inside setServiousStatus ! Service Running
Inside setServiousStatus ! Service Running
Inside setServiceStatus ! Service stopped
Service stopped
javax.faces.FacesException: #{noticeBean.send}: org.smslib.GatewayException: 
Comm library exception: java.lang.RuntimeException: 
javax.comm.PortInUseException: Port currently owned by org.smslib
        at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:90)
        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

Original issue reported on code.google.com by ntn.deve...@gmail.com on 24 Oct 2012 at 11:54

GoogleCodeExporter commented 9 years ago
i am receiving first message but when i try second time with same UI i am 
getting this exception... when i restart the server the messages get 
delivered...

Original comment by ntn.deve...@gmail.com on 24 Oct 2012 at 11:55

GoogleCodeExporter commented 9 years ago
Issue 514 has been merged into this issue.

Original comment by admin@smslib.org on 11 Nov 2012 at 5:19

GoogleCodeExporter commented 9 years ago
Issue 517 has been merged into this issue.

Original comment by admin@smslib.org on 11 Nov 2012 at 5:19

GoogleCodeExporter commented 9 years ago

Original comment by admin@smslib.org on 1 Jan 2014 at 9:25

GoogleCodeExporter commented 9 years ago

Original comment by admin@smslib.org on 5 Jan 2014 at 4:08