Unfortunately, 
when I try to register a new user a get an internal error.
I checked the dspace log file and I only saw these:



2012-10-24 16:36:10,437 DEBUG org.dspace.storage.rdbms.DatabaseManager @ Running query "select * from eperson where email = ? "  with parameters: a.charkiolakis@megaron.gr
2012-10-24 16:36:10,656 INFO  org.dspace.app.webui.servlet.RegisterServlet @ anonymous:session_id=4CA712FE7AD7B0E0B6D0FD011B303537:ip_addr=192.168.0.150:sendtoken_register:email=a.charkiolakis@megaron.gr
2012-10-24 16:36:10,656 DEBUG org.dspace.storage.rdbms.DatabaseManager @ Running query "select * from registrationdata where email = ? "  with parameters: a.charkiolakis@megaron.gr
2012-10-24 16:36:10,671 DEBUG org.dspace.storage.rdbms.DatabaseManager @ Running query "INSERT INTO registrationdata ( registrationdata_id,expires,token,email) VALUES ( getnextid('registrationdata'),?,?,?) RETURNING registrationdata_id"
2012-10-24 16:36:10,671 DEBUG org.dspace.eperson.AccountManager @ Created callback 4 with token d8aa13749cb4575fff3be537eedad908 with email "a.charkiolakis@megaron.gr"
2012-10-24 16:36:10,718 INFO  org.dspace.app.webui.servlet.RegisterServlet @ anonymous:session_id=4CA712FE7AD7B0E0B6D0FD011B303537:ip_addr=192.168.0.150:error_emailing:email=a.charkiolakis@megaron.gr
javax.mail.MessagingException: Could not connect to SMTP host: mail.megaron.gr, port: 25;
  nested exception is:
java.net.ConnectException: Connection refused: connect
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:275)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at org.dspace.core.Email.send(Email.java:366)
at org.dspace.eperson.AccountManager.sendEmail(AccountManager.java:262)
at org.dspace.eperson.AccountManager.sendInfo(AccountManager.java:222)
at org.dspace.eperson.AccountManager.sendRegistrationInfo(AccountManager.java:67)
at org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServlet.java:260)
at org.dspace.app.webui.servlet.RegisterServlet.doDSPost(RegisterServlet.java:172)
at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:403)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:286)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:272)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1730)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
... 35 more
2012-10-24 16:36:10,734 DEBUG org.dspace.app.webui.util.JSPManager @ anonymous:session_id=4CA712FE7AD7B0E0B6D0FD011B303537:ip_addr=192.168.0.150:view


thank you for your help,
Vera

On 24 October 2012 16:46, Hardik Mishra <hardik.dspace@aol.in> wrote:
Vera,

There is an option of self-register under My Dpsace and When you get Login screen.

"New user? Click here to register."

Pre-requisite is to have e-mail settings enabled.

Follow this link: http://blog.stuartlewis.com/2009/09/05/using-gmail-with-dspace/.
Its bit old but should work.

Thanks
Hardik Mishra

essage: 8
Date: Wed, 24 Oct 2012 15:30:27 +0300
From: Vera Kriezi <vera.kriezi@gmail.com>
Subject: [Dspace-tech] self-registered button & e-persons' password
Message-ID:
<CADfVMEcFdnx4VK0jbHV1fnGZ4CxjE7s7=q0L6cTdnWqwC-x6uQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Dear all,

I am trying to create e-persons to submit items to a collection and assign
them to a group with submission priviledges.
The problem is that I can not find a way to set a password (or even to say:
I forgot the password, so the user should first register in order to set
his own password, as instructed).

 I realised that DSPACE does not have the
option to set passwords for users/epersons for security reasons.

But, from the jspui there is no option for users to self-register. Is there
any way to set this from dspace.cfg ?

thanks,

Vera Kriezi
Music Library "Lilian Voudouri"
Athens, GR



--
β.