Hi Thanasis,

Thanks for the reply. I ran the ReadMessages example but got a NoSuch
port exception as below,

/home/sandeep/Download/jdk1.5.0_17/bin/java -Dsmslib.debug -
Dsmslib.debug_queue -Dsmslib.serial.polling -Dsmsserver.configdir=/
home/sandeep/Download/SMSlib/src/java/org/smslib/smsserver/
examples.modem.ReadMessages
Example: Read messages 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.3.3
1 [main] INFO org.smslib  - 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
3 [main] INFO org.smslib  - Version: 3.3.3
3 [main] INFO org.smslib  - JRE Version: 1.5.0_17
3 [main] INFO org.smslib  - JRE Impl Version: 1.5.0_17-b04
3 [main] INFO org.smslib  - O/S: Linux / i386 / 2.6.25-14.fc9.i686
68 [SMSLib-WatchDog] DEBUG org.smslib  - WatchDog started.
69 [SMSLib-WatchDog] INFO org.smslib  - WatchDog running...
71 [Thread-1] INFO org.smslib  - GTW: modem.com1: Starting gateway,
using Generic AT Handler.
71 [Thread-1] INFO org.smslib  - GTW: modem.com1: Using polled serial
port mode.
72 [Thread-1] INFO org.smslib  - GTW: modem.com1: Opening: COM1 @57600
>>> Gateway Status change for modem.com1, OLD: STOPPED -> NEW: RESTART
org.smslib.GatewayException: Comm library exception:
java.lang.RuntimeException: javax.comm.NoSuchPortException
        at org.smslib.modem.SerialModemDriver.connectPort
(SerialModemDriver.java:92)
        at org.smslib.modem.AModemDriver.connect(AModemDriver.java:
110)
        at org.smslib.modem.ModemGateway.startGateway
(ModemGateway.java:126)
        at org.smslib.Service$1Starter.run(Service.java:222)
1083 [SMSLib-WatchDog] DEBUG org.smslib  - WatchDog stopped.
1083 [main] INFO org.smslib  - GTW: modem.com1: Stopping gateway...
>>> Gateway Status change for modem.com1, OLD: RESTART -> NEW: STOPPED
1084 [main] INFO org.smslib  - GTW: modem.com1: Closing: COM1 @57600
1084 [main] INFO org.smslib  - GTW: modem.com1: Gateway stopped.

What has to be done now?.

Regards,
Sandeep.

On Feb 25, 3:03 pm, Thanasis <[email protected]> wrote:
> Have you tried to run the ReadMessages example with /dev/ttyUSB0?
> I think that the problem is with the port and not with the XML
> interface... Maybe this would 
> help:http://smslib.org/doc/kb/#Linux_and_undetectable_ports
>
> On Feb 25, 11:27 am,sandeep<[email protected]> wrote:
>
> > Hi,
>
> > Any suggestions on this issue. I am really in a mess. Someone do help
> > me in this.
>
> > Regards,
> >Sandeep.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib 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