Hi Wenling,
Another reason this could be failing is, as you suspect, during the “email” part of CompleteStep, but is to do with Java’s mail.jar rather than your dspace configuration. Dspace 1.5 ships with some different Java libraries, and I’ve had some mail.jar-related hiccups when upgrading in the past. The best way of resolving this depends on your operating system/distribution, but if you let us know what you’re running Dspace on, perhaps someone can offer a suggestion. For instance, on Red Hat Enterprise Linux, I use the ‘alternatives’ command to reference the new mail-1.4.jar in place of the legacy mail.jar that was being used. Another option could be to change the symlink for “javamail.jar” in [tomcat]/common/lib to a copy of mail-1.4.jar somewhere instead of Java’s supplied javamail.jar, but I haven’t tried this before so backup first, and proceed at your own risk ;) To test that it really is a mail.jar-related problem, see if you get the same sort of error when clicking the Forgot Password link, or anything else that should cause Dspace to generate an email. Cheers, Kim. From: Van Ly [mailto:v...@library.usyd.edu.au] Sent: Monday, 30 March 2009 12:34 p.m. To: Ma, Wenling; 'dspace-tech@lists.sourceforge.net' Subject: Re: [Dspace-tech] internal system error occurs while submitting an item for collection Hello Wenling, I've found changing the files in the [dspace] install directory to have `tomcat' for owner and group to side step the problem. Have a look at the catalina.out log file for clues, too. -- Van Ly ________________________________ From: Ma, Wenling Sent: Sat 28/03/2009 2:18 AM To: 'dspace-tech@lists.sourceforge.net' Subject: [Dspace-tech] internal system error occurs while submitting an item for 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.java: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.java:331) at org.dspace.app.webui.submit.JSPStepManager.processStep(JSPStepManager.java:278) at org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:404) at org.dspace.app.webui.servlet.SubmissionController.doNextStep(SubmissionController.java:474) at org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:420) at org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.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(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:98) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.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:286) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(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