tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik" <Filip.Ha...@evant.com>
Subject RE: SendMailServlet - problem, debugging tips
Date Fri, 07 Feb 2003 18:43:44 GMT
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:tomcat@corridortechnology.com]
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" <Filip.Hanik@evant.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
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:tomcat@corridortechnology.com]
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" <eprice@ptc.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message