[dspace-tech] Select Collection step performance very slow in DSpace 6.x

2016-12-01 Thread wltantzen
In DSpace 6x, it takes an intolerable 10 minutes (!!!) to populate the 
Select Collection drop-down in my instance when logging in as a regular 
user as opposed to an administrator. 

I can add hardware details if anybody is interested, but I'm pretty sure 
it's not the problem -- this is a beefy machine that hummed along nicely 
with version 5.x...

We have a little over 1000 collections in our repository, and we use 
shibboleth for authentication so findAuthorizedPerformanceOptimize is set 
to it's default of false.

Some rudimentary profiling suggests that the isAdmin() call in authorize() 
is the bottleneck.  In a recent test (pretty typical), the findAuthorized() 
function takes 704,040 ms to return.  The time spent in the isAdmin() call 
amounts to 590,691 ms, or about 83% of the time.  Another bottleneck within 
this bottleneck is the recursive call to isAdmin(parent collection) -- 
about 400,000 ms.  Clearly there is a lot of waste in this call because 
many many collections will be tested over and over.  In our case, we have a 
single community that is the ancestor of every community/collection, and 
isAdmin() winds up being called against it 1012 times -- same as the number 
of collections in the repository -- and 1011 of them are redundant.

As a further test, I have short-circuited isAdmin() to return false 
immediately.  The results in the rendering of the drop-down in about 94,000 
msec.  Still way too long, but a drastic improvement.

When logging in as an administrator, isAdmin() returns rather quickly and 
the list is populated much quicker as well.  But for the everyday user, the 
performance is a big red light preventing us from upgrading.

Sorry, this is simply stating the problem with no solution.  But has 
anybody else with a similarly sized repository experienced this slow down?

Regards,
Bill


-- 
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] request for help

2016-12-01 Thread Creel, James Silas
Dear Haimanot Birhanu,

Check the wiki documentation here:
https://wiki.duraspace.org/display/DSDOC3x/Discovery

It should tell you all you need to know on this issue.

James

From:  on behalf of Haimanot Birhanu 

Date: Thursday, December 1, 2016 at 6:31 AM
To: "dspace-tech@googlegroups.com" 
Subject: [dspace-tech] request for help

How to Enable Discovery in dspace 3.1
Haimanot,
--
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.

-- 
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] RE: Handles changing URL

2016-12-01 Thread Cameron, Jacob
Should have mentioned they used to point to 
http://www.uleth.ca/dspace/handle/10133/xxx

--
Jake Cameron, BCS(UNB)
Systems Support Specialist III
Information Systems and Technical Services University of Lethbridge Library
Phone:(403)329-2756

This e-mail, including any and all attachments, is only for the use of the 
intended recipient(s) and may contain information that is confidential or 
privileged. If you are not the intended recipient, you are advised that any 
dissemination, copying or other use of this e-mail is prohibited. Please notify 
the sender of the error in communication by return e-mail and destroy all 
copies of this e-mail.  Thank you.

From: dspace-tech@googlegroups.com [mailto:dspace-tech@googlegroups.com] On 
Behalf Of Cameron, Jacob
Sent: Thursday, December 01, 2016 12:48 PM
To: dspace-tech@googlegroups.com
Subject: [dspace-tech] Handles changing URL

Hello All,

I just spun up a new DSpace 6 server, migrated all of our data and databases, 
etc.  We always have renamed the xmlui directory to dspace.  Now on version 
6.0, all of our handles are resolving to 
http://www.uleth.ca/dspace/xmlui/handle/10133/xxx

This is very annoying and I haven’t been able to find a way around it.  Any 
suggestions?

--
Jake Cameron, BCS(UNB)
Systems Support Specialist III
Information Systems and Technical Services University of Lethbridge Library
Phone:(403)329-2756

This e-mail, including any and all attachments, is only for the use of the 
intended recipient(s) and may contain information that is confidential or 
privileged. If you are not the intended recipient, you are advised that any 
dissemination, copying or other use of this e-mail is prohibited. Please notify 
the sender of the error in communication by return e-mail and destroy all 
copies of this e-mail.  Thank you.

--
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.

-- 
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] Run dspace 6.0 xmlui on default root tomcat8

2016-12-01 Thread heddamaha
hello;
we installed dspace6 on debian 8 64 bits 

we had set  in local.cfg :
 dspace.dir = /home/dspace
 dspace.hostname = dspace.domain.com
 dspace.baseUrl = http://dspace.domain.com:8080
 dspace.ui = xmlui
 dspace.url = ${dspace.baseUrl}
 solr.server = http://localhost:8080/solr
 handle.canonical.prefix = http://${dspace.hostname}/handle/
 handle.prefix = domain

we would like to run xmlui as the default root  for tomcat8

we have done
 
Cd /var/lib/tomcat8/webapps
   
  rm -rf ROOT
  ln -s /home/dspace/webapps/solr
  ln -s /home/dspace/webapps/rest
  ln -s /home/dspace/webapps/oai
  ln -s /home/dspace/webapps/sword
  ln -s /home/dspace/webapps/xmlui ROOT

systemctl restart tomcat8

we can get access to dspace interface, login in with administrator account and 
we can add new collections, items ..
but we can't logout correctly :  An error is displayed when the account is 
disconnected: The page is not redirected correctly

Did we have missing some configurations or have making mistakes 

Someone could guide me to have xmlui run on default root of tomcat8 
we'd appreciate any ideas  to solve this error
 thanks for help

-- 
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] Submission stuck on upload step

2016-12-01 Thread Gabriel Martins
I can make a normal submission until I reach the submission step. Clicking 
next will continue in the upload step. The logs do not point to error and I 
do not know what else to do.

Can someone help me? I would greatly appreciate it.

-- 
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] dspace 6.0 : run interface xmlui on default root tomcat8 issues

2016-12-01 Thread heddamaha
hello;
we installed dspace6 on debian 8 64 bits 

we had set  in local.cfg :
 dspace.dir = /home/dspace
 dspace.hostname = dspace.domain.com
 dspace.baseUrl = http://dspace.domain.com:8080
 dspace.ui = xmlui
 dspace.url = ${dspace.baseUrl}
 solr.server = http://localhost:8080/solr
 handle.canonical.prefix = http://${dspace.hostname}/handle/
 handle.prefix = domain

we would like to run xmlui as the default root  for tomcat8

we have done 
   

  rm -rf /var/lib/tomcat7/webapps/ROOT
  ln -s /home/dspace/webapps/solr
  ln -s /home/dspace/webapps/rest

  ln -s /home/dspace/webapps/oai

  ln -s /home/dspace/webapps/sword
  ln -s /home/dspace/webapps/xmlui ROOT

systemctl restart tomcat8

we can get access to dspace interface, login in with administrator account and 
we can add new collections, items ..
but we can't logout correctly :  An error is displayed when the account is 
disconnected: The page is not redirected correctly

Someone could guide me to have xmlui run on default root of tomcat8 
we'd appreciate any ideas  to solve this error
 thanks for help

-- 
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] request for help

2016-12-01 Thread Haimanot Birhanu
How to Enable Discovery in dspace 3.1

Haimanot,

-- 
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.