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. Thanks for good atricle. But this code will always
View Tutorial          By: Binod Suman at 2009-05-28 09:40:48

2. this works
-------------------------------

View Tutorial          By: Aeron at 2013-10-20 04:50:51

3. its not working.
View Tutorial          By: raja at 2012-08-29 11:44:45

4. Finally! You enlighted me in a small problem: it w
View Tutorial          By: Fernando Martin at 2011-02-25 12:54:58

5. excellent explanation...............Thanks for mak
View Tutorial          By: Kiran Leo at 2012-12-08 06:41:26

6. Programs are so good..!
i wish to say one t

View Tutorial          By: Shashikumar Misal at 2012-09-01 20:35:47

7. Thanks for the introduction of j2me
View Tutorial          By: AKbar Ali at 2009-10-19 03:56:58

8. javax.comm.NoSuchPortException
at javax.co

View Tutorial          By: vijay at 2013-12-03 07:32:38

9. I really thanks to you for providing wonderful inf
View Tutorial          By: Chandra Sekhar Puli at 2009-11-07 04:03:44

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

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