tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kantartzis Vasilis" <vka...@ote.gr>
Subject compatible javamail vsersio n with tomcat-5.5.4
Date Mon, 15 Nov 2004 11:36:07 GMT
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:vkanta@ote.gr


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message