Hi Andrea,
from the stack trace we can say that it is an authentication issue on the mail 
server.
This can be due to wrong username/password or invalid port/protocol 
configuration.
I haven't a direct experience with iol/libero but I guess you need to set the 
extraproperties see

https://wiki.duraspace.org/plugins/servlet/mobile?contentId=45548158#ConfigurationReference-DSpaceEmailSettings

in a similar way to when gmail is used (to enable ssl on port 465).

Search for article/tips about how to configure dspace with gmail the list has 
lot of past threads on that that could be useful.

Andrea



Inviato da smartphone Samsung Galaxy.


-------- Messaggio originale --------
Da: [email protected]
Data: 04/11/18 17:21 (GMT+01:00)
A: DSpace Technical Support <[email protected]>
Oggetto: [dspace-tech] DSpace cris creating new user

Hi,
I have a problem when I want to create new user in addition to the 
administrator.
I go to "my dspace" and click on "New user? Click here to 
register.<https://urlsand.esvalabs.com/?u=http%3A%2F%2Flocalhost%3A8080%2Fjspui%2Fregister&e=3bf0957c&h=e484054b&f=n&p=y>"
  then I insert the new email address in the box and click on register button.
Generally I should receive an email with a link to continue the registration 
but in my case an Internal Server Error appears.
The logs file show this:

2018-11-04 17:02:59,956 WARN  org.dspace.core.NewsManager @ news_read: 
\dspace\config\news-footer.html (Impossibile trovare il file specificato)
2018-11-04 17:03:01,673 WARN  org.dspace.core.NewsManager @ news_read: 
\dspace\config\news-footer.html (Impossibile trovare il file specificato)
2018-11-04 17:03:17,477 INFO  org.dspace.app.webui.servlet.RegisterServlet @ 
anonymous:session_id=DEE832A06F10D0D0D690F88303946255:ip_addr=0:0:0:0:0:0:0:1:sendtoken_register:email=XXXXX@XXXX
2018-11-04 17:03:23,354 INFO  org.dspace.app.webui.servlet.RegisterServlet @ 
anonymous:session_id=DEE832A06F10D0D0D690F88303946255:ip_addr=0:0:0:0:0:0:0:1:error_emailing:email=XXXXX@XXXX
javax.mail.SendFailedException: Send failure 
(javax.mail.AuthenticationFailedException: 535 Invalid User or Password 
[smtp-31.iol.local; LIB_300]
)
at javax.mail.Transport.send(Transport.java:163)
at javax.mail.Transport.send(Transport.java:48)
at org.dspace.core.Email.send(Email.java:439)
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:660)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
at 
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770)
at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
at 
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: javax.mail.AuthenticationFailedException: 535 Invalid User or 
Password [smtp-31.iol.local; LIB_300]

at 
com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:823)
at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:756)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:673)
at javax.mail.Service.connect(Service.java:274)
at javax.mail.Service.connect(Service.java:91)
at javax.mail.Service.connect(Service.java:76)
at javax.mail.Transport.send(Transport.java:94)
... 36 more
2018-11-04 17:03:23,366 WARN  org.dspace.core.NewsManager @ news_read: 
\dspace\config\news-footer.html (Impossibile trovare il file specificato)

In these log statements I have replaced the email address of new user with 
XXXXX@XXXX.
I have checked the config file about email setting to see if I forgot to write 
email address in some voices but it seems correct. I set all these statement:

-mail.server
-mail.server.username
-mail.server.password
-mail.server.port
-mail.from.address
-feedback.recipient
-mail.admin
-alert.recipient
-registration.notify
-mail.server.fixedRecipient

for all these voices (with the exception of mail.server, username, password and 
port) I set the email address of the administrator user. Where do I wrong?

Thanks all
Andrea



--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: 
https://duraspace.org/about/policies/code-of-conduct/<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fduraspace.org%2Fabout%2Fpolicies%2Fcode-of-conduct%2F&e=3bf0957c&h=14cbfefd&f=n&p=y>
---
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
Visit this group at 
https://groups.google.com/group/dspace-tech<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgroups.google.com%2Fgroup%2Fdspace-tech&e=3bf0957c&h=1a59d98e&f=n&p=y>.
For more options, visit 
https://groups.google.com/d/optout<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&e=3bf0957c&h=3c849a2f&f=n&p=y>.

--
Questo messaggio e' stato analizzato con Libra ESVA ed e' risultato non infetto.
Clicca qui per segnalarlo come 
spam.<http://esva1.business-e.it/cgi-bin/learn-msg.cgi?id=CE972400EC.A03D2>

--
Questo messaggio e' stato analizzato da Libra ESVA ed e' risultato non infetto.
This message was scanned by Libra ESVA and is believed to be clean.

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to