Hi,

 

You are right - this is error is due to you  not having your email
settings configured yet. The collection you are depositing into has a
workflow assigned to it. As the submission completes, DSpace is trying
(but failing) to send the emails to the members of the workflow to tell
them that they have a new task to perform.

 

If you set up your email settings it should then work.

 

(If you try submitting to a collection without a workflow, you'll also
see a similar error as DSpace will try to send an email to the submitter
telling them that the submission has been successful.)

 

Thanks,

 

 

Stuart Lewis

Digital Services Programmer

Te Tumu Herenga The University of Auckland Library

Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand

Ph: 64 9 373-7599 x81928

http://www.library.auckland.ac.nz <http://www.library.auckland.ac.nz/> /

 

 

 

From: Ma, Wenling [mailto:m...@sacredheart.edu] 
Sent: Saturday, 28 March 2009 4:18 a.m.
To: 'dspace-tech@lists.sourceforge.net'
Subject: [Dspace-tech] internal system error occurs while submitting an
itemfor collection

 

Hello everyone,

I have successfully installed DSpace(version dspace-1.5.1,
PostgreSQL8.3, apache-ant-1.7.1, apache-maven-2.0.10,
apache-tomcat-6.0.18).

 

But I could NOT complete submissions. The problem occurs while
submitting an item for the collection. At the last step, once pressing
"I grant the License", Internal System error, "The system has
experienced an internal error. Please try to do what you were doing
again, and if the problem persists, please contact us so we can fix the
problem",  always shows up. The log file for dspace is as fellowing: 

Something should be mentioned here. In the dspace.cfg file, email
settings were all comment out. That means email settings were not set up
at all. Could it be the factor? 

 

03-13 11:11:04,505 ERROR
org.dspace.app.webui.servlet.SubmissionController @ Error loading step
class'org.dspace.submit.step.CompleteStep':
java.lang.NullPointerException
 at java.util.Hashtable.put(Unknown Source)
 at org.dspace.core.Email.send(Email.java:267)
 at
org.dspace.workflow.WorkflowManager.notifyGroupOfTask(WorkflowManager.ja
va:898)
 at
org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:551)
 at
org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:516)
 at org.dspace.workflow.WorkflowManager.start(WorkflowManager.java:201)
 at
org.dspace.submit.step.CompleteStep.doProcessing(CompleteStep.java:115)
 at
org.dspace.app.webui.submit.JSPStepManager.doStepStart(JSPStepManager.ja
va:331)
 at
org.dspace.app.webui.submit.JSPStepManager.processStep(JSPStepManager.ja
va:278)
 at
org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionContr
oller.java:404)
 at
org.dspace.app.webui.servlet.SubmissionController.doNextStep(SubmissionC
ontroller.java:474)
 at
org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionContr
oller.java:420)
 at
org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionCon
troller.java:342)
 at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.
java:147)
 at
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105
)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
 at
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnly
Filter.java:98)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:128)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
86)
 at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.j
ava:857)
 at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.proce
ss(Http11AprProtocol.java:565)
 at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
 at java.lang.Thread.run(Unknown Source)

 

 

The following is the email settings in dspace.cfg file

##### Email settings ######

 

# SMTP mail server

# mail.server=smtp.myu.edu

 

# SMTP mail server authentication username and password (if required)

# mail.server.username = myusername

# mail.server.password = mypassword

 

# SMTP mail server alternate port (defaults to 25)

# mail.server.port = 25

 

# From address for mail

# mail.from.address = dspace-nore...@myu.edu

 

# Currently limited to one recipient!

# feedback.recipient = dspace-h...@myu.edu

 

# General site administration (Webmaster) e-mail

# mail.admin = dspace-h...@myu.edu

 

# Recipient for server errors and alerts

# alert.recipient = email-address-here

 

# Recipient for new user registration emails

# registration.notify = email-address-here

 

# Set the default mail character set. This may be over ridden by
providing a line 

# inside the email template "charset: <encoding>", otherwise this
default is used.

#mail.charset = UTF8

 

Please help me solve this problem.

Your effort is greatly appreciated. And Thank you in advance.

 

Wenling Ma

Sacred Heart University

m...@sacredheart.edu

 

------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to