tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kantartzis Vasilis" <>
Subject RE: compatible javamail vsersio n with tomcat-5.5.4
Date Mon, 15 Nov 2004 13:11:31 GMT
Thanks for your quick  reply,
i did not want to hog the list with the code so i am sending this private 
i have a jsp page that has a number of check boxes according to the users selection the appropriate
e-mail os added to the list of recipients

i am including the servlrt for you 

-----Original Message-----
From: David Smith []
Sent: Monday, November 15, 2004 2:22 PM
To: Tomcat Users List
Subject: Re: compatible javamail vsersio n with tomcat-5.5.4

I've been using javamail w/ Sun's JDK 1.4.2 no problem.  The stack trace 
you posted indicates you attempted to construct a new InternetAddress 
object with a null for the email address string.  Could you double check 
what's being passed to the constructor and post a relevant snippet of 
your code?


Kantartzis Vasilis wrote:

>Hi all 
>i am developing a web-based e-mail system.
>i have encountred the following prioblem.
>while testing the methods that post e-mails through a java stand alone application the
code works fine 
>When a call the same methods from a servlet i get the following message in tomcat logs

>	at javax.mail.internet.InternetAddress.parse(
>	at javax.mail.internet.InternetAddress.parse(
>	at javax.mail.internet.InternetAddress.<init>(
>	at dms.servlet.ApController.assembleMessage(Unknown Source)
>	at dms.servlet.ApController.getTableValues(Unknown Source)
>	at dms.servlet.ApController.process(Unknown Source)
>	at dms.servlet.ApController.doPost(Unknown Source)
>	at javax.servlet.http.HttpServlet.service(
>	at javax.servlet.http.HttpServlet.service(
>	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>	at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>	at org.apache.catalina.core.StandardWrapperValve.invoke(
>	at org.apache.catalina.core.StandardContextValve.invoke(
>	at org.apache.catalina.core.StandardHostValve.invoke(
>	at org.apache.catalina.valves.ErrorReportValve.invoke(
>	at org.apache.catalina.core.StandardEngineValve.invoke(
>	at org.apache.catalina.connector.CoyoteAdapter.service(
>	at org.apache.coyote.http11.Http11Processor.process(
>	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(
>	at
>	at
>	at org.apache.tomcat.util.threads.ThreadPool$
>	at Source)
>could you please sugest a combination of tomcat and java mail that work well together.
>i am using tomcat 5.5.4 as aservlet engine and javamail-1.3.2
>thank you in advance 
>Billy Kantartzis 
>IT Specialist
>Operational Systems Branch 
>Organisational and Quallity Devision 
>99 Kifisias Ave 
>Athens ,Greece
>Phone +30-210-6117266
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message