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.
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)
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).
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
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.
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 ...