Results 1 to 6 of 6

Thread: SMS Lib Error

  1. #1
    sysout is offline Member
    Join Date
    Aug 2009
    Posts
    66
    Rep Power
    0

    Default SMS Lib Error

    I've tried to downliad smslib for sending and receiving sms from GSM to PC.
    I've installed the javax.comm lib, the errors reduced.

    There's still 3 package which have errors. Have a look at this pics :


    Thanks for your help.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,949
    Rep Power
    19

    Default

    Blurry red blobs really don't help much. The real error text would be useful, but even from the blurry blobs it looks like you're missing a jar. Something you should realise if you had done much Java...and if you haven't then might I suggest learning Java first before leaping into SMS code?

    Anyway, looks like you need something from apache commons...net at a guess.

  3. #3
    sysout is offline Member
    Join Date
    Aug 2009
    Posts
    66
    Rep Power
    0

    Default

    Quote Originally Posted by Tolls View Post
    Blurry red blobs really don't help much. The real error text would be useful, but even from the blurry blobs it looks like you're missing a jar. Something you should realise if you had done much Java...and if you haven't then might I suggest learning Java first before leaping into SMS code?

    Anyway, looks like you need something from apache commons...net at a guess.
    It Works Perfectly Palz,.
    Now, I'm Trying the code, If it's success, I will share all the codes here ^^
    Last edited by sysout; 09-18-2009 at 01:49 AM.

  4. #4
    sysout is offline Member
    Join Date
    Aug 2009
    Posts
    66
    Rep Power
    0

    Default

    Errors :

    Hardware Result :


    How To check the port and COM ? :p
    I used to check from hardware, it shows that COM9 was successfully connected with bluetooth device (I used bluetooth instead of data cable)
    Last edited by sysout; 09-18-2009 at 06:28 AM.

  5. #5
    sysout is offline Member
    Join Date
    Aug 2009
    Posts
    66
    Rep Power
    0

    Default

    I guess that it's about my phone connection that cause that errors.

    Here's Full of the code ^^

    Full SMS Lib

    Hope It Helps

  6. #6
    nessange is offline Member
    Join Date
    Jan 2014
    Posts
    1
    Rep Power
    0

    Default Re: SMS Lib Error

    Hello every body , i'm a student and i'm trying to use the SMSlib of java to send and receive message with (an ONDA_ M01 SERIAL DB15_DB9 gsm modem) thought my application i used to use the free code inder src folder of the library but i got some exceptions like :
    in receiving :
    run:
    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: SMSLib
    Version: 3.5.3
    log4j:WARN No appenders could be found for logger (smslib).
    log4j:WARN Please initialize the log4j system properly.
    log4j:WARN See Apache log4j 1.2 - Frequently Asked Technical Questions for more info.
    >>> Gateway Status change for modem.com37, OLD: STOPPED -> NEW: RESTART
    >>> Gateway Status change for modem.com37, OLD: RESTART -> NEW: STOPPING
    >>> Gateway Status change for modem.com37, OLD: STOPPING -> NEW: STOPPED
    org.smslib.GatewayException: Comm library exception: java.lang.RuntimeException: javax.comm.NoSuchPortException
    at org.smslib.modem.SerialModemDriver.connectPort(Ser ialModemDriver.java:102)
    at org.smslib.modem.AModemDriver.connect(AModemDriver .java:114)
    at org.smslib.modem.ModemGateway.startGateway(ModemGa teway.java:189)
    at org.smslib.Service$1Starter.run(Service.java:277)
    BUILD SUCCESSFUL (total time: 6 seconds)
    in sending :
    run:
    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: SMSLib
    Version: 3.5.3
    log4j:WARN No appenders could be found for logger (smslib).
    log4j:WARN Please initialize the log4j system properly.
    log4j:WARN See Apache log4j 1.2 - Frequently Asked Technical Questions for more info.
    org.smslib.GatewayException: Comm library exception: java.lang.RuntimeException: javax.comm.NoSuchPortException
    at org.smslib.modem.SerialModemDriver.connectPort(Ser ialModemDriver.java:102)
    at org.smslib.modem.AModemDriver.connect(AModemDriver .java:114)
    at org.smslib.modem.ModemGateway.startGateway(ModemGa teway.java:189)
    at org.smslib.Service$1Starter.run(Service.java:277)
    BUILD SUCCESSFUL (total time: 1 second)
    i'll be very thankful if someone could help to solve these problems: (Poignée de main):

Similar Threads

  1. Replies: 3
    Last Post: 01-23-2009, 08:53 AM
  2. error 530 error authentication required
    By rgale in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 05-12-2008, 04:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •