Hi Lucy,
        There is a file on the windows platform that u can use to map IP
address to .com address.
I forgot the name of the file but ur admin could tell you. There is a
similar file on the unix style platforms as well but I forgot what its
called.
        To get the IP of a .com address. Just type in ping <weburl> in the
cmd window (again windows :-P) and that will show it to u.
Hope that helps,
-Tim

-----Original Message-----
From: SUBSCRIBE SERVLET-INTEREST Lucy [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 11, 2002 7:32 AM
To: [EMAIL PROTECTED]
Subject: Mailing from servlets after moving to new standalone webserver


Hi,
I've been happily mailing from servlets, simple emails using Hunter and
com.oreilly.  Recently, everything was moved to a new standalone webserver
(Linux running Apache, ATomcat and MySQL), and seemed to be fine.  Two
problems have now come up, one I've solved, one I haven't.

1.  The servlets connecting to the database (Apache Tomcat and MySQL)
suddenly couldn't find the DB, UnknownHost, although it's on the same
webserver as the servlet engine.  I changed the servlet references from the
DB's .com name to its actual IP, and solved the problem.

2.  Servlets are now failing to email out (they could before the move),
can't find the mailserver - which is set up on a separate server.  I don't
have the IP number for the SMTP mailserver, just the .com address.  Where
Hunter refers to 'assume localhost', I'd been happily referencing the
mailserver name, not the IP, and it worked OK.
Have I really got to set up some sort of mailserver on the standalone
webserver (Linux running Apache) for the servlets to mail out?

Cheers, Lucy

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to