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
