Re: [dspace-tech] Re: "Key for add operation must be defined" error when starting Tomcat

2021-01-22 Thread pawanagr...@gmail.com
I was also faced similar problem 4 days ago on my running dspace which i 
using for last 5 years recently i upgraded it to 6.3. when I did some 
configuration in dspace.conf and local.conf. after starting server it 
started showing error 404. I uninstalled and reinstalled and every time 
after configuration it shows error 404. the configurations were basic like 
adding name of institute in dspace repository name, enabling recent 
submission numbers, enabling other languages, etc. Finally, I kept my 
server without any such configuration. But, I am willing to do these 
configurations. Plese help me where i am making mistakes. these 
configurations were there earlier and it was running fine.

I am running dspace 6.3 on windows

On Thursday, October 19, 2017 at 7:31:38 PM UTC+5:30 Tim Donohue wrote:

> Hi Uttam,
>
> This error sounds like it is related to the configuration of DSpace 6.x, 
> since it seems to come from the new Apache Commons Configuration settings. 
>
>
> https://wiki.duraspace.org/display/DSDOC6x/Configuration+Reference#ConfigurationReference-ConfigurationFileSyntax
>
> Have you checked that your configuration files for any preceding or 
> trailing spaces (as described earlier in this thread)?  Did you upgrade 
> from DSpace 5 and perhaps forget to update the configuration of DSpace (the 
> configuration system changed between DSpace 5 and 6, see: 
> https://wiki.duraspace.org/display/DSDOC6x/Upgrading+DSpace#UpgradingDSpace-ReleaseNotes/SignificantChanges
>
> You could also either diffing your configs against the out-of-the-box 
> configurations to see if that shows any obvious misconfigurations.  Or you 
> could temporarily revert to the out-of-the-box configurations to see if 
> that resolves the issue, and then slowly update it to your existing 
> configuration.
>
> Essentially, this sounds like a configuration issue in one of your *.cfg 
> files. Unfortunately the Apache Commons Configuration system doesn't seem 
> to return a very useful error message here, so I cannot say for certain 
> which file or configuration is the problem.
>
> Good luck, and please let us know on this mailing list if you discover the 
> issue.  We haven't been able to reproduce this problem yet, so if you find 
> a way to do so, we can add it to our documentation, etc.
>
> - Tim
>
> On Thu, Oct 19, 2017 at 6:11 AM uttam dhakal  wrote:
>
>> Hello,
>>
>> I have got the exact same problem, did you find the solution to your 
>> problem?
>>
>> Thank you
>>
>> On Wednesday, January 18, 2017 at 7:02:42 PM UTC+1, m.ne...@icm.edu.pl 
>> wrote:
>>>
>>> Thanks, but that is probably not mine case.  I have just removed all 
>>> spaces unnecessary spaces in both dspace.cfg and local.cfg and DSpace still 
>>> does not start.  Event
>>>
>>> ant update
>>>
>>> command would stop at test_database phase:
>>>
>>> test_database:
>>>  [java] Failure during kernel init: Key for add operation must be 
>>> defined!
>>>  [java] java.lang.IllegalArgumentException: Key for add operation 
>>> must be defined!
>>>  [java] at 
>>> org.apache.commons.configuration.tree.DefaultExpressionEngine.prepareAdd(DefaultExpressionEngine.java:420)
>>>  [java] at 
>>> org.apache.commons.configuration.HierarchicalConfiguration.addPropertyDirect(HierarchicalConfiguration.java:383)
>>>  [java] at 
>>> org.apache.commons.configuration.AbstractConfiguration.addPropertyValues(AbstractConfiguration.java:423)
>>>  [java] at 
>>> org.apache.commons.configuration.AbstractConfiguration.append(AbstractConfiguration.java:1271)
>>>  [java] at 
>>> org.apache.commons.configuration.ConfigurationUtils.convertToHierarchical(ConfigurationUtils.java:252)
>>>  [java] at 
>>> org.apache.commons.configuration.CombinedConfiguration$ConfigData.getTransformedRoot(CombinedConfiguration.java:943)
>>>  [java] at 
>>> org.apache.commons.configuration.CombinedConfiguration.constructCombinedNode(CombinedConfiguration.java:793)
>>>  [java] at 
>>> org.apache.commons.configuration.CombinedConfiguration.getRootNode(CombinedConfiguration.java:626)
>>>  [java] at 
>>> org.apache.commons.configuration.HierarchicalConfiguration.fetchNodeList(HierarchicalConfiguration.java:958)
>>>  [java] at 
>>> org.apache.commons.configuration.CombinedConfiguration.fetchNodeList(CombinedConfiguration.java:739)
>>>  [java] at 
>>> org.apache.commons.configuration.HierarchicalConfiguration.getProperty(HierarchicalConfiguration.java:344)
>>>  [java] at 
>>> org.dspace.servicemanager.config.DSpaceConfigurationService.setProperty(DSpaceConfigurationService.java:354)
>>>  [java] at 
>>> org.dspace.servicemanager.config.DSpaceConfigurationService.setDynamicProperties(DSpaceConfigurationService.java:539)
>>>  [java] at 
>>> org.dspace.servicemanager.config.DSpaceConfigurationService.loadInitialConfig(DSpaceConfigurationService.java:504)
>>>  [java] at 
>>> 

RE: [dspace-tech] Re: ORCID lookup extremely slow

2021-01-22 Thread Graham Faulkner
Thanks for the feedback Darryl - glad to know we're not alone! Yesterday and 
today the response times are much better (10-15 second range), so perhaps it 
was a momentary hiccup at ORCID.

Cheers,

Graham



From: dspace-tech@googlegroups.com  On Behalf Of 
darryl@usask.ca
Sent: January 20, 2021 1:24 PM
To: DSpace Technical Support 
Subject: [dspace-tech] Re: ORCID lookup extremely slow

We're seeing the same behavior.  I can't offer and help or pointers yet.  I was 
just going to do a fresh install of DSpace to rule out any local customizations 
we've done; it's good to know the issue appears to not just be us.

- Darryl



Darryl Friesen, BSc
Programmer/Analyst

University of Saskatchewan
ICT / University Library
On Tuesday, January 19, 2021 at 4:08:54 PM UTC-6 
graham@uwaterloo.ca wrote:
Hi all,

We are experiencing incredibly long lookup times for ORCIDs in the author 
lookup in submission form. We are running DSpace 5.10 on Ubuntu, running XMLUI 
Mirage 2.

Sometimes the lookup is ~10 seconds (which already feels a little slow, IMO), 
but today it is stretching to 2-3 MINUTES for a lookup to complete.

I tested on demo.dspace.org and it was experiencing 
timeouts for the ORCID lookup, so I'm wondering if it's an issue at ORCID. Is 
anyone else experiencing delays in the lookup?

If I go to orcid.org directly and do an author search in the 
UI, it's almost instantaneous.

Any pointers are appreciated.

Cheers,
Graham

-
Graham Faulkner
Web Developer / Programmer
Digital Initiatives, Library
University of Waterloo
Waterloo, Ontario N2L 3G1 CANADA
519-888-4567 x42461
graham@uwaterloo.ca

--
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 
dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/313ec955-8a22-4c61-aa4d-d45f4a721720n%40googlegroups.com.

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/YQXPR01MB4279F3EFE67E90881577C87D88A00%40YQXPR01MB4279.CANPRD01.PROD.OUTLOOK.COM.