[Dspace-tech] Owner of Assetstore directories and files

2015-08-24 Thread Schuster, David
We have been using Dspace 4.2 for a while and recently I have discovered a file 
permissions problem and need clarification.  What user on a Debian system 
should own the assetstore and associated files and folders?

We had been batch loading files from the command line in 4.2 and I think the 
permissions were not being set appropriately.  When I look at the assetstore I 
am seeing files owned by Dspace in the postgres group, and then also files 
owned by tomcat7 in the tomcat7 group.

The files that were loaded in the batch mode were loaded as root so I need to 
change their file permissions.  When we try to load things from the UI we get 
file permission errors because they don't have access to those folders that 
were created with the batch tool in 4.2.

I wanted to chuser and group but need to know what to change them to.

I think they should all be dspace/dspace - but just want to verify...

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>
[emailsignature][Alma_Certified_Admin_Logo]

--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Handle server shuts down immediately

2015-08-20 Thread Baker, David A.
DSpace 5.2 on Windows Server 2012

Trying to get my Handle server set up. My console:

C:\dspace\bin>dspace dsrun net.handle.server.Main c:\dspace\handle-server
Using DSpace installation in: C:\dspace
"2015/08/20 06:06:11 EDT" 25 Rotating log files

After running this, my error.log file:

"2015/08/20 06:06:11 EDT" 50 unspecified max_handlers count, using default: 200
"2015/08/20 06:06:11 EDT" 50 unspecified max_handlers count, using default: 200
"2015/08/20 06:06:11 EDT" 50 unspecified max_handlers count, using default: 200
"2015/08/20 06:06:12 EDT" 25 Shutting down server at Thu Aug 20 18:06:12 EDT 
2015

Any ideas why it's shutting down immediately after starting?

--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Embargo process and future releases

2015-08-17 Thread Schuster, David
I have not set embargos and am looking at doing so in the near future.  I was 
going to start testing this, but with the discussion about sun setting one of 
the options I wanted to make sure I was using whichever option will be the most 
likely to move forward.

Will we be keeping the Advanced or will there be a whole new setup created?

https://wiki.duraspace.org/display/DSDOC5x/Embargo

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>
[emailsignature][Alma_Certified_Admin_Logo]

--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Setting up OAI-PMH and getting error 500 exception can not sort on multivalued field: item.id

2015-08-04 Thread Abrams, David
Hello-

This is my dspace version:

DSpace version:  5.1
  SCM revision:  ${buildNumber}
SCM branch:  UNKNOWN_BRANCH
OS:  Linux(amd64) version 2.6.18-402.el5
  Applications:
RDF at http://testlibarch1:8080/xmlui
JSPUI at http://testlibarch1:8080/xmlui
XMLUI at http://testlibarch1:8080/xmlui
OAI at http://testlibarch1:8080/xmlui
 Discovery:  enabled.
   JRE:  Oracle Corporation version 1.8.0_40
   Ant version:  Apache Ant version 1.8.0 compiled on February 1 2010
Maven version:  3.0.5
   DSpace home:  /dspace

I'm setting up a test server to test calling collections and community metadata 
from omeka. I'm getting stuck on it not liking values in the schema.xml. I'm 
not quite sure what I'm missing here. If someone can help point me in the right 
direction It would be appreciated. I have the local access logs attached 
because that is where this error is being sent.

David Abrams | Systems Engineer

American Public University System
American Military University  |  American Public University
661 S George Street, Charles Town, WV 25414
 M 703-399-4518 |  dabr...@apus.edu<mailto:dabr...@apus.edu>| www.apus.edu

This message is private and confidential. If you have received it in error, 
please notify the sender and remove it from your system.
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
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)

Aug 04, 2015 2:50:14 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [oai] in context with path [/oai] threw 
exception [Request processing failed; nested exception is 
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: can not 
sort on multivalued field: item.id] with root cause
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: can not 
sort on multivalued field: item.id
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:552)
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
at 
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at org.dspace.xoai.solr.DSpaceSolrSearch.query(DSpaceSolrSearch.java:33)
at 
org.dspace.xoai.services.impl.xoai.DSpaceItemSolrRepository.retrieveItems(DSpaceItemSolrRepository.java:117)
at 
org.dspace.xoai.services.impl.xoai.DSpaceItemSolrRepository.getItemIdentifiers(DSpaceItemSolrRepository.java:78)
at 
org.dspace.xoai.services.impl.xoai.DSpaceItemRepository.getItemIdentifiers(DSpaceItemRepository.java:54)
at 
com.lyncode.xoai.dataprovider.data.internal.ItemRepositoryHelper.getItemIdentifiers(ItemRepositoryHelper.java:127)
at 
com.lyncode.xoai.dataprovider.handlers.ListIdentifiersHandler.handle(ListIdentifiersHandler.java:92)
at 
com.lyncode.xoai.dataprovider.OAIDataProvider.handle(OAIDataProvider.java:210)
at 
org.dspace.xoai.controller.DSpaceOAIDataProvider.contextAction(DSpaceOAIDataProvider.java:104)
at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213)
at 
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
at 
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
at 
org.springframework.web.servlet.mvc.method.AbstractH

[Dspace-tech] Download Statistics for specific item

2015-07-23 Thread David de la Croes
Hi All,
We are encountering a problem in generating / displaying download 
statistics on a particular record in our repository. Since it was 
initially ingested, a number of actions were performed on it:
1. It was originally ingested with a .docx file to generated the handle 
which the authors requested to insert into the final publication.
2. The item was withdrawn, then re-instated.
3. The final version (pdf) was uploaded, and afterwards the original 
version (the docx) was deleted.

It appears that the download statistics cannot be generated, and the 
following (snippet) appears in the dspace.log below.

Any help in resolving the issue would be highly appreciated, as this is 
one of our most popular items in the repository
http://open.uct.ac.za/handle/11427/12937

Thanks,

David de la Croes
University of Cape Town Libraries



2015-07-22 09:14:23,142 ERROR 
org.dspace.app.xmlui.aspect.statistics.StatisticsTransformer @ Error 
occurred while creating statistics for dso with ID: 13323 and type 2 and 
handle: 11427/12937
java.lang.NullPointerException
 at 
org.dspace.statistics.content.StatisticsDataVisits.getAttributes(StatisticsDataVisits.java:633)
 at 
org.dspace.statistics.content.StatisticsDataVisits.createDataset(StatisticsDataVisits.java:354)
 at 
org.dspace.statistics.content.StatisticsDisplay.getDataset(StatisticsDisplay.java:88)
 at 
org.dspace.app.xmlui.aspect.statistics.StatisticsTransformer.renderViewer(StatisticsTransformer.java:340)
 at 
org.dspace.app.xmlui.aspect.statistics.StatisticsTransformer.addBody(StatisticsTransformer.java:141)
 at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223)
 at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
 at com.sun.proxy.$Proxy43.startElement(Unknown Source)
 at 
org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140)
 at 
org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87)
 at 
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
 at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:240)
 at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)



--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] DSpace 5.2 LDAP Authentication with Active Directory

2015-07-16 Thread Baker, David A.
I'm running DSpace 5.2 and am attempting to enable LDAP authentication with our 
Active Directory. I've been fighting this issue for a couple of weeks now, and 
cannot get authentication to work. Below are the contents of my 
authentication.cfg and authentication-ldap.cfg files as well as the log result 
of the login attempts from the dspace.log file.

I'm not sure if there is something obvious that I have wrong or not. Are there 
any specifics that have to be set for Active Directory setups?

Thanks for any help!

The directory structure is set up like this:

  dc=relligar,dc=edu
_/|  \_
  _/  |\_
 /|  \
ou=Staff Accounts  ou=Faculty Accounts   ou=Student Accounts
   |
   |
  cn=Jones, Jimmy K.
  ...


dspace.log.2015-07-14
-
...
2015-07-14 16:58:23,295 INFO  org.dspace.authenticate.PasswordAuthentication @ 
anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:authenticate:attempting
 password auth of user=krbelcher
2015-07-14 16:58:23,358 INFO  org.dspace.authenticate.LDAPAuthentication @ 
anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:auth:attempting
 trivial auth of user=krbelcher
2015-07-14 16:58:23,654 WARN  org.dspace.authenticate.LDAPAuthentication @ 
anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:ldap_authentication:type=failed_auth
 javax.naming.AuthenticationException\colon; [LDAP\colon; error code 49 - 
80090308\colon; LdapErr\colon; DSID-0C0903A9, comment\colon; 
AcceptSecurityContext error, data 52e, v1db1 ]
2015-07-14 16:58:23,654 INFO  org.dspace.authenticate.LDAPAuthentication @ 
anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:failed_login:no
 DN found for user krbelcher
2015-07-14 16:58:23,654 INFO  org.dspace.app.xmlui.utils.AuthenticationUtil @ 
anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:failed_login:email=krbelcher,
 realm=null, result=2
2015-07-14 16:58:29,764 INFO  org.dspace.authenticate.PasswordAuthentication @ 
anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:authenticate:attempting
 password auth of user=krbelcher
2015-07-14 16:58:29,764 INFO  org.dspace.authenticate.LDAPAuthentication @ 
anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:auth:attempting
 trivial auth of user=krbelcher
2015-07-14 16:58:30,076 WARN  org.dspace.authenticate.LDAPAuthentication @ 
anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:ldap_authentication:type=failed_auth
 javax.naming.AuthenticationException\colon; [LDAP\colon; error code 49 - 
80090308\colon; LdapErr\colon; DSID-0C0903A9, comment\colon; 
AcceptSecurityContext error, data 52e, v1db1 ]
2015-07-14 16:58:30,076 INFO  org.dspace.authenticate.LDAPAuthentication @ 
anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:failed_login:no
 DN found for user krbelcher
2015-07-14 16:58:30,076 INFO  org.dspace.app.xmlui.utils.AuthenticationUtil @ 
anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:failed_login:email=krbelcher,
 realm=null, result=2


authentication.cfg
--
plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \
org.dspace.authenticate.PasswordAuthentication, \
org.dspace.authenticate.LDAPAuthentication


authentication-ldap.cfg
---
enable = true
autoregister = true
provider_url = ldaps://172.0.0.1:636/
id_field = sAMAccountName
object_context = 
search_context = dc=relligar,dc=edu
email_field = mail
surname_field = sn
givenname_field = givenName
phone_field = telephoneNumber
search_scope = 2
search.anonymous = false
search.user = cn=Binder\, DSpace,cn=Users,dc=relligar,dc=edu
search.password = secret
netid_email_domain = @relligar.edu


-- 
David Baker

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Ciphers in server.xml

2015-07-15 Thread Schuster, David
At the request of our University security team we added several new ciphers to 
our Dspace Tomcat7 setup yesterday and now today I received a notification that 
Google was not able to crawl our site.

I don't understand this part of security so are there any suggestions or 
comments about this?  Should I remove them?  I hesitate to email the list of 
ciphers we implemented as I don't understand that part of networking.

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>
[emailsignature][Alma_Certified_Admin_Logo]

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Problems indexation google scholar

2015-07-15 Thread Cristian David Criollo Lopez
Hi all

Our repository Dspace  is presenting problems with the indexation in google 
scholar,  we contact personal support scholar and they suggest that remove the 
metatags citation for the type of documents that not comply their politics for 
example   videos , map, presentations the question  is possible restrict o 
remove those metatags from html for those types of documents


Thank you very much for the help

[Descripción: logo_correos]

Christian David Criollo Lopez
Analista-Programador Jr
SYRI-Desarrollo
Servicios y Recursos de Información<http://www.icesi.edu.co/servicios_apoyo>
Universidad Icesi<http://www.icesi.edu.co/>
Tel: +57 (2) 555 2334 ext. 8749




Este documento puede contener información privilegiada o confidencial. Por 
tanto, usar esta información y sus anexos para propósitos ajenos a los de la 
Universidad Icesi, divulgarla a personas a las cuales no se encuentre destinado 
este correo o reproducirla total o parcialmente, se encuentra prohibido en 
virtud de la legislación vigente. La universidad no asumirá responsabilidad 
sobre información, opiniones o criterios contenidos en este correo que no estén 
directamente relacionados con la Icesi. La Universidad no garantiza la 
transmisión de mensajes electrónicos en forma segura y libre de errores debido 
a que la información puede ser interceptada, manipulada, dañada o destruida. Si 
usted no es el destinatario autorizado o por error recibe este mensaje, por 
favor informe al remitente y posteriormente bórrelo de su sistema sin conservar 
copia del mismo. En caso de no querer continuar recibiendo estas comunicaciones 
por favor envié un correo electrónico a midatoperso...@icesi.edu.co . Para 
mayor información Usted puede consultar las políticas de la Universidad Icesi 
sobre la custodia y el manejo seguro y confidencial de Datos Personales a 
través del sitio web www.icesi.edu.co
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Why does Dspace throw this error when I try to submit sometimes?

2015-07-10 Thread Schuster, David
I get this error very often, and if you click back and submit again a few times 
or click refresh, then it will go through?

I've attached the Stack trace/Java etc...

I did find this Jira report.

https://jira.duraspace.org/browse/DS-1143

I am running Dspace 4.2 that was upgraded from 3.2 where I had the problem as 
well (working on upgrading to 5.x)

I see that there is discussion about dspace user separate from Tomcat - which 
may be my problem.

How can I fix this or do I fix it in the next upgrade?

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[emailsignature]



POARerroronsubmission.docx
Description: POARerroronsubmission.docx
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] So the CRIS module only works with JSPUI?

2015-06-17 Thread Schuster, David
Just wanting to be sure.  We have been running the XMLUI interface as that was 
what seemed the best option 2 years ago.

Are there plans for porting it to XMLUI or what advice would people give if we 
were interested in the CRIS module.

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[emailsignature]

--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Send email Christian David Criollo

2015-06-11 Thread Cristian David Criollo Lopez


[Descripción: logo_correos]

Christian David Criollo Lopez
Analista-Programador Jr
SYRI-Desarrollo
Servicios y Recursos de Información<http://www.icesi.edu.co/servicios_apoyo>
Universidad Icesi<http://www.icesi.edu.co/>
Tel: +57 (2) 555 2334 ext. 8749




Este documento puede contener información privilegiada o confidencial. Por 
tanto, usar esta información y sus anexos para propósitos ajenos a los de la 
Universidad Icesi, divulgarla a personas a las cuales no se encuentre destinado 
este correo o reproducirla total o parcialmente, se encuentra prohibido en 
virtud de la legislación vigente. La universidad no asumirá responsabilidad 
sobre información, opiniones o criterios contenidos en este correo que no estén 
directamente relacionados con la Icesi. La Universidad no garantiza la 
transmisión de mensajes electrónicos en forma segura y libre de errores debido 
a que la información puede ser interceptada, manipulada, dañada o destruida. Si 
usted no es el destinatario autorizado o por error recibe este mensaje, por 
favor informe al remitente y posteriormente bórrelo de su sistema sin conservar 
copia del mismo. En caso de no querer continuar recibiendo estas comunicaciones 
por favor envié un correo electrónico a midatoperso...@icesi.edu.co . Para 
mayor información Usted puede consultar las políticas de la Universidad Icesi 
sobre la custodia y el manejo seguro y confidencial de Datos Personales a 
través del sitio web www.icesi.edu.co
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Can I move GeoLiteCity.dat?

2015-05-22 Thread Schuster, David
This is growing quite large on my system and about to fill up my home 
directory...  I have moved the logs etc.. to another point through the config 
files, but I don't see that I can point this in another direction.

/home/dspace/config - is where it lives and mine has grown to about 17216036...

Suggestions, recommendations?  My home directory was setup small when we 
started newbie on my own I didn't know how this might impact me in the future.

My drive is setup with LVS but we have used all of the original space allocated 
for that.

Looking for suggestions for best direction.

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] 3RE: OAI-PMH/OAI-ORE Harvesting configuration documentation

2015-04-26 Thread David Cook
After reviewing a  
<http://myexampledspace.org/xmlui/metadata/handle/1/1/ore.xml> 
http://myexampledspace.org/xmlui/metadata/handle/1/1/ore.xml, I realize that 
the atom:id probably doesn’t actually matter much besides being a persistent 
unique identifier… and that the “ore.xml” is what one gets from 
“oai/request?verb=ListRecords&metadataPrefix=ore”. Silly me!!!

 

So this should work. It looks like either the jspui or xmlui will work with 
“bitstream.baseURL”, although users of the jspui will potentially run into that 
problem with the URL encoding of spaces… (all the more reason to avoid spaces 
when naming files I suppose).

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007

 

From: David Cook [mailto:dc...@prosentient.com.au] 
Sent: Monday, 27 April 2015 3:07 PM
To: 'heli...@centrum.sk'; 'Hilton Gibson'
Cc: 'dspace-tech'
Subject: 3RE: [Dspace-tech] OAI-PMH/OAI-ORE Harvesting configuration 
documentation

 

Hi Helix:

 

Thanks for the suggestion to use 
“oai/request?verb=ListRecords&metadataPrefix=ore”.

 

However, that doesn’t seem to work either:

 

1)  It uses “ <http://hdl.handle.net/%3cnumber%3e/%3cnumber%3e/ore.xml> 
http://hdl.handle.net///ore.xml”  as the atom:id to point to 
the ore.xml, but it never resolves, even though  
<http://hdl.handle.net/%3cnumber%3e/%3cnumber%3e> 
http://hdl.handle.net// will resolve to the item record. 

2)  I got stumped by the “bitstream.baseURL” for a bit, but then I 
remembered that I was using OAI-PMH response caching. I found some problems* 
when using the JSPUI for the bitstream.baseURL, so I’ve just switched to the 
XMLUI, and that seems good for providing access to the bitstreams.

 

*There seems to be a problem with URL encoding? For instance, 
jspui/bitstream/1/1/1/annual+report.pdf doesn’t work, but but 
jspui/bitstream/1/1/1/annual%20report.pdf. Unfortunately, the former is what is 
being displayed in the OAI-PMH ORE response, when using a “bitstream.baseURL” 
with “JSPUI” in it. However, xmlui/bitstream/1/1/1/annual+report.pdf will work… 
it’ll turn it into /xmlui/bitstream/handle/1/1/annual+report.pdf?sequence=1.

 

It really does seem that the OAI-PMH/OAI-ORE is set mostly set up to work with 
the XMLUI rather than the JSPUI. Which is fine… we’ll just use the XMLUI 
instead for harvesting purposes.

 

It also appears that neither the pre-3.x or 3.x+ methods for using OAI-ORE 
actually work though :S. Surely someone must be using these successfully?

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007

 

From: ivan.ma...@gmail.com <mailto:ivan.ma...@gmail.com>  
[mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Wednesday, 22 April 2015 6:57 PM
To: Hilton Gibson
Cc: David Cook; dspace-tech
Subject: Re: [Dspace-tech] OAI-PMH/OAI-ORE Harvesting configuration 
documentation

 

If DSpace is the harvester, you can harvest from any OAI-ORE-compliant provider.

 

If DSpace is the provider, it's only OAI-ORE-compliant if you point 
bitstream.baseUrl in oai.cfg to the UI you want to serve bitstreams. It's 
trivial but necessary because DSpace cannot know which UI you consider primary 
if you have both deployed, so it doesn't try to guess.



Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] 3RE: OAI-PMH/OAI-ORE Harvesting configuration documentation

2015-04-26 Thread David Cook
Hi Helix:

 

Thanks for the suggestion to use 
“oai/request?verb=ListRecords&metadataPrefix=ore”.

 

However, that doesn’t seem to work either:

 

1)  It uses “ <http://hdl.handle.net/%3cnumber%3e/%3cnumber%3e/ore.xml> 
http://hdl.handle.net///ore.xml”  as the atom:id to point to 
the ore.xml, but it never resolves, even though  
<http://hdl.handle.net/%3cnumber%3e/%3cnumber%3e> 
http://hdl.handle.net// will resolve to the item record. 

2)  I got stumped by the “bitstream.baseURL” for a bit, but then I 
remembered that I was using OAI-PMH response caching. I found some problems* 
when using the JSPUI for the bitstream.baseURL, so I’ve just switched to the 
XMLUI, and that seems good for providing access to the bitstreams.

 

*There seems to be a problem with URL encoding? For instance, 
jspui/bitstream/1/1/1/annual+report.pdf doesn’t work, but but 
jspui/bitstream/1/1/1/annual%20report.pdf. Unfortunately, the former is what is 
being displayed in the OAI-PMH ORE response, when using a “bitstream.baseURL” 
with “JSPUI” in it. However, xmlui/bitstream/1/1/1/annual+report.pdf will work… 
it’ll turn it into /xmlui/bitstream/handle/1/1/annual+report.pdf?sequence=1.

 

It really does seem that the OAI-PMH/OAI-ORE is set mostly set up to work with 
the XMLUI rather than the JSPUI. Which is fine… we’ll just use the XMLUI 
instead for harvesting purposes.

 

It also appears that neither the pre-3.x or 3.x+ methods for using OAI-ORE 
actually work though :S. Surely someone must be using these successfully?

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007

 

From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Wednesday, 22 April 2015 6:57 PM
To: Hilton Gibson
Cc: David Cook; dspace-tech
Subject: Re: [Dspace-tech] OAI-PMH/OAI-ORE Harvesting configuration 
documentation

 

If DSpace is the harvester, you can harvest from any OAI-ORE-compliant provider.

 

If DSpace is the provider, it's only OAI-ORE-compliant if you point 
bitstream.baseUrl in oai.cfg to the UI you want to serve bitstreams. It's 
trivial but necessary because DSpace cannot know which UI you consider primary 
if you have both deployed, so it doesn't try to guess.



Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] OAI-PMH/OAI-ORE Harvesting configuration documentation

2015-04-22 Thread David Cook
Hi all:

 

I think that I've found a bug in the OAI-ORE settings for DSpace 4.2.

 

I'm at a bit of a loss at the moment. I'm trying to set up a DSpace 4.2
repository to allow for OAI-ORE harvesting.

 

After reading through the documentation, I found that I was supposed to find
the ORE data at a link like "xmlui/metadata/handle/10137/624/ore.xml".
However, that led to a page saying that I should look at
"ore.authoritative.source".

 

So I looked at "ore.authoritative.source" and noticed it said "oai". It also
said I should set "dspace.oai.uri". I did that, and nothing happened. So I
looked at the wiki
(https://wiki.duraspace.org/display/DSDOC4x/OAI#OAI-OAI-PMH/OAI-OREHarvester
(Client)) and it said that it was actually "dspace.oai.url". So I set that
to "${dspace.baseUrl}/oai" like in the example.

 

The wiki said: The URIs generated for ORE ReMs follow the following
convention for either setting:
http://\[base-URL\]/metadata/handle/\[item-handle\]/ore.xml
<http://[base-URL/%5d/metadata/handle/%5bitem-handle/%5d/ore.xml> 

 

So I expected to find the URI at
http://mydspace.com/oai/metadata/handle/[item-handle]/ore.xml
<http://mydspace.com/oai/metadata/handle/%5bitem-handle%5d/ore.xml> , but
that took me to a 404 saying "Requested OAI context
"metadatahandle10137624ore.xml" does not exist".

 

So I decided to look at
http://mydspace.com//xmlui/metadata/handle/[item-handle]/ore.xml
<http://mydspace.com/xmlui/metadata/handle/%5bitem-handle%5d/ore.xml> . This
worked! Despite "ore.authoritative.source" saying "oai". I did notice though
that a lot of the URIs in the XML pointed to
http://mydspace.com/oai/metadata/handle/[item-handle]/ore.xml
<http://mydspace.com/oai/metadata/handle/%5bitem-handle%5d/ore.xml>
though.which was obviously no good.

 

So I switched "ore.authoritative.source" to "xmlui", but that pointed to
http://mydspace.com/jspui/metadata/handle/[item-handle]/ore.xml
<http://mydspace.com/jspui/metadata/handle/%5bitem-handle%5d/ore.xml> ,
since the jspui is defined in dspace.uri in the dspace.cfg file.

 

Finally:

 

I switched "ore.authoritative.source" to "oai" and changed "dspace.oai.url"
to "${dspace.baseUrl}/xmlui", since that creates the correct link.

 

This seems to me like it must be a bug. could anyone confirm this? 

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007

 

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] OAI-PMH/OAI-ORE Harvesting configuration documentation (one last thing)

2015-04-22 Thread David Cook
Hi yet again:

 

My mistake. it's even worse than I thought.

 

XMLUI format:
<http://mydspace.com/xmlui/bitstream/handle/%5bitem-handle%5d/filename.pdf?s
equence=1>
http://mydspace.com/xmlui/bitstream/handle/[item-handle]/filename.pdf?sequen
ce=1

 

JSPUI format:
http://mydspace.com/jspui/bitstream/[item-handle]/1/filename.pdf

 

If you look closely, you'll see that the JSPUI moves the sequence to just
after the handle. argh!

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007

 

From: David Cook [mailto:dc...@prosentient.com.au] 
Sent: Wednesday, 22 April 2015 4:55 PM
To: 'dspace-tech@lists.sourceforge.net'
Subject: RE: OAI-PMH/OAI-ORE Harvesting configuration documentation (another
thing)

 

Hi again:

 

Actually, it looks like there are still problems when I switched
"ore.authoritative.source" to "oai" and changed "dspace.oai.url" to
"${dspace.baseUrl}/xmlui". That fixes the  and some other atom
elements. 

 

However, all the references to the bitstreams are using "jspui"... which
creates invalid links. For instance,
<http://mydspace.com/jspui/bitstream/handle/%5bitem-handle%5d/filename.pdf?s
equence=1>
http://mydspace.com/jspui/bitstream/handle/[item-handle]/filename.pdf?sequen
ce=1. That's not going to work. However,
<http://mydspace.com/xmlui/bitstream/handle/%5bitem-handle%5d/filename.pdf?s
equence=1>
http://mydspace.com/xmlui/bitstream/handle/[item-handle]/filename.pdf?sequen
ce=1 will work. 

 

The JSPUI could only work in this case if it's of the format
<http://mydspace.com/jspui/bitstream/%5bitem-handle%5d/filename.pdf?sequence
=1>
http://mydspace.com/jspui/bitstream/[item-handle]/filename.pdf?sequence=1

 

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007

 

From: David Cook [mailto:dc...@prosentient.com.au] 
Sent: Wednesday, 22 April 2015 4:48 PM
To: 'dspace-tech@lists.sourceforge.net'
Subject: OAI-PMH/OAI-ORE Harvesting configuration documentation

 

Hi all:

 

I think that I've found a bug in the OAI-ORE settings for DSpace 4.2.

 

I'm at a bit of a loss at the moment. I'm trying to set up a DSpace 4.2
repository to allow for OAI-ORE harvesting.

 

After reading through the documentation, I found that I was supposed to find
the ORE data at a link like "xmlui/metadata/handle/10137/624/ore.xml".
However, that led to a page saying that I should look at
"ore.authoritative.source".

 

So I looked at "ore.authoritative.source" and noticed it said "oai". It also
said I should set "dspace.oai.uri". I did that, and nothing happened. So I
looked at the wiki
(https://wiki.duraspace.org/display/DSDOC4x/OAI#OAI-OAI-PMH/OAI-OREHarvester
(Client)) and it said that it was actually "dspace.oai.url". So I set that
to "${dspace.baseUrl}/oai" like in the example.

 

The wiki said: The URIs generated for ORE ReMs follow the following
convention for either setting:
http://\[base-URL\]/metadata/handle/\[item-handle\]/ore.xml
<http://[base-URL/%5d/metadata/handle/%5bitem-handle/%5d/ore.xml> 

 

So I expected to find the URI at
http://mydspace.com/oai/metadata/handle/[item-handle]/ore.xml
<http://mydspace.com/oai/metadata/handle/%5bitem-handle%5d/ore.xml> , but
that took me to a 404 saying "Requested OAI context
"metadatahandle10137624ore.xml" does not exist".

 

So I decided to look at
http://mydspace.com//xmlui/metadata/handle/[item-handle]/ore.xml
<http://mydspace.com/xmlui/metadata/handle/%5bitem-handle%5d/ore.xml> . This
worked! Despite "ore.authoritative.source" saying "oai". I did notice though
that a lot of the URIs in the XML pointed to
http://mydspace.com/oai/metadata/handle/[item-handle]/ore.xml
<http://mydspace.com/oai/metadata/handle/%5bitem-handle%5d/ore.xml>
though.which was obviously no good.

 

So I switched "ore.authoritative.source" to "xmlui", but that pointed to
http://mydspace.com/jspui/metadata/handle/[item-handle]/ore.xml
<http://mydspace.com/jspui/metadata/handle/%5bitem-handle%5d/ore.xml> ,
since the jspui is defined in dspace.uri in the dspace.cfg file.

 

Finally:

 

I switched "ore.authoritative.source" to "oai" and changed "dspace.oai.url"
to "${dspace.baseUrl}/xmlui", since that creates the correct link.

 

This seems to me like it must be a bug. could anyone confirm this? 

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007

 

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
ht

Re: [Dspace-tech] OAI-PMH/OAI-ORE Harvesting configuration documentation (another thing)

2015-04-22 Thread David Cook
Hi again:

 

Actually, it looks like there are still problems when I switched
"ore.authoritative.source" to "oai" and changed "dspace.oai.url" to
"${dspace.baseUrl}/xmlui". That fixes the  and some other atom
elements. 

 

However, all the references to the bitstreams are using "jspui"... which
creates invalid links. For instance,
<http://mydspace.com/jspui/bitstream/handle/%5bitem-handle%5d/filename.pdf?s
equence=1>
http://mydspace.com/jspui/bitstream/handle/[item-handle]/filename.pdf?sequen
ce=1. That's not going to work. However,
<http://mydspace.com/xmlui/bitstream/handle/%5bitem-handle%5d/filename.pdf?s
equence=1>
http://mydspace.com/xmlui/bitstream/handle/[item-handle]/filename.pdf?sequen
ce=1 will work. 

 

The JSPUI could only work in this case if it's of the format
<http://mydspace.com/jspui/bitstream/%5bitem-handle%5d/filename.pdf?sequence
=1>
http://mydspace.com/jspui/bitstream/[item-handle]/filename.pdf?sequence=1

 

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007

 

From: David Cook [mailto:dc...@prosentient.com.au] 
Sent: Wednesday, 22 April 2015 4:48 PM
To: 'dspace-tech@lists.sourceforge.net'
Subject: OAI-PMH/OAI-ORE Harvesting configuration documentation

 

Hi all:

 

I think that I've found a bug in the OAI-ORE settings for DSpace 4.2.

 

I'm at a bit of a loss at the moment. I'm trying to set up a DSpace 4.2
repository to allow for OAI-ORE harvesting.

 

After reading through the documentation, I found that I was supposed to find
the ORE data at a link like "xmlui/metadata/handle/10137/624/ore.xml".
However, that led to a page saying that I should look at
"ore.authoritative.source".

 

So I looked at "ore.authoritative.source" and noticed it said "oai". It also
said I should set "dspace.oai.uri". I did that, and nothing happened. So I
looked at the wiki
(https://wiki.duraspace.org/display/DSDOC4x/OAI#OAI-OAI-PMH/OAI-OREHarvester
(Client)) and it said that it was actually "dspace.oai.url". So I set that
to "${dspace.baseUrl}/oai" like in the example.

 

The wiki said: The URIs generated for ORE ReMs follow the following
convention for either setting:
http://\[base-URL\]/metadata/handle/\[item-handle\]/ore.xml
<http://[base-URL/%5d/metadata/handle/%5bitem-handle/%5d/ore.xml> 

 

So I expected to find the URI at
http://mydspace.com/oai/metadata/handle/[item-handle]/ore.xml
<http://mydspace.com/oai/metadata/handle/%5bitem-handle%5d/ore.xml> , but
that took me to a 404 saying "Requested OAI context
"metadatahandle10137624ore.xml" does not exist".

 

So I decided to look at
http://mydspace.com//xmlui/metadata/handle/[item-handle]/ore.xml
<http://mydspace.com/xmlui/metadata/handle/%5bitem-handle%5d/ore.xml> . This
worked! Despite "ore.authoritative.source" saying "oai". I did notice though
that a lot of the URIs in the XML pointed to
http://mydspace.com/oai/metadata/handle/[item-handle]/ore.xml
<http://mydspace.com/oai/metadata/handle/%5bitem-handle%5d/ore.xml>
though.which was obviously no good.

 

So I switched "ore.authoritative.source" to "xmlui", but that pointed to
http://mydspace.com/jspui/metadata/handle/[item-handle]/ore.xml
<http://mydspace.com/jspui/metadata/handle/%5bitem-handle%5d/ore.xml> ,
since the jspui is defined in dspace.uri in the dspace.cfg file.

 

Finally:

 

I switched "ore.authoritative.source" to "oai" and changed "dspace.oai.url"
to "${dspace.baseUrl}/xmlui", since that creates the correct link.

 

This seems to me like it must be a bug. could anyone confirm this? 

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007

 

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Restricted access hdl.handle.net link after authentication take us to Community screen rather than the item itself

2015-04-21 Thread Schuster, David
Is there a way to get directly to the item screen after the authentication?

Once they LDAP authenticate they can search and locate the item and view it...  
Seems odd.  The restriction is at the Collection level.

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Advanced Embargo: Dark Metadata

2015-04-21 Thread Robbins, Seth David
Hi Tim, 
For us there a couple of reasons, one is that we’re on Dspace 3, where the
default behavior (if I’m remembering correctly from when we upgraded) was
to withdraw items with the private flag in the InstallItem class. In the
future, we’ll likely just use the private flag to indicate a “dark” item.

The second reason for us to customize the embargo system is that our
original system was an in-house embargo module for space 1.5 (I think the
1.6 plugin was somewhat based on ours, I’m talking about Ideals here so,
Tim, you probably remember). We ended up cobbling together aspects of the
1.6 system and the 3.0 embargo system to more closely replicate the
interface we had previously. Essentially, we needed to support a
campus-only option that the simple embargo form didn’t have, but we didn’t
want to retrain our users to use the Advanced embargo form. We also wanted
to expand our embargo system to allow different embargoes to apply to
individual bitstreams, so we opted not to just port our 1.5 system. Most
of the logic is therefore controlled by resource policies on bitstreams,
but since we’re still supporting high-level item-centric options, we
needed to store that information in the metadata.

Thanks,
Seth   

  
On 4/21/15, 11:01 AM, "Tim Donohue"  wrote:

>Hi helix84 & Seth,
>
>Just out of curiousity, is there a particular reason why you wouldn't
>just use the "Access" Step instead of "hacking" the same thing via a
>temporary withdrawal & reinstate? The "Access" step already lets you
>specify that READ access wouldn't start until a particular date has
>passed. But, maybe I'm missing something about your particular use case?
>
>https://wiki.duraspace.org/display/DSDOC5x/Embargo#Embargo-AccessStep
>
>As noted in my other response to this thread, this functionality seems
>to already exist as part of the optional "Access" step (unless I'm
>misunderstanding something here?)
>
>http://dspace.2283337.n4.nabble.com/Advanced-Embargo-Dark-Metadata-tp46774
>98p4677503.html
>
>- Tim
>
>On 4/21/2015 10:55 AM, helix84 wrote:
>> On Tue, Apr 21, 2015 at 5:45 PM, Robbins, Seth David
>> mailto:srobb...@illinois.edu>> wrote:
>>
>> We do what Helix describes, but we¹re looking for another way. It's
>> a hack
>> to store information crucial to actionable business logic in the
>> descriptive metadata.
>>
>>
>> Depends on how you look at it - it is also a way to allow a wider group
>> of users to easily edit the date - the 1.6 embargo does the same thing.
>>
>> But if you insist, it's not any harder to make the curation task look at
>> resource policies instead of item metadata. You could use item resource
>> policy or a resource policy of one of the bitstreams or one with a
>> special name. Such implementation will still be contained within the
>> curation task and doesn't require changes to DSpace.
>>
>>
>> Regards,
>> ~~helix84
>>
>> Compulsory reading: DSpace Mailing List Etiquette
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>>
>>
>> 
>>-
>>-
>> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
>> Develop your own process in accordance with the BPMN 2 standard
>> Learn Process modeling best practices with Bonita BPM through live
>>exercises
>> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
>>event?utm_
>> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
>>
>>
>>
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette: 
>>https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Advanced Embargo: Dark Metadata

2015-04-21 Thread Robbins, Seth David
Hi Peter,
We do what Helix describes, but we¹re looking for another way. It's a hack
to store information crucial to actionable business logic in the
descriptive metadata.
Thanks,
Seth  

On 4/21/15, 9:28 AM, "helix84"  wrote:

>Hi Peter,
>
>the easiest thing I can think of with no new development is to put the
>items in archive as withdrawn, put embargo lift date in a metadata
>field and run a curation task daily to to "lift" the embargo
>(reinstate the items).
>
>
>Regards,
>~~helix84
>
>Compulsory reading: DSpace Mailing List Etiquette
>https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>--
>
>BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
>Develop your own process in accordance with the BPMN 2 standard
>Learn Process modeling best practices with Bonita BPM through live
>exercises
>http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
>event?utm_
>source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
>___
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech
>List Etiquette: 
>https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] ImageMagick media filter option

2015-04-14 Thread Schuster, David
I am currently using the Image Magick tool on the server to orient my images 
before loading them.

Is there a way to get the Dspace Imagemagic mediafilter to do that before it 
generates the thumbnail?

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Build Errors: DSpace 5.1 + MIRAGE 2

2015-04-09 Thread Baker, David A.
Graham, looks like I got my M-words mixed up. I meant to say, "...using the 
Mirage 2 theme..." instead of "Maven 2". I guess my question made no sense at 
all when phrased that way (c:

Thanks for helping me clarify that. I'm still curious as to why the build 
doesn't automatically install the pre-requisite software as it's supposed to 
each time it builds. Not a huge issue since it works if you manually install 
it, but I'm sure the devs would like to figure out why people are having an 
issue with it.


--
David Baker
Digital Resources & Web Development Specialist
P.H. Welshimer Memorial Library, Milligan College


On 04/08/2015 10:53 AM, Graham Triggs wrote:
Hi David,

The installation document states that Maven 3.x is required.

Regards,
Graham

On 06/04/2015 14:36:58, Baker, David A. 
<mailto:daba...@milligan.edu> wrote:

I'm attempting a fresh install of 5.1 using the Maven 2 theme on Debian Wheezy. 
I'm getting errors on the build. I've tried both:

mvn -U clean package -Dmirage.on=true
mvn package -Dmirage.on=true

I am not building as root, and I have also changed git to use port 443 with 
command:

git config --global url."https://github.com/";<https://github.com/>.insteadOf 
git://github.com/

I've attached the output from Maven

Thanks

--
David Baker
Digital Resources & Web Development Specialist
P.H. Welshimer Memorial Library, Milligan College

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Must I Build/Install as Tomcat service user?

2014-12-22 Thread Baker, David A.
Chris, I'm assuming there isn't any particular Linux distribution's, or other 
*nix OS's package manager that plays more nicely with DSpace.
Thanks for the input - I'll consider this route.

--
David Baker
Digital Resources & Web Development Specialist
Milligan College - P.H. Welshimer Memorial Library
423-461-8703 | library.milligan.edu<http://library.milligan.edu/>

From: Chris Gray [mailto:cpg...@uwaterloo.ca]
Sent: Friday, December 19, 2014 4:47 PM
To: dspace-tech@lists.sourceforge.net; Baker, David A.
Subject: Re: [Dspace-tech] Must I Build/Install as Tomcat service user?

You will run into many problems along the way.  I started that way and had to 
revert.

DSpace seems to be programmed under the assumption that $CATALINA_BASE is the 
same as $CATALINA_HOME (which it isn't under the Ubuntu/Debian package) and 
that Tomcat is run by the dspace user.  You'll have problems with DSpace 
looking in the wrong place for files and with file permission conflicts between 
the tomcat7 and dspace user.

If you don't want to fight with Ubuntu or with DSpace (and you won't win 
anyway),  then install Tomcat from a binary distribution from the Apache Tomcat 
site and install it as the dspace user.

Good luck,

Chris Gray
Systems Analyst
519-888-4567, ext. 35764
cpg...@uwaterloo.ca<mailto:cpg...@uwaterloo.ca>
University of Waterloo
On 14-12-19 03:33 PM, Baker, David A. wrote:
I'm doing some testing using Ubuntu server 14.04.1 and DSpace 4.2

Ubuntu's package manager creates a service user, tomcat7, for running Tomcat. 
So instead of fighting with Ubuntu, I am using that user to run the Tomcat 
service. Also, I have created a Linux user account, dspace, that I log into the 
server with.

Is it OK that I did my Maven/Ant build/install using my normal user, dspace, 
and then gave ownership and permissions of  all of my dspace files to the 
Tomcat user, tomcat7?

Ubuntu gives the tomcat7 user a home directory of "/usr/share/tomcat7" and a 
shell of "/bin/false", so without changing the user I am unable to do any 
building with it. Would it be better if I were to assign "/home/tomcat7" to my 
Tomcat service user so it can do the build, or is there some reason that the 
Ubuntu package manager has assigned "/usr/share/tomcat7" as the home directory? 
I don't want to break the service user account, and I don't want to cause some 
problem down the road by doing the build/install with a normal user.

Thanks for any info!

--
David Baker
Digital Resources & Web Development Specialist
Milligan College - P.H. Welshimer Memorial Library
423-461-8703 | library.milligan.edu<http://library.milligan.edu/>

[sig]





--

Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server

from Actuate! Instantly Supercharge Your Business Reports and Dashboards

with Interactivity, Sharing, Native Excel Exports, App Integration & more

Get technology previously reserved for billion-dollar corporations, FREE

http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk




___

DSpace-tech mailing list

DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/dspace-tech

List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Must I Build/Install as Tomcat service user?

2014-12-22 Thread Baker, David A.
Christian, what version of DSpace are you running? How long have you been 
running it like this?
Thanks!

Christian 
Scheible<http://www.mail-archive.com/search?l=dspace-tech@lists.sourceforge.net&q=from:%22Christian+Scheible%22>
 Mon, 22 Dec 2014 01:17:27 
-0800<http://www.mail-archive.com/search?l=dspace-tech@lists.sourceforge.net&q=date:20141222>
We just add the users dspace and tomcat7 to a shared group (like dspace) and 
recursivly add read/write permissions to the group for the dspace files and 
folders.

Am 20.12.2014 um 09:34 schrieb Hilton Gibson:
Hi David

This is what I do: 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S08#Step_8.5_Setup_Tomcat_server_permissions

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 19 December 2014 at 22:33, Baker, David A. mailto:daba...@milligan.edu>> wrote:

I’m doing some testing using Ubuntu server 14.04.1 and DSpace 4.2

Ubuntu’s package manager creates a service user, tomcat7, for
running Tomcat. So instead of fighting with Ubuntu, I am using
that user to run the Tomcat service. Also, I have created a Linux
user account, dspace, that I log into the server with.

Is it OK that I did my Maven/Ant build/install using my normal
user, dspace, and then gave ownership and permissions of  all of
my dspace files to the Tomcat user, tomcat7?

Ubuntu gives the tomcat7 user a home directory of
“/usr/share/tomcat7” and a shell of “/bin/false”, so without
changing the user I am unable to do any building with it. Would it
be better if I were to assign “/home/tomcat7” to my Tomcat service
user so it can do the build, or is there some reason that the
Ubuntu package manager has assigned “/usr/share/tomcat7” as the
home directory? I don’t want to break the service user account,
and I don’t want to cause some problem down the road by doing the
build/install with a normal user.

Thanks for any info!

--
David Baker

Digital Resources & Web Development Specialist

Milligan College – P.H. Welshimer Memorial Library

423-461-8703 | library.milligan.edu <http://library.milligan.edu/>

sig



--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and
Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration
& more
Get technology previously reserved for billion-dollar
corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
<mailto:DSpace-tech@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk


___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Intera

[Dspace-tech] Must I Build/Install as Tomcat service user?

2014-12-19 Thread Baker, David A.
I'm doing some testing using Ubuntu server 14.04.1 and DSpace 4.2

Ubuntu's package manager creates a service user, tomcat7, for running Tomcat. 
So instead of fighting with Ubuntu, I am using that user to run the Tomcat 
service. Also, I have created a Linux user account, dspace, that I log into the 
server with.

Is it OK that I did my Maven/Ant build/install using my normal user, dspace, 
and then gave ownership and permissions of  all of my dspace files to the 
Tomcat user, tomcat7?

Ubuntu gives the tomcat7 user a home directory of "/usr/share/tomcat7" and a 
shell of "/bin/false", so without changing the user I am unable to do any 
building with it. Would it be better if I were to assign "/home/tomcat7" to my 
Tomcat service user so it can do the build, or is there some reason that the 
Ubuntu package manager has assigned "/usr/share/tomcat7" as the home directory? 
I don't want to break the service user account, and I don't want to cause some 
problem down the road by doing the build/install with a normal user.

Thanks for any info!

--
David Baker
Digital Resources & Web Development Specialist
Milligan College - P.H. Welshimer Memorial Library
423-461-8703 | library.milligan.edu<http://library.milligan.edu/>

[sig]

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] JPEG generation image rotation

2014-10-03 Thread Schuster, David
I have jpgs taken in the portrait mode orientation showing 270 degree but when 
the thumbnail is created it isn't rotating the picture for display.  I am not 
using imagick and before I try and activate it wanted to verify it does what I 
need.

Or is there another way to get the thumbnails to show correctly?  Maybe I don't 
understand the orientation tag...

I can send you an example if needed for testing!!

Sent from my iPhone
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] For those of you doing retrospective scanning... need some equipment recommendations

2014-09-24 Thread Schuster, David
I'm looking at doing some scanning both print and possibly fiche/film.  What 
hardware(scanners) and software are you using to manage this retrospective work?

If you do have one here is what I'm interested in:

Do you like it?
Is there a lot of maintenance?
Make model of the unit?
How much does it get used say in a week/month?
What software do you use for editing and managing the images?

Thanks!  Pass this on to the right people if you don't know anything about what 
I'm asking!  Appreciate your help!

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Question to users of DSpace and how you Use Metadata

2014-09-24 Thread Schuster, David
When I installed Dspace 3.x it came with out of the box Dublin Core - I'm kinda 
new to all of this...  It has been fine, but now I am realizing that I don't 
have the following items

Thesis  - 0, 1, 2 ???
Department
Degree

One OAI harvest was looking for this information, but not sure the best way to 
add it or if I should...  Do I need to change my DB schema, is that a problem 
mid stream?  ETD-MS?

What indexing would need to be adjusted - ???  what headaches will I get??

Just trying to do the right thing...

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] JSPUI Change Text Elements

2014-09-24 Thread David Cook
No worries, Chris. I’m happy to help. I certainly understand delays. Between 
sickness, planning for holidays, planning for conferences, and regular work, I 
totally understand being busy ;).

 

Ahhh. In that case, you might find the following link useful:  
<https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-HowdoIupdateMessages.propertieswithoutrebuildingDSpace>
 
https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-HowdoIupdateMessages.propertieswithoutrebuildingDSpace?

 

You might find this link useful as well:  
<https://wiki.duraspace.org/pages/viewpage.action?pageId=19006090> 
https://wiki.duraspace.org/pages/viewpage.action?pageId=19006090

 

Basically you just need to drop the Messages.properties file into 
“[dspace]/webapps/jspui/WEB-INF/classes/”, and restart your servlet container 
(e.g. Tomcat). That TechnicalFaq link is helpful in that it tells you where to 
find the original Messages.properties so that you have an up-to-date file to 
modify.

 

Cheers,

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007

 

From: Chris Vella [mailto:ch...@calyx.net.au] 
Sent: Wednesday, 24 September 2014 4:39 PM
To: David Cook; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] JSPUI Change Text Elements

 

Thank you very much for the assistance David. Sorry for the delay, I have been 
flat out.

I take it this will only work if I have installed the instance from source? I 
installed my instance from the release tar. Does this mean I have to reinstall 
dspace to make this change?

 

Chris

 

On 22 September 2014 16:27, David Cook mailto:dc...@prosentient.com.au> > wrote:

Hey Chris:

Which version of DSpace are you working on?

Go into your [source] directory and do a ‘find -name “Messages.properties”’. 
You should see the following filepath 
“./dspace-api/src/main/resources/Messages.properties”.

 

You’ll want to copy that to 
“/dspace/modules/jspui/src/main/resources/Messages.properties”, and that’s 
where you’ll make your edits. When you re-build DSpace, that should come 
through into [dspace]/webapps/jspui/WEB-INF/classes/Messages.properties.

 

Let me know if that doesn’t work and we can troubleshoot some more.

 

Cheers!

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007

 

P.S. Say hi to Bob and Irma for me! : )

 

From: Chris Vella [mailto:ch...@calyx.net.au <mailto:ch...@calyx.net.au> ] 
Sent: Monday, 22 September 2014 3:26 PM
To: dspace-tech@lists.sourceforge.net 
<mailto:dspace-tech@lists.sourceforge.net> 
Subject: [Dspace-tech] JSPUI Change Text Elements

 

Hi everyone

I am in the process of customising a DSpace instance with JSPUI. I want to 
change the text elements that appear around the instance, for example: "DSpace 
Software <http://www.dspace.org/>  Copyright © 2002-2013  Duraspace 
<http://www.duraspace.org/>  - Feedback 
<http://demo-dspace.calyx.net.au:8080/feedback> " I believe:  is the correct tag.

>From reading the mailing list, it appears that the text is supposed to be 
>referenced in a Messages.properties file. However I do not have this file in 
>either my src or running instance.

 

Any guidance would be appreciated.

 

Christopher Vella

Calyx




-- 

Best Regards,
CALYX Support Team

supp...@calyx.net.au <mailto:supp...@calyx.net.au> 

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] JSPUI Change Text Elements

2014-09-21 Thread David Cook
Hey Chris:

Which version of DSpace are you working on?

Go into your [source] directory and do a ‘find -name “Messages.properties”’. 
You should see the following filepath 
“./dspace-api/src/main/resources/Messages.properties”.

 

You’ll want to copy that to 
“/dspace/modules/jspui/src/main/resources/Messages.properties”, and that’s 
where you’ll make your edits. When you re-build DSpace, that should come 
through into [dspace]/webapps/jspui/WEB-INF/classes/Messages.properties.

 

Let me know if that doesn’t work and we can troubleshoot some more.

 

Cheers!

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007

 

P.S. Say hi to Bob and Irma for me! : )

 

From: Chris Vella [mailto:ch...@calyx.net.au] 
Sent: Monday, 22 September 2014 3:26 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] JSPUI Change Text Elements

 

Hi everyone

I am in the process of customising a DSpace instance with JSPUI. I want to 
change the text elements that appear around the instance, for example: "DSpace 
Software <http://www.dspace.org/>  Copyright © 2002-2013  Duraspace 
<http://www.duraspace.org/>  - Feedback 
<http://demo-dspace.calyx.net.au:8080/feedback> " I believe:  is the correct tag.

>From reading the mailing list, it appears that the text is supposed to be 
>referenced in a Messages.properties file. However I do not have this file in 
>either my src or running instance.

 

Any guidance would be appreciated.

 

Christopher Vella

Calyx

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] DSPACE: (discovery) Is it possible to show a specific sidebarFacets for a specific collection?

2014-09-15 Thread David Cook
Hi Johanne:

 

1)  You need to also add “” 
under “” under the “EdusConfiguration”, or else 
it won’t show up in the sidebar facets for EdusConfiguration. It’ll show up as 
a search filter when searching, but not as a “facet”.

2)  You _cannot_ delete “” 
from “searchFilters” under the “defaultConfiguration”. That’s – what I consider 
to be  – the bug. The bean _must_ be in the “defaultConfiguration”. I think 
it’s very silly, but I have noticed this is necessary for it to work.

 

I imagine the reason why the facet appears on the “EdusConfiguration” after you 
delete it from “defaultConfiguration” is because the indexes are still full. 
Once you re-index the database, the indexes are emptied (because the bean isn’t 
referenced under “defaultConfiguration”) and the sidebar facets disappear.

 

If you keep “” under “” for both “defaultConfiguration” and 
“EdusConfiguration”, as well as under “”, you 
should be fine.


So:

 

1)  Add “” to “” under the “defaultConfiguration”

2)  Add “” to “” under the “EdusConfiguration”

3)  Add “” to “” under the “EdusConfiguration”

4)  “index-discovery –b”

5)  Restart Tomcat

6)  Note that "searchFilterDescriptionJournal” appears under the search 
filters when doing a search

7)  Note that “searchFilterDescriptionJournal” appears as a sidebar facet 
for the EdusConfiguration

8)  Profit : ) 

 

If you follow those exact steps, you should be fine. I have this working at the 
moment on a DSpace 4.2 instance.

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007

 

From: Johanne Crête [mailto:johanne.cr...@usherbrooke.ca] 
Sent: Tuesday, 16 September 2014 1:11 AM
To: David Cook; 'Terry Brady'
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] DSPACE: (discovery) Is it possible to show a 
specific sidebarFacets for a specific collection?

 

Hi David,

 

I resume all step that I have to execute to show a specific sidebarFacet for a 
specific collection:

 

1-  I add “” to the 
“searchFilters” under the “defaultConfiguration”

2-  I add “” to the 
“searchFilters” under the “EdusConfiguration”

3-  “index-discovery –b”

4-  I restart the servlet container (Tomcat)

 

RESULT : the sidebarfacet appears for the collection:  “defaultConfiguration” 
and “EdusConfiguration”

 

5-  I delete “” to the 
“searchFilters” under the “defaultConfiguration”

 

RESULT: the sidebarfacet appears on the “EdusConfiguration”, only on the 
specific collection. It’s exactly what I want, but….

 

6-  The problem is here:  if I execute “index-discovery –b” after the step 
5, then I restart the servlet container (Tomcat), the sidebarfacet disappears 
completely!

 

Thanks!

 

__

Johanne Crête

Technicienne en informatique

Service des bibliothèques et archives, Université de Sherbrooke

Sherbrooke (Québec) J1K 2R1 CANADA

 <mailto:johanne.cr...@usherbrooke.ca> johanne.cr...@usherbrooke.ca

(819) 821-8000, poste 66294

 <http://www.facebook.com/BibliothequesUdeS>   
<http://twitter.com/#!/BiblioUdeS>
<http://www.youtube.com/bibliosusherbrooke> 

 

 

 

De : David Cook [mailto:dc...@prosentient.com.au] 
Envoyé : 11 septembre 2014 20:36
À : Johanne Crête; 'Terry Brady'
Cc : dspace-tech@lists.sourceforge.net 
<mailto:dspace-tech@lists.sourceforge.net> 
Objet : RE: [Dspace-tech] DSPACE: (discovery) Is it possible to show a specific 
sidebarFacets for a specific collection?

 

Hi Johanne:

 

Did you also add  “” to “” under “defaultConfiguration”? If so, that would be 
incorrect. 

 

You just need “” under “” under “defaultConfiguration”. 

 

The “EdusConfiguration” that you posted originally looks good. You just need 
the “” under the 
“defaultConfiguration” “searchFilters” for some strange reason. Yes, I do think 
it’s a bug. I’ve already logged it here:  
<https://jira.duraspace.org/browse/DS-2132> 
https://jira.duraspace.org/browse/DS-2132. However, I would appreciate any 
comments you have to add to the bug.

 

So, to re-iterate, you want “” to 
show up under “searchFilters” and “sidebarFacets” for “EdusConfiguration”, and 
ONLY under “searchFilters” for “defaultConfiguration”. After that, 
“index-discovery -b” and restart Tomcat. If I understand you correctly, that 
should show the Description Journal facet only for the handle associated with 
“EdusConfiguration”.

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007

 

From: Johanne Crête [mailto:johanne.cr...@usherbrooke.ca] 
Sent: Thursday, 11 September 2014 11:58 PM
To: David Cook; 'Terry Brady'
Cc: dspace-tech@lists.sourceforge.net 
<mailto:dspace-tech@lists.sourceforge.net> 
Subject: RE: [Dspace-tech] DSPACE: (discovery) Is it possible to show a 
specific sidebarFacets for a specific collection?

 

Thanks for your answer.

 

Like you wr

[Dspace-tech] Lucene causes Dspace to crash

2014-09-15 Thread Robbins, Seth David
Hello,
We’re running Dspace 3.2 with XMLUI. Our production instance recently crashed 
with a segmentation fault. According to the fatal error report generated by the 
JVM, it appears to have been caused by lucene while reading from the search 
indexes (The problematic frame is 
org.apache.lucene.index.SementTermPositions.skipPositions(), I’ll spare you the 
thread dump). Has anyone here experiences anything similar before. I’m 
wondering if some bit of the search index has been corrupted, or if this is 
just a freak accident.
Thanks,
Seth

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] DSPACE: (discovery) Is it possible to show a specific sidebarFacets for a specific collection?

2014-09-11 Thread David Cook
Hi Johanne:

 

Did you also add  “” to “” under “defaultConfiguration”? If so, that would be 
incorrect. 

 

You just need “” under “” under “defaultConfiguration”. 

 

The “EdusConfiguration” that you posted originally looks good. You just need 
the “” under the 
“defaultConfiguration” “searchFilters” for some strange reason. Yes, I do think 
it’s a bug. I’ve already logged it here:  
<https://jira.duraspace.org/browse/DS-2132> 
https://jira.duraspace.org/browse/DS-2132. However, I would appreciate any 
comments you have to add to the bug.

 

So, to re-iterate, you want “” to 
show up under “searchFilters” and “sidebarFacets” for “EdusConfiguration”, and 
ONLY under “searchFilters” for “defaultConfiguration”. After that, 
“index-discovery -b” and restart Tomcat. If I understand you correctly, that 
should show the Description Journal facet only for the handle associated with 
“EdusConfiguration”.

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007

 

From: Johanne Crête [mailto:johanne.cr...@usherbrooke.ca] 
Sent: Thursday, 11 September 2014 11:58 PM
To: David Cook; 'Terry Brady'
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] DSPACE: (discovery) Is it possible to show a 
specific sidebarFacets for a specific collection?

 

Thanks for your answer.

 

Like you wrote, if I add “” to the 
“searchFilters” under the “defaultConfiguration” and then  “index-discovery 
–b”, then restart your servlet container (Tomcat),  the sidebarfacet is show. 
It’s great, but the facet appear on the superior level. 

 

After that, I just delete the add “” to the “searchFilters” under the “defaultConfiguration” WHITOUT 
“index-discovery –b”. The sidebarfacet appear just for the specific collection! 
 Is it a bug? Because, for keeping this sidebarfacet, I can’t “index-discovery 
–b”!

 

__

Johanne Crête

Technicienne en informatique

Service des bibliothèques et archives, Université de Sherbrooke

Sherbrooke (Québec) J1K 2R1 CANADA

 <mailto:johanne.cr...@usherbrooke.ca> johanne.cr...@usherbrooke.ca

(819) 821-8000, poste 66294

 <http://www.facebook.com/BibliothequesUdeS>   
<http://twitter.com/#!/BiblioUdeS>
<http://www.youtube.com/bibliosusherbrooke> 

 

 

 

De : David Cook [mailto:dc...@prosentient.com.au] 
Envoyé : 9 septembre 2014 03:06
À : 'Terry Brady'; Johanne Crête
Cc : dspace-tech@lists.sourceforge.net 
<mailto:dspace-tech@lists.sourceforge.net> 
Objet : RE: [Dspace-tech] DSPACE: (discovery) Is it possible to show a specific 
sidebarFacets for a specific collection?

 

Hi Johanne:

 

You might need to add “” to the 
“searchFilters” under the “defaultConfiguration” as well.

 

I think it’s a bug, but I’ve noticed that I can only get custom facets to show 
up in non-default configurations, if I have the bean referenced in the 
defaultConfiguration searchFilters.

 

Try following my suggestion, then “index-discovery –b”, then restart your 
servlet container (Tomcat,Jetty,etc). 

 

I bet you that does the trick ;). 

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007

 

From: Terry Brady [mailto:terry.br...@georgetown.edu] 
Sent: Thursday, 4 September 2014 5:36 AM
To: Johanne Crête
Cc: dspace-tech@lists.sourceforge.net 
<mailto:dspace-tech@lists.sourceforge.net> 
Subject: Re: [Dspace-tech] DSPACE: (discovery) Is it possible to show a 
specific sidebarFacets for a specific collection?

 

Your approach should work.  

 

After making the change, did you restart DSpace and rebuild your discovery 
index?

 

Once you are able to see the new facets, you will also need to update your 
messages.xml with the name of your facet.







 

Terry

 

 

On Wed, Sep 3, 2014 at 11:49 AM, Johanne Crête mailto:johanne.cr...@usherbrooke.ca> > wrote:

I am using DSpace 4.1 and I want to show a specific sidebarFacets for a 
specific collection. I try to do this by adding a new 
"org.dspace.discovery.configuration.DiscoveryConfiguration" in discovery.xml. 
And a new entry key for the specific collection. But, I don't see this 
sidebarFacets. There is another solution to do this?

 

DISCOVERY.XML

--











   

   

  

   

   



 ….

 













































...

Re: [Dspace-tech] DSPACE: (discovery) Is it possible to show a specific sidebarFacets for a specific collection?

2014-09-09 Thread David Cook
Hi Johanne:

 

You might need to add “” to the 
“searchFilters” under the “defaultConfiguration” as well.

 

I think it’s a bug, but I’ve noticed that I can only get custom facets to show 
up in non-default configurations, if I have the bean referenced in the 
defaultConfiguration searchFilters.

 

Try following my suggestion, then “index-discovery –b”, then restart your 
servlet container (Tomcat,Jetty,etc). 

 

I bet you that does the trick ;). 

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007

 

From: Terry Brady [mailto:terry.br...@georgetown.edu] 
Sent: Thursday, 4 September 2014 5:36 AM
To: Johanne Crête
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] DSPACE: (discovery) Is it possible to show a 
specific sidebarFacets for a specific collection?

 

Your approach should work.  

 

After making the change, did you restart DSpace and rebuild your discovery 
index?

 

Once you are able to see the new facets, you will also need to update your 
messages.xml with the name of your facet.







 

Terry

 

 

On Wed, Sep 3, 2014 at 11:49 AM, Johanne Crête mailto:johanne.cr...@usherbrooke.ca> > wrote:

I am using DSpace 4.1 and I want to show a specific sidebarFacets for a 
specific collection. I try to do this by adding a new 
"org.dspace.discovery.configuration.DiscoveryConfiguration" in discovery.xml. 
And a new entry key for the specific collection. But, I don't see this 
sidebarFacets. There is another solution to do this?

 

DISCOVERY.XML

--











   

   

  

   

   



 ….

 













































 ….

 









dc.description.journal













...

 

 

 

 


--
Slashdot TV.
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net <mailto:DSpace-tech@lists.sourceforge.net> 
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette





 

-- 

Terry Brady

Applications Programmer Analyst

Georgetown University Library Information Technology

https://www.library.georgetown.edu/lit/code

425-298-5498 

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Authorizations

2014-09-08 Thread David Cook
Hi Keir:

That's exactly it. New policies don't extend to previously created items,
bundles, and bitstreams. If you look in the docs, there is a mention that
permissions don't "commute".

The Advanced Policy manager is what you need. Really, it's not a "manager"
per se. It's just a tool that clears policies and adds policies in a batch
job. "READ" is the default for the dropdown menu, so it will always say
"READ". It's a limited tool, but it's nicer than trying to work out all the
SQL yourself. I can assure you that it does work, at least in Dspace 4.2. I
was just using it yesterday to update permissions/authorizations for past
bitstreams.

The technique is just to create the group you want, add the e-people to it,
choose "item" (or "bitstream"), choose the collection, and then choose the
authorization you want to add. You'll need to do this multiple times if you
want to apply multiple "actions" (eg read, write, add, etc). 

What problem are you encountering? I was stumped yesterday when I couldn't
update item metadata in the JSPUI, but I figured it out eventually. While I
had authorization for the item, I didn't have authorization for the
bitstream. The current JSPUI has a peculiarity (I would call it a bug) where
it updates item metadata and bitstream metadata at the same time. If you
want to get around that, fix your authorizations or use the XMLUI (which
separates out the item and bitstream metadata update pages).

By the way, Keir, I actually work just down the street from you. If you ever
want to chat Dspace, I'm happy to meet up or you can give me a call at 02
9212 0899. I am literally just a walk away ;).

David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St, Ultimo, NSW 2007

> -Original Message-
> From: Keir Vaughan-Taylor [mailto:k...@physiol.usyd.edu.au]
> Sent: Tuesday, 9 September 2014 9:00 AM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] Authorizations
> 
> Using DSpace 4.1
> I want to create a new group and then define access policies where say all
> the items in a collection are viewable and by users in that group.
> 
> Using the AccessControl->Authorization menu then manage community and
> manage collection policies I have tried adding  Read, default_item_read
and
> also default bitstream_read but users in that new group cannot view items
> already in the collection.
> 
> I can give access to users in the new group by placing the group in a
> previously existing group that has access to all the items and then they
get
> access. The trouble is that previous give has attributes that I don't want
> extended to this new group.
> 
> Its as though new policies won't extend to previously created objects.
> Is there perhaps a way of forcing this through with SQL?
> 
> I tried the Advanced Policy manager only the utility seems to allow one
policy
> for any particular group. The Advance Policy Manager initially appears
with
> the action READ and even if the policy is changed the next time it still
appears
> with READ as the default action and no indication of what a group might
> previously have been set to. Doesn't sem to work anyway.
> 
> My basic need is to create a group and give access to all items in a
collection
> to persons in that group. Is there a technique to get this working?
> 
> 
> 
> --
> Keir Vaughan-Taylor
> ERA DSpace Administrator
> Rm:123 Fisher Library University of Sydney k...@physiol.usyd.du.au
> ph:+61 2 9351 7408
> mb:+61 434 606 885
> 
> 
>

--
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.cl
> ktrk
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Question about includerestricted.oai = false

2014-08-22 Thread Schuster, David
I found this page and it refers to XMLUI and JPSUI but version 1.6:

https://wiki.duraspace.org/display/DSPACE/Hide+Community+or+Collection+from+list

I am currently on 4.x and I have a collection read set to a specific group not 
Anonymous, but those items in the collection are still showing in 
scholar.google.com

Other than going through and setting restrictions on each item is there a way 
to make OAI ignore this collection?

I'm still learning the intricacies of all the "policies" settings and how they 
interact with item level access.

If someone else is on 4.x and has this working I would love to have a 
discussion about how you made this work.  I have thousands of Marketing Photos 
they want loaded, but with campus only access.  I have the UI in Dspace working 
it's the external Google and OAI access that I'm trying to figure out now how 
to restrict.(I know it is counter intuitive when dealing with open access, but 
we have to take baby steps when introducing an IR and getting buy in across 
campus.)

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Managing input-forms.xml

2014-07-31 Thread David Cook
Hey folks:

 

What do people think about changing DSpace so that input-forms.xml can use
XInclude?

 

If I understand correctly, we'd just need to add the following line of code:

 

"factory. setXIncludeAware(true);"

 

Beneath
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/ds
pace/app/util/DCInputsReader.java#L116

 

We'd also need to update the DTD for input-forms.xml so that "xi:include"
would be a valid element in the document.

 

--

 

It seems to me that using XInclude could make the management of
input-forms.xml much easier. "input-forms.xml" gets absolutely massive when
adding new forms. So if we had separate XML documents for each form, and
then used XInclude to include them into "input-forms.xml" that could make
maintenance easier. 

 

I suppose it could make it harder to do global updates to input-forms.xml
though. but it would be easier to keep the forms separate. I suppose you
could just search within input-forms.xml using the form name you want. it's
just not very user-friendly.

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007

 

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Embargo description in resource policy.

2014-07-29 Thread Robbins, Seth David
Thanks Mark,
Will do.

From: mdigg...@gmail.com [mailto:mdigg...@gmail.com] On Behalf Of Mark Diggory
Sent: Tuesday, July 29, 2014 2:52 PM
To: Robbins, Seth David
Cc: DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Embargo description in resource policy.

Hello David,

As I was active in design of these changes, I'll chime in here. There was not a 
specific reason on limiting the size of this field. Making a change here and in 
future dspace versions would be welcome. Feel free to open a ticket.

Best Regards,
Mark

On Tue, Jul 29, 2014 at 12:39 PM, Robbins, Seth David 
mailto:srobb...@illinois.edu>> wrote:
Hi all,
We’re on version 3.2 using the xmlui with a postgres database.

We recently migrated from 5.2, and had done some work to alter our legacy 
custom embargo system to be more-or-less compatible with the newer policy-based 
embargo system (described in DS-108). We had some issues stemming from the fact 
that the description attribute in the resourcepolicy table is a varchar(100) 
while our legacy system stored the reason in an unlimited text field. While we 
rarely need more, limiting the reason to one hundred characters has caused some 
workflow issues for some of our users. Also, as it comes out of the box, the 
dspace master throws an uncaught PSQLException when a reason longer than 100 
characters is entered during the submission access step (we’ve been avoiding 
the exception through form validation). We were considering logging a ticket to 
ask that the fields type be changed to ‘text’ or expanded to a wider varchar. 
As a preliminary to logging said ticket, I wanted to ask a few questions here:

Does anyone know why the resourcepolicy.rpdescription field is limited to 100 
characters?
Are there any other bugs on the Jira that might be related to this?
Thanks,
Seth Robbins

--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
[Image removed by sender. @mire Inc.]

Mark Diggory
2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
http://www.atmire.com<http://www.atmire.com/>


--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Embargo description in resource policy.

2014-07-29 Thread Robbins, Seth David
Hi all,
We're on version 3.2 using the xmlui with a postgres database.

We recently migrated from 5.2, and had done some work to alter our legacy 
custom embargo system to be more-or-less compatible with the newer policy-based 
embargo system (described in DS-108). We had some issues stemming from the fact 
that the description attribute in the resourcepolicy table is a varchar(100) 
while our legacy system stored the reason in an unlimited text field. While we 
rarely need more, limiting the reason to one hundred characters has caused some 
workflow issues for some of our users. Also, as it comes out of the box, the 
dspace master throws an uncaught PSQLException when a reason longer than 100 
characters is entered during the submission access step (we've been avoiding 
the exception through form validation). We were considering logging a ticket to 
ask that the fields type be changed to 'text' or expanded to a wider varchar. 
As a preliminary to logging said ticket, I wanted to ask a few questions here:

Does anyone know why the resourcepolicy.rpdescription field is limited to 100 
characters?
Are there any other bugs on the Jira that might be related to this?
Thanks,
Seth Robbins
--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Community admins cannot move item if core.authorization.community-admin.item.delete in dspace.cfg is false

2014-07-09 Thread Robbins, Seth David
Hi all,
We, at IDEALS, recently upgraded our DSpace version from 1.5.2 to 3.2, and for 
continuity we decided to prevent community and collection level admins from 
deleting items using the delagation settings in dspace.cfg. This causes the 
delete button in the administrative Item status form to be grayed out, as 
expected. However, when a collection or community-level admin attempts to move 
an Item (via the "Move" button on the same interface) an unhandled exception is 
thrown with the wording: "Authorization denied for action REMOVE." The 
exception is thrown because the processMoveItem method attempts to use 
Collection.removeItem to dissociate the Item from its previous collection. The 
first thing that method does is authorize the user for the remove action, even 
when the Item won't actually be deleted.

It seems like the fix would be to check for this authorization only when the 
item is orphaned (i.e. when the conditions for permanent deletion have been 
met).

I haven't tried to replicate this with an out-of-the-box dspace build, but 
looking through github, it looks like it should be replicable on the master 
branch and not be unique to us. Is anyone able to replicate this issue. Have 
any similar bugs been reported on the JIRA, I found DS-5020 
(https://jira.duraspace.org/browse/DS-2050), which might be related, but didn't 
see anything else.
Thanks,
Seth Robbins
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Permissions and recent submissions with 4.1 xmlui

2014-07-08 Thread Schuster, David
I have restricted a collection to logged in users, but recent submissions still 
shows these at the collection level, and people can download without logging in.

Is this a bug or "works as intended?"  or more likely "doesn't know what he is 
doing and has something setup wrong"

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] missing messages.xml and upload/delete problems

2014-07-06 Thread David Cook
Hey Bill:

 

I noticed your message on an online archive of the mailing list
(https://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg25331.htm
l)

 

I appear to be having a similar problem. Deletions take ages and are
accompanied by warnings in the log like such:

 

2014-07-07 14:54:21,187 WARN  org.dspace.discovery.IndexEventConsumer @
REMOVE event, could not get object for BUNDLE id=456419, perhaps it has been
deleted.

2014-07-07 14:54:21,188 WARN  org.dspace.discovery.IndexEventConsumer @
REMOVE event, could not get object for BUNDLE id=456418, perhaps it has been
deleted.

2014-07-07 14:54:21,190 WARN  org.dspace.discovery.IndexEventConsumer @
MODIFY event, could not get object for ITEM id=253164, perhaps it has been
deleted.

2014-07-07 14:54:21,190 WARN  org.dspace.discovery.IndexEventConsumer @
REMOVE event, could not get object for ITEM id=253164, perhaps it has been
deleted.

 

It's a fairly vanilla DSpace 4.0 in that there are no Java-based changes.
Just changes to config and theme.

 

This looks like a nightmare to debug.

 

-David

 

 

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Solr-backed Browse Question

2014-06-25 Thread David Cook
Hi folks:

 

I have a question about how Solr-backed browse works.

 

I'm not intimately familiar with Solr so my terminology might not be
accurate, but I hope you understand the spirit of what I'm asking:

 

I assume that there are browse indexes in Solr for each field type to be
searched (e.g. "title", "author", "subject", etc). 

 

When a browse link is clicked, a "match all" query is run against that
browse index. It is then sorted alphabetically and ordered
ascending/descending. The results shown are then based on an offset and
result limit (e.g. 20).

 

So the first set of results is 0-19 then the next page is 20-40 and so on.

 

I notice though that there are also "jump to" features where you can specify
the first few letters or the letter it starts with (e.g. E). In this case,
how does it know what offset to use? 

 

I've poked around the code a bit and it looks like each author's place in
the sorted list is determined by a "sort value" that is determined prior to
indexing. That way, you can query the data however you want but are always
able to step back or forward by your "result limit".

 

Is that the case?

 

If so, how does adding/modifying records factor into this? Surely it would
be quite a performance hit to re-sort all the browse indexes each time you
add/modify a record, no?

 

I would love some enlightenment : ).

 

Thanks,

 

-David

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Problem with new items but collection is restricted

2014-06-12 Thread Schuster, David
I have dspace displaying new items that are submitted.  But I have collections 
that are restricted access.  These new items are showing on my new items 
display and are clickable to download without restrictions.

I can't remember where the number of new items to display is set.  I'm thinking 
for now I need to set that to Zero and not display any new items.

Is there a setting someplace that I can change so that restricted collections 
don't show in the new items list?

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Following up on Jira DS-740 - thumnail derivitive has different permission than original

2014-06-09 Thread Schuster, David
https://jira.duraspace.org/browse/DS-740

I see there is a pull request on this from May 28th.  What are the chances that 
this will make it into the next release?  Just curious as this is a feature I 
am very interested in as well.  Our marketing department would like to load 
photos, and use the request a copy feature, but allow users to see a thumbnail.

I know Helix mentioned the ability to do this through a curration task, but I 
hesitate do go through the pain(on my end) to build one if there is a solution 
on the horizon.

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Workflow step, but now item isn't displaying

2014-06-06 Thread Schuster, David
So I was setting up a new collection and had a workflow step for someone to 
validate the Metadata.  All was good, until they clicked on the Submit, but 
they didn't have submit/Add rights.  I can now get to the item with the handle 
as expected with a login, but I can't find the item in the browse display so I 
think there is a setting in the postgres that is telling it to not display.

Any suggestions or where to start looking to fix this?  I have a couple of 
other items in another collection that I must have set the rights to not 
display? But can't figure out what they are and what I need to do so they can 
be seen?

I know this as it says in the collection count 3, but the system is only 
displaying 1 item.

HELP?!!

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Problems with JPEG media filter and Branded

2014-05-27 Thread Schuster, David
After disabling



thumbnail.blurring

and

thumbnail.hqscaling

in dspace.cfg I am able to run the jpeg image filtering thank you for the tip!

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

--
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Unable to register our repository to openarchives.org

2014-05-22 Thread Schuster, David
What version are you on?  I had problems with this on version 3.x but moving to 
4.2 resolved most of my problems.

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

--
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Problems with JPEG media filter and Branded

2014-05-19 Thread Schuster, David
Are there limits to the size of the JPEG that the filter will create thumbnails 
of?  Our Marketing department provided me some files, but they are pretty big - 
10 MB and when I run media filter on it I get

./dspace filter-media -i 11274/446 -p "JPEG Thumbnail" -v
The following MediaFilters are enabled:
Full Filter Name: org.dspace.app.mediafilter.JPEGFilter
org.dspace.app.mediafilter.JPEGFilter
original size: 6016.0,4016.0
x scale factor: 0.013297873
new size: 80.0,53.404255
created thumbnail size: 80.0, 53.404255
Exception: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferInt.(DataBufferInt.java:75)
at 
java.awt.image.SinglePixelPackedSampleModel.createDataBuffer(SinglePixelPackedSampleModel.java:242)
at java.awt.image.Raster.createWritableRaster(Raster.java:941)
at java.awt.image.BufferedImage.getData(BufferedImage.java:1427)
at 
java.awt.image.ConvolveOp.createCompatibleDestImage(ConvolveOp.java:280)
at java.awt.image.ConvolveOp.filter(ConvolveOp.java:177)
at 
org.dspace.app.mediafilter.JPEGFilter.getBlurredInstance(JPEGFilter.java:226)
at 
org.dspace.app.mediafilter.JPEGFilter.getDestinationStream(JPEGFilter.java:148)
at 
org.dspace.app.mediafilter.MediaFilterManager.processBitstream(MediaFilterManager.java:737)
at 
org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:561)
   at 
org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:511)
at 
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:479)
at 
org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:353)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)

If I resize the file to 69 KB it runs the filter without a problem.

My memory is set to 2048 max do I need to increase that and what are the 
proportions?

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

--
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Import from Dspace to OJS

2014-05-09 Thread David Aznar
Title: Documento sin título

  
  
Hi:

We know that we can export from OJS to Dspace with SWORD. We would
like something on  the other way around


We have a number of  journals  (back issues) in our Institutional
Repository with Dspace,  (previous to the installation of OJS in the
university), and we would like to add these  journals  with all the
issues and years to OJS.

Does anyone know any initiative about this question?.

Thank you very much for your help.

David


-- 
  
  
  
  

  


   
   David Aznar Lafont
Gestión y desarrollo web
Bibliotecario temático de Derecho
Servicio Bibliotecas 
31080 Pamplona - España 
Tel. 948 425 600 Ext. 2015 
Biblioteca
  Unika
@davidaznar
  Twitter
Perfil en LinkedIn
Mis presentaciones y publicaciones
  

  

  

  

--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] OAI harvesting and validation with Open Archives validation

2014-04-17 Thread Schuster, David
Thanks to everyone on this poar.twu.edu is now registered!

Hilton, Yes I had to manually remove the requests and rerun the import  –c –o 
–v  - and then when I verified with the open archive all went well!

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

From: Hilton Gibson [mailto:hilton.gib...@gmail.com]
Sent: Thursday, April 17, 2014 9:25 AM
To: João Melo
Cc: Schuster, David; Lista técnica do DSpace; Bram Luyten
Subject: Re: [Dspace-tech] OAI harvesting and validation with Open Archives 
validation

Plse read the urgent notice if you are using DSpace 3.2 before clearing the OAI 
cache.

http://wiki.lib.sun.ac.za/index.php/SUNScholar/Harvesting/3.2

Regards


Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson

On 17 April 2014 15:25, João Melo mailto:jm...@lyncode.com>> 
wrote:

Hi David,

Looks like a caching issue. Have you upated your dspace? Or is this a fresh 
install? Clean the OAI cache, it should fix it.

Let me know if it worked for you

From my mobile
On 17 Apr 2014 14:04, "Schuster, David" 
mailto:dschus...@mail.twu.edu>> wrote:
That is very odd…  I’m running Dspace 4.1, on Debian, postgresql.  What is the 
demo running on?

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

From: bluy...@gmail.com<mailto:bluy...@gmail.com> 
[mailto:bluy...@gmail.com<mailto:bluy...@gmail.com>] On Behalf Of Bram Luyten
Sent: Thursday, April 17, 2014 6:43 AM
To: Schuster, David
Cc: dspace-tech@lists.sourceforge.net<mailto:dspace-tech@lists.sourceforge.net>
Subject: Re: [Dspace-tech] OAI harvesting and validation with Open Archives 
validation

Hi David,

interesting challenge.

So far I didn't succeed in reproducing this problem on 
demo.dspace.org<http://demo.dspace.org>. The following query does return the 
result with exactly this modified date:

http://demo.dspace.org/oai/request?verb=ListRecords&from=2014-04-16T11:13:35Z&until=2014-04-16T11:13:35Z&metadataPrefix=oai_dc

Trying this on your own server with a different item also returns a result:

http://poar.twu.edu/oai/request?verb=ListRecords&from=2014-02-04T08:01:23Z&until=2014-02-04T08:01:23Z&metadataPrefix=oai_dc

So I'm puzzled by what you're seeing for the item you reported.

rgds

Bram

--
[logo]

Bram Luyten +1 202 684 6365
2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
www.atmire.com<http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=braml>


On Wed, Apr 16, 2014 at 7:17 PM, Schuster, David 
mailto:dschus...@mail.twu.edu>> wrote:
I am trying to validate my system with Open Archives with OAI, but am getting 
the following error.


Complete log available at

http://www.openarchives.org/Register/ValidateSite?log=15723

..

Unfortunately your repository did not validate at version 2.0 of the OAI-PMH 
according to our OAI protocol conformance tester. The errors received during 
testing are listed below.



[1] ListRecords response gave a noRecordsMatch error when it should have 
included at least the record with identifier 
oai:poar.twu.edu:11274/73<http://poar.twu.edu:11274/73>. The from and until 
parameters of the request were set to the datestamp of this record 
(2014-02-04T08:00:52Z). The from and until parameters are inclusive, see 
protocol spec section 2.7.1. The message included in the error response

was: 'No matches for the query'

SUMMARY:

Total exceptions improperly handled: 1 out of 15 Total error count: 1

When I investigate this particular error, my system isn’t providing anything 
back in this range, but if you move the seconds apart one it will locate the 
appropriate resource, just not the one edited at that specific second.

Test validation that fails
http://poar.twu.edu/oai/request?verb=ListRecords&from=2014-02-04T08:00:52Z&until=2014-02-04T08:00:52Z&metadataPrefix=oai_dc

Retrieves appropriate document:
http://poar.twu.edu/oai/request?verb=ListRecords&from=2014-02-04T08:00:51Z&until=2014-02-04T08:00:52Z&metadataPrefix=oai_dc

So is there a way to modify the OAI request to be “between or equals?”

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu&l

Re: [Dspace-tech] OAI harvesting and validation with Open Archives validation

2014-04-17 Thread Schuster, David
That is very odd…  I’m running Dspace 4.1, on Debian, postgresql.  What is the 
demo running on?

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

From: bluy...@gmail.com [mailto:bluy...@gmail.com] On Behalf Of Bram Luyten
Sent: Thursday, April 17, 2014 6:43 AM
To: Schuster, David
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] OAI harvesting and validation with Open Archives 
validation

Hi David,

interesting challenge.

So far I didn't succeed in reproducing this problem on 
demo.dspace.org<http://demo.dspace.org>. The following query does return the 
result with exactly this modified date:

http://demo.dspace.org/oai/request?verb=ListRecords&from=2014-04-16T11:13:35Z&until=2014-04-16T11:13:35Z&metadataPrefix=oai_dc

Trying this on your own server with a different item also returns a result:

http://poar.twu.edu/oai/request?verb=ListRecords&from=2014-02-04T08:01:23Z&until=2014-02-04T08:01:23Z&metadataPrefix=oai_dc

So I'm puzzled by what you're seeing for the item you reported.

rgds

Bram

--
[logo]

Bram Luyten +1 202 684 6365
2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
www.atmire.com<http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=braml>


On Wed, Apr 16, 2014 at 7:17 PM, Schuster, David 
mailto:dschus...@mail.twu.edu>> wrote:
I am trying to validate my system with Open Archives with OAI, but am getting 
the following error.


Complete log available at

http://www.openarchives.org/Register/ValidateSite?log=15723

..

Unfortunately your repository did not validate at version 2.0 of the OAI-PMH 
according to our OAI protocol conformance tester. The errors received during 
testing are listed below.



[1] ListRecords response gave a noRecordsMatch error when it should have 
included at least the record with identifier 
oai:poar.twu.edu:11274/73<http://poar.twu.edu:11274/73>. The from and until 
parameters of the request were set to the datestamp of this record 
(2014-02-04T08:00:52Z). The from and until parameters are inclusive, see 
protocol spec section 2.7.1. The message included in the error response

was: 'No matches for the query'

SUMMARY:

Total exceptions improperly handled: 1 out of 15 Total error count: 1

When I investigate this particular error, my system isn’t providing anything 
back in this range, but if you move the seconds apart one it will locate the 
appropriate resource, just not the one edited at that specific second.

Test validation that fails
http://poar.twu.edu/oai/request?verb=ListRecords&from=2014-02-04T08:00:52Z&until=2014-02-04T08:00:52Z&metadataPrefix=oai_dc

Retrieves appropriate document:
http://poar.twu.edu/oai/request?verb=ListRecords&from=2014-02-04T08:00:51Z&until=2014-02-04T08:00:52Z&metadataPrefix=oai_dc

So is there a way to modify the OAI request to be “between or equals?”

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]


--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

<>--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] OAI harvesting and validation with Open Archives validation

2014-04-16 Thread Schuster, David
I am trying to validate my system with Open Archives with OAI, but am getting 
the following error.


Complete log available at

http://www.openarchives.org/Register/ValidateSite?log=15723

..

Unfortunately your repository did not validate at version 2.0 of the OAI-PMH 
according to our OAI protocol conformance tester. The errors received during 
testing are listed below.



[1] ListRecords response gave a noRecordsMatch error when it should have 
included at least the record with identifier oai:poar.twu.edu:11274/73. The 
from and until parameters of the request were set to the datestamp of this 
record (2014-02-04T08:00:52Z). The from and until parameters are inclusive, see 
protocol spec section 2.7.1. The message included in the error response

was: 'No matches for the query'

SUMMARY:

Total exceptions improperly handled: 1 out of 15 Total error count: 1

When I investigate this particular error, my system isn't providing anything 
back in this range, but if you move the seconds apart one it will locate the 
appropriate resource, just not the one edited at that specific second.

Test validation that fails
http://poar.twu.edu/oai/request?verb=ListRecords&from=2014-02-04T08:00:52Z&until=2014-02-04T08:00:52Z&metadataPrefix=oai_dc

Retrieves appropriate document:
http://poar.twu.edu/oai/request?verb=ListRecords&from=2014-02-04T08:00:51Z&until=2014-02-04T08:00:52Z&metadataPrefix=oai_dc

So is there a way to modify the OAI request to be "between or equals?"

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

<>--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] DSpace 4 Users in the US

2014-04-07 Thread Schuster, David
We have made the jump to 4.1

Poar.twu.edu

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

<>--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] 4.1 and user statistics

2014-04-03 Thread Schuster, David
I have dspace.cfg set to:

report.public = true

which is supposed to report stats to the public, but the only way I see stats 
currently is if I am logged in??  Anyone else see this?

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

<>--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] FW: OAI Validation (step 2): http://poar.twu.edu/oai/request

2014-03-28 Thread Schuster, David
So I am happy to be on 4.2 and glad to see most of the OAI process actually 
working well.  But I'm getting this error message from Cornell when I try to 
validate the system.  Any thoughts on what I need to fix this?

From: Apache [apa...@victoria01.serverfarm.cornell.edu]
Sent: Thursday, March 27, 2014 11:04 PM
To: Schuster, David
Subject: OAI Validation (step 2): http://poar.twu.edu/oai/request

We received a request to validate (but not register) the following repository:

Base URL: http://poar.twu.edu/oai/request
adminEmail: dschus...@twu.edu

Complete log available at
http://www.openarchives.org/Register/ValidateSite?log=25341

..

Unfortunately your repository did not validate at version 2.0 of the OAI-PMH
according to our OAI protocol conformance tester. The errors received during
testing are listed below.

[1] ListRecords response gave a noRecordsMatch error when it should have
included at least the record with identifier oai:poar.twu.edu:11274/73. The
from and until parameters of the request were set to the datestamp of this
record (2014-02-04T08:00:52Z). The from and until parameters are inclusive,
see protocol spec section 2.7.1. The message included in the error response
was: 'No matches for the query'


SUMMARY:

Total exceptions improperly handled: 1 out of 15
Total error count: 1

..

To help find your errors, you might use Hussein Suleman's Repository Explorer
at <http://purl.org/net/oai_explorer>. Note that the Repository Explorer has
less stringent tests than this validation service but provides a very
convenient way to examine and navigate OAI responses.

If you wish to rerun the validation tests, you may do so by accessing the
following URL:

http://www.openarchives.org/Register/ValidateSite?c=J7J7YRX6

If there is something you do not understand about these validation tests or
something you think is in error, please email simeon.war...@cornell.edu.

The OAI validation service is supported through NSF award number 0127308.


--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Question about SAFBuilder and multiple bitstreams

2014-03-27 Thread Schuster, David
http://sourceforge.net/p/dspace/mailman/message/28289097/

>From this I understand you can load multiple bitstreams packaged by 
>SAFBuilder.  So in the "filename" column of the spreadsheet you put each of 
>these bitstream names?

image.tiff\tbundle:PRESERVATION
image.png
something.txt

The tiff goes to preservation, and the .png, and .txt go to ORIGINAL?
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Mobile theme and 4.x

2014-03-26 Thread Schuster, David
So I have a custom theme, very basic.  With the mobile theme how do I implement 
that with 4.x?  There wasn't much documentation at all on the wiki?  I looked 
in sunscholar and it had the basic readme file from the mobile theme.

Installation:

0.  Get a new domain name that is an alias of the existing domain name
for your DSpace installation.
e.g. if your current domain is yoursite.edu your new domain name
might be mobile.yoursite.edu
These instructions assume that the new domain name starts with 'mobile.'
If it is something else, you will need to make a change in Step 5.

1.  Copy the mobile theme folder into your XMLUI theme folder
e.g. ../dspace/webapps/xmlui/themes/

2.  Add a call for the detectmobile.js and cookies.js file in the header
of your current main theme.xsl file.
It should look like:
&#160;
&#160;
* In this file, we also add a "View mobile site" link in the footer
section, which allows users to view the full site on their
mobile devices.  The cookies.js file saves this preference
but it's erased when the session is closed.
If you want such a link, the code for this should look like the following
(with the appropriate URL for your mobile site):
http://mobile.yoursite.edu';">
View mobile site

3.  Open the detectmobile.js file and enter your new mobile domain
at the end of the function call e.g. mobile.yoursite.edu
* if you choose a different domain name or theme name other than
"mobile" make sure to update the settings in the sitemap.xmap

4.  In mobile.xsl, find the link "View full website" and replace the
references to yoursite.edu with the domain name for your main site.
* lines 255-257

5.  Replace or edit the themes.xmap file located in your default theme
folder e.g. ../dspace/webapps/xmlui/themes/
* The code for setting up the properties for the domain is in
lines 32-37.  This will need to be changed if the domain name
for your mobile site starts with something other than 'mobile.'

6.  Restart tomcat and now you should be able to see the mobile theme
in action; to change the look-and-feel, you can go to
http://jquerymobile.com/themeroller/ and either create your own
files or import/upgrade the uncompressed sc-mobile.css file.


Still working on step 0.  Step 1 I have done,   But where is the "main 
theme.xsl file" or would that be in my instance TWU.xsl? that looks like below 
or what from the original Mirage theme would this be called?

http://apache.org/cocoon/i18n/2.1";
xmlns:dri="http://di.tamu.edu/DRI/1.0/";
xmlns:mets="http://www.loc.gov/METS/";
xmlns:xlink="http://www.w3.org/TR/xlink/";
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0"
xmlns:dim="http://www.dspace.org/xmlns/dspace/dim";
xmlns:xhtml="http://www.w3.org/1999/xhtml";
xmlns:mods="http://www.loc.gov/mods/v3";
xmlns:dc="http://purl.org/dc/elements/1.1/";
xmlns="http://www.w3.org/1999/xhtml";
exclude-result-prefixes="i18n dri mets xlink xsl dim xhtml mods dc">




















With step 4 - when I look at this I think they redirected this to the 
dspace.cfg? so I don't need to do this step anymore?
   
createCookie('viewfull','true','','$dspace.hostname');window.location='';
View full website


Thanks for any help and guidance to make this process easier!  As a newbie I'm 
still learning!  I will document changes as I see them, I can't code, but I can 
help clarify!


David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

<>--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] A few problems in DSpace 4.0

2014-03-16 Thread David Cook
Hey folks:

 

I just wanted to point out a few problems that we've been having in DSpace
4.0. 

 

1)  When you delete a collection, if you double-click the delete button,
you'll generate an Internal System Error (since it's trying to delete the
collection again but it has already been deleted via the first click). It
would make more sense to either gracefully catch that error or prevent
double submitting.

 

2)  When you delete a collection, if you single-click the delete button,
but have a high number of items in your database, deleting a collection can
take almost 5 minutes (presumably as it scans through all the items,
unfinished submissions, and auth policies?). Perhaps there is a more
efficient way to do this? 

 

3)  When you're at the "Edit template > Edit" screen in the JSPUI for a
collection, you will see options such as "Move item" which should only be
seen when modifying an actual item and not just a template. If you try to
move an item, you will create an Internal System Error. This isn't a problem
in the XMLUI.

 

I don't think these issues have been fixed in DSpace 4.1 (I haven't checked
myself [yet]), so I figured I'd bring them up here. Let me know if they're
worthy of filing on JIRA. I think I have a login.

 

-David

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Upgrading to 4 and postgres DB update

2014-03-12 Thread Schuster, David
psql -U  -f 
/dspace/dspace-4.0-release/dspace/etc/postgres/database_schema_3-4.sql  worked like a charm.

I now have 4.0 up and running.  Had a little high blood pressure there for a 
bit, but I'm operational again!

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

From: Bill Tantzen [mailto:wile...@gmail.com]
Sent: Wednesday, March 12, 2014 1:43 PM
To: Schuster, David
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Upgrading to 4 and postgres DB update

David,
I believe I ran into some problems running the update scripts as dspace.  
Everything ran smooth however, when running them as postgres.

hth!
Bill

On Wed, Mar 12, 2014 at 12:51 PM, Schuster, David 
mailto:dschus...@mail.twu.edu>> wrote:
Does it matter what user I am when I run this?  Postgre, dspace, root?

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]


--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

<>--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Upgrading to 4 and postgres DB update

2014-03-12 Thread Schuster, David
OK I think I was able to do the schema change...  I will report back if things 
actually work!

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

From: Bill Tantzen [mailto:wile...@gmail.com]
Sent: Wednesday, March 12, 2014 1:43 PM
To: Schuster, David
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Upgrading to 4 and postgres DB update

David,
I believe I ran into some problems running the update scripts as dspace.  
Everything ran smooth however, when running them as postgres.

hth!
Bill

On Wed, Mar 12, 2014 at 12:51 PM, Schuster, David 
mailto:dschus...@mail.twu.edu>> wrote:
Does it matter what user I am when I run this?  Postgre, dspace, root?

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]


--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

<>--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Upgrading to 4 and postgres DB update

2014-03-12 Thread Schuster, David
Does it matter what user I am when I run this?  Postgre, dspace, root?

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

<>--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Successful 4.0 upgrades?

2014-03-08 Thread Schuster, David
People upgrading from 3.2 to 4.0 and now in production what problems did you 
have to resolve to get into production?

We will be on spring break next week and I was thinking now would be an 
excellent time to upgrade.

Thanks again!!!  You all are the best!

Sent from my iPhone
--
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Anyone using the beta image gallery?

2014-03-08 Thread Schuster, David
If you are I would be curious to see how it works and tell me what version you 
are on.

TWU marketing department and I are looking at ways we can use our existing 
dspace instance to provide better access to their photos they collect.

Thanks for replies!!

Sent from my iPhone
--
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] I just did my 3.2 upgrade and everything looks good, but...

2014-03-08 Thread Schuster, David
So if I make changes to dspace-source when I do the next upgrade they will be 
recognized?  I'm pretty new to this so it is still magic to me when it happens.

Most of my if not all of them are cosmetic so easy to reimplement but just 
looking down the road to easier upgrades.

The tomcat and Catalina caching I believe is what maybe threw me off with this 
upgrade.  Seeing 3.1 after upgrades when everything seemed to go ok.  Just my 
themes hadn't been updated...

Sent from my iPhone

> On Mar 8, 2014, at 1:10 PM, "helix84"  wrote:
> 
>> On Sat, Mar 8, 2014 at 7:50 PM, Schuster, David  
>> wrote:
>> It looks like I wasn't updating the themes right or tomcat as when I removed 
>> files in the tomcat rebuilt and then opened it I see 3.2.  Now to identify 
>> those changes I made in 3.1 and reimplement.  I'm documenting those changes 
>> for future reference.
>> 
>> I presume that is why you are supposed to make changes to source and run 
>> ant?  How will those changes get reimplemented in 4 or will I have to 
>> reimplement them again?
> 
> That depends on the type of changes. Changes to themes can be made in
> the [dspace]/webapps/xmlui/themes/ directory as long as you remember
> during upgrades/rebuilds that you didn't put them into [dspace-src].
> Same goes for configuration changes.
> 
> As far as themes go, my recommendation is to make a minimal skeleton
> custom theme that inherits all the XSL templates from its parent theme
> and only keep your template overrides in it. That way you get free
> updates to the base theme during any DSpace upgrade. Of course, you
> still have to port any changes to the templates you customized
> manually. But I've yet to write extensive documentation on this
> method.
> 
> Any changes to .java source files are recommended to be made as
> overlays (see [1]) so that you can easily see what changes you made
> and update them as needed for the new version. Alternatively, if you
> prefer to use a version control system for keeping track of changes, a
> diff between the unmodified and customized source of the same version
> would serve the same purpose. In both cases you need to run both maven
> and ant to build and deploy such changes.
> 
> 
> [1] https://ideals.illinois.edu/handle/2142/11915
> 
> 
> Regards,
> ~~helix84
> 
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] 3.2 missing my stats from 3.1

2014-03-08 Thread Schuster, David
Where do those live ?  Maybe my permissions are wrong someplace...  I 
discovered I ran the upgrade as the wrong user so am having to fix some 
permissions ..

Sent from my iPhone
--
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] I just did my 3.2 upgrade and everything looks good, but...

2014-03-07 Thread Schuster, David
How can I verify that I am actually running 3.2?  When I look at the "control 
panel" it still says 3.1.

I'm running Debian and as I read through the install notes I see this:
  If you're using Tomcat, you should first delete any existing
 [echo]DSpace directories in '$CATALINA_HOME/webapps/' (e.g. you would
 [echo]delete an existing $CATALINA_HOME/webapps/dspace/ directory).
 [echo]Otherwise, Tomcat may continue to use old code in that directory.
But I am not familiar with Tomcat7 so I can't figure out where this 
$CATALINA_HOME/webapps directory would be...

Any help would be appreciated before I try to upgrade to 4.0 next week.

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

<>--
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Troubles with upgrading from 3.1 to 3.2 and then to 4?

2014-03-06 Thread Schuster, David
Has anyone done these upgrades lately and what should I anticipate in the way 
of problems or "opportunities" to have to work through?

Thanks for advice!

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
Phone: 940-898-3909
dschus...@twu.edu<mailto:dschus...@twu.edu>

[Description: emailsignature]

<>--
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] EncodeURLTransformer in XMLUI

2014-02-26 Thread David Cook
 

Sorry for yet another follow-up.

I thought it was worth mentioning that the java.net.URLEncoder is used in
the following files:

 

Dri2xhtml/DIM-Handler.xsl

Dri2xhtml-alt/aspect/artefact/browser/COinS.xsl

 

Although they use the following:

 



 

Not 100% sure if it's necessary to include the UTF-8 flag or not. According
to the docs
(http://docs.oracle.com/javase/7/docs/api/java/net/URLEncoder.html), "if an
encoding is not specified, then the default encoding of the platform is
used".

Suppose it can't hurt to include it.

 

-David

 

From: David Cook [mailto:dc...@prosentient.com.au] 
Sent: Thursday, 27 February 2014 12:10 PM
To: 'dspace-tech'
Subject: RE: EncodeURLTransformer in XMLUI

 

Belay that last message! I figured it out!

 

In hindsight, I'm not sure how I thought the "EncodeURLTransformer" could
possibly do what I wanted it to do. After all, if it got something like:

 

a href="/browse?type=subject&value=buildings & structures"

It would be hooped. There's no way for it to know that "structures" is part
of "value" and not the beginning of its own key.

 

Of course, I don't think that "EncodeURLTransformer" was working anyway, or
at least wasn't working the way that the documentation makes it seem that it
would work. But whatever.

 

I did find a solution!

I noticed this line in one of my XSLTs:
xmlns:encoder="xalan://java.net.URLEncoder"

 

So I did a bit of research into Xalan and using Java functions in XSLTs
(I've only done it a bit with Perl and PHP in the past), and voila! 



 

Instead of  or .

 

The value that I'm adding into the URL is now URL encoded ^_^

 

Of course, using XSLT 2.0 would be preferable (as helix84 and other folks
have mentioned), but I don't want to deviate too much from the mainstream at
the moment.

 

Links regarding XSLT 2.0 and Saxon v. Xalan

https://jira.duraspace.org/browse/DS-995

http://dspace.2283337.n4.nabble.com/Why-does-DSpace-use-XSLT-1-0-td3750179.h
tml


-David

 

References on Xalan and using Java in XSLTs:

http://www17.homepage.villanova.edu/william.pohlhaus/xsl/java/

http://xml.apache.org/xalan-j/extensions.html


Xalan looks quite powerful although I'm sure a person wouldn't want to go
overboard with using it to provide non-standard functions in a XSLT in the
event that we were to switch to Saxon or some other processor.

 

From: David Cook [mailto:dc...@prosentient.com.au] 
Sent: Wednesday, 26 February 2014 5:53 PM
To: 'dspace-tech'
Subject: EncodeURLTransformer in XMLUI

 

Hi all:

 

Has anyone actually got the EncodeURLTransformer to work in the XMLUI?

 

I've created a custom theme based on Mirage. I've added the following into
my theme's map:components:

 







 

And I've added  before the final serialize
to xhtml.

 

There are still spaces in the URL and ampersand entities that should've been
URL encoded instead of HTML encoded.

I should mention that I'm trying to create "browse" links for specific
metadata values in the simple item record view.

 

I see that the Discovery browses are URL encoded, but it looks like that
happens at the Java level.

 

Any ideas, folks?

 

 

 

-David

 

Related links: 

 

https://wiki.duraspace.org/pages/viewpage.action?pageId=19006367

 

http://sourceforge.net/p/dspace/mailman/message/13584834/

 

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] EncodeURLTransformer in XMLUI

2014-02-26 Thread David Cook
Belay that last message! I figured it out!

 

In hindsight, I'm not sure how I thought the "EncodeURLTransformer" could
possibly do what I wanted it to do. After all, if it got something like:

 

a href="/browse?type=subject&value=buildings & structures"

It would be hooped. There's no way for it to know that "structures" is part
of "value" and not the beginning of its own key.

 

Of course, I don't think that "EncodeURLTransformer" was working anyway, or
at least wasn't working the way that the documentation makes it seem that it
would work. But whatever.

 

I did find a solution!



I noticed this line in one of my XSLTs:
xmlns:encoder="xalan://java.net.URLEncoder"

 

So I did a bit of research into Xalan and using Java functions in XSLTs
(I've only done it a bit with Perl and PHP in the past), and voila! 



 

Instead of  or .

 

The value that I'm adding into the URL is now URL encoded ^_^

 

Of course, using XSLT 2.0 would be preferable (as helix84 and other folks
have mentioned), but I don't want to deviate too much from the mainstream at
the moment.

 

Links regarding XSLT 2.0 and Saxon v. Xalan

https://jira.duraspace.org/browse/DS-995

http://dspace.2283337.n4.nabble.com/Why-does-DSpace-use-XSLT-1-0-td3750179.h
tml


-David

 

References on Xalan and using Java in XSLTs:



http://www17.homepage.villanova.edu/william.pohlhaus/xsl/java/

http://xml.apache.org/xalan-j/extensions.html


Xalan looks quite powerful although I'm sure a person wouldn't want to go
overboard with using it to provide non-standard functions in a XSLT in the
event that we were to switch to Saxon or some other processor.



 

From: David Cook [mailto:dc...@prosentient.com.au] 
Sent: Wednesday, 26 February 2014 5:53 PM
To: 'dspace-tech'
Subject: EncodeURLTransformer in XMLUI

 

Hi all:

 

Has anyone actually got the EncodeURLTransformer to work in the XMLUI?

 

I've created a custom theme based on Mirage. I've added the following into
my theme's map:components:

 







 

And I've added  before the final serialize
to xhtml.

 

There are still spaces in the URL and ampersand entities that should've been
URL encoded instead of HTML encoded.

I should mention that I'm trying to create "browse" links for specific
metadata values in the simple item record view.

 

I see that the Discovery browses are URL encoded, but it looks like that
happens at the Java level.

 

Any ideas, folks?

 

 

 

-David

 

Related links: 

 

https://wiki.duraspace.org/pages/viewpage.action?pageId=19006367

 

http://sourceforge.net/p/dspace/mailman/message/13584834/

 

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] EncodeURLTransformer in XMLUI

2014-02-25 Thread David Cook
Hi all:

 

Has anyone actually got the EncodeURLTransformer to work in the XMLUI?

 

I've created a custom theme based on Mirage. I've added the following into
my theme's map:components:

 







 

And I've added  before the final serialize
to xhtml.

 

There are still spaces in the URL and ampersand entities that should've been
URL encoded instead of HTML encoded.

I should mention that I'm trying to create "browse" links for specific
metadata values in the simple item record view.

 

I see that the Discovery browses are URL encoded, but it looks like that
happens at the Java level.

 

Any ideas, folks?

 

 

 

-David

 

Related links: 

 

https://wiki.duraspace.org/pages/viewpage.action?pageId=19006367

 

http://sourceforge.net/p/dspace/mailman/message/13584834/

 

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Installing Dspace 4.x on a server running tomcat behind apache that also runs drupal - can't access dspace

2014-02-24 Thread David Cook
Hi Charlene:

 

I'm no networking expert, but here are my general thoughts.

1) I imagine accessing a file directly (e.g. /ccn/sitemap.xmap) works,
because it sounds like DSpace is being stored in the DocumentRoot of Apache.
However, since DSpace isn't being served directly by Apache, I don't see why
they would've told you to put it there :S. It could (perhaps even 'should')
be somewhere else, since Tomcat is the only thing that needs to access
DSpace directly. Apache (httpd) should just be acting as a proxy.



2) How is Tomcat configured? Check out Tomcat's server.xml (or the other xml
files you might've created to store your webapp config in). What paths are
used? What port is used? Following standard instructions, I'm guessing port
8080 and /xmlui. If you go to your virtual server's IP address followed by
that port and path (e.g. www.example.com:8080/xmlui), do you see DSpace?

 

3) Connect Apache (httpd) and Tomcat. I haven't used .htaccess files for a
while (since I've had access to the virtual host configuration) and I tend
to use mod_proxy rather than mod_rewrite, so I'm not much help with that
RewriteRule. Here is a non-DSpace example using mod_proxy though (which is
dead easy): http://tomcat.apache.org/connectors-doc-archive/jk2/proxy.html. 

 

I tend to run Tomcat on 8080 so I would write something like the following
in an Apache vhost running on port 80:

 

ProxyPass /xmlui  <http://localhost:8080/xmlui> http://localhost:8080/xmlui

ProxyPassReverse /xmlui  <http://localhost:8080/xmlui>
http://localhost:8080/xmlui

 

If you're running your xmlui as the default webapp in Tomcat, it would be
something like :

 

ProxyPass / http://localhost:8080/

ProxyPassReverse / http://localhost:8080/

 

It looks like you're using mod_proxy_ajp, which I've never used but there's
some info here: http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html

 

Looks like the same thing except using ajp and thus 8009 which appears to be
the port associated with the AJP connector. You might be running into issues
there but I have no idea.

 

In any case, you should be able to use the above Proxy directives when using
a .htaccess file as well, except that the root (i.e. "/") will be the
directory in which your htaccess file resides (I think). 

 

So, if I understand correctly, the following rule should work provided that
"ccn" is your xmlui webapp. If "ccn" isn't the name that denotes your xmlui
webapp in your Tomcat config, you're probably going to run into trouble. 

 

RewriteRule ^(/.*)$ ajp://localhost:8009/ccn/$1 [P,L]

 

4) Other thoughts.if you're getting 403 errors.make sure that Tomcat can
read the DSpace directory. You might also want to check the Apache config to
make sure that there isn't an Apache directive that is controlling access to
that directory.

 

Ultimately, I would just to see if you can access DSpace through Tomcat, and
if so, then try to work out the proxy. 

 

Good luck!

 

-David

 

From: Charlene Chinda Barina [mailto:cbar...@uw.edu] 
Sent: Friday, 21 February 2014 3:32 AM
To: dspace-tech
Subject: [Dspace-tech] Installing Dspace 4.x on a server running tomcat
behind apache that also runs drupal - can't access dspace

 

Hi,

 

I'm a bit confused about what's going on in this installation.

 

We're on a virtual server and they are running tomcat behind apache. They've
told me to create a subdirectory in /www for dspace, and using tomcat
manager, which is www/ccn, I was able to successfully deploy the xmlui
webapp from that (according to what tomcat manager says). The problem is, I
can't seem to figure out how to actually access the site.

 

I've tried the url in a brower with the server IP address/ccn, and it gives
me a 403 forbidden. I've also tried the link directly from the server in
lynx with localhost/ccn and it still gives me a 403 forbidden. I've changed
build.properties baseurl and url files to all sorts of variations of the IP
address, localhost, using no ports, using ports 80 and 8080 explicitly, and
nothing going.

 

In case this is useful to know, the admins also said I had to use a
.htaccess files with something like this:

 

RewriteRule ^(/.*)$ ajp://localhost:8009/ccn/$1 [P,L]

 

If I try to access a file directly, e.g., /ccn/sitemap.xmap, it does load
up. 

 

The other piece is that the main site is running on drupal, which does url
rewrites(?)/redirects(?) as well, such as www.website/contact
<http://www.website/contact> , so I am wondering if this is affecting my
attempts to get dspace on the site as a subdirectory.

 

Greatly appreciate any ideas, insights, or thoughts on how I could actually
see the site.

 

Thanks,

Charlene

 

-- 

Charlene Barina, MPH

Research Analyst 

Re: [Dspace-tech] Statistics not working after upgrading Dspace

2014-02-24 Thread David Abeijón
Hello, 

I discovered that the problem was due to the cron jobs:


In order that statistical reports are generated regularly and thus kept up
to date you should set up the following cron jobs:
# Run stat analysis
0 1 * * * [dspace]/bin/dspace stat-general
0 1 * * * [dspace]/bin/dspace stat-monthly
0 2 * * * [dspace]/bin/dspace stat-report-general
0 2 * * * [dspace]/bin/dspace stat-report-monthly


Regards,

- David -

..


-Mensaje original-
De: David Abeijón [mailto:david.abei...@uca.es] 
Enviado el: viernes, 21 de febrero de 2014 12:52
Para: dspace-tech@lists.sourceforge.net
Asunto: [Dspace-tech] Statistics not working after upgrading Dspace

Hello,

Since I upgraded our Dspace repository from v1.6.2 to 1.7.2, the statistics
report is not showing information:
"http://web-address-to-my-dspace/xmlui/statistics"; 
It shows the message "reports not available at this moment".

The weird thing is that I can see statistics for each item:
"http://web-address-to-my-dspace/xmlui/handle/15469/12371/statistics"; and
the total visits in "http://web-address-to-my-dspace/xmlui/statistics-home";
 
I tested SOLR and it is responding queries like :
"http://localhost:8080/solr/search/select/?q=*:*&rows=0"; or
"http://localhost:8080/solr/statistics/select?q=*:*";

Any idea?

Thank you,

- David -

..





--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Statistics not working after upgrading Dspace

2014-02-21 Thread David Abeijón
Hello,

Since I upgraded our Dspace repository from v1.6.2 to 1.7.2, the statistics
report is not showing information:
"http://web-address-to-my-dspace/xmlui/statistics"; 
It shows the message "reports not available at this moment".

The weird thing is that I can see statistics for each item:
"http://web-address-to-my-dspace/xmlui/handle/15469/12371/statistics"; and
the total visits in "http://web-address-to-my-dspace/xmlui/statistics-home";
 
I tested SOLR and it is responding queries like :
"http://localhost:8080/solr/search/select/?q=*:*&rows=0"; or
"http://localhost:8080/solr/statistics/select?q=*:*";

Any idea?

Thank you,

- David -

..




--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] oai_dc metadata format [Dspace 1.7.2]

2014-02-20 Thread David Abeijón
Hello,

Finally it works. There was a problem with the value of the property
Crosswalks.oai_dc=org.dspace.app.oai.OAIDCCrosswalk in the file
[dspace]\config\oaicat.properties.

Thank you.
- David -
..

-Mensaje original-
De: David Abeijón [mailto:david.abei...@uca.es] 
Enviado el: miércoles, 19 de febrero de 2014 13:59
Para: dspace-tech@lists.sourceforge.net
Asunto: Re: [Dspace-tech] oai_dc metadata format [Dspace 1.7.2]

Hello,

I don't know how to make it work, maybe it is because we have upgraded from
1.6.2 to 1.7.2 and something was wrong. Do I have to config this in
dspace.cgf file?

Thanks.
- David -

..


-Mensaje original-
De: Emilio Lorenzo [mailto:elore...@arvo.es] 
Enviado el: miércoles, 19 de febrero de 2014 12:41
Para: dspace-tech@lists.sourceforge.net
CC: "David Abeijón"
Asunto: Re: [Dspace-tech] oai_dc metadata format [Dspace 1.7.2]

Hello David,
I think oai_dc was standard in oai for version 1.7.2. From the 1.7 manual:
"DSpace comes with an unqualified DC Crosswalk used in the default OAI-PMH
data provider. There are also other Crosswalks bundled with the DSpace
distribution which can be activated by editing one or more configuration
files. How to do this for each available Crosswalk is described below. The
DSpace source includes the following crosswalk plugins available for use
with OAI-PMH"

If it doesn´t exists perhaps you could check the presence of
oaidc.properties  file

thanks
Emilio

David Abeijón
> Hello,
>
>
>
> We are having a problem with some harvesters because  our dspace
> repository
> is not supporting "oai_dc" format:
>
>
>
>
http://rodin2013.uca.es:8081/oai/request?verb=ListRecords&metadataPrefix=oai
> _dc&set=hdl_10498_10155
>
>
>
> You can check in the metadata formats list that "oai_dc" element is not
> present:
>
>
>
> http://rodin2013.uca.es:8081/oai/request?verb=ListMetadataFormats
>
>
>
> How can I activate this metadata format? Dspace version is 1.7.2.
>
>
>
> Thank you,
>
>
>
> - David -
>
>
>

--
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


-- 
Emilio  Lorenzo
Arvo Consultores



AVISO LEGAL


Este mensaje es privado y confidencial y solamente para la persona a la
que va dirigido. Si usted ha recibido este mensaje por error, no debe
revelar, copiar, distribuir o usarlo en ningún sentido. Le rogamos lo
comunique al remitente y borre dicho mensaje y cualquier documento adjunto
que pudiera contener. No hay renuncia a la confidencialidad ni a ningún
privilegio por causa de transmisión errónea o mal funcionamiento.
Cualquier opinión expresada en este mensaje pertenece únicamente al
remitente, y no representa necesariamente la opinión de Arvo Consultores,
a no ser que expresamente se diga y el remitente esté autorizado para
hacerlo. Los correos electrónicos no son seguros, no garantizan la
confidencialidad ni la correcta recepción de los mismos, dado que pueden
ser interceptados, manipulados, destruidos, llegar con demora,
incompletos, o con virus. Arvo Consultores no se hace responsable de las
alteraciones que pudieran hacerse al mensaje una vez enviado. En caso de
que el receptor no quiera recibir mas correos de esta dirección deberá
notificarlo a la dirección a...@arvo.es.










--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] oai_dc metadata format [Dspace 1.7.2]

2014-02-19 Thread David Abeijón
Hello,

I don't know how to make it work, maybe it is because we have upgraded from
1.6.2 to 1.7.2 and something was wrong. Do I have to config this in
dspace.cgf file?

Thanks.
- David -

..


-Mensaje original-
De: Emilio Lorenzo [mailto:elore...@arvo.es] 
Enviado el: miércoles, 19 de febrero de 2014 12:41
Para: dspace-tech@lists.sourceforge.net
CC: "David Abeijón"
Asunto: Re: [Dspace-tech] oai_dc metadata format [Dspace 1.7.2]

Hello David,
I think oai_dc was standard in oai for version 1.7.2. From the 1.7 manual:
"DSpace comes with an unqualified DC Crosswalk used in the default OAI-PMH
data provider. There are also other Crosswalks bundled with the DSpace
distribution which can be activated by editing one or more configuration
files. How to do this for each available Crosswalk is described below. The
DSpace source includes the following crosswalk plugins available for use
with OAI-PMH"

If it doesn´t exists perhaps you could check the presence of
oaidc.properties  file

thanks
Emilio

David Abeijón
> Hello,
>
>
>
> We are having a problem with some harvesters because  our dspace
> repository
> is not supporting "oai_dc" format:
>
>
>
>
http://rodin2013.uca.es:8081/oai/request?verb=ListRecords&metadataPrefix=oai
> _dc&set=hdl_10498_10155
>
>
>
> You can check in the metadata formats list that "oai_dc" element is not
> present:
>
>
>
> http://rodin2013.uca.es:8081/oai/request?verb=ListMetadataFormats
>
>
>
> How can I activate this metadata format? Dspace version is 1.7.2.
>
>
>
> Thank you,
>
>
>
> - David -
>
>
>

--
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


-- 
Emilio  Lorenzo
Arvo Consultores



AVISO LEGAL


Este mensaje es privado y confidencial y solamente para la persona a la
que va dirigido. Si usted ha recibido este mensaje por error, no debe
revelar, copiar, distribuir o usarlo en ningún sentido. Le rogamos lo
comunique al remitente y borre dicho mensaje y cualquier documento adjunto
que pudiera contener. No hay renuncia a la confidencialidad ni a ningún
privilegio por causa de transmisión errónea o mal funcionamiento.
Cualquier opinión expresada en este mensaje pertenece únicamente al
remitente, y no representa necesariamente la opinión de Arvo Consultores,
a no ser que expresamente se diga y el remitente esté autorizado para
hacerlo. Los correos electrónicos no son seguros, no garantizan la
confidencialidad ni la correcta recepción de los mismos, dado que pueden
ser interceptados, manipulados, destruidos, llegar con demora,
incompletos, o con virus. Arvo Consultores no se hace responsable de las
alteraciones que pudieran hacerse al mensaje una vez enviado. En caso de
que el receptor no quiera recibir mas correos de esta dirección deberá
notificarlo a la dirección a...@arvo.es.









--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] oai_dc metadata format [Dspace 1.7.2]

2014-02-19 Thread David Abeijón
Hello,

 

We are having a problem with some harvesters because  our dspace repository
is not supporting "oai_dc" format:

 

http://rodin2013.uca.es:8081/oai/request?verb=ListRecords&metadataPrefix=oai
_dc&set=hdl_10498_10155

 

You can check in the metadata formats list that "oai_dc" element is not
present:

 

http://rodin2013.uca.es:8081/oai/request?verb=ListMetadataFormats

 

How can I activate this metadata format? Dspace version is 1.7.2.

 

Thank you,

 

- David -


--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Possible to display thumbnail but not original

2014-02-17 Thread Schuster, David
I have a batch of photos that I'm going to add to a collection.  We want people 
to see the thumbnail created by the media filter and if they want it to use the 
copy request feature .

What permissions should I have set on that collection?

With the different collections in 4 can you have a different request access per 
collection?  Different departments?

Sent from my iPhone
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Potential problem building oai.cfg

2014-02-11 Thread David Cook
Hey folks:

 

I just noticed that if you run an "ant -Dconfig=/../dspace.cfg update" in
DSpace 4.0, your oai.cfg identifier.prefix will not be created using
dspace.cfg. Rather, it will use build.properties.

 

It's not really a problem/noticeable if your build.properties has the same
value as your dspace.cfg. However, I think this points to an underlying
issue with how ${dspace.hostname} is being sourced in oai.cfg.

 

I suppose I should've looked to see if this issue was reported in JIRA
before writing this email.

 

Perhaps I should do that tomorrow?

 

-David

--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] DSpace/Tomcat Ownership

2014-02-02 Thread David Cook
Thanks for your responses, Mark!

I suppose I'm still curious if it is necessary for Tomcat to own DSpace, or
if it just needs some combination of read/write/execute permissions. 

Admittedly, I'm quite new to Java, so I'm not quite sure how "it all" works.
I assume that it's not enough for the webapps to be accessible by Tomcat?
The entirety of the "installed" DSpace needs to be accessible to Tomcat,
yes?

I've been reading the install documentation for DSpace 3.x and (more
recently) 4.x, and they both seem to presume that Tomcat was installed
manually rather than via a package manager :/.  

Yum and Apt both install tomcat using a user/group of "tomcat". In the case
of apt, I think you might be able 'su' into tomcat, but you can't with the
package installed from yum - at least in the case of the Fedora-based Amazon
AMI. As far as I can tell, it's impossible to log into that user (even if
you are root) without modifying the user in some way. Actually, I take that
back. Apparently, " su -s /bin/bash - tomcat" would work. I'm not sure how
well that would work in a build/install script, but something to try in the
future for sure.

I've never played with ACLs, but that sounds like it would work well!

I like that concept. I tended to think about them as build/install phases,
but didn't realize that the build could be anyone while the install/update
should be by Tomcat's owner. I'll definitely have to try out your
recommendations!

Thanks again for the help!

-David

-Original Message-
From: Mark H. Wood [mailto:mw...@iupui.edu] 
Sent: Saturday, 1 February 2014 2:20 AM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] DSpace/Tomcat Ownership

On Fri, Jan 31, 2014 at 05:25:22PM +1100, David Cook wrote:
> I'm just curious as to why DSpace and Tomcat need to be run as the 
> same user.

Because Tomcat needs access to DSpace's files and directories.  The simplest
way to do that is to have Tomcat own them.

Tomcat is the only thing that is "running".  DSpace is a web application
deployed in the servlet container that Tomcat provides.

> I've often set built DSpace using a "dspace" user, then forgotten to 
> switch ownership to Tomcat, and I've gotten errors when running DSpace 
> for the first time.

Don't do that.  Install DSpace as whatever user owns Tomcat.  There's no
need for a user "dspace" unless Tomcat runs as "dspace".

I'm aware that many distro.s set up the 'tomcat' user with /dev/null for a
home directory.  See below -- by "install" I only mean the final placement
of the files, which could be built anywhere.

> However, with subsequent builds, when I revert back to "dspace" and 
> forget to switch back to "tomcat", I don't receive those errors anymore.

[Groucho] Don't do that.

> I tend to install Tomcat via apt-get or yum so I don't have the 
> control of installing Tomcat as the DSpace user.

This is something that was not recognized in the documentation for some time
-- it was assumed that you were manually installing Tomcat etc. from source
and had full control of the account used.  I hope that we have now fixed
that, but the instructions you see will depend on which version you are
reading.

If you installed Tomcat using your distro's package manager, ignore any
mention of the 'dspace' user and use whatever account runs your instance of
Tomcat.

> Any tips or best practices on this one? (Rather than switching back 
> and forth between a "builder" user and a "server" user)

When I want to install a new version that we've worked up, I log onto the
server as me, check out the new version from our local VCS, build, 'su', 'su
tomcat', and install.  All the installed files will be owned by 'tomcat'.  I
keep a second terminal window open running as root for things like
restarting Tomcat.

In my development environment, I make liberal use of ACLs to ensure that my
developer persona has sufficient access to my local test Tomcat's
directories and Tomcat has sufficient access to what I install.  I have a
directory ~/dspaces with a default ACL that makes Tomcat an owner of any new
DSpace instance I install under it, and
$CATALINA_BASE/conf/Catalina/localhost has an ACL that lets me drop Context
files into it as me, to be owned by me and readable by Tomcat.

BTW I find it helpful to think of DSpace installation in two phases.
'mvn' is the build phase, and can be run as anyone.  'ant' is the install
phase and may be best done as Tomcat's owner.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.




[Dspace-tech] DSpace/Tomcat Ownership Followup

2014-01-30 Thread David Cook
Actually, another question.

 

If a person wanted to run Tomcat as the Dspace user, would it be enough to
change the group for /usr/share/tomcat7 and to change the TOMCAT_USER in
/etc/tomcat7/tomcat7.conf?

 

I know this might vary from system to system due to different installation
methods and Tomcat packages, but I figured I'd ask for a more authoritative
answer than I can get from trawling the web or guessing myself.

 

Thanks again!

 

-David

--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] DSpace/Tomcat Ownership

2014-01-30 Thread David Cook
Hi folks:

 

I'm just curious as to why DSpace and Tomcat need to be run as the same
user.

 

I've often set built DSpace using a "dspace" user, then forgotten to switch
ownership to Tomcat, and I've gotten errors when running DSpace for the
first time.

 

However, with subsequent builds, when I revert back to "dspace" and forget
to switch back to "tomcat", I don't receive those errors anymore.

 

I tend to install Tomcat via apt-get or yum so I don't have the control of
installing Tomcat as the DSpace user. 

 

Any tips or best practices on this one? (Rather than switching back and
forth between a "builder" user and a "server" user)

 

Thanks,

 

-David

--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] showing a PDF in the browser

2014-01-22 Thread Schuster, David
They were probably using the Atmire document streaming feature that is a paid 
for add on.



Message: 2

Date: Tue, 21 Jan 2014 22:37:19 +0200

From: Evgeni Dimitrov 

Subject: [Dspace-tech] showing a PDF in the browser

To: dspace-tech 

Message-ID:




Content-Type: text/plain; charset=ISO-8859-1



I found on some site a PDF file, which gets displayed in my Firefox 26 browser 
in the Acrobat 11 plug-in.

I downloaded this file and ingested to DSpace:



dspace/bin/dspace import --add --eperson=. . . --source=. . .



Now - from DSpace - this same file does not get authomatically displayed in 
Firefox in the Acrobat plug-in.

Firefox asks - to open or to save. When I select "open with Adobe Reader", it 
opens in Adobe Reader, but outside Firefox.



I can not figure out why the same PDF file is shown differently when served 
from different servers...

I only tried to add to the DC metadata

application/pdf



But this did not change anything.

Any ideas?


David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
PO Box 425528
Denton TX 76204-5528

Phone: 940-898-3909
Fax: 940-898-3764

dschus...@twu.edu

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Adding Changes to DSpace Installation Instructions

2014-01-21 Thread David Cook
Hi folks:

 

I just noticed that I can edit the main DSpace wiki but not the
Documentation wiki, so I figured I'd send a message here:

 

Here's the existing section (at least in DSDOC4x):

 

" In postgresql.conf: uncomment the line starting: listen_addresses =
'localhost'. Then tighten up security a bit by editing pg_hba.conf and
adding this line: host dspace dspace 127.0.0.1 255.255.255.255 md5"

 

Proposed changes:

1)It might be worth mentioning that Postgresql listens to 'localhost' by
default and that it's probably not necessary to uncomment that
listen_addresses line. That said, it wouldn't hurt anything, so it doesn't
really matter to me.

2)In regards to pg_hba.conf, it should be mentioned that the line "host
dspace dspace 127.0.0.1 255.255.255.255 md5" should be added "above" any
host connections that refer to "all" databases.

 

As per the Postgresql docs, "The first record with a matching connection
type, client address, requested database, and user name is used to perform
authentication."

 

(http://www.postgresql.org/docs/9.1/static/auth-pg-hba-conf.html)

 

If the dspace-specific connection is specified lower in the .conf file,
it'll be ignored and you'll potentially get a peer connection error (if your
OS user is different from your database user). 

 

I've seen online tutorials that tell people to change the default local and
host connections (for localhost) as trust, but that's really not necessary.
In theory, it could also be dangerous as it allows any local user to access
Postgresql as any user they want.

 

Anyway, that's my 2 cents.

 

-David

 

 

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Statistic gathering for the items and then through google analytics

2014-01-17 Thread Schuster, David
We have just brought up our repository in November and have had great response. 
 One of the things I am curious about though are the numbers I am seeing.

When I look at a particular item I see it has been seen by Vienna, but when I 
look at the google analytics that particular visit doesn't show.

I'm seeing an Ecuador and Chile but the rest are US...?? If I click city I 
don't see Venice either.

Thoughts?  Which is more accurate?

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
PO Box 425528
Denton TX 76204-5528

Phone: 940-898-3909
Fax: 940-898-3764

dschus...@twu.edu

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Digest email responses

2014-01-15 Thread Schuster, David
I get the Tech in Digest format, is there an easy way for me to comment or ask 
questions through the thread still?  I copied the information from the thread 
and used the same subject line, but not sure that will keep it together.

I know this seems like a simple thing, but I don't see how I can do it...

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
PO Box 425528
Denton TX 76204-5528

Phone: 940-898-3909
Fax: 940-898-3764

dschus...@twu.edu

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Why are my items not available via the OAI-PMH Data Provider ?

2014-01-15 Thread Schuster, David
Question regarding this, so due to the bug in the OAI there isn't a way to make 
it work on 3.2 other than code editing?



I believe I am having the same problem as noted, so I need to wait until I can 
upgrade to 4.0 to make OAI harvesting work no matter if I use Solr or Database?



Just clarifying.



David Schuster

Texas Woman's University



Message: 1

Date: Wed, 15 Jan 2014 11:26:45 +0100

From: helix84 

Subject: Re: [Dspace-tech] Why are my items not available via the

OAI-PMH Data Provider ?

To: Patrick Rynhart 

Cc: dspace-tech , "Curnow, 
Amanda"



Message-ID:




Content-Type: text/plain; charset=UTF-8



Hi Patrick,



which exact DSpace version are you running? It seems you're running 3.x or 4.x. 
I see two possibilities:



1) you didn't run [dspace]/bin/oai import, see [1]

2) if it's not 1) and you're on DSpace 3.x you may have encountered the OAI 
timezone bug (I think it was [2]). In this case upgrade to 4.0 should resolve 
the issue.



[1] 
https://wiki.duraspace.org/display/DSDOC3x/OAI+2.0+Server#OAI2.0Server-ScheduledTasks

[2] https://jira.duraspace.org/browse/DS-1445





Regards,

~~helix84



Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
PO Box 425528
Denton TX 76204-5528

Phone: 940-898-3909
Fax: 940-898-3764

dschus...@twu.edu

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Why are my items not available via the OAI-PMH Data Provider ?

2014-01-14 Thread David Cook
Hi Patrick:

I believe that you need to populate the OAI-PMH server using the following
cronjob:

$HOME/dspace/bin/dspace oai import -o

See the demo crontab for an example: 

https://github.com/DSpace/demo.dspace.org/blob/master/scripts/linux/crontab

Cheers,

-David Cook

-Original Message-
From: Patrick Rynhart [mailto:p.rynh...@massey.ac.nz] 
Sent: Wednesday, 15 January 2014 2:56 PM
To: dspace-tech@lists.sourceforge.net
Cc: Curnow, Amanda
Subject: [Dspace-tech] Why are my items not available via the OAI-PMH Data
Provider ?

Hi all,

We have a DSpace server which has open collections (i.e. you don't need to
login to the server to view items).  We want to harvest from this box, but
the OAI-PMH Data Provider (accessible at "oai/request") is showing up empty.

Attached are two screenshots (one showing that you can view items
unauthenticated and the other showing that the OAI-PMH Data Provider is
empty).  Could someone please let me know what I'm missing ?  We'd like all
items in open collections on this server to be available for harvesting.

Thanks in advance,

Patrick Rynhart



--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Anyone using FAST or integrating it to DSpace?

2013-12-17 Thread Schuster, David
http://oclc.org/developer/documentation/assignfast/using-api

Looks interesting!

David Schuster
Texas Woman's University
Director of Library Information Technology & Technical Support
PO Box 425528
Denton TX 76204-5528

Phone: 940-898-3909
Fax: 940-898-3764

dschus...@twu.edu

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] SSH Tunnelling with PuTTY for Solr

2013-12-09 Thread David Cook
Hi Dspace folks:

 

I was experimenting with SSHing into a VirtualBox VM running DSpace when I
noticed that the Solr web UI was locked down to localhost.

 

Naturally, I thought about SSH tunnelling and after a lot of fruitless
searching around, I actually found helix84 referring to this document in an
email:

 

https://wiki.duraspace.org/display/DSPACE/Solr#Solr-Bypassinglocalhostrestri
ctiontemporarily

 

This didn't really help so I get on researching but eventually I did figure
it out.

 

This block:

Connection - SSH - Tunnels

Source port: 8080

Destination: localhost:1234

Local

Auto

Add

 

Should actually be this:

 

Connection - SSH - Tunnels

Source port: 1234

Destination: localhost:8080

Local

Auto

Add

 

The source port is the local port we're opening up to the tunnel which ends
at localhost:8080 on our remote host.

 

I'm happy to change this on the wiki, but I wanted to double-check to see if
there was some protocol for changing wiki pages that I should take into
account.

 

I believe it was tdonohue who said that my JIRA login should double as a
wiki account. I think that's the case? I haven't checked as I wanted to
double-check with you fine people first :).

 

-David

--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Difference between Lucene and Solr Indexing Commands

2013-12-05 Thread David Cook
Thanks for your email, Andrea.

 

That’s a good suggestion. I don’t know if the DSpace instances I might 
encounter in the future will be cutting edge, so I want to have some experience 
with older versions, but I should probably play with cloning the Git repo and 
building from there anyway, so thanks again for the idea!

That’s awesome news about the JSPUI! Most of the DSpace instances I’ve used 
have used the JSPUI rather than the XMLUI, so it’s great to see it being 
redesigned. I’ve actually spent a lot of time doing local customizations to the 
JSPUI in order to get it to be WCAG compliant, so I’m pleased to see an update 
coming through.

 

From: Andrea Bollini [mailto:a.boll...@cineca.it] 
Sent: Friday, 29 November 2013 12:20 AM
To: David Cook
Cc: dspace-tech
Subject: R: [Dspace-tech] Difference between Lucene and Solr Indexing Commands

 

Hi David,

as you says that you are building a repository primary for technical test and 
you want learn more about the way that dspace work I want to suggest you to 
take a look to the upcoming dspace 4. You can build it from the master, use the 
rc1 tag o wait for the rc2 and final release in December, see 

https://wiki.duraspace.org/display/DSPACE/DSpace+Release+4.0+Notes

 

Please note two major changes in dspace 4:

1) SOLR/discovery will be the default search provider and lucene is likely to 
be deprecate

 

2) the JSPUI look & feel has ben fully redesigned. Take a look at it on the 
demo server:

http:// demo.dspace.org/jspui

 

Andrea

 

Inviato da Samsung Mobile



 Messaggio originale 
Da: helix84 
Data:28/11/2013 09:51 (GMT+01:00) 
A: David Cook 
Cc: dspace-tech 
Oggetto: Re: [Dspace-tech] Difference between Lucene and Solr Indexing Commands 

On Thu, Nov 28, 2013 at 3:01 AM, David Cook mailto:dc...@prosentient.com.au> > wrote:
> 1) Is it necessary to run "index-update" and/or "update-discovery-index" as 
> cronjobs? The indexes and browse tables appear to be updated automatically 
> (notwithstanding that cocoon caching issue), so it doesn't seem necessary.

Ideally, it shouldn't be necessary. However, there may be situations
that DSpace doesn't handle correctly, your 3) is likely one of them.
It doesn't hurt to run them once a day from a cronjob, if there are no
new changes, they should take relatively shortly.

The other use case is if you want to modify contents directly in
database, then you have to run them manually to update the index.

> I imagine "index-update" should only need to be run after changes to the 
> indexing structure have occurred?

Depends on what you mean by indexing structure. When adding/removing
indexed fields, you have to run index-init / update-discovery-index
-b. index-update and update-discovery-index only add/remove new
records. Think of it as columns vs. rows.

> Also, "update-discovery-index" might only need to be run regularly (i.e. 
> daily) with the optimize option?

It is recommended to run the optimize option once in a while,
especially on the Solr statistics core if you use it.


> PS: Withdrawn items still appear in Solr usage statistics in the DSpace UI 
> but they show a number (perhaps their internal UID?) instead of their title. 
> Is this intentional or should withdrawn items not appear in the usage 
> statistics?

I think it's debatable. Please, file a Jira issue to make sure the
developers will discuss it in the future.


> 3) As for the cocoon cache, I've followed your suggestion of using 
> "index-update", but it hasn't changed anything.
>
> Any time I change the title of an item, the old title is presented when 
> browsing (in the XMLUI - no the JSPUI) but is updated everywhere else.
>
> This behaviour is identical even when using the SolrBrowseDAO.
>
> So far, the only way I've gotten the correct title to show in the browse is 
> to clear the cache or to add a new item (which must trigger a new page to be 
> created and cached).

OK, as I said, this might be an oversight. Please, file a Jira issue.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351 
<http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk> 
&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourcefo

Re: [Dspace-tech] Difference between Lucene and Solr Indexing Commands

2013-12-05 Thread David Cook
Thanks for your reply, helix84. 

You've perfectly answered my indexing questions! 

As for JIRA, it says that I can only log an issue if I'm logged in. When I try 
to make an account, JIRA says " Not a member? To request an account, please 
contact your JIRA administrators."

Who might those JIRA administrators be?

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Thursday, 28 November 2013 7:49 PM
To: David Cook
Cc: dspace-tech
Subject: Re: [Dspace-tech] Difference between Lucene and Solr Indexing Commands

On Thu, Nov 28, 2013 at 3:01 AM, David Cook  wrote:
> 1) Is it necessary to run "index-update" and/or "update-discovery-index" as 
> cronjobs? The indexes and browse tables appear to be updated automatically 
> (notwithstanding that cocoon caching issue), so it doesn't seem necessary.

Ideally, it shouldn't be necessary. However, there may be situations that 
DSpace doesn't handle correctly, your 3) is likely one of them.
It doesn't hurt to run them once a day from a cronjob, if there are no new 
changes, they should take relatively shortly.

The other use case is if you want to modify contents directly in database, then 
you have to run them manually to update the index.

> I imagine "index-update" should only need to be run after changes to the 
> indexing structure have occurred?

Depends on what you mean by indexing structure. When adding/removing indexed 
fields, you have to run index-init / update-discovery-index -b. index-update 
and update-discovery-index only add/remove new records. Think of it as columns 
vs. rows.

> Also, "update-discovery-index" might only need to be run regularly (i.e. 
> daily) with the optimize option?

It is recommended to run the optimize option once in a while, especially on the 
Solr statistics core if you use it.


> PS: Withdrawn items still appear in Solr usage statistics in the DSpace UI 
> but they show a number (perhaps their internal UID?) instead of their title. 
> Is this intentional or should withdrawn items not appear in the usage 
> statistics?

I think it's debatable. Please, file a Jira issue to make sure the developers 
will discuss it in the future.


> 3) As for the cocoon cache, I've followed your suggestion of using 
> "index-update", but it hasn't changed anything.
>
> Any time I change the title of an item, the old title is presented when 
> browsing (in the XMLUI - no the JSPUI) but is updated everywhere else.
>
> This behaviour is identical even when using the SolrBrowseDAO.
>
> So far, the only way I've gotten the correct title to show in the browse is 
> to clear the cache or to add a new item (which must trigger a new page to be 
> created and cached).

OK, as I said, this might be an oversight. Please, file a Jira issue.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Migrating customizations

2013-11-29 Thread David Abeijón
Hello, 

I just realized  that we are using a custom java class for authentication: 

\dspace-api\src\main\java\org\dspace\authenticate\MyLDAPAuthentication.java

How could I migrate this class from v1.6.2 to v1.7.2

Thank you,

- David -



David Abeijón Durán
Técnico Medio Informática
C.I.T.I
Universidad de Cádiz
Tel 956 01 2804   
david.abei...@uca.es


De: Hilton Gibson [mailto:hilton.gib...@gmail.com] 
Enviado el: miércoles, 27 de noviembre de 2013 15:12
Para: David Abeijón
CC: dspace-tech
Asunto: Re: [Dspace-tech] Migrating customizations

Hi David

Perhaps this will help: 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Upgrading/Repository_Software

Cheers

hg


Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson

On 27 November 2013 15:00, David Abeijón  wrote:
Hello,

I'm upgrading from 1.6.2 to 1.7.2 following the documentation:
https://wiki.duraspace.org/display/DSDOC18/Upgrading+From+1.6.x+to+1.7.x

The problem is that I'm not sure what to do to migrate the customizations.
Basically we have a new theme in [dspace]/webapps/xmlui/themes/ and
modifications in [dspace]/webapps/config ,for example: input-forms.xml, and
emails templates.

In the documentation it says:

Apply any customizations. If you have made any local customizations to your
DSpace installation they will need to be migrated over to the new DSpace.
These are normally housed in one of the following places:
• JSPUI modifications: [dspace-source]/dspace/modules/jspui/src/main/webapp/
• XMLUI modifications: [dspace-source]/dspace/modules/xmlui/src/main/webapp/


What should I copy to this directory? How can I migrate changes in config
directory?

Thank you,



--
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Difference between Lucene and Solr Indexing Commands

2013-11-27 Thread David Cook
Hi Hilton:

 

Thanks for those links. I actually studied records management and digital 
preservation in grad school, but I’m sure a refresher might be a good idea 
nonetheless. 

 

Of course, this is just a test system to get used to the more technical aspects 
of DSpace, but thanks all the same : ).

 

-David

 

From: Hilton Gibson [mailto:hilton.gib...@gmail.com] 
Sent: Wednesday, 27 November 2013 8:18 PM
To: David Cook
Cc: dspace-tech
Subject: Re: [Dspace-tech] Difference between Lucene and Solr Indexing Commands

 

Hi David

 

For a "whole" picture setup, try the links below.

 

http://bit.ly/goodir

http://bit.ly/garpir

 

Based on Ubuntu server 10.04 and DSpace 1.8.2 so far.

 

Cheers

 

hg




Hilton Gibson

Ubuntu Linux Systems Administrator

JS Gericke Library

Room 1025D

Stellenbosch University

Private Bag X5036

Stellenbosch

7599

South Africa

 

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

http://library.sun.ac.za

http://za.linkedin.com/in/hiltongibson

 

On 27 November 2013 09:11, David Cook mailto:dc...@prosentient.com.au> > wrote:

Good day, DSpace folks:

My name is David Cook, and I’m currently running a test instance of DSpace 3.2 
on Debian 7 with Tomcat7.

 

I first encountered DSpace at the start of 2012, but my experience has, prior 
to now, been limited to changing dspace.cfg and the JSPUI templates.

 

Now, I’m looking to understand everything a person needs to know to install and 
run DSpace. In time, I hope to contribute back to the codebase as well, but I 
figure one step at a time.

 

So here are my first few questions and my assumptions…

 

1)  By default (i.e. Discovery is disabled and there is no OAI-PMH 
cronjob), Solr is only used for statistics, yes? Instead, 
indexing/searching/retrieving metadata is handled by another entity (Lucene 
and/or the database)?

 

How do the following commands factor in? Are these commands that manipulate the 
Lucene indexes based on the database? (When Discovery is enabled, these 
commands no longer have any effect, correct? Instead, one uses 
“[dspace]/bin/dspace update-discovery-index” which is the only command that 
Solr API uses to manipulate the Lucene indexes?)

 

Create/Rebuild/Delete indexes -> [dspace]/bin/dspace index-init

Update indexes -> [dspace]/bin/dspace index-update

 

When I tried using these index-* commands, I didn’t receive any 
errors at the CLI, but nothing seemed to happen in DSpace either. That is, 
there never seemed to be a need to run index-update, as the metadata was always 
up to date. 

 

Index-init didn’t seem to remove indexes either. Or if it did, 
search then defaulted to directly querying the database?

 

(Related question: How do you add search indexes when Discovery 
is enabled? Or do you need to?)

 

 

2)  While the usage/search/workflow statistics are being populated 
correctly, the “general” statistics seem to be missing. Every time I visit  
<http://localhost:8080/xmlui/statistics> http://localhost:8080/xmlui/statistics 
or http://localhost:8080/jspui/statistics, it says, “There are currently no 
reports available for this service. Please check back later”. 

 

I’ve run “[dspace]/bin/dspace stats-util -b –r” as a desperate attempt to get 
something, but it doesn’t produce errors or results. I get the typical “Created 
new kernel…Loading from classloader…Using dspace provided log 
configuration…Loading…” messages in the CLI, but that’s it.

 

Any tips on how to get these statistics?

 

 

3)  Finally, is there a time/size limit on the Cocoon cache? Surely, 
manually clearing the cache (either via the CLI or the XMLUI Control Panel) 
isn’t the only way that it can be refreshed?

 

If I change the title of an item, it changes everywhere except when doing a 
“browse”. The browse seems to be stuck on the old title until I clear the 
Cocoon cache.

 

Any ideas on this one? I suppose a cronjob might be able to do it, but is there 
a way to do it from the CLI which doesn’t involve shutting down Tomcat and 
starting it again?

 

 

I would appreciate any help that any of you can give me. Please don’t feel 
obligated to answer all the questions. I’m just quite curious about them all.

 

Thanks,

 

-David Cook

 


--
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351 
<http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk> 
&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.ne

Re: [Dspace-tech] Difference between Lucene and Solr Indexing Commands

2013-11-27 Thread David Cook
Hi helix84:

Thanks for the prompt response! It's very much appreciated :).

Thanks also for the explanation on search and browse. That really helped clear 
things up!

I just have a few remaining follow-up questions.

1) Is it necessary to run "index-update" and/or "update-discovery-index" as 
cronjobs? The indexes and browse tables appear to be updated automatically 
(notwithstanding that cocoon caching issue), so it doesn't seem necessary. 

I imagine "index-update" should only need to be run after changes to the 
indexing structure have occurred? 

Also, "update-discovery-index" might only need to be run regularly (i.e. daily) 
with the optimize option?


2) In regards to statistics (e.g. /xmlui/statistics/ and /jspui/statistics/), 
I've figured this one out! One needs to use the commands "[dspace]/bin/dspace 
stat-initial" and "[dspace]/bin/dspace stat-report-initial" to generate the 
traditional pre-1.6 statistics. Then use the 
"stat-monthly","stat-report-monthly","stat-general", and "stat-report-general" 
commands as cronjobs moving forward for regular updates.

The first command scans the logs and the second creates the static HTML pages. 
(Interestingly, the HTML pages are only needed for the JSPUI. I guess there 
must be a mechanism where the XMLUI pulls directly from the generated .dat 
files. I assume there are no database tables for this.)

That said, there are missing statistics. The sections "Words Searched", "Items 
Viewed", and "User Logins" are empty. While anything related to search/views 
are absent in other sections as well. I figured that it might be because these 
stats are tracked in Solr, but I imagine the events are still logged the same 
as before?

I've seen statistics present in AgriOcean 1.7.1 installs (which use DSpace 
1.7), so perhaps the pre-1.6 stat scripts are looking for events that DSpace 
3.x describes differently in the logs? That's my best guess. And/or that 
AgriOcean doesn't use Solr for stats?

I would love to hear feedback on this one for people using DSpace 1.7.x/1.8.x 
and/or DSpace 3.x

--
PS: Withdrawn items still appear in Solr usage statistics in the DSpace UI but 
they show a number (perhaps their internal UID?) instead of their title. Is 
this intentional or should withdrawn items not appear in the usage statistics?
--

3) As for the cocoon cache, I've followed your suggestion of using 
"index-update", but it hasn't changed anything.

Any time I change the title of an item, the old title is presented when 
browsing (in the XMLUI - no the JSPUI) but is updated everywhere else.

This behaviour is identical even when using the SolrBrowseDAO.

So far, the only way I've gotten the correct title to show in the browse is to 
clear the cache or to add a new item (which must trigger a new page to be 
created and cached).

--

Thanks once again for your help. I greatly appreciate the insight :)

-David

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Wednesday, 27 November 2013 8:45 PM
To: David Cook
Cc: dspace-tech
Subject: Re: [Dspace-tech] Difference between Lucene and Solr Indexing Commands

Hi David,

all your questions are very valid and as we're in a transition phase between 
the old search and Discovery, there are some minor caveats.

On Wed, Nov 27, 2013 at 8:11 AM, David Cook  wrote:
> 1)  By default (i.e. Discovery is disabled and there is no OAI-PMH
> cronjob), Solr is only used for statistics, yes? Instead, 
> indexing/searching/retrieving metadata is handled by another entity 
> (Lucene and/or the database)?

That's correct as of DSpace 3.x. Search is handled by Lucene; browse and 
itemcounter (collections strengths, disabled by default) is handled by helper 
tables in the DB. DSpace 4.x will have Discovery by default and the indexing 
commands will be renamed for clarity.

> How do the following commands factor in? Are these commands that 
> manipulate the Lucene indexes based on the database?

Yes, in 3.x index-init and index-update work on the Lucene index and the browse 
DB tables. itemcounter works on the item counter DB table.

> (When Discovery is enabled, these
> commands no longer have any effect, correct? Instead, one uses 
> “[dspace]/bin/dspace update-discovery-index” which is the only command 
> that Solr API uses to manipulate the Lucene indexes?)

That's almost correct. When you enable Discovery, search is handled by Solr, 
but browse is still handled by the DB-backed tables, so you should use 
index-init/index-update to keep those up to date.
Alternatively, you can enable the SolrBrowseDAO (new in 3.0) class to also 
handle browse using Solr - see browseDAO.class and browseCreateDAO.class in 
dspace.cfg.

This also answers your question 

Re: [Dspace-tech] Migrating customizations

2013-11-27 Thread David Abeijón
That's true, I only modified the themes and configuration directories.

Ok, i'll try to do the update.

Thank you,
- David -


-Mensaje original-
De: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] En nombre de helix84
Enviado el: miércoles, 27 de noviembre de 2013 14:47
Para: David Abeijón
CC: dspace-tech
Asunto: Re: [Dspace-tech] Migrating customizations

On Wed, Nov 27, 2013 at 2:38 PM, David Abeijón  wrote:
> So, I don't need to do anything in here:
> [dspace-source]/dspace/modules/xmlui/src/main/webapp/

From what you wrote before I understood you didn't make any other
modifications to source code, only theme and configuration
modifications. If that is true, you don't need to do anything else in
the customizations migration step.


> I have to migrate the customizations after build the project, over 
> [dspace]/webapps/xmlui/themes/ and [dspace]/config/ directories , haven't I?

Yes, the goal is that they will end up in those locations in [dspace].
But the offical recommendation is to put them to [dspace-source] and
let ant copy them to [dspace].


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Migrating customizations

2013-11-27 Thread David Abeijón
Thank you for the response.

So, I don't need to do anything in here:
 
[dspace-source]/dspace/modules/xmlui/src/main/webapp/

I have to migrate the customizations after build the project, over 
[dspace]/webapps/xmlui/themes/ and [dspace]/config/ directories , haven't I?

Regards,
- David -


..


-Mensaje original-
De: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] En nombre de helix84
Enviado el: miércoles, 27 de noviembre de 2013 14:26
Para: David Abeijón
CC: dspace-tech
Asunto: Re: [Dspace-tech] Migrating customizations

On Wed, Nov 27, 2013 at 2:24 PM, helix84  wrote:
> Just copy over your theme directory.

Only to clarify - I mean your [dspace]/webapps/xmlui/themes/YourTheme/
directory, not literally the "themes/" directory.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Migrating customizations

2013-11-27 Thread David Abeijón
Hello, 

I'm upgrading from 1.6.2 to 1.7.2 following the documentation:
https://wiki.duraspace.org/display/DSDOC18/Upgrading+From+1.6.x+to+1.7.x

The problem is that I'm not sure what to do to migrate the customizations.
Basically we have a new theme in [dspace]/webapps/xmlui/themes/ and
modifications in [dspace]/webapps/config ,for example: input-forms.xml, and
emails templates.

In the documentation it says: 

Apply any customizations. If you have made any local customizations to your
DSpace installation they will need to be migrated over to the new DSpace.
These are normally housed in one of the following places: 
• JSPUI modifications: [dspace-source]/dspace/modules/jspui/src/main/webapp/
• XMLUI modifications: [dspace-source]/dspace/modules/xmlui/src/main/webapp/


What should I copy to this directory? How can I migrate changes in config
directory?

Thank you,



--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Difference between Lucene and Solr Indexing Commands

2013-11-27 Thread David Cook
Good day, DSpace folks:

My name is David Cook, and I'm currently running a test instance of DSpace
3.2 on Debian 7 with Tomcat7.

 

I first encountered DSpace at the start of 2012, but my experience has,
prior to now, been limited to changing dspace.cfg and the JSPUI templates.

 

Now, I'm looking to understand everything a person needs to know to install
and run DSpace. In time, I hope to contribute back to the codebase as well,
but I figure one step at a time.

 

So here are my first few questions and my assumptions.

 

1)  By default (i.e. Discovery is disabled and there is no OAI-PMH
cronjob), Solr is only used for statistics, yes? Instead,
indexing/searching/retrieving metadata is handled by another entity (Lucene
and/or the database)?

 

How do the following commands factor in? Are these commands that manipulate
the Lucene indexes based on the database? (When Discovery is enabled, these
commands no longer have any effect, correct? Instead, one uses
"[dspace]/bin/dspace update-discovery-index" which is the only command that
Solr API uses to manipulate the Lucene indexes?)

 

Create/Rebuild/Delete indexes -> [dspace]/bin/dspace index-init

Update indexes -> [dspace]/bin/dspace index-update

 

When I tried using these index-* commands, I didn't receive
any errors at the CLI, but nothing seemed to happen in DSpace either. That
is, there never seemed to be a need to run index-update, as the metadata was
always up to date. 

 

Index-init didn't seem to remove indexes either. Or if it
did, search then defaulted to directly querying the database?

 

(Related question: How do you add search indexes when
Discovery is enabled? Or do you need to?)

 

 

2)  While the usage/search/workflow statistics are being populated
correctly, the "general" statistics seem to be missing. Every time I visit
<http://localhost:8080/xmlui/statistics>
http://localhost:8080/xmlui/statistics or
http://localhost:8080/jspui/statistics, it says, "There are currently no
reports available for this service. Please check back later". 

 

I've run "[dspace]/bin/dspace stats-util -b -r" as a desperate attempt to
get something, but it doesn't produce errors or results. I get the typical
"Created new kernel.Loading from classloader.Using dspace provided log
configuration.Loading." messages in the CLI, but that's it.

 

Any tips on how to get these statistics?

 

 

3)  Finally, is there a time/size limit on the Cocoon cache? Surely,
manually clearing the cache (either via the CLI or the XMLUI Control Panel)
isn't the only way that it can be refreshed?

 

If I change the title of an item, it changes everywhere except when doing a
"browse". The browse seems to be stuck on the old title until I clear the
Cocoon cache.

 

Any ideas on this one? I suppose a cronjob might be able to do it, but is
there a way to do it from the CLI which doesn't involve shutting down Tomcat
and starting it again?

 

 

I would appreciate any help that any of you can give me. Please don't feel
obligated to answer all the questions. I'm just quite curious about them
all.

 

Thanks,

 

-David Cook

 

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Installing DSpace 1.7.3 - webapps directory problem

2013-11-26 Thread David Abeijón
Hello, 

Looks like it is a problem with the v1.7.3, if I build the v1.7.2 under the
same situation the webapps directory seems correct:

/dspace-1.7.2-src-release/dspace/target/dspace-1.7.2-build.dir/webapps# ls
-l

drwxr-xr-x 23 root root 4096 nov 26 13:58 jspui
drwxr-xr-x  4 root root 4096 nov 26 13:58 lni
drwxr-xr-x  4 root root 4096 nov 26 13:58 oai
drwxr-xr-x  5 root root 4096 nov 26 13:58 solr
drwxr-xr-x  4 root root 4096 nov 26 13:58 sword
drwxr-xr-x  8 root root 4096 nov 26 13:58 xmlui


- David - 




..


-Mensaje original-
De: David Abeijón [mailto:david.abei...@uca.es] 
Enviado el: martes, 26 de noviembre de 2013 9:53
Para: 'Brian Freels-Stendel'
CC: 'dspace-tech'
Asunto: Re: [Dspace-tech] Installing DSpace 1.7.3 - webapps directory
problem

Hello, 

Thank you for the responses.

I'm using: 

--
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) Client VM (build 20.45-b01, mixed mode, sharing)

Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Default locale: es_ES, platform encoding: UTF-8
OS name: "linux" version: "3.7.10-1.16-desktop" arch: "i386" Family: "unix"

Apache Ant(TM) version 1.9.2 compiled on July 8 2013
---

I think it is a Maven problem because when i do
/dspace-1.7.3-src-release/dspace/mvn package

The webapps directory in build directory is like this:

/dspace-1.7.3-src-release/dspace/target/dspace-1.7.3-build/webapps> ls

admi display-item.jsphome.jsp   print.css submit
aspect display-statistics.jsp  i18n   register  suggest   
browse dspace-adminimage  robots.txtthemes
collection-home.jsp   error index.jsp  searchtombstone.jsp
community-home.jspexception2html.xslt layout sitemap.xmap  tools

community-list.jspfavicon.ico login  static
utils.js  
componentsfeedback META-INF   statisticsWEB-INF   
controlledvocabulary  hel mydspace   styles.cssworkspace


Regards,
- David -

..


-Mensaje original-
De: Brian Freels-Stendel [mailto:bfre...@unm.edu] 
Enviado el: lunes, 25 de noviembre de 2013 18:31
Para: David Abeijón
CC: dspace-tech
Asunto: RE: [Dspace-tech] Installing DSpace 1.7.3 - webapps directory
problem

Good morning,

I think this may be a problem with the Maven version:
https://jira.duraspace.org/browse/DS-788.  Can you make sure you're using
2.2.x or above?  (Version 3 may also be a problem for DSpace 1.7.)

B--

> -Original Message-
> From: helix84 [mailto:heli...@centrum.sk]
> Sent: Monday, November 25, 2013 7:59 AM
> To: David Abeijón
> Cc: dspace-tech
> Subject: Re: [Dspace-tech] Installing DSpace 1.7.3 - webapps directory
problem
> 
> Hi David,
> 
> that looks like the contents of what would normally be in
> [dspace]/webapps/jspui and [dspace]/webapps/xmlui mixed together in your
> [dspace]/webapps/
> 
> I can't think of any scenario where it would happen. The "ant
fresh_install" or
> "ant update" step is the one responsible for copying built webapps from
[dspace-
> source] to [dspace]/webapps, so look for the problem in this step. The
"recipe"
> ant follows is in
[dspace-source]/dspace/target/dspace-1.7.3-build/build.xml.
> 
> See below the usual (as of 1.8.x) contents of jspui:
> browse
> collection-home.jsp
> community-home.jsp
> community-list.jsp
> components
> controlledvocabulary
> display-item.jsp
> display-statistics.jsp
> dspace-admin
> error
> favicon.ico
> feedback
> help
> home.jsp
> image
> index.jsp
> layout
> login
> META-INF
> mydspace
> print.css
> register
> robots.txt
> search
> static
> statistics
> styles.css
> submit
> suggest
> tombstone.jsp
> tools
> utils.js
> WEB-INF
> workspace
> 
> and xmlui:
> aspects
> exception2html.xslt
> i18n
> META-INF
> sitemap.xmap
> static
> themes
> WEB-INF
> 
> 
> Regards,
> ~~helix84
> 
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> 
>

--
> Shape the Mobile Experience: Free Subscription Software experts and
> developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up
now.
>
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforg

  1   2   3   >