RE: [dspace-tech] sending mail - causing submission timeouts?

2018-05-01 Thread Graham Faulkner
Thanks Tim – this is really helpful.

Thankfully the /test-email script is working as expected right now, but it will 
be a useful first step when debugging in the future. Thanks for the tip, and 
for the link to the specific source code.

Cheers,

Graham

From: Tim Donohue 
Sent: May 1, 2018 10:36 AM
To: Graham Faulkner 
Cc: dspace-tech@googlegroups.com
Subject: Re: [dspace-tech] sending mail - causing submission timeouts?

Hi Graham,

It sounds like you are looking for where the email is sent to the submitter (of 
the item)?  If so, that happens as part of the workflow process in this 
"notifyOfArchive()" method: 
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/workflow/WorkflowManager.java#L919
(If approval workflow is disabled, this method is still called, as DSpace 
always minimally runs a "zero step" workflow in order to notify the submitter 
and then archive the item)

You'll also see at the bottom of that method a Warning should be logged (to the 
DSpace logs) if the mail cannot be sent.  So, you may want to check your DSpace 
logs (and even the Tomcat logs) for any Error or Warning messages related to 
emailing.

As a sidenote, in case it is useful, DSpace ships with an email testing tool 
(as having email issues is a rather common problem).  You can run 
[dspace]/bin/dspace test-email from the commandline, and DSpace will attempt to 
use your current email configuration to send a test email message to the 
configured "mail.admin" account.  More information on this test script can be 
found in the Installation docs at: 
https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-CheckingYourInstallation

Good luck,

Tim

On Tue, May 1, 2018 at 9:04 AM Graham Faulkner 
> wrote:
Good morning,

We have been having problems with submissions timing out (at the very last 
stage when all metadata is entered). At the same time our library mail server 
was experiencing delays in sending mail through our campus network. Coincidence?

Where in the DSpace code is the mail handling during the submission process? 
What clues could we look for in the DSpace server and mail server logs that 
might indicate that delayed mail is a cause of the submission timeouts?

We are running DSpace 5.5 with XMLUI Mirage 2 theme.

Cheers,

Graham


-
Graham Faulkner
Information Technology Specialist/Developer
Digital Initiatives, Library
University of Waterloo
Waterloo, Ontario N2L 3G1 CANADA
519-888-4567 x32461
graham.faulk...@uwaterloo.ca

--
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 
dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to 
dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.
--
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Facing some Technical problems and need your help

2018-05-01 Thread Tim Donohue
Unfortunately, we don't have enough information to help you resolve this
issue. Please take a look at our guide on Troubleshooting Errors, which
provides useful information about where to find error messages, where to
search for answers, and what to send along to mailing lists for help:
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

After following that guide and searching for solutions, if you are still
stuck, feel free to send the error messages to this mailing list and we'll
do our best to help out.

Thanks

Tim

On Tue, May 1, 2018 at 1:57 AM Mohamed Abedalla 
wrote:

> Dear esteemed colleagues,
>
> I'm writing to you because I’m installing new API modules on the Dspace
> application and I need to have a necessary alteration on
> Dspace binary configuration files in behind the system, some technical
> problems facing my project, your advice very important for me with the
> following:
>
>
>
> 1. Export search Metadata option is not working.
>
> 2. Entered metadata information not showing either by search or by
> browsing.
>
> 3. Password of Access control People is not resetting. It is giving
> error “authentication failed”.
>
> 4. While trying to search record it is directing to contact with
> administrator.
>
>
>
> Your comments are highly appreciated
>
>
>
> Thanks and Regards
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] sending mail - causing submission timeouts?

2018-05-01 Thread Tim Donohue
Hi Graham,

It sounds like you are looking for where the email is sent to the submitter
(of the item)?  If so, that happens as part of the workflow process in this
"notifyOfArchive()" method:
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/workflow/WorkflowManager.java#L919
(If approval workflow is disabled, this method is still called, as DSpace
always minimally runs a "zero step" workflow in order to notify the
submitter and then archive the item)

You'll also see at the bottom of that method a Warning should be logged (to
the DSpace logs) if the mail cannot be sent.  So, you may want to check
your DSpace logs (and even the Tomcat logs) for any Error or Warning
messages related to emailing.

As a sidenote, in case it is useful, DSpace ships with an email testing
tool (as having email issues is a rather common problem).  You can
run [dspace]/bin/dspace test-email from the commandline, and DSpace will
attempt to use your current email configuration to send a test email
message to the configured "mail.admin" account.  More information on this
test script can be found in the Installation docs at:
https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-CheckingYourInstallation


Good luck,

Tim

On Tue, May 1, 2018 at 9:04 AM Graham Faulkner 
wrote:

> Good morning,
>
>
>
> We have been having problems with submissions timing out (at the very last
> stage when all metadata is entered). At the same time our library mail
> server was experiencing delays in sending mail through our campus network.
> Coincidence?
>
>
>
> Where in the DSpace code is the mail handling during the submission
> process? What clues could we look for in the DSpace server and mail server
> logs that might indicate that delayed mail is a cause of the submission
> timeouts?
>
>
>
> We are running DSpace 5.5 with XMLUI Mirage 2 theme.
>
>
>
> Cheers,
>
>
>
> Graham
>
>
>
>
>
> -
>
> Graham Faulkner
>
> Information Technology Specialist/Developer
>
> Digital Initiatives, Library
>
> University of Waterloo
>
> Waterloo, Ontario N2L 3G1 CANADA
>
> 519-888-4567 x32461 <(519)%20888-4567>
>
> graham.faulk...@uwaterloo.ca
>
>
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] sending mail - causing submission timeouts?

2018-05-01 Thread Graham Faulkner
Good morning,

We have been having problems with submissions timing out (at the very last 
stage when all metadata is entered). At the same time our library mail server 
was experiencing delays in sending mail through our campus network. Coincidence?

Where in the DSpace code is the mail handling during the submission process? 
What clues could we look for in the DSpace server and mail server logs that 
might indicate that delayed mail is a cause of the submission timeouts?

We are running DSpace 5.5 with XMLUI Mirage 2 theme.

Cheers,

Graham


-
Graham Faulkner
Information Technology Specialist/Developer
Digital Initiatives, Library
University of Waterloo
Waterloo, Ontario N2L 3G1 CANADA
519-888-4567 x32461
graham.faulk...@uwaterloo.ca

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Facing some Technical problems and need your help

2018-05-01 Thread Mohamed Abedalla


Dear esteemed colleagues,

I'm writing to you because I’m installing new API modules on the Dspace 
application and I need to have a necessary alteration on 
Dspace binary configuration files in behind the system, some technical 
problems facing my project, your advice very important for me with the 
following:

 

1. Export search Metadata option is not working.

2. Entered metadata information not showing either by search or by 
browsing.

3. Password of Access control People is not resetting. It is giving 
error “authentication failed”.

4. While trying to search record it is directing to contact with 
administrator.

 

Your comments are highly appreciated 

 

Thanks and Regards

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.