Hi Everyone
I got this message when I'm trying to run SendMessage from the modem
sample.
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:
106)
at
org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:110)
at org.smslib.Service$1Starter.run(Service.java:189)
I tried the following but to no avail:
1) Use Java Comm v3 and place all necessary file into the respective
jre/lib jre/bin and jre/lib/ext
2) chmod 777 libLinuxSerialParelle.so and libLinuxSerialParallel_g.so
to enable all rights
3) add root user ( i logged in as root) to the uucp group
4) try RXTXComm.jar with -Dsmslib.serial.polling and -Dlib.java.path
pointing to the folder containing libRxTxserial.so (i tried for both
32 and 64 bit version but still not working)
The platform i am running in is as follows:
1) Linux RedHat Enterprise 5
2) serial comm port of my 64 bit dell server machine
3) jdk 1.6.0_07 (32 bit version) (the jdk 64 bit version clashes with
libLinxSerialParallel.so as i am unable to find the 64 bit version for
the .so file)
4) Wavecom Fast Track Supreme 10 GSM modem
This is portion of my code :
srv = new Service();
SerialModemGateway gateway = new
SerialModemGateway("modem.com1",
"COM1", 115200, "Wavecom", "FastTrack Supreme 10");
I tried the exact same piece of code on a windows platform and it
works perfectly. Anyone have any clue or alternatives that i can try
on ?
Andrew.sky
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---