[Dspace-tech] Code not Present when deployed

2015-08-25 Thread Keith Jones
Hi,

I am working on upgrading from version 3.2 to version 5.3. In version 3.2 I
created a java class to do a specific task for our repository. When
deployed the compiled class would sit here in the area:

webapps/ROOT/WEB-INF/classes/org/dspace/app/xmlui/aspect/eperson

When I looked for this area in version 5.3, nothing exists in the
webapps/ROOT/WEB-INF/classes folder.

When building version 5.3, I download the source code and build it locally,
but now my custom class is not appearing.

Not sure why I'm not getting this area to appear in the tomcat WEB-INF area.

Thanks
Keith
--
___
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] how to remove jspui in url to access jspui interface

2015-08-25 Thread Yongming Wang
Thanks Mark,

It works by changing /jspui to /ROOT

Actually we just created a symlink from 'ROOT' to jspui in [tomcat]/webapps/

Thanks very much for your help!



Yongming

-
Yongming Wang
Systems Librarian
The College of New Jersey Library
phone: 609-771-3337
email: wan...@tcnj.edu
-

- Original Message -
From: Mark H. Wood mw...@iupui.edu
To: dspace-tech@lists.sourceforge.net
Sent: Tuesday, August 18, 2015 9:00:52 AM
Subject: Re: [Dspace-tech] how to remove jspui in url to access jspui 
interface

On Mon, Aug 17, 2015 at 11:51:31AM -0400, Yongming Wang wrote:
 We just implemented DSpace 5.2 and use jspui interface. In order to access 
 the application, we use the url http://.tcnj.edu/jspui; (we have already 
 changed the default port 8080 to 80). 
 
 Is it possible to remove the jspui part? So that when people enter 
 http://.tcnj.edu;, it will access the jspui application.

If you are using Tomcat as your servlet container, the webapp. at the
root path (/) is named ROOT.  So find the place where JSPUI was
deployed to Tomcat and rename it:

o  If you are using an unpacked webapp, it will be a directory named
   jspui.  Rename it to ROOT.

o  If you are using a WAR, it will be named jspui.war, and should be
   renamed to ROOT.war.

o  If you are using separate Context descriptor files, the file will
   be named jspui.xml, and should be renamed ROOT.xml.  The directory
   or WAR which is named as the docbase in that file need not be
   renamed, and it is probably most convenient not to.

http://tomcat.apache.org/tomcat-8.0-doc/config/context.html#Naming

If you're using some other container, I can't give specific advice.
I'm sure there is a way to do this, but it will be different.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu

--

___
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 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] Owner of Assetstore directories and files

2015-08-25 Thread helix84
On Mon, Aug 24, 2015 at 7:57 PM, Luiz dos Santos luiz...@gmail.com wrote:

 It is just a question, why not using the tomcat installed by himself,
 instead to user everything as tomcat7 user?
 In his case he could just run the comand: chown -R dspace:tomcat7 * In
 Assetstore directory and certificate that himself that when he run the
 batch process that all files have the same permissions?


Sure, if you're installing from binaries downloaded from tomcat.apache.org,
you can call your tomcat/dspace user whatever you want. But using binaries
kind of defeats the purpose of using a distribution - you'll most likely
never do security updates to tomcat.

And like I said, if you chown the binaries of Tomcat from the Debian
package, it will chown it back during the nearest update and most likely
leave you with non-functional DSpace (you most likely won't immediately
notice it because only uploads won't work). I speak from my own experience
:)


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
___
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] Filter by language - search

2015-08-25 Thread Layale Bassil
Dear All,

I am trying to do the same as explained below but using Dspace 5.2. I added all 
the below steps and re-indexed but nothing is taking effect! Where the changes 
should appear?

I am opening the Filters dropdown in the discover page but the language is not 
listed in the Filters dropdown.

What can I do?
Thanks!


From: Searle, Shannon [mailto:s.sea...@cranfield.ac.uk]
Sent: Monday, July 27, 2015 7:12 AM
To: heli...@centrum.sk; Luiz dos Santos; dspace-tech 
(dspace-tech@lists.sourceforge.net)
Subject: Re: [Dspace-tech] Filter by language - search

Thanks everyone,  that is working now for DSpace 4. The configuration needs to 
be added in three places in discovery.xml -  in /dspace/config/spring/api 
/discovery.xml

Around line 109

103 !--The search filters which can be used on the discovery search 
page--
104 property name=searchFilters
105 list
106 ref bean=searchFilterTitle /
107 ref bean=searchFilterAuthor /
108 ref bean=searchFilterSubject /
109 ref bean=searchFilterIssued /
110 ref bean=searchFilterLanguage /
111 /list
112 /property

And near line 209
207 !--The search filters which can be used on the discovery search 
page (same as defaultConfiguration above)--
208 property name=searchFilters
209 list
210 ref bean=searchFilterTitle /
211 ref bean=searchFilterAuthor /
212 ref bean=searchFilterSubject /
213 ref bean=searchFilterIssued /
214 ref bean=searchFilterLanguage /
215 /list
216 /property

And the definition of the filter as suggested by Luiz

bean id=searchFilterLanguage 
class=org.dspace.discovery.configuration.DiscoverySearchFilter
316 property name=indexFieldName value=language/
317 property name=metadataFields
318 list
319 valuedc.language/value
320 /list
321 /property
322 /bean

A couple more things:
In the drop down for the filter name it shows up as 
xmlui.discovery.SimpleSearch.filter.language – I would have expected to change 
it in messages.xml in
/dspace/webapps/xmlui/i18n/messages.xml, but for the default language English  
actually you have to change it under
/dspace/webapps/xmlui/WEB-INF/classes/aspects/Discovery/i18n/messages.xml:

89 message 
key=xmlui.ArtifactBrowser.SimpleSearch.filter.authorAuthor/message
90 message 
key=xmlui.ArtifactBrowser.SimpleSearch.filter.titleTitle/message
91 message 
key=xmlui.ArtifactBrowser.SimpleSearch.filter.subjectSubject/message
92 message key=xmlui.ArtifactBrowser.SimpleSearch.filter.dateIssuedDate 
issued/message
93 message 
key=xmlui.ArtifactBrowser.SimpleSearch.filter.languageLanguage/message

And finally you need to re-index using discovery-index –b as suggested by 
Hilton Gibson if that term is not already being indexed.

Thanks everyone!

Shannon

From: helix84 [mailto:heli...@centrum.sk]
Sent: 23 July 2015 09:06
To: Luiz dos Santos luiz...@gmail.commailto:luiz...@gmail.com
Cc: Dspace Tech 
dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Filter by language - search

On Wed, Jul 22, 2015 at 4:04 PM, Luiz dos Santos 
luiz...@gmail.commailto:luiz...@gmail.com wrote:
That is it?

https://wiki.duraspace.org/display/DSDOC4x/Discovery#Discovery-ConfiguringlistsofsidebarFacetsandsearchFilters

After modifying sidebarFacets and searchFilters, don't forget to reindex 
existing items by running [dspace]/bin/dspace index-discovery -b, otherwise the 
changes will not appear.

If you also want facets:

Each sidebar facet must also occur in the list of the search filters.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
___
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] Add Department to Browse and Filters in DSpace 5.2

2015-08-25 Thread Layale Bassil
Hello All,

I would like to add the Department to the browse by section in Dspace 5.2 and 
add it as well to the Filters when you using the regular search.

I added it to the Browse Configuration in dspace.cfg but I need to know what 
else should I do?

Thanks in advance,
Regards.
--
___
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] iOS (iphone/ipad) scrolling on Mirage2 sites

2015-08-25 Thread Andrea Schweer
Hi Peter,

On 26/08/15 09:24, Peter Dietz wrote:
 I was wondering if anyone is having difficulty / hear reports that 
 mirage2 sites do not scroll on iOS / iPhone / iPad Safari?

 Using Xcode's iOS simulator, as well as browser stack, there are some 
 mirage2 sites that I have used that do not scroll.

 https://openknowledge.worldbank.org/
 https://cache.kzoo.edu/
 http://dc.statelibrary.sc.gov/

 Other browsers (chrome, IE, opera, firefox) don't appear to have this 
 issue, and safari on Mac appears to work fine. Mirage2 bug or Safari 
 iOS bug?

I just asked someone here to try and she reported it works fine both for 
the World Bank link you gave and a somewhat customised Mirage 2 on a 
local test instance. Safari on Iphone 6+, iOS 8.1.3.

So maybe a bug with a specific version of iOS/the simulator?

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


--
___
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] theme mirage2

2015-08-25 Thread Paula Andrea Pérez I . - Informática IUE
Buena tarde


Quería solicitarles su ayuda ya que hace poco instale el dspace version 5.1 
para el repositorio de la biblioteca , intente cambiar el tema por el mirage2 
pero no se visualiza bien en ningún navegador , además sale el siguiente 
mensaje.



  Repositorio Institucional IUE

JavaScript is disabled for your browser. Some features of this site may not 
work without it.







Muchas graciasss



[cid:image001.png@01D0A387.8B376440]



Paula Andrea Pérez Idarraga
Institución Universitaria de Envigado
Ingeniera Contratista Oficina de Informática
Carrera 27 B No. 39 A Sur 57 – Envigado, Colombia
Teléfono: +57 4 339 10 10  –  Ext. 521
Correo: paula.pe...@iue.edu.comailto:paula.pe...@iue.edu.co
Web: www.iue.edu.cohttp://www.iue.edu.co/


[cid:image002.jpg@01D0A428.614C6CB0]https://goo.gl/6DQenf[cid:image003.png@01D0A428.614C6CB0]http://twitter.com/IUEVirtual
 [cid:image004.jpg@01D0A428.614C6CB0] http://www.youtube.com/user/IUEVIRTUAL

“El contenido de este mensaje puede ser información privilegiada y 
confidencial. Si usted no es el destinatario real del mismo, por favor informe 
de ello a quien lo envía y destrúyalo en forma inmediata.”

Antes de imprimir este mensaje, asegúrese de que es necesario. Proteger el 
medio ambiente está también en sus manos.







__ Información de ESET Endpoint Antivirus, versión de la base de datos 
de firmas de virus 12150 (20150825) __

El mensaje fue verificado por ESET Endpoint Antivirus.

http://www.eset-la.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

Re: [Dspace-tech] theme mirage2

2015-08-25 Thread Luiz dos Santos
Hola,

Tienes que habilitar Javascript en su navegador. La próxima vez que escriba
en Inglés, debido a que más gente va a ser capaz de responder a su pregunta.

atentamente
Luiz

2015-08-25 15:15 GMT-04:00 Paula Andrea Pérez I. - Informática IUE 
paula.pe...@iue.edu.co:

 Buena tarde





 Quería solicitarles su ayuda ya que hace poco instale el dspace version
 5.1 para el repositorio de la biblioteca , intente cambiar el tema por el
 mirage2 pero no se visualiza bien en ningún navegador , además sale el
 siguiente mensaje.







   Repositorio Institucional IUE



 JavaScript is disabled for your browser. Some features of this site may
 not work without it.















 Muchas graciasss







 *[image: cid:image001.png@01D0A387.8B376440]*







 *Paula Andrea Pérez Idarraga *

 Institución Universitaria de Envigado

 Ingeniera Contratista Oficina de Informática

 Carrera 27 B No. 39 A Sur 57 – Envigado, Colombia
 Teléfono: +57 4 339 10 10  –  Ext. 521

 Correo: *paula.pe...@iue.edu.co paula.pe...@iue.edu.co*

 Web: *www.iue.edu.co http://www.iue.edu.co/*





 [image: cid:image002.jpg@01D0A428.614C6CB0] https://goo.gl/6DQenf[image:
 cid:image003.png@01D0A428.614C6CB0] http://twitter.com/IUEVirtual [image:
 cid:image004.jpg@01D0A428.614C6CB0]
 http://www.youtube.com/user/IUEVIRTUAL


 “El contenido de este mensaje puede ser información privilegiada y
 confidencial. Si usted no es el destinatario real del mismo, por favor
 informe de ello a quien lo envía y destrúyalo en forma inmediata.”

 Antes de imprimir este mensaje, asegúrese de que es necesario. Proteger el
 medio ambiente está también en sus manos.









 __ Información de ESET Endpoint Antivirus, versión de la base de
 datos de firmas de virus 12150 (20150825) __

 El mensaje fue verificado por ESET Endpoint Antivirus.

 http://www.eset-la.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 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] iOS (iphone/ipad) scrolling on Mirage2 sites

2015-08-25 Thread Peter Dietz
I was wondering if anyone is having difficulty / hear reports that mirage2
sites do not scroll on iOS / iPhone / iPad Safari?

Using Xcode's iOS simulator, as well as browser stack, there are some
mirage2 sites that I have used that do not scroll.

https://openknowledge.worldbank.org/
https://cache.kzoo.edu/
http://dc.statelibrary.sc.gov/

Other browsers (chrome, IE, opera, firefox) don't appear to have this
issue, and safari on Mac appears to work fine. Mirage2 bug or Safari iOS
bug?

Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809
--
___
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] Hibernate

2015-08-25 Thread Mark H. Wood
On Mon, Aug 24, 2015 at 01:47:53PM +, Monika C. Mevenkamp wrote:
 I have a 2006 copy of
 [http://www.manning.com/peak/peak_cover150.jpg]
 Hibernate Quickly
 
 Patrick Peak and Nick Heudecker
 
 since the committers will do the heavy lifting of mapping the current DB 
 structure to hibernate, I am mainly interested in getting a good foundation 
 in hibernate style querying
 
 did the query interface stay stable  or should I trash this book ?
 
 yes - yes - I know I can go online and yes a good link would be helpful - but 
 for some things I prefer to start out with a book - but i don’t want to waste 
 my time on a prehistoric API

I've been studying Antonio Goncalves' _Beginning Java EE 6 Platform
with Glassfish 3_ since it has several chapters on JPA.  I'm trying to
avoid proprietary Hibernate-isms and stick to JSR 317 as much as
possible, so that we don't get tied down again.

I've also referred to Wikibooks' _Java Persistence_:

  https://en.wikibooks.org/wiki/Java_Persistence

and to the online Hibernate documentation.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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] Deprecated Error when i tried to create Multiple instance of Dspace

2015-08-25 Thread Mark H. Wood
On Tue, Aug 25, 2015 at 01:05:24AM +0300, Mansoor Ali wrote:
 I tried to have created a multiple instance a Dspace with the different
 configs and tried to trigger the xmlui of both instances by the browser
 then i got the Deprecated Error message so can any one help me to resolve
 this issue.

The deprecation warning is annoying but I think it can be ignored.
The IO Exception messages are probably unrelated to the deprecation
but they are the first thing I would investigate in pursuit of your
other problem, whatever it is.

Setting aside the log messages, what happens when you try to browse
each instance of DSpace?

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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