Just a follow-up from yesterday... Turns out there was a symlink in the Tomcat classpath to /usr/share/javamail.jar that was conflicting with the one in WEB-INF file. Removing the symlink fixed the problem.
Thanks for the heads up on this Randall! Wayne Randall Floyd wrote: > Wayne, > > The only time I've seen this is when there were conflicting Java > libraries in the Tomcat classpath. If two libraries offer the same > classes in a manifest, it is a toss-up at best as to who gets asked to > provide the requested resource. It is possible that something other > than the intended library has been loaded to handle the mail operation > but it isn't compatible. Do a Google search on the exception > 'javax.mail.NoSuchProviderException' and see if it relates to your > environment or problem. > > On Thu, 1 Nov 2007, Christian Voelker wrote: > >> Hello, >> >> Am 01.11.2007 um 20:34 schrieb Wayne Graham: >> >>> We're looking at dspace here and I'm running into a problem with the >>> email servlet. Whenever I try to send an email, an exception is raised >>> in the dspace.log file for >>> >>> org.dspace.app.webui.servlet.FeedbackServlet >>> @...error_mailing_feedback: >>> javax.mail.NoSuchProviderException: smtp >>> ... >>> >>> Any thoughts on what's going on? >> >> Try this: Log in as user dspace or whatever unix >> user your tomcat runs as and send a mail outbound >> to one of your mail accounts using mailx. Your >> mail server might also block this based on your >> mail.from.address or it runs on a different >> machine, it requires a username and password >> and you forgot to configure the lines 75ff. in >> your dspace.cfg? If sending mail works from the >> terminal but not from within the application, >> then I am lost. >> >> Bye, Christian >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> DSpace-tech mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/dspace-tech >> -- /** * Wayne Graham * Earl Gregg Swem Library * PO Box 8794 * Williamsburg, VA 23188 * 757.221.3112 * http://swem.wm.edu/blogs/waynegraham/ */ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

