Ganesh Chandrasekaran

Greenhorn
+ Follow
since Nov 14, 2000
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ganesh Chandrasekaran

Hi,


We have immediate requirements for Weblogic Server Administrators
with our client in Bangalore, India.


Skillset : Java, J2ee, Oracle
Very Strong in Weblogic Server Administration

-Installation and configuration.
-Deployment of applications
-Performance monitoring and tuning of weblogic server.
-Trouble shooting.
-BEA WebLogic Certification (preferred)


Will be sent onsite to Tokyo within 2-3 weeks.
Japanese Language knowledge is not a must.

Experience : 4 to 7 years.
Education : BE/Btech/ME/M.Tech/MCA.
Job Type : Permanent
Job Location : Onsite Tokyo, Japan.


If interested in this opportunity kindly email your updated CV with
contact details to andre_j2ee@yahoo.com


Do mention in the subject line
"Resume for Weblogic Server Administrator requirement."


Request you to kindly provide the following details
required by the client while applying:


Experience:
Current CTC :
Expected CTC:
Lead time to Join:
Current Company and Location:


thank you,
Ganesh C
16 years ago
Hi,


We have immediate requirements for Java, J2ee (with SOA)
Professionals with our CMM Level5 client in Chennai, India.


Skillset : Java, J2ee, SOA,
STRUTS, Oracle, Websphere / Weblogic.


Experience : 4 to 7 years.
Education : BE/Btech/ME/M.Tech/MCA.
Job Type : Permanent
Job Location : Chennai, India.


If interested in this opportunity
kindly email your updated CV with
contact details to andre_j2ee@yahoo.com


Do mention in the subject line
"Resume for J2ee (with SOA) requirement in Chennai."


Request you to kindly provide the following details
required by the client while applying:


Experience:
Current CTC :
Expected CTC:
Lead time to Join:
Current Company and Location:


thank you,
Ganesh C
[ April 30, 2007: Message edited by: Fred Rosenberger ]
16 years ago
Java, J2ee professionals required for a CMM5 Company in Chennai, India.
Hi,


We have immediate requirements for Java, J2ee Tech /
Team Leads with our CMM Level5 client in Chennai.


Skillset :
Should be very strong Java, J2ee, Design patterns,
UML/ Rational Rose, websphere / weblogic,
STRUTS, Oracle.

End to end design with client interface Experience
is required.


Experience : 6 to 8 years.
Education : BE/Btech/ME/M.Tech/MCA.
Job Type : Permanent
Job Location : Chennai, India.


If interested in this opportunity
kindly email your updated CV with
contact details to andre_j2ee@
yahoo.com


Do mention in the subject line
"Resume for J2ee Tech / Team Leads requirement in Chennai."


Request you to kindly provide the following details
required by the client while applying:


Experience:
Current CTC :
Expected CTC:
Lead time to Join:
Current Company and Location:


thank you,
Ganesh C
16 years ago
Dear Jesper Young ,



Thank you very much for your suggestion, It is working as i wanted.


thanks,
Ganesh
17 years ago
Hi,

1. I use the following code for HashMap, is it fine?

----------

HashMap hm = new HashMap();

hm.put("1","aaa");
hm.put("2","bbb");
hm.put("3","ccc");
hm.put("4","ddd");
hm.put("5","eee");
hm.put("6","fff");
hm.put("7","ggg");
hm.put("8","hhh");
hm.put("9","iii");
hm.put("10","jjj");
hm.put("11","kkk");
hm.put("12","lll");
hm.put("13","mmm");
hm.put("14","nnn");
hm.put("15","ooo");


Set st = hm.entrySet();

Iterator myIt = st.iterator();


while(myIt.hasNext())
{
Map.Entry mapEntry = (Map.Entry)myIt.next();

System.out.println("==="+mapEntry.getKey()+" --- "+mapEntry.getValue());

}


--------

the output i get is

===3 --- ccc
===7 --- ggg
===2 --- bbb
===14 --- nnn
===1 --- aaa
===6 --- fff
===10 --- jjj
===5 --- eee
===13 --- mmm
===15 --- ooo
===9 --- iii
===11 --- kkk
===4 --- ddd
===8 --- hhh
===12 --- lll

which is in different order., but i want it in the same order
as i have input.

Please do help me in solving this problem.

thanking in advance
Ganesh
17 years ago
Dear Paul,



Thank you very much.
It is working now. After adding what you said

-----
message.saveChanges();
t = session.getTransport("smtp");
t.connect("70.86.9.114","ganesh@andreconsultancy.com", "test");
t.sendMessage(message, message.getAllRecipients());

------
mistakenly i have removed the quote for "true" in this line which
made the program continue to give the error
props.put("mail.smtp.auth", true);




Once again I thank you,


Thanks,
Ganesh
17 years ago
Dear Paul,

Thank you very much for your continued guidance
I did as you have told

t = session.getTransport("smtp");
t.connect("70.86.9.114","ganesh@andreconsultancy.com", <pwd> ;
t.sendMessage(message, message.getAllRecipients());

But still the same error persists


DEBUG: JavaMail version 1.4ea
DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_09\jre\lib\javamail.providers (The system cannot find the file specified)
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.providers
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.address.map
DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_09\jre\lib\javamail.address.map (The system cannot find the file specified)
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host "70.86.9.114", port 25, isSSL false
220-AILS1.esandhai.com ESMTP Exim 4.63 #1 Wed, 31 Jan 2007 05:46:51 -0600
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
DEBUG SMTP: connected to host "70.86.9.114", port: 25

EHLO ws1
250-AILS1.esandhai.com Hello ws1 [125.22.225.27]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
DEBUG SMTP: Found extension "SIZE", arg "52428800"
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG SMTP: Found extension "AUTH", arg "PLAIN LOGIN"
DEBUG SMTP: Found extension "STARTTLS", arg ""
DEBUG SMTP: Found extension "HELP", arg ""
DEBUG SMTP: use8bit false
MAIL FROM:<ganesh@andreconsultancy.com>
250 OK
RCPT TO:<to_gunsa@hotmail.com>
550-(ws1) [125.22.225.27] is currently not permitted to relay through this
550-server. Perhaps you have not logged into the pop/imap server in the last 30
550 minutes or do not have SMTP Authentication turned on in your email client.
RCPT TO:<ganeshyadhav@yahoo.com>
550-(ws1) [125.22.225.27] is currently not permitted to relay through this
550-server. Perhaps you have not logged into the pop/imap server in the last 30
550 minutes or do not have SMTP Authentication turned on in your email client.
DEBUG SMTP: Invalid Addresses
DEBUG SMTP: to_gunsa@hotmail.com
DEBUG SMTP: ganeshyadhav@yahoo.com
DEBUG SMTP: Sending failed because of invalid destination addresses
RSET
250 Reset OK
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550-(ws1) [125.22.225.27] is currently not permitted to relay through this
550-server. Perhaps you have not logged into the pop/imap server in the last 30
550 minutes or do not have SMTP Authentication turned on in your email client.
;

-----------------

Hope this give you details to find out where i have done the mistake.

Awaiting your valuable reply.


thanks,
Ganesh
17 years ago
Dear Paul,

Thanks for your reply,
As told by you when i print stack trace this is what the error displayed


DEBUG: JavaMail version 1.4ea
DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_09\jre\lib\javamail.providers (The system cannot find the file specified)
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.providers
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.address.map
DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_09\jre\lib\javamail.address.map (The system cannot find the file specified)
BCC set method of mail class
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:306)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at MailerBean.sendMail(MailerBean.java:119)
at MailTest.callSendMail(MailTest.java:53)
at MailTest.main(MailTest.java:74)


------

I have give the details as
props.put("mail.smtp.host", "mail.andreconsultancy.com");
props.put("mail.smtp.auth", "true");
props.put("mail.smtp.user", "ganesh@andreconsultancy.com");
props.put("mail.smtp.password", <password> );
props.put("mail.debug", "true");

Please do guide me.

Thanking you very much,
Ganesh
17 years ago
Dear Paul,

Thank you for your reply, below is the code i used
It is working if i send to my company mail ids, but if i send any mail to
hotmail or yahoo or other mail ids it is saying error.


import java.io.*;
import java.util.*;
import javax.mail.*;
import javax.mail.event.*;
import javax.mail.internet.*;

public final class MailerBean extends Object implements Serializable {

/* Bean Properties */
private String to = null;
private String from = null;
private String cc = null;
private String bcc = null;
private String subject = null;
private String message = null;
public static Properties props = null;
public static Session session = null;



/* Setter Methods */
public void setTo(String to) {
this.to = to;
}

public void setFrom(String from) {
this.from = from;
}


public void setCC(String cc)
{
this.cc = cc;
}

public void setBCC(String bcc)
{
this.bcc = bcc;

}

public void setSubject(String subject) {
this.subject = subject;
}

public void setMessage(String message) {
this.message = message;
}
/* Sends Email */
public void sendMail() throws Exception {



if(!this.everythingIsSet())
{
throw new Exception("Could not send email.");
}


props = System.getProperties();
props.put("mail.smtp.host", "mail.andreconsultancy.com");
props.put("mail.smtp.auth", "true");
props.put("mail.smtp.user", <mail id> ;
props.put("mail.smtp.password", <password> );
props.put("mail.debug", "true");

// create some properties and get the default Session
Session session = Session.getInstance(props, null);







try {

MimeMessage message = new MimeMessage(session);


Calendar rightNow = Calendar.getInstance();

message.setSentDate(rightNow.getTime());

message.setRecipient(Message.RecipientType.TO, new InternetAddress(this.to));

if(cc != null)
{
message.setRecipient(Message.RecipientType.CC, new InternetAddress(this.cc));
System.out.println("CC set method of mail class");
}
if(bcc != null)
{
message.setRecipient(Message.RecipientType.BCC, new InternetAddress(this.bcc));
System.out.println("BCC set method of mail class");
}


message.setFrom(new InternetAddress(this.from));

message.setSubject(this.subject);

message.setText(this.message);



Transport.send(message);



} catch (MessagingException e) {
throw new Exception(e.getMessage());
}

}


/* Checks whether all properties have been set or not */
private boolean everythingIsSet() {
if((this.to == null) || (this.from == null) ||
(this.subject == null) || (this.message == null))
{
return false;
}


if((this.to.indexOf("@") == -1) ||
(this.to.indexOf(".") == -1))
{
return false;
}

if((this.from.indexOf("@") == -1) ||
(this.from.indexOf(".") == -1))
{
return false;
}


return true;
}
}


Error dissplayed is
-----------------------


################## B 4 ###################
################## B 4 sendmail() ###################
DEBUG: JavaMail version 1.4ea
DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_09\jre\lib\javamail.providers (The system cannot find the file specified)
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.providers
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.address.map
DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_09\jre\lib\javamail.address.map (The system cannot find the file specified)
BCC set method of mail class
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
java.lang.Exception
at MailerBean.sendMail(MailerBean.java:124)
at MailTest.callSendMail(MailTest.java:53)
at MailTest.main(MailTest.java:74)
################## 1/2 ter ###################



Hope this helps you to guide me.


Thanking you in advance,
Ganesh
17 years ago
Dear Abijith,

Thanks for your reply.
I have put the mail and activation jar and also given the path.
It is working if i send to my company mail ids, but if i send any mail to
hotmail or yahoo it is saying error.

Hope this helps you to guide me.


Thanking you in advance,
Ganesh


---------------------
17 years ago
Hi,

I have a problem sending mail to other domains. The error i got is

DEBUG: JavaMail version 1.4ea
DEBUG: java.io.FileNotFoundException:
C:\Program Files\Java\jdk1.5.0_09\jre\lib\javamail.providers
(The system cannot find the file specified)
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.providers
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name:
{com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider
[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems,
Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,
smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.
mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.
imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.
POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.
POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.
IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.
IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=
javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,
Sun Microsystems, Inc]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider
[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems,
Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,
Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.
sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.
Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc],
pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,
Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.
mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.address.map
DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_09\jre\
lib\javamail.address.map (The system cannot find the file specified)
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.
mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
java.lang.Exception
at MailerBean.sendMail(MailerBean.java:97)
at MailTest.callSendMail(MailTest.java:66)
at MailTest.main(MailTest.java:94)


the code used is ----

props = System.getProperties();
props.put("mail.smtp.host", <host> ;
props.put("mail.smtp.auth", "true");
props.put("mail.smtp.user", "ganesh");
props.put("mail.smtp.password", <password> );
props.put("mail.debug", "true");

// create some properties and get the default Session
Session session = Session.getInstance(props, null);



Help me out please.

thanks in advance
Ganesh
17 years ago
Dear Ranchers,

I have a problem in sending email even though i give valid email
addresses ( The mail ids i have used is to_gunsa@hotmail.com and
to_gunsa@yahoo.co.in both the email ids are valid and i am using them.), i get the following error

----------
java.lang.Exception: Invalid Addresses
at com.email.MailerBean.sendMail(MailerBean.java:102)
at com.beanClasses.CandidateRegisterBean.exqSQLInsertStr(CandidateRegisterBean.java:309)
at org.apache.jsp.RegisterCandidate_jsp._jspService(RegisterCandidate_jsp.java:125)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java
:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
---------------

Can some one help me out pl.

thank you,
Ganesh
17 years ago
Hi,

The mail ids i have used is to_gunsa@hotmail.com and
ganeshyadhav@yahoo.com both the email ids are valid.

Hope some one helps me.


Thanks
Ganesh
17 years ago
Dear Ranchers,

I have a problem in sending email even though i give valid email
addresses ( my hotmail and Yahoo email ids), i get the following error

----------
java.lang.Exception: Invalid Addresses
at com.email.MailerBean.sendMail(MailerBean.java:102)
at com.beanClasses.CandidateRegisterBean.exqSQLInsertStr(CandidateRegisterBean.java:309)
at org.apache.jsp.RegisterCandidate_jsp._jspService(RegisterCandidate_jsp.java:125)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java
:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
---------------

Can some one help me out pl.

thank you,
Ganesh
17 years ago
Hi

Thanks Mathias Nilsson
Thanks Scott Johnson


When i added conn.commit(), it worked.

Thank you very much.
Ganesh