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 [mailto:[EMAIL PROTECTED] 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? --David 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 >java.lang.NullPointerException > at javax.mail.internet.InternetAddress.parse(InternetAddress.java:569) > at javax.mail.internet.InternetAddress.parse(InternetAddress.java:529) > at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:65) > 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(HttpServlet.java:709) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) > 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:825) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731) > at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526) > 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(Unknown 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 > >OTE SA > >Operational Systems Branch > >Organisational and Quallity Devision > >99 Kifisias Ave > >15124,Marousi, > >Athens ,Greece > >Phone +30-210-6117266 > >email:[EMAIL PROTECTED] > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]