Comment on Tutorial - How to Send SMS using Java Program (full code sample included) By Emiley J.



Comment Added by : Surya

Comment Added at : 2008-06-13 07:06:07

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
hi friends thank you very much for the code but this code is not working for me.
I am using J2EE and i got following exceptions

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 sms.SerialConnection.openConnection(SerialConnection.java:71)
at sms.Sender.send(Sender.java:40)
at sms.SMSClient.run(SMSClient.java:40)
at java.lang.Thread.run(Thread.java:595)
Exception in thread "Thread-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 sms.SerialConnection.openConnection(SerialConnection.java:71)
at sms.Sender.send(Sender.java:40)
at sms.SMSClient.run(SMSClient.java:40)
at java.lang.Thread.run(Thread.java:595)

Please help.thank you in advance.Any suggestions please mail me at [email protected]


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Sir,
i am implementing the above code in w

View Tutorial          By: Rahul Singh at 2009-09-01 04:23:25

2. Hi its good for the learners and thosse who forgot
View Tutorial          By: Md.Abdul Gaffar at 2008-01-12 06:00:14

3. I have a computer science lab final on tuesday (09
View Tutorial          By: kudas at 2009-06-07 10:55:06

4. is there any way to generate report without seagat
View Tutorial          By: Roshni at 2012-10-01 09:32:41

5. This is very useful for beginners.
I want f

View Tutorial          By: shankar at 2013-02-04 13:28:16

6. i want some brief realtime examples
View Tutorial          By: SURYA.C at 2015-08-20 05:06:18

7. This text is a plagiary of part of K&R ANSI C
View Tutorial          By: c_apprientice at 2010-11-13 07:30:11

8. How to use Shift operators with practicals in java
View Tutorial          By: RosyKrish at 2013-01-17 02:42:37

9. dis prgrm is not giving me any ouput..i need to re
View Tutorial          By: singh at 2015-02-19 12:16:31

10. Hi Chandra, you will have to download the winrar t
View Tutorial          By: Ramlak at 2008-08-08 00:14:40