It looks like the javax.mail system cannot find the 
classes that implement SMTP.
Do you have a mail.jar in your webapp classpath ?
I'd expect some mail.jar file to be in WEB-INF/lib or
in the Tomcat root lib directories someplace.
You can get a fresh copy of the SUN mail.jar implementation here:
     http://java.sun.com/products/javamail/

If you do have a mail.jar file, then you can make sure it's
not missing SMTP for some reason with 'jar tf'.

dspace15/webapps/xmlui/WEB-INF/lib$ jar tf mail-1.4.jar | grep -i smtp
com/sun/mail/smtp/
com/sun/mail/smtp/DigestMD5.class
com/sun/mail/smtp/SMTPAddressFailedException.class
com/sun/mail/smtp/SMTPAddressSucceededException.class
com/sun/mail/smtp/SMTPMessage.class
com/sun/mail/smtp/SMTPOutputStream.class
com/sun/mail/smtp/SMTPSSLTransport.class
com/sun/mail/smtp/SMTPSendFailedException.class
com/sun/mail/smtp/SMTPTransport.class

Good luck!
Reuben

>>> Sean Hennessee <[EMAIL PROTECTED]> 6/5/2008 10:51 AM >>>
Thanks for the suggestion, Pere, but that didn't seem to help this
time. 
These packages were installed: java-1.4.2-gcj-compat 
java-1.4.2-gcj-compat-devel libgcj libgcj-devel.

Those packages are now removed, (and system rebooted), but I'm still 
getting the same errors whenever dspace attempts to send email. The
only 
java packages installed now are the "Sun" versions.

Peace,
Sean



Pere Villega wrote:
> Do you have "gcj" packages (the GNU Java compiler) installed? We had
> lots of problems under Red Hat because of it, after removing its
> packages everything worked fine.
> 
> Check if that solves your issue.
> 
> Regards,
> Pere
> 
> 
> 
> On Thu, 2008-06-05 at 07:46 -0700, Sean Hennessee wrote:
>> I recently installed DSpace 1.5 on a fresh install of
RHEL5/Postgresql. 
>> While I can login using the manually created administrative account,
I 
>> cannot create any new accounts using the register page due to an
error 
>> whenever DSpace attempts to send email. This happens when attempting
to 
>> register as well as when attempting to reset a password of a
manually 
>> created account.
>>
>> I have already debugged sendmail and using mail to send email from
the 
>> shell prompt; that all works fine to any email address. Some issues
I've 
>> googled in non-dspace java applications is having multiple/wrong 
>> mail/jar libraries that have not implemented the smtp handler
correctly, 
>> but it appears that dspace has it's own mail/jar libraries. In 
>> particular, the other suggestions are removing all but one mail.jar

>> library from the classpath, but I don't see where/how to do that
with 
>> dspace. (I'm not too experienced with Java/JSM applications,
although I 
>> have a lot of experience with SysAdmin and web applications in
general.)
>>
>> Any help with this would be appreciated.
>>
>> Detailed error messages here:
>> http://pastebin.com/m70a65de6 
>>
>> Control panel information below.
>>
>> Peace,
>> Sean
>>
>> Control Panel info:
>> ===================
>> Java and Operating System
>> Java Runtime Environment Version:    1.6.0_06
>> Java Runtime Environment Vendor:     Sun Microsystems Inc.
>> Operating System Name:       Linux
>> Operating System Architecture:       i386
>> Operating Systesm Version:   2.6.18-92.el5
>>
>>
>> DSpace Installation Directory:       /dspace
>> DSpace Base URL:     http://dspace.nacs.uci.edu:8080 
>> DSpace Host Name:    dspace.nacs.uci.edu
>> Name of the Site:    DSpace - UCI Library
>> Database Name:       postgres
>> Database URL:        jdbc:postgresql://localhost:5432/dspace
>> JDBC Driver:         org.postgresql.Driver
>> Maximum Number of DB Connections in Pool:    30
>> Max DB Wait Time:    5000
>> Max Idle Connections:        -1
>> SMTP Mail Server:    localhost
>>  From E-mail Address:        [EMAIL PROTECTED] 
>> Feedback Recipient:  [EMAIL PROTECTED] 
>> General Site Administration E-mail:  [EMAIL PROTECTED] 
>>
>>
>> Web Continuations
>> Interpreter  Last Access     State
>> resource://aspects/EPerson/sitemap.xmap      2 minutes       Active
>>
>>
> 

-- 

Sean Hennessee
mailto:[EMAIL PROTECTED] 
http://www.nacs.uci.edu/~sean 
Central Computing Support
Network & Academic Computing Services
UC Irvine
(949)824-8225 Office
(949)293-5224 Cell


... . .- -. /  .... . -. -. . ... ... . .

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php 
_______________________________________________
DSpace-tech mailing list
[email protected] 
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to