problem with jsmsengin ..

Any body please help .. I am using jsmsengine for sending sms in linux i am not able to connect with mobile phone (Sony Errison W700i) please give me some solution
[192 byte] By [sat_hiyaa] at [2007-11-26 18:12:20]
# 1

Are you able to connect to your phone using whatever the linux equivalent of hyperterminal is?

Something obvious, but for linux you need to make sure you're using the rxtx jars rather than javax.comm

Also, jsmsengine is of questionable quatlity - browse the source you'll see what I mean. Better off looking around for another library.

Just my 2 cents.

SteveNaivea at 2007-7-9 5:45:08 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

Thank you for your reply

USing jsms engine i done all th settings

But when run jSMSServer it throws the following exception

javax.comm: Can't find javax.comm.properties!

java.io.IOException: javax.comm: platform driver class name = null

(Check 'driver' property in javax.comm.properties)

at javax.comm.CommPortIdentifier.loadDriver(CommPortIdentifier.java:244)

at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:109)

at org.jsmsengine.CSerialDriver.open(CSerialDriver.java:97)

at org.jsmsengine.CService.connect(CService.java:457)

at CMainThread.connect(CMainThread.java:84)

at CMainWindow$1.actionPerformed(CMainWindow.java:92)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)

at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)

at javax.swing.AbstractButton.doClick(AbstractButton.java:302)

at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)

at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)

at java.awt.Component.processMouseEvent(Component.java:5488)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)

at java.awt.Component.processEvent(Component.java:5253)

at java.awt.Container.processEvent(Container.java:1966)

at java.awt.Component.dispatchEventImpl(Component.java:3955)

at java.awt.Container.dispatchEventImpl(Container.java:2024)

at java.awt.Component.dispatchEvent(Component.java:3803)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)

at java.awt.Container.dispatchEventImpl(Container.java:2010)

at java.awt.Window.dispatchEventImpl(Window.java:1778)

at java.awt.Component.dispatchEvent(Component.java:3803)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: isSessionActive

at com.sun.comm.SunrayInfo.isSessionActive(Native Method)

at com.sun.comm.Portmapping.registerCommPorts(Portmapping.java:155)

at com.sun.comm.Portmapping.refreshPortDatabase(Portmapping.java:100)

at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:138)

at org.jsmsengine.CSerialDriver.open(CSerialDriver.java:97)

at org.jsmsengine.CService.connect(CService.java:457)

at CMainThread.connect(CMainThread.java:84)

at CMainWindow$1.actionPerformed(CMainWindow.java:92)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)

at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)

at javax.swing.AbstractButton.doClick(AbstractButton.java:302)

at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)

at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)

at java.awt.Component.processMouseEvent(Component.java:5488)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)

at java.awt.Component.processEvent(Component.java:5253)

at java.awt.Container.processEvent(Container.java:1966)

at java.awt.Component.dispatchEventImpl(Component.java:3955)

at java.awt.Container.dispatchEventImpl(Container.java:2024)

at java.awt.Component.dispatchEvent(Component.java:3803)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)

at java.awt.Container.dispatchEventImpl(Container.java:2010)

at java.awt.Window.dispatchEventImpl(Window.java:1778)

at java.awt.Component.dispatchEvent(Component.java:3803)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

sat_hiyaa at 2007-7-9 5:45:08 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
If the JSMSengine is not the right one . Can you please tell some other api for sending sms using java Please help me
sat_hiyaa at 2007-7-9 5:45:08 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4

You're getting that exception because you haven't followed the installation instructions / read the FAQ. http://smslib.sourceforge.net/faq.shtml

Just search source forge if you want to use an alternative library. I can't recommend anything as i decided I'd rather have some fun and write my own (just for sending sms).

SteveNaivea at 2007-7-9 5:45:08 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 5

Thank you for reply ..

I done all the settings for jsmsengine .

Except the driver installation one .

I cannot understand the drivers installation .

The installation for mobile phone access or usb port access .,

I am having Nokia 6030 and Sony Errisson W700i

What is procedure for installation the drivers .

Please give me full details about that

sat_hiyaa at 2007-7-9 5:45:08 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 6
Check out the nokia and sony web sites for the drivers. I doubt you'll find them for linux though.
SteveNaivea at 2007-7-9 5:45:08 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 7
I did not find the drivers in their sites .. Can you please tell how install drivers for that
sat_hiyaa at 2007-7-9 5:45:08 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 8
You'll have to google for 3rd party drivers / instructions for using the windows drivers on your linux dist.
SteveNaivea at 2007-7-9 5:45:08 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 9
Thank you for reply .. I did not understand . Please explain clearly ..
sat_hiyaa at 2007-7-9 5:45:08 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 10

You need to install USB drivers for your phone so your PC can communicate with it. Manufacturers like Nokia often provide these drivers for windows operating systems but rarely for linux based ones. You either have to find a 3rd party (i.e. written by someone other than the manufacturer) and install that, or hope that you can find a way to use the the windows drivers. I'm told this is sometimes possible but have never tried it myself.

SteveNaivea at 2007-7-9 5:45:08 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 11
Thank you for reply . USB drivers for nokia 6030 not found . Did you know where do i downloads and install that for Fedora Core 6 Please help
sat_hiyaa at 2007-7-9 5:45:08 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 12
You really should try and get over your phobia of search engines. http://www.gnokii.org/docs.shtml
SteveNaivea at 2007-7-9 5:45:08 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 13

Thank you for reply

I tried that gnokii for my nokia phone

During the installation ofgnokii-0.6.0-1.i386.rpm this RPM .

It failes because oflibbluetooth.so.1 the library

I tried install this libbluetooth.so.1 library

The result of this library ,

[root@akc02 dev01]# yum install libbluetooth.so.1

Loading "installonlyn" plugin

Setting up Install Process

Setting up repositories

core 100% |=========================| 1.1 kB00:00

extras100% |=========================| 1.1 kB00:00

updates100% |=========================| 1.2 kB00:00

Reading repository metadata in from local files

Parsing package install arguments

No Match for argument: libbluetooth.so.1

Nothing to do

[root@akc02 dev01]#

can please tell what is procedure to install ...

sat_hiyaa at 2007-7-9 5:45:08 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 14
I haven't got a scooby. Check out the gnokii documentation / forum / irc channel.
SteveNaivea at 2007-7-9 5:45:08 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 15
Thank you for reply ... I used that gnokii for sending sms . It is working but it support only nokia phones Then how to use gnokii in jsms engine Please help me
sat_hiyaa at 2007-7-21 17:18:05 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...