You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/04/08 20:44:28 UTC

DO NOT REPLY [Bug 18830] New: - mail/Session resource doesn't connect to smtp provider

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18830>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18830

mail/Session resource doesn't connect to smtp provider

           Summary: mail/Session resource doesn't connect to smtp provider
           Product: Tomcat 4
           Version: 4.1.24
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: bschroder@adfluence.com


I was upgrading from 4.1.12 to 4.1.24 while keeping my server.xml and of course
my webapps.
Under a <Defaultcontex> in my server.xml I had declared a <Resource 
name="mail/Session" ....etc. per documentation.
At startup of tomcat I had no complains, but as soon as my code was trying to 
get/access the Transport transport = mailsession.getTransport("smtp");
I got a "NoSuchProviderException".
While under 4.1.12 I had no problems.

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