Hello,

The "class" field seems to be wrong. You should use
"org.smslib.gateway.modem.Modem" as its value.


On Thu, Nov 12, 2015, at 23:09, dietotten via SMSLib Discussion Group wrote:
> Hi everybody! I'm trying to setup my smslib_gateways table with a
> serial modem connection but there is no documentation about it, I'm
> failing in provide the correct value for class row so i always get
> below exception:
>
> *1      2015-11-12 12:41:13,408 [main] INFO
> org.smslib.smsserver.SMSServer  - SMSServer Application - a database
> driver application based on SMSLib.* *4      2015-11-12 12:41:13,411
> [main] INFO  org.smslib.smsserver.SMSServer  - SMSLib Version: dev-
> SNAPSHOT* *4      2015-11-12 12:41:13,411 [main] INFO
> org.smslib.smsserver.SMSServer  - SMSLib - A universal API for sms
> messaging* *4      2015-11-12 12:41:13,411 [main] INFO
> org.smslib.smsserver.SMSServer  - Copyright (c) 2002-2014, smslib.org*
> *5      2015-11-12 12:41:13,412 [main] INFO
> org.smslib.smsserver.SMSServer  - This software is distributed under
> the terms of the* *Apache v2.0 License
> (http://www.apache.org/licenses/LICENSE-2.0.html).* *5      2015-11-12
> 12:41:13,412 [main] INFO  org.smslib.smsserver.SMSServer  - For more
> information, visit http://smslib.org* *5      2015-11-12 12:41:13,412
> [main] INFO  org.smslib.smsserver.SMSServer  - OS Version: Linux /
> amd64 / 2.6.32-431.el6.x86_64* *5      2015-11-12 12:41:13,412 [main]
> INFO  org.smslib.smsserver.SMSServer  - JAVA Version: 1.8.0_66* *9
> 2015-11-12 12:41:13,416 [main] INFO  org.smslib.smsserver.SMSServer  -
> JAVA Runtime Version: 1.8.0_66-b17* *10     2015-11-12 12:41:13,417
> [main] INFO  org.smslib.smsserver.SMSServer  - JAVA Vendor: Oracle
> Corporation* *10     2015-11-12 12:41:13,417 [main] INFO
> org.smslib.smsserver.SMSServer  - JAVA Class Path: 
> /root/smsserver-dep-dev-20140810.184501-2-
> all.jar* *10     2015-11-12 12:41:13,417 [main] INFO
> org.smslib.smsserver.SMSServer  -* *89     2015-11-12 12:41:13,496
> [main] DEBUG org.smslib.threading.CallbackManager  - Starting...* *97
> 2015-11-12 12:41:13,504 [Callback Manager Dispatcher] DEBUG
> org.smslib.threading.CallbackManager$CallbackManagerDispatcher  -
> Started!* *99     2015-11-12 12:41:13,506 [main] INFO
> org.smslib.Service  - Service starting...* *102    2015-11-12
> 12:41:13,509 [main] INFO  org.smslib.Service  - Service started.* *106
> 2015-11-12 12:41:13,513 [Main Dispatcher] DEBUG
> org.smslib.threading.ServiceMessageDispatcher  - Started!* *497    2015-11-
> 12 12:41:13,904 [main] INFO  org.smslib.smsserver.SMSServer  -
> Registering gateway: /dev/ttyUSB3* *499    2015-11-12 12:41:13,906
> [main] ERROR org.smslib.smsserver.SMSServer  - Gateway /dev/ttyUSB3
> did not start properly!* *java.lang.ClassNotFoundException:
> SerialModem* *        at
> java.net.URLClassLoader.findClass(URLClassLoader.java:381)* *
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)* *        at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)* *
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)* *        at
> java.lang.Class.forName0(Native Method)* *        at
> java.lang.Class.forName(Class.java:264)* *        at org.smslib.smsse-
> rver.SMSServer.loadGatewayDefinitions(SMSServer.java:123)* *        at
> org.smslib.smsserver.SMSServer.startup(SMSServer.java:95)* *        at
> org.smslib.smsserver.SMSServer.main(SMSServer.java:198)*
>
>
>
> I really appreciate your help!
>


> --
>
You received this message because you are subscribed to the Google
Groups "SMSLib Discussion Group" group.
>
To view this discussion on the web visit
https://groups.google.com/d/msgid/smslib/b74e84a1-0577-44c2-bce3-d983de31f3ca%40googlegroups.com[1].



Links:

  1. 
https://groups.google.com/d/msgid/smslib/b74e84a1-0577-44c2-bce3-d983de31f3ca%40googlegroups.com?utm_medium=email&utm_source=footer

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/smslib/1450368392.706814.470197929.7CDC71D9%40webmail.messagingengine.com.
  • [smslib] SMSServer... dietotten via SMSLib Discussion Group
    • Re: [smslib] ... SMSLib Discussion Group on behalf of Thanasis Delenikas

Reply via email to