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



Ask a Question

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. yesh this is very help full for every body.
View Tutorial          By: venkat at 2010-06-29 12:18:57

2. cool.
View Tutorial          By: Fahad Palomo at 2011-08-03 06:19:56

3. how to use tokenizer "No.1 hello,No.2 world,N
View Tutorial          By: saanu at 2011-03-04 00:41:21

4. how do one off the alarm after it has triggered th
View Tutorial          By: Asika at 2009-10-01 07:28:50

5. how do i write the above same code using ajax and
View Tutorial          By: Karthik at 2011-08-29 11:21:45

6. Thanks. But I've also had to use $JAVA_HOME/jre/li
View Tutorial          By: Alex at 2010-03-15 04:17:09

7. please give some examples of postfix and infix.
View Tutorial          By: john mark at 2012-10-07 13:55:04

8. This will give the output check it out


View Tutorial          By: shruthi at 2013-01-18 06:00:08

9. it good to understand struts arch.
View Tutorial          By: i know about hibernate all type of query? at 2012-07-30 07:08:39

10. error is main fuuction declaration
void mai

View Tutorial          By: T.M.Prakash.MCA. at 2012-09-20 12:26:52