FrontlineSMS

FrontlineSMS let users send, receive and manage SMS over a mobile network.

Installing under Ubuntu 8.10 - some startup errors ...

Hi all!

To demonstrate how FrontlineSMS works I decided to install it on my Linux notebook, which has Ubuntu 8.10 running. After depacking and copying the 4 files the command 'java -jar Frontlinesms.jar' (as root) brings me this error message:

-----------------------------------------------------------------------
class java.lang.ExceptionInInitializerError :: null
at net.frontlinesms.data.db.DbKeywordFactory.exists(Unknown Source)
at net.frontlinesms.data.db.DbKeywordFactory.createKeyword(Unknown Source)
at net.frontlinesms.data.db.DbKeywordFactory.createKeyword(Unknown Source)
at net.frontlinesms.FrontlineSMS.(Unknown Source)
at net.frontlinesms.DesktopLauncher.main(Unknown Source)
Caused by: class java.lang.RuntimeException :: [SQLException:
state=null; error=0; message=no SQLite library found]
at net.frontlinesms.data.db.DbController.init(Unknown Source)
at net.frontlinesms.data.db.DbController.(Unknown Source)
at net.frontlinesms.data.db.DbKeywordFactory.exists(Unknown Source)
at net.frontlinesms.data.db.DbKeywordFactory.createKeyword(Unknown Source)
at net.frontlinesms.data.db.DbKeywordFactory.createKeyword(Unknown Source)
at net.frontlinesms.FrontlineSMS.(Unknown Source)
at net.frontlinesms.DesktopLauncher.main(Unknown Source)
-----------------------------------------------------------------------


The commandline itself shows these information:

-----------------------------------------------------------------------
wolf@d600:/opt/frontlinesms$ java -jar FrontlineSMS.jar
Experimental: JNI_OnLoad called.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
wolf@d600:/opt/frontlinesms$
-----------------------------------------------------------------------

I'm not a programer, so it's hard for me to interpret it :-(
Can anybody in the community give me some help?

Tnx
Wolf

Tags: Linux, Ubuntu, error, startup

Views: 443

Reply to This

Replies to This Discussion

Hi Wolf

You might want to search the Forum here for posts covering "Ubuntu". There have been a couple of fixes posted which may help, including this one:

http://frontlinesms.ning.com/forum/topic/show?id=2052630%3ATopic%3A...

Let me know if that sheds any light onto it.

Thanks!
Ken,

I did the adaptions, but not the AMD64 relating one. My CPU is a INTEL centrino. Only one error has been corrected (SQLexception).
The remaining error message is the same :-(

Wolf
Hi Wolf,

It looks like your database driver is failing to load. What version of FrontlineSMS are you running? Also could you provide a list of files in your FrontlineSMS directory?

Cheers,

Alex
Hi Alex!

The version of FrontlineSMS_Linux is the actual one I got from Ken.

The file list of the directory /opt/frontlinesms follows:
------------------------------------------------------------------------------------
wolf@d600:/opt/frontlinesms$ ls -l
-rw-r--r-- 1 root root 4952950 2008-08-22 17:59 FrontlineSMS.jar
drwxr-xr-x 3 root root 4096 2009-03-14 10:51 help
-rw-r--r-- 1 root root 505 2008-07-15 13:46 Installation
-rw-r--r-- 1 root root 154682 2008-05-09 12:54 librxtxSerial.so
-rw-r--r-- 1 root root 441308 2008-05-09 12:54 libsqlitejdbc.so
-rw-r--r-- 1 root root 59464 2008-01-16 13:21 RXTXcomm.jar
-rw-r--r-- 1 root root 29845 2008-02-07 18:36 sqlitejdbc-v039-native.jar
------------------------------------------------------------------------------------

Relating to the instructions in 'Installation' I copied the 4 files into the target directories.

Rgds.
Wolf
I'm having the same problem. I'm using FrontlineSMS_linux_1.5.5 on 32-bit Ubuntu Intrepid (8.10).

I've installed librxtx-java (ia32-libs is 64-bit only) with aptitude and moved libsqlitejdbc.so to /usr/lib/jvm/java-6-sun/jre/lib/i386/libsqlitejdbc.so

When I run "sudo ./FrontlineSMS.sh" I get the following.

===================
class java.lang.ExceptionInInitializerError :: null
at net.frontlinesms.data.db.DbKeywordFactory.exists(Unknown Source)
at net.frontlinesms.data.db.DbKeywordFactory.createKeyword(Unknown Source)
at net.frontlinesms.data.db.DbKeywordFactory.createKeyword(Unknown Source)
at net.frontlinesms.FrontlineSMS.(Unknown Source)
at net.frontlinesms.DesktopLauncher.main(Unknown Source)
Caused by: class java.lang.RuntimeException :: [SQLException: state=null; error=0; message=no SQLite library found]
at net.frontlinesms.data.db.DbController.init(Unknown Source)
at net.frontlinesms.data.db.DbController.(Unknown Source)
at net.frontlinesms.data.db.DbKeywordFactory.exists(Unknown Source)
at net.frontlinesms.data.db.DbKeywordFactory.createKeyword(Unknown Source)
at net.frontlinesms.data.db.DbKeywordFactory.createKeyword(Unknown Source)
at net.frontlinesms.FrontlineSMS.(Unknown Source)
at net.frontlinesms.DesktopLauncher.main(Unknown Source)
===================

Thanks for the help.
Hi Adam,

It's complaining that your SQLite library is missing. It might be that you're using a different JVM to the one you think. To check, run this command:
java --version

Also, you should upgrade to 1.5.8 - 1.5.5 is not a supported release.

Alex
Hi Adam

Drop me an email and I'll send you a link to the latest 1.5.8

Cheers.

Ken
Hi Adam,

Did you get this working in the end?

Alex
I have been unable to solve my similar problem.

When I run frontlinesms.sh , I get some normal java returns and then:

/usr/share/themes/Human/gtk-2.0/gtkrc:43: error: lexical error or unexpected token, expected valid token
java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver

SOME info about my machine:
jdailey@ubuntu:~/frontlinesms$ uname -a
Linux ubuntu 2.6.24-24-generic #1 SMP Wed Apr 15 15:54:25 UTC 2009 i686 GNU/Linux

jdailey@ubuntu:~/frontlinesms$ java -version
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b02)
Java HotSpot(TM) Server VM (build 1.5.0_16-b02, mixed mode)

---

tried the mv commands per the install...

sudo mv sqlitejdbc-v054.jar /usr/lib/jvm/java-1.5.0-sun/jre/lib/ext/
that worked

sudo apt-get install ia32-libs librxtx-java
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package ia32-libs
Hi James,

FrontlineSMS is unable to find the RXTX native library. DO you have any other JVMs installed? This command should tell us:

ls /usr/lib/jvm
As a user with the same/similar errors I got this back:

wolf@d600:~$ ll /usr/lib/jvm
lrwxrwxrwx 1 root root 14 2009-04-24 19:54 default-java -> java-6-openjdk
drwxr-xr-x 3 root root 4096 2009-04-24 20:48 java-6-cacao
drwxr-xr-x 5 root root 4096 2009-04-24 19:54 java-6-openjdk
wolf@d600:~$

Maybe a wrong version for FrontlineSMS?

Wolf
Hi Wolf,

Are you still suffering from the problem?

Where did you install your RXTX .so, and what does this command give you?

java -version

RSS

© 2014   Created by FrontlineSMS Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service