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. nice example . and good job.
View Tutorial          By: mohit sinha at 2011-04-07 03:19:01

2. thank u its a clear information .i got the solutio
View Tutorial          By: anand at 2011-06-29 09:30:12

3. Thanks for the simple tutorial on hashmaps. I am n
View Tutorial          By: ipkwena at 2013-08-19 09:02:49

4. change
for(counter=0;counter<=length-1;l

View Tutorial          By: Dan at 2012-05-28 04:53:14

5. if suppose i am having connection pool max size 30
View Tutorial          By: Shrikant at 2012-07-20 12:09:33

6. how do i get the java tutorial material...
View Tutorial          By: Muruga at 2012-10-29 21:10:17

7. Very nice demo. thanks! :)
View Tutorial          By: Nikhil Gala at 2012-01-13 10:03:57

8. I want simple programs using BuffuredReader for m
View Tutorial          By: Why ask my name? at 2013-06-01 04:56:00

9. wonderful
simplified description
ke

View Tutorial          By: ephrem at 2010-01-14 06:12:05

10. please send detail informatoin about j2me.. send a
View Tutorial          By: Saranya at 2011-07-06 03:00:21