tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From felix <fe...@crucial-systems.com>
Subject Re: UnknownHostException thrown from SmtpClient
Date Tue, 13 Nov 2001 21:36:03 GMT

btw. i can open a socket (port 25) directly via i.p.


> From: felix <felix@crucial-systems.com>
> 
> 
> 
> Migrating some old code that uses the sun SmtpClient to a new server.
> 
> the SmtpClient throws an UnknownHostException, I'm using the i.p. address of
> the mail server, which is actually on the same box.
> 
> i tried 127.0.0.1 and localhost and the named host (but not yet dns
> transferred).
> 
> all the same exception.  the mailserver (exim) is not even being contacted.
> 
> i'm thinking its tomcat or jvm not knowing a dns host yet ?

since its not using dns anyway (i.p.), i don't know why sun SmtpClient would
throw an unknown host.

> 
> clues anyone ?
> 
> I found one person relating the same thing:
> 
> they moved stuff from one tomcat(nt) to tomcat(linux) using the same smtp
> server and it no longer worked. couldn't find the server.
> 
> 
> thanks!
> 
> 


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message