If the Java pages have a problem authenticating with
the database, then look in the site.properties file at
/home/www/java/sitename/WEB-INF/classes/gsrc/conf/site.properties
and make sure that the jdbc.password
value is set to the apache user password found in
Where is the MySQL password kept
Make sure that the value of the password is not in double quotes.
If sending email when the user changes their password
is failing, look at
/usr/local/jakarta-tomcat-4.0.4/logs/xxx_log.YYYY-MM-DD
If the message is:
javax.servlet.jsp.JspTagException: DecorationTag: Sending failed; nested exception is: javax.mail.SendFailedException: Invalid Addresses; nested exception is: javax.mail.SendFailedException: 554 <Then make sure that you can send email using mconnect. For example, the following should work.>... Relay operation rejected
andrews.EECS.Berkeley.EDU:root: %C2> mconnect andrews connecting to host andrews (128.32.48.121), port 25 connection open 220-InterScan Version 3.81-Build_1032 $Date: 05/05/2004 14:39:0037$: Ready 220 andrews.EECS.Berkeley.EDU ESMTP Sendmail 8.13.4/8.13.4; Wed, 23 Nov 2005 17:22:36 -0800 (PST) ehlo andrews.eecs.berkeley.edu 250-andrews.EECS.Berkeley.EDU Hello localhost [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-EXPN 250-VERB 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-DELIVERBY 250 HELP MAIL From:<webmaster@andrews.eecs.berkeley.edu> 250 2.1.0 <webmaster@andrews.eecs.berkeley.edu>... Sender ok RCPT To:<ptolemy@bennett.eecs.berkeley.edu> 250 2.1.5 <ptolemy@bennett.eecs.berkeley.edu>... Recipient ok andrews.EECS.Berkeley.EDU:root: %C2>If it does not, make sure that the Virus Scanner has the host set up properly.
/etc/iscan/intscan.ini
should
have the ip addresses in it and the names:
local_domain=localhost #127.0.0.1 #128.32.48.121 #128.32.48.124 #128.32.48.209 #128.32.48.160 #128.32.48.161 gigascale.eecs.berkeley.edu trust.eecs.berkeley.edu chess.eecs.berkeley.edu embedded.eecs.berkeley.edu accept_rcpt=gigascale.org gigascale.eecs.berkeley.edu chess.eecs.berkeley.edu eecs.berkeley.edu gigasource.eecs.berkeley.edu trust.eecs.berkeley.edu andrews.eecs.berkeley.edu
The problem was that resetpassword.jsp
had
post
instead of POST
. Probably this change was made so that the HTML validator would pass the file. However, it means that the html was not properly validated.