> Did you restart Tomcat? Yep. ----- Original Message ----- From: "Sean Dockery" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 07, 2003 1:51 PM Subject: Re: SendMailServlet - problem, debugging tips
> Did you restart Tomcat? > > "tomcat guy" <[EMAIL PROTECTED]> wrote in message > 002b01c2cee1$7035c250$6601a8c0@ctg">news:002b01c2cee1$7035c250$6601a8c0@ctg... > > It didn't seem to do the trick. This is gettin a little frustrating. I > > wouldn't mind as the others are working but this is what I am looking > for... > > Are the error msgs to be going to logs/stderr? > > > > Any other suggestions? > > > > > > ----- Original Message ----- > > From: "Filip Hanik" <[EMAIL PROTECTED]> > > To: "Tomcat Users List" <[EMAIL PROTECTED]> > > Sent: Friday, February 07, 2003 12:43 PM > > Subject: RE: SendMailServlet - problem, debugging tips > > > > > > mail.smtp.host is the name of the parameter > > > > <parameter> > > <name>mail.smtp.host</name> > > <value>mail.ctg.com</value> > > </parameter> > > > > -----Original Message----- > > From: tomcat guy [mailto:[EMAIL PROTECTED]] > > Sent: Friday, February 07, 2003 10:43 AM > > To: Tomcat Users List > > Subject: Re: SendMailServlet - problem, debugging tips > > > > > > It's not suppose to be the name of the mail server? > > > > ----- Original Message ----- > > From: "Filip Hanik" <[EMAIL PROTECTED]> > > To: "Tomcat Users List" <[EMAIL PROTECTED]> > > Sent: Friday, February 07, 2003 12:18 PM > > Subject: RE: SendMailServlet - problem, debugging tips > > > > > > <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] > > > > > > --------------------------------------------------------------------- > > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]