[Dspace-general] dspace email problem
Roberts A.L.
A.L.Roberts at swansea.ac.uk
Thu Mar 13 05:37:37 EDT 2008
Dear Dspace General,
I am having a real problem getting email to work from DSpace.
When I try and register a new user I am getting the 'Internal Error has
occurred...' message
The logs show the error as:
2008-03-12 16:39:08,549 WARN org.dspace.app.webui.util.UIUtil @ Unable
to send email alert
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:393)
at org.dspace.core.Email.send(Email.java:257)
at org.dspace.app.webui.util.UIUtil.sendAlert(UIUtil.java:559)
at
org.dspace.app.webui.servlet.InternalErrorServlet.doGet(InternalErrorSer
vlet.java:86)
at
org.dspace.app.webui.servlet.InternalErrorServlet.doPost(InternalErrorSe
rvlet.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:679)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicatio
nDispatcher.java:463)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:399)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:301)
at
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java
:364)
at
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.j
ava:213)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:135)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
74)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
4)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:689)
at java.lang.Thread.run(Thread.java:534)
My config file looks like this:
##### Email settings ######
# SMTP mail server
lsntex3.swan.ac.uk
# SMTP mail server authentication username and password (if required)
# mail.server.username = myusername
# mail.server.password = mypassword
# From address for mail
mail.from.address = a.l.roberts at swansea.ac.uk
# Currently limited to one recipient!
feedback.recipient = a.l.roberts at swansea.ac.uk
# General site administration (Webmaster) e-mail
mail.admin = a.l.roberts at swansea.ac.uk
# Recipient for server errors and alerts
alert.recipient = a.l.roberts at swansea.ac.uk
I notice the only other person to have this problem on the list had an
issue with the wrong java version.
My version is the 1.4 one from Sun Systems with the apache compatibility
package installed:
ts-repo1:# java -version
java version "1.4.2_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
Platform details are:
SLES 10.1
Tomcat 5.5
I thought the error may have occurred because I was running tomcat as
root and had built dspace as the dspace user. So I rebuilt dspace as
root, but this did not cure the problem. I have no idea what the problem
is. The mail server works fine for other apps and the firewall is not
blocking port 25...
If anyone can help I'd appreciate it
regards
Alexander
Mr. Alexander Roberts
Web Development Officer
Library and Information Services
Swansea University/Prifysgol Abertawe
+44 (0)1792 513239
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/dspace-general/attachments/20080313/df11527d/attachment.htm
More information about the Dspace-general
mailing list