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 suryakiran047@gmail.com


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. a very rare but useful tutorial. Thanks a bunch!
View Tutorial          By: Dalitso at 2014-02-19 12:07:34

2. Excellent explanation. How can I take input from t
View Tutorial          By: Joe at 2013-03-31 11:02:28

3. I did all steps, but it only shows the first pictu
View Tutorial          By: behzad at 2012-07-15 16:32:41

4. works too with deepnet security platform as to imp
View Tutorial          By: biloute at 2013-05-29 11:04:51

5. Yes, as @ Mansi said it's really helpful.
I

View Tutorial          By: Eko SW at 2011-06-22 23:38:22

6. Really helpful way of explanation..And the example
View Tutorial          By: pavan at 2010-04-17 03:10:58

7. we are getting an error saying that " the sta
View Tutorial          By: chaitra at 2014-03-20 10:53:02

8. top notch
View Tutorial          By: anu at 2010-03-15 01:46:38

9. This has tread error , copy and paster hole code a
View Tutorial          By: Daniel at 2015-01-21 16:24:36

10. how to read a number from a keyboard and write tha
View Tutorial          By: aiswarya at 2015-09-13 03:48:05