<parameter> <name>mail.ctg.com</name> <value>localhost</value> </parameter>
the name is invalid Filip -----Original Message----- From: tomcat guy [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 10:15 AM To: Tomcat Users List Subject: Re: SendMailServlet - problem, debugging tips All - thanks for the replies, here are the answers if I missed anything please let me know! The SendMailServlet is in the examples, that should be mapped correctly by default, right? The web.xml in webapps/examples/WEB-INF is the defualt. I was assuming since it came with the examples all would be good as the other servlets are running fine... The logs do not seem to tell me a lot. Any suggestions? The mail server is running on the local machine. The From address is valid. My firewall doesn't appear to be an issue as I have tested with it enabled and disabled. Here is my ResourceParams for the mail/Session for localhost: <ResourceParams name="jdbc/EmployeeAppDb"> <parameter><name>user</name><value>sa</value></parameter> <parameter><name>password</name><value></value></parameter> <parameter><name>driverClassName</name> <value>org.hsql.jdbcDriver</value></parameter> <parameter><name>driverName</name> <value>jdbc:HypersonicSQL:database</value></parameter> </ResourceParams> <Resource name="mail/Session" auth="Container" type="javax.mail.Session"/> <ResourceParams name="mail/Session"> <parameter> <name>mail.ctg.com</name> <value>localhost</value> </parameter> </ResourceParams> <ResourceLink name="linkToGlobalResource" global="simpleValue" type="java.lang.Integer"/> </Context> Thanks much! Chris ----- Original Message ----- From: "Erik Price" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, February 07, 2003 10:29 AM Subject: Re: SendMailServlet - problem, debugging tips > > > chris schild wrote: > > Would anyone be able to provide some debugging tips for Tomcat servlets? > > Logging. > > > Also, what would cause a servlet to be unavailable? > > If you didn't map the servlet to a URL-pattern in your web.xml. > > > > Erik > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]