tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregor Schneider" <rc4...@googlemail.com>
Subject Problems using JavaMail-API within Tomcat
Date Tue, 12 Aug 2008 14:07:11 GMT
Hi guys,

recently our server crashed (Debian), and since then I'm having
problems getting JavaMail to run within Tomcat 5.5

I've defined a ressource within $catalina_home/context.xml:

    <Resource name="mail/Session" auth="Container"
        type="javax.mail.Session"
        mail.smtp.host="myserver.com"/>

The above named server is listed in my /etc/hosts

I can ping myserver.com

However, I get an exception saying

javax.servlet.ServletException: 501 Syntax: HELO hostname

	org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
	org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
	org.apache.jsp.FormMailerDE_jsp._jspService(FormMailerDE_jsp.java:169)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


I've downloaded the source-code of the Javamail (1.4.1) and what I can
see is the following:

Tomcat just sends

HELO

Instead of

HELO myserver.com

I've got no clue what is missing here, so if you gyus got any hint's
I'd really appreciate that..

TIA

Gregor
-- 
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message