Have you used the -Djava.library.path directive?
http://smslib.org/doc/kb/

2008/11/10 preetam <[EMAIL PROTECTED]>

>
> hello all
> I have tried smsLib on my XP machine with sony ericsson z530i; which
> worked very well!
> Now when I am tring it on FC9 machine its giving me the error:
> "org.smslib.GatewayException: Comm library exception:
> java.lang.reflect.InvocationTargetException"
> Please check the logs given below.
>
> I am working on
> Platform: FC9
> Mobile: sony ericsson z530i connected via USB (on /dev/ttyACM0)
> COMM Library: comm3.0_u1_linux.zip
> SMSLIb Version:3.3.1
> Java  Version: 1.6.0_07
>
> I tried following things ...
> 1. I checked using minicom: /dev/ttyACM0 works well
> 2. I then created a linkto /dev/ttyACM0 as /dev/ttyS10 and tried
> again. But the same error.
>
> Any Idea?
>
> Thanks
> ~PP
>
>
> LOGS -----
>
>
> .71 [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
> 74 [main] INFO org.smslib - Version: 3.3.1
> 76 [main] INFO org.smslib - JRE Version: 1.6.0_07
> 77 [main] INFO org.smslib - JRE Impl Version: 10.0-b23
> 78 [main] INFO org.smslib - O/S: Linux / i386 / 2.6.25-14.fc9.i686
> 125 [SMSLib-WatchDog] DEBUG org.smslib - WatchDog started.
> 126 [SMSLib-WatchDog] INFO org.smslib - WatchDog running...
> 165 [Thread-1] INFO org.smslib - GTW: ttyACM0_GATWAY: Starting
> gateway, using Generic AT Handler.
> 166 [Thread-1] INFO org.smslib - GTW: ttyACM0_GATWAY: Using polled
> serial port mode.
> 167 [Thread-1] INFO org.smslib - GTW: ttyACM0_GATWAY: Opening: /dev/
> ttyS10 @115200
> 1159 [main] ERROR com.al.jsmslib.smslib.SMSLibSMSService - error
> occurrd while starting smslib -- Comm library exception:
> java.lang.reflect.InvocationTargetException
> org.smslib.GatewayException: Comm library exception:
> java.lang.reflect.InvocationTargetException
> 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)
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib Users 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