Hi, Try to use the "-Djava.library.path" to point to where the RxTx .so file is.
http://code.google.com/p/smslib/wiki/CommonQuestions On Sep 24, 6:52 am, "Abdul Arfan" <[EMAIL PROTECTED]> wrote: > oh I forgot to insert sim card to my modem. > > after I insert the sim card the message is: > > 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. > Web Site:http://smslib.org > This software is distributed under the terms of the Apache v2.0 License. > Version: 3.3.0 > Experimental: JNI_OnLoad called. > Stable Library > ========================================= > Native lib Version = RXTX-2.1-7 > Java lib Version = RXTX-2.1-7>>> Gateway Status change for Modem1, OLD: > STOPPED -> NEW: RESTART > > org.smslib.GatewayException: Comm library exception: > java.lang.reflect.InvocationTargetException > at > org.smslib.modem.SerialModemDriver.connectPort(SerialModemDriver.java:93) > at org.smslib.modem.AModemDriver.connect(AModemDriver.java:105) > at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:108) > at org.smslib.Service$1Starter.run(Service.java:226) > > >>> Gateway Status change for Modem1, OLD: RESTART -> NEW: STOPPED > > -- > Abdul Arfanhttp://arfan86.blogspot.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib Users" 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 -~----------~----~----~----~------~----~------~--~---
