email test script works but jspui doesn't

113 views
Skip to first unread message

Seun Ojedeji

unread,
Oct 25, 2017, 4:20:22 AM10/25/17
to DSpace Technical Support
Hello,

The dspace email test script works but doing a password reset, registering a new account(which involves sending confirmation mail) or submitting a feedback form on the jspui interface returns error. I have not been able to figure out what could be the cause of this and will appreciate any pointer.

Regards

Mark H. Wood

unread,
Oct 25, 2017, 1:00:02 PM10/25/17
to DSpace Technical Support
On Wednesday, October 25, 2017 at 4:20:22 AM UTC-4, Seun Ojedeji wrote:
The dspace email test script works but doing a password reset, registering a new account(which involves sending confirmation mail) or submitting a feedback form on the jspui interface returns error. I have not been able to figure out what could be the cause of this and will appreciate any pointer.


What specific error do you see when an operation fails?  What messages appear in the DSpace log at that time?

Seun Ojedeji

unread,
Oct 25, 2017, 4:57:56 PM10/25/17
to Mark H. Wood, DSpace Technical Support
Hello,

I get a lot of the following:

INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
DSpaceKernel:org.dspace:name=a14a4b3f-d365-4643-993c-dc8a0ee21f9c,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null

INFO [main] (ConfigurationManager.java:1224) - Loading from
classloader: file:/dspace/config/dspace.cfg
INFO [main] (ConfigurationManager.java:1224) - Using dspace provided
log configuration (log.init.config)
INFO [main] (ConfigurationManager.java:1224) - Loading:
/dspace/config/log4j.properties

Thanks
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "DSpace Technical Support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dspace-tech/nhDUypyjYzo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> dspace-tech...@googlegroups.com.
> To post to this group, send email to dspac...@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.



--
------------------------------------------------------------------------

Seun Ojedeji,
Federal University Oye-Ekiti
web: http://www.fuoye.edu.ng
Mobile: +2348035233535
alt email: seun.o...@fuoye.edu.ng

Bringing another down does not take you up - think about your action!

Seun Ojedeji

unread,
Oct 27, 2017, 2:20:30 AM10/27/17
to Mark H. Wood, DSpace Technical Support
Hello,

Anyone with a help with my issue?

Regards

Claudia Jürgen

unread,
Oct 27, 2017, 3:14:50 AM10/27/17
to dspac...@googlegroups.com
Hello Seun,

we need more information. Search for errors in the log files
see
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error
and provide infomation about your system environment
https://wiki.duraspace.org/display/DSDOC5x/Troubleshooting+Information

Hope this helps

Claudia Jürgen
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia...@tu-dortmund.de
www.ub.tu-dortmund.de

Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. It is solely intended for the recipient. If you are not the intended recipient of this e-mail please contact the sender and delete this message. Thank you. Without prejudice of e-mail correspondence, our statements are only legally binding when they are made in the conventional written form (with personal signature) or when such documents are sent by fax.

Seun Ojedeji

unread,
Oct 27, 2017, 8:26:41 AM10/27/17
to Claudia Jürgen, DSpace Technical Support
Hello Claudia,

Thanks for your response. Kindly find response inline

On Fri, Oct 27, 2017 at 11:14 AM, Claudia Jürgen
<claudia...@tu-dortmund.de> wrote:
> Hello Seun,
>
> we need more information. Search for errors in the log files
> see
> https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error
> and provide infomation about your system environment

I got a lot of below and noting relating to the error message i was getting:

2017-10-27 12:00:06,625 DEBUG org.dspace.storage.rdbms.DatabaseManager
@ Running query "SELECT * FROM colle$
2017-10-27 12:00:06,625 DEBUG org.dspace.storage.rdbms.DatabaseManager
@ Running query "UPDATE collection_i$
2017-10-27 12:00:06,626 DEBUG org.dspace.storage.rdbms.DatabaseManager
@ Running query "SELECT * FROM colle$
2017-10-27 12:00:06,627 DEBUG org.dspace.storage.rdbms.DatabaseManager
@ Running query "UPDATE collection_i$
2017-10-27 12:00:06,627 DEBUG org.dspace.storage.rdbms.DatabaseManager
@ Running query "SELECT collection.*$
2017-10-27 12:00:06,629 DEBUG org.dspace.storage.rdbms.DatabaseManager
@ Running query "SELECT community.* $
2017-10-27 12:00:06,629 DEBUG org.dspace.storage.rdbms.DatabaseManager
@ Running query "SELECT * FROM commu$
2017-10-27 12:00:06,630 DEBUG org.dspace.storage.rdbms.DatabaseManager
@ Running query "UPDATE community_it$
2017-10-27 12:00:06,630 DEBUG org.dspace.storage.rdbms.DatabaseManager
@ Running query "SELECT community.* $

Specifically when i try to drop feedback(as an example) at
http://repository.fuoye.edu.ng/feedback

I get internal system error. This affect anything that has to do with
sending a mail.

>
> https://wiki.duraspace.org/display/DSDOC5x/Troubleshooting+Information
>

I could not get the version with the command indicated. I think it
applies to 4+. However am running version 3.1

/home/dspace/bin# ./dspace version
INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
DSpaceKernel:org.dspace:name=a18d5248-d83f-45aa-bd08-03b6a150d912,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
INFO [main] (ConfigurationManager.java:1224) - Loading from
classloader: file:/home/dspace/config/dspace.cfg
INFO [main] (ConfigurationManager.java:1224) - Using dspace provided
log configuration (log.init.config)
INFO [main] (ConfigurationManager.java:1224) - Loading:
/home/dspace/config/log4j.properties
Command not found: version


Regards

Claudia Jürgen

unread,
Oct 27, 2017, 8:38:28 AM10/27/17
to Seun Ojedeji, DSpace Technical Support
Hello Seun,

switching to debug might not be necessary. Just look for ERROR in the logs.
DEBUG will just give more verbose information like listing all the
database queries.

Btw did you change the email settings in your installation config at any
point without restarting your servlet container?
This would explain why the command line [dspace]/bin/dspace test-email
works but any email from the UI not.

Hope this helps

Claudia Jürgen


Seun Ojedeji

unread,
Oct 27, 2017, 8:45:29 AM10/27/17
to Claudia Jürgen, DSpace Technical Support
On Fri, Oct 27, 2017 at 4:38 PM, Claudia Jürgen
<claudia...@tu-dortmund.de> wrote:
> Hello Seun,
>
> switching to debug might not be necessary. Just look for ERROR in the logs.

SO: The log at /home/dspace/log/dspace.log.2017-10-27 doesn't contain
any error message

> DEBUG will just give more verbose information like listing all the
> database queries.
>
> Btw did you change the email settings in your installation config at any
> point without restarting your servlet container?
> This would explain why the command line [dspace]/bin/dspace test-email
> works but any email from the UI not.
>

SO: Yes there is a chance i did that, as i have modified the email a
couple of times as the previous gmail wasn't working so i had to
resolve to local server. So how do i fix this?

Claudia Jürgen

unread,
Oct 27, 2017, 8:47:45 AM10/27/17
to Seun Ojedeji, DSpace Technical Support
Hello Seun,

>> Btw did you change the email settings in your installation config at any
>> point without restarting your servlet container?
>> This would explain why the command line [dspace]/bin/dspace test-email
>> works but any email from the UI not.
>>
> SO: Yes there is a chance i did that, as i have modified the email a
> couple of times as the previous gmail wasn't working so i had to
> resolve to local server. So how do i fix this?

By restarting your servlet container.

Hope this helps

Claudia Jürgen

Seun Ojedeji

unread,
Oct 27, 2017, 8:49:11 AM10/27/17
to Claudia Jürgen, DSpace Technical Support
Hello Claudia,

On Fri, Oct 27, 2017 at 4:47 PM, Claudia Jürgen
<claudia...@tu-dortmund.de> wrote:
>
>>>
>> SO: Yes there is a chance i did that, as i have modified the email a
>> couple of times as the previous gmail wasn't working so i had to
>> resolve to local server. So how do i fix this?
>
>
> By restarting your servlet container.

SO: Trust me i did that severally including a reboot

Cheers!
>
> Hope this helps
>
> Claudia Jürgen
>
> Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist
> ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese
> E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und
> vernichten Sie diese Mail. Vielen Dank.
> Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen
> ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher
> Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines
> solchen Schriftstücks per Telefax erfolgen.
>
> Important note: The information included in this e-mail is confidential. It
> is solely intended for the recipient. If you are not the intended recipient
> of this e-mail please contact the sender and delete this message. Thank you.
> Without prejudice of e-mail correspondence, our statements are only legally
> binding when they are made in the conventional written form (with personal
> signature) or when such documents are sent by fax.



Claudia Jürgen

unread,
Oct 27, 2017, 10:49:36 AM10/27/17
to Seun Ojedeji, DSpace Technical Support
Hi Seun,

can think of no other way where the test-email is working, but sending
anything from the UI not other than both using different configurations,
sorry.

cu

Claudia Jürgen
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia...@tu-dortmund.de
www.ub.tu-dortmund.de

Reply all
Reply to author
Forward
0 new messages