Re: [Dspace-tech] R: help discovery

2013-12-05 Thread Hilton Gibson
Hi

Check your dspace.cfg file.
Some more help is here:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/SOLR_Discovery
Based on DSpace 1.8.2.

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 5 December 2013 09:36, Sig. Gaetano RUFINO gruf...@unisa.it wrote:

 Hi,

 the error occurs on start with tomcat I am attaching all the stacktrace:

 2013-12-04 09:00:16,012 ERROR
 org.dspace.app.webui.servlet.SubmissionController @ Error loading step
 class'org.dspace.submit.step.SelectCollectionStep':
 java.lang.IllegalStateException: Unable to aquire dispatcher named default
 at
 org.dspace.event.EventManager.getDispatcher(EventManager.java:115)
 at org.dspace.core.Context.commit(Context.java:329)
 at
 org.dspace.submit.step.SelectCollectionStep.doProcessing(SelectCollectionStep.java:110)
 at
 org.dspace.app.webui.submit.JSPStepManager.doStepStart(JSPStepManager.java:301)
 at
 org.dspace.app.webui.submit.JSPStepManager.processStep(JSPStepManager.java:246)
 at
 org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:382)
 at
 org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:285)
 at
 org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
 at
 org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at
 org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at
 org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
 at
 org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
 at
 org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
 at
 org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
 at
 org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
 at
 org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
 at
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
 at java.lang.Thread.run(Thread.java:662)
 Caused by: java.lang.IllegalArgumentException: No class configured for
 consumer named: discovery
 at
 org.dspace.event.ConsumerProfile.readConfiguration(ConsumerProfile.java:78)
 at
 org.dspace.event.ConsumerProfile.makeConsumerProfile(ConsumerProfile.java:62)
 at
 org.dspace.event.EventManager$DispatcherPoolFactory.makeObject(EventManager.java:227)
 at
 org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:964)
 at
 org.apache.commons.pool.PoolUtils$SynchronizedKeyedObjectPool.borrowObject(PoolUtils.java:1159)
 at
 org.dspace.event.EventManager.getDispatcher(EventManager.java:111)
 ... 31 more

 thanks again and greetings

 Saluti
 Gaetano


 __

 C.S.I. Universita' degli Studi di Salerno
 Gaetano Rufino
 Ufficio Sistemi Tecnologici
 E-Mail: gruf...@unisa.it
 Tel: +39 089 966 350 Fax: +39 089 966 368/346
 Tel. HelpDesk: +39 089 966 400
 __

 “Lei disse: “Dimmi qualcosa di bello” Lui rispose: “(∂ + m) ψ = 0””



 -Messaggio originale-
 Da: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] Per conto di
 helix84
 Inviato: mercoledì 4 

Re: [Dspace-tech] Cannot change the default browse index fields in Discovery

2013-12-05 Thread Ioannis Damastianos Panagis
Hi Emilio,

Thanks for your reply.
As you said,  the  browse index in the 3.2 version is taken from Lucene instead 
of SOLR (because you modify the dspace.cfg   instead of /solr/schema.xml). 
you´d better try to do a  dspace index-update   (tomcat stopped)  (lucene 
index)   instead of   dspace update-discovey-index  (update the solr index)

However, I am using Solr Browse DAO and as it is mentioned here: 
https://wiki.duraspace.org/pages/viewpage.action?pageId=32474035#ReIndexingContent%28forBrowseorSearch%29-UpdatingtheIndexes
 and here:

https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-DiscoverySolrIndexMaintenance

I have to use update-discovery-index. Since it is failing I might return to the 
conventional Lucene index for the browse :), however it just occurred to me 
that I 'll have to change /solr/schema.xml although it is not mentioned in the 
documentation.

It is wrong to use extra '.*' for the language you are right.

Do you know by any chance why when defining the metadata field for the title, 
it originally uses only title:item:title. How does it know which metadata 
field to index?

Best
Yannis


From: emilio lorenzo [mailto:elore...@arvo.es]
Sent: Wednesday, December 04, 2013 7:18 PM
To: Ioannis Damastianos Panagis; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Cannot change the default browse index fields in 
Discovery


Hi Ioannis
El 04/12/2013 17:45, Ioannis Damastianos Panagis escribió:
Hello everyone,

First of all I am pretty new to DSpace so please show tolerance ;).  I 'm using 
version 3.2 and I am trying to customize the Browse index to use Solr and my 
own custom metadata. Following the manual I am setting in dspace.cfg something 
like:
webui.browse.index.2 = 
author:metadata:dc.contributor.*,myschema.mycontributor.author.*:text

The reason why I put '.*' after mycontributor.author is because the metadata 
for some of the files I uploaded have a language qualifier which is en-US
That is strange and probably wrong. The language qualifier does not belong to 
the schema hierachy, so the codification  is just  schema.field.qualifierI 
Think it does not support another *.   You probably do not need  the .*  (and 
probably is wrong)



I am updating the Solr index and restarting Tomcat but browsing displays no 
results, even though I have 3 files. Do I need perhaps to *rebuild* Dspace as 
required when customizing the Lucene index?

As you said,  the  browse index in the 3.2 version is taken from Lucene instead 
of SOLR (because you modify the dspace.cfg   instead of /solr/schema.xml). 
you´d better try to do a  dspace index-update   (tomcat stopped)  (lucene 
index)   instead of   dspace update-discovey-index  (update the solr index)

Best luck
Emilio
--
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=111408631iu=/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] R: R: help discovery

2013-12-05 Thread Sig. Gaetano RUFINO
Hello,

thanks to everyone for the help, I managed to solve the problem by inserting 
the following lines in dspace.cfg (we have a. cfg that we carry from version 
1.6, although we are currently version 3.2):

 

event.dispatcher.default.consumers = versioning, discovery, ePerson, harvester

# Consumer to 'maintain the discovery index

event.consumer.discovery.class = 
org.dspace.discovery.IndexEventConsumerevent.consumer.discovery.filters = 
Community | Collection | Item | Bundle + Add | Create | Modify | 
Modify_Metadata | Delete | Remove

# Consumer to 'maintain versions

event.consumer.versioning.class = org.dspace.versioning.VersioningConsumer

event.consumer.versioning.filters = Item + Install

 

greetings

Gaetano

 

__

 

C.S.I. Universita' degli Studi di Salerno

Gaetano Rufino

Ufficio Sistemi Tecnologici

E-Mail: gruf...@unisa.it

Tel: +39 089 966 350 Fax: +39 089 966 368/346 

Tel. HelpDesk: +39 089 966 400 

__

 

“Lei disse: “Dimmi qualcosa di bello” Lui rispose: “(∂ + m) ψ = 0””

qr

 

Da: Hilton Gibson [mailto:hilton.gib...@gmail.com] 
Inviato: giovedì 5 dicembre 2013 09:03
A: Sig. Gaetano RUFINO
Cc: Ivan Masár; dspace-tech
Oggetto: Re: [Dspace-tech] R: help discovery

 

Hi

 

Check your dspace.cfg file.

Some more help is here: 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/SOLR_Discovery

Based on DSpace 1.8.2.

 

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 5 December 2013 09:36, Sig. Gaetano RUFINO gruf...@unisa.it wrote:

Hi,

the error occurs on start with tomcat I am attaching all the stacktrace:

2013-12-04 09:00:16,012 ERROR org.dspace.app.webui.servlet.SubmissionController 
@ Error loading step class'org.dspace.submit.step.SelectCollectionStep':
java.lang.IllegalStateException: Unable to aquire dispatcher named default
at org.dspace.event.EventManager.getDispatcher(EventManager.java:115)
at org.dspace.core.Context.commit(Context.java:329)
at 
org.dspace.submit.step.SelectCollectionStep.doProcessing(SelectCollectionStep.java:110)
at 
org.dspace.app.webui.submit.JSPStepManager.doStepStart(JSPStepManager.java:301)
at 
org.dspace.app.webui.submit.JSPStepManager.processStep(JSPStepManager.java:246)
at 
org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:382)
at 
org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:285)
at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
at 
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at 
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
 

Re: [Dspace-tech] thumbnail description

2013-12-05 Thread Webshet, Sisay (ILRI)
Hi All,

We are using dsapce 3.2 on xmlui version
I was doing some customization on item-view.xsl to bring the thumbnail to the 
top of the page and
making the thumbnail to be a link to the document(Pdf).

Can anybody helps me in writing a description like Size, Format in front of the 
thumbnail.

Thanks
Sisay

--
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=111408631iu=/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 update text on JSP page in v3.2

2013-12-05 Thread Bram Luyten
Hi Shazia,

*snip*
Is there any way I can verify if the custom files placed under
[dspace-src]\dspace\modules\jspui\src\main\resources
is actually being used in the build process?
*snip*

I believe this should be clear form your maven build output. You should see
something like this:
The skip lines here clearly indicate that maven looks for custom files,
but can't find the folder they are supposed to be in:

[INFO]

[INFO] Building DSpace JSP-UI :: Local Customizations
[INFO]task-segment: [clean, package]
[INFO]

[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory
/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/target
[INFO] [enforcer:enforce {execution: enforce-maven}]
[INFO] [antrun:run {execution: native2ascii-utf8}]
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
*[INFO] skip non existing resourceDirectory
/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/src/main/resources*
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
*[INFO] skip non existing resourceDirectory
/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/src/test/resources*
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [war:war {execution: default-war}]
[INFO] Packaging webapp
[INFO] Assembling webapp [jspui] in
[/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/target/jspui-4.0-rc3-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp webResources
[/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/src/main/webapp]
to
[/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/target/jspui-4.0-rc3-SNAPSHOT]
[INFO] Copying webapp resources
[/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/src/main/webapp]
[INFO] Processing overlay [ id org.dspace:dspace-jspui]
[INFO] Webapp assembled in [800 msecs]
[INFO] Building war:
/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/target/jspui-4.0-rc3-SNAPSHOT.war
[INFO] WEB-INF/web.xml already added, skipping

cheers,

Bram

-- 
[image: logo]
*Bram Luyten* *@mire*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


On Wed, Nov 27, 2013 at 8:32 PM, Shazia Sathar ssat...@uic.edu wrote:

 Some more info:
 I went through the FAQ section regarding updates to Messages.properties
 without doing a build. This is what I noticed for my build.

 1) Unzipped  [dspace]/webapps/jspui/WEB-INF/lib/dspace-api-3.2.jar to
 external folder
 2) The Message.properties does *not* contain the modifications  from
 [dspace-src]\dspace\modules\jspui\src\main\resources
 4) The Message.properties file in [dspace]/webapps/jspui/WEB-INF/classes/
 has the modifications present.
 5) restarted servlet container

 The changes are *not* visible on the home page. Is there any way I can
 verify if the custom files placed under 
 [dspace-src]\dspace\modules\jspui\src\main\resources
 is actually being used in the build process?

 On Tue, Nov 26, 2013 at 10:19 AM, Shazia Sathar ssat...@uic.edu wrote:

 Hello,

 I am trying to update text on Home page by making updates to
 Messages.Properties file. Here are the steps I followed:

 1) Copy Message.properties file from
 [dspace-src]\dspace-api\src\main\resources to
 [dspace-src]\dspace\modules\jspui\src\main\resources
 2) Edit the file in [dspace-src]\dspace\modules\jspui\src\main\resources

 jsp.home.com1  = Communities in My DSpace
 jsp.home.title  = ABC Home

 3) go to [dspace-src]\dspace

 Run  mvn package

 4) Go to [dspace-src]\dspace\target\dspace-3.3-build\

 Run 'ant -Dconfig=C:\dspace\config\dspace.cfg update

 5) XCOPY C:\dspace\webapps\* C:\apache-tomcat-8.0.0-RC5\webapps /s/i
 6) Restart Tomcat

 I do not see my changes on the Home page. Am I missing something here? I
 am using Dspace version 3.2 and running on Windows platform

 Regards,
  Shazia




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

[Dspace-tech] Advanced Search Autocomplete

2013-12-05 Thread Ruben

Hi All,

I'm using DSpace 3.2 on jspui version. I'm following this tutorial to 
implements autocomplete functionality on advanced search form: 
https://wiki.duraspace.org/display/DSpaceKB/Autocomplete+functionality+on+JSPUI+advanced+search+form


When I try to access Advanced Search option, I have an error. I look at 
DSpace logs and I find errors in 
[dspace-source]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/search/advanced.jsp 
file. I think the error is because new code is not pasted into correct 
place. The new code is this:


|...|
|||dspace:layout| |locbar||=||nolink| 
|titlekey||=||jsp.search.advanced.title| |scriptaculous||=||off| 
|jquery||=||on|||
|||script| |type||=||text/javascript| 
|src=%=request.getContextPath()%/static/js/autocomplete.js/||script|||

|||script| |type||=||text/javascript|||
|window.onload = function() {|
|||monkeyPatchAutocomplete();|
|||replaceSAXExpression('%=solrPath %', 10,'tfield1', 'tquery1');|
|||replaceSAXExpression('%=solrPath %', 10,'tfield2', 'tquery2');|
|||replaceSAXExpression('%=solrPath %', 10,'tfield3', 'tquery3');|
|}|
|/||script|||
|...|
|!-- Add id field and onchange event call for every search combobox, 
add id field on search textbox too--|
|||select| |name||=||field1| |id||=||tfield1| 
|onchange=JavaScript:replaceSAXExpression('%=solrPath%', 10 
,'tfield1', 'tquery1');|
|||input| |type||=||text| |name||=||query1| |id||=||tquery1| 
|value=%=StringEscapeUtils.escapeHtml(query1)% size=30 /|

|...|
|||select| |name||=||field2| |id||=||tfield2| 
|onchange=JavaScript:replaceSAXExpression('%=solrPath%', 10 
,'tfield2', 'tquery2');|
|||input| |type||=||text| |name||=||query2| |id||=||tquery2| 
|value=%=StringEscapeUtils.escapeHtml(query2)% size=30/|

|...|
|||select| |name||=||field3| |id||=||tfield3| 
|onchange=JavaScript:replaceSAXExpression('%=solrPath%', 10 
,'tfield3', 'tquery3');|
|||input| |type||=||text| |name||=||query3| |id||=||tquery3| 
|value=%=StringEscapeUtils.escapeHtml(query3)% size=30/



|
Anyone knows in which part of advanced.jsp file I must paste the above code?

Thanks in advance,

--


   __
  / /   Rubén Boada Navarrete
C E / S / C A   Tècnic de Portals i Repositoris
/_/ Centre de Serveis Científics i Acadèmics de Catalunya

Gran Capità, 2-4 (Edifici Nexus) . 08034 Barcelona
T. 93 205 6464 (ext. 302) . F. 93 551 62 13 . rbo...@cesca.cat
Subscriu-te al butlletí (www.cesca.cat/butlleti)


--
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=111408631iu=/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] Multiple derivatives in media-filter

2013-12-05 Thread RENTON Scott
Hi folks

We have an image repository which has got a mixture of large tiffs and small 
jpegs as file types. Some time ago, we applied the relevant updates to allow us 
to create preview thumbnails regardless of type.

There is also an issue around security in this repository, wherein the tiffs 
are not supposed to be accessible without a login. This has resulted in a 
complicated workflow with some human intervention.

We have agreed a better solution, unsurprisingly, would be to keep the preview 
thumbnail, and also have a larger derivative of the same image for viewing at a 
larger size, but not letting them get to the original. I would like to do this 
through media-filter, but I appreciate that


 1.  if a thumbnail has already been created the bitstream will be skipped
 2.  if we put the force parameter onto it, the new derivative will be created, 
but the old one will be overwritten

Is there any way to allow us to get the new one and keep the old? The 
alternative is digging into the assetstore while maintaining a reference to the 
handle, generating in an external application, and then updating the metadata, 
which is a bit complicated!

Cheers
Scott

Scott Renton
Systems Developer, Library  University Collections
24 Buccleuch Place, 2nd Floor Right
tel: 515219



-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


--
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=111408631iu=/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] Cannot change the default browse index fields in Discovery

2013-12-05 Thread Ioannis Damastianos Panagis
Update:

I got it working and updating correctly. The reason for the initial failure was 
that I hadn't  structures the metadata schema properly, i.e. I had something 
like

test.panagis.author
test.panagis.title
test.panagis.date

which means that all the metadata elements were qualifiers (argh!)...

I also followed the update procedure here: 
http://sourceforge.net/mailarchive/message.php?msg_id=30784046 instead of only 
running [dspace]/bin/dspace update-discovery-index

Best
Yannis

From: Ioannis Damastianos Panagis [mailto:ioannis.pana...@jur.ku.dk]
Sent: Thursday, December 05, 2013 11:17 AM
To: emilio lorenzo; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Cannot change the default browse index fields in 
Discovery

Hi Emilio,

Thanks for your reply.
As you said,  the  browse index in the 3.2 version is taken from Lucene instead 
of SOLR (because you modify the dspace.cfg   instead of /solr/schema.xml). 
you´d better try to do a  dspace index-update   (tomcat stopped)  (lucene 
index)   instead of   dspace update-discovey-index  (update the solr index)

However, I am using Solr Browse DAO and as it is mentioned here: 
https://wiki.duraspace.org/pages/viewpage.action?pageId=32474035#ReIndexingContent%28forBrowseorSearch%29-UpdatingtheIndexes
 and here:

https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-DiscoverySolrIndexMaintenance

I have to use update-discovery-index. Since it is failing I might return to the 
conventional Lucene index for the browse :), however it just occurred to me 
that I 'll have to change /solr/schema.xml although it is not mentioned in the 
documentation.

It is wrong to use extra '.*' for the language you are right.

Do you know by any chance why when defining the metadata field for the title, 
it originally uses only title:item:title. How does it know which metadata 
field to index?

Best
Yannis


From: emilio lorenzo [mailto:elore...@arvo.es]
Sent: Wednesday, December 04, 2013 7:18 PM
To: Ioannis Damastianos Panagis; 
dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Cannot change the default browse index fields in 
Discovery


Hi Ioannis
El 04/12/2013 17:45, Ioannis Damastianos Panagis escribió:
Hello everyone,

First of all I am pretty new to DSpace so please show tolerance ;).  I 'm using 
version 3.2 and I am trying to customize the Browse index to use Solr and my 
own custom metadata. Following the manual I am setting in dspace.cfg something 
like:
webui.browse.index.2 = 
author:metadata:dc.contributor.*,myschema.mycontributor.author.*:text

The reason why I put '.*' after mycontributor.author is because the metadata 
for some of the files I uploaded have a language qualifier which is en-US
That is strange and probably wrong. The language qualifier does not belong to 
the schema hierachy, so the codification  is just  schema.field.qualifierI 
Think it does not support another *.   You probably do not need  the .*  (and 
probably is wrong)


I am updating the Solr index and restarting Tomcat but browsing displays no 
results, even though I have 3 files. Do I need perhaps to *rebuild* Dspace as 
required when customizing the Lucene index?

As you said,  the  browse index in the 3.2 version is taken from Lucene instead 
of SOLR (because you modify the dspace.cfg   instead of /solr/schema.xml). 
you´d better try to do a  dspace index-update   (tomcat stopped)  (lucene 
index)   instead of   dspace update-discovey-index  (update the solr index)

Best luck
Emilio
--
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=111408631iu=/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] DATACITE and DOI

2013-12-05 Thread Massimiliano Cilurzo
Hi All, 

 

 We have DSPACE 3.2. and new member of DATACITE, we would like to
implement the DOI function.

Could someone help us?

Thanks

Best regards  

Massimiliano Cilurzo

--
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=111408631iu=/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] DATACITE and DOI

2013-12-05 Thread helix84
On Thu, Dec 5, 2013 at 1:27 PM, Massimiliano Cilurzo mcilu...@unisa.it wrote:
  We have DSPACE 3.2. and new member of DATACITE, we would like to
 implement the DOI function.

Hi Massimiliano,

DOI minting (issuing new DOIs by DSpace) and using DOI as an external
identifier is supported only since DSpace 4.0 (to be released this
month). In DSpace 3.2, you can include a DOI in item metadata, but
that version doesn't treat it in any special way.

For more information on DOI in DSpace 4, see the official documentation:
https://wiki.duraspace.org/display/DSDOC4x/DOI+Digital+Object+Identifier

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=111408631iu=/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 update text on JSP page in v3.2

2013-12-05 Thread Shazia Sathar
Hi Bram,

Thanks much for getting back to me. Here is the maven build output for the
JSPUI part

[INFO]

[INFO] Building DSpace JSP-UI :: Local Customizations
[INFO]task-segment: [package]
[INFO]

[INFO] [enforcer:enforce {execution: enforce-maven}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[*INFO] skip non existing resourceDirectory
C:\dspace-3.2-src-release\dspace\modules\jspui\src\test\resources*
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [war:war {execution: default-war}]
[INFO] Packaging webapp
[INFO] Assembling webapp [jspui] in
[C:\dspace-3.2-src-release\dspace\modules\jspui\target\jspui-3.2]
[INFO] Processing war project
[INFO] Copying webapp webResources
[C:\dspace-3.2-src-release\dspace\modules\jspui/src/main/webapp] to
[C:\dspace-3.2-src-release\dspace\modules\jspui\target\jspui-3.2]
[INFO] Copying webapp resources
[C:\dspace-3.2-src-release\dspace\modules\jspui\src\main\webapp]
[INFO] Processing overlay [ id org.dspace:dspace-jspui]

Do you notice anything unsual here?
I have placed my custom Messsage.properties file
in [dspace-src]\dspace\modules\jspui\src\main\resources. I don't see it
getting picked up from this location. I will try again by placing it in
[dspace-src]\dspace\modules\jspui\src\test\resources


Thanks again for looking into this.

Regards,
Shazia


On Thu, Dec 5, 2013 at 5:02 AM, Bram Luyten b...@atmire.com wrote:

 Hi Shazia,

 *snip*
 Is there any way I can verify if the custom files placed under 
 [dspace-src]\dspace\modules\jspui\src\main\resources
 is actually being used in the build process?
 *snip*

 I believe this should be clear form your maven build output. You should
 see something like this:
 The skip lines here clearly indicate that maven looks for custom files,
 but can't find the folder they are supposed to be in:

 [INFO]
 
 [INFO] Building DSpace JSP-UI :: Local Customizations
 [INFO]task-segment: [clean, package]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] Deleting directory
 /Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/target
 [INFO] [enforcer:enforce {execution: enforce-maven}]
 [INFO] [antrun:run {execution: native2ascii-utf8}]
 [INFO] Executing tasks

 main:
 [INFO] Executed tasks
  [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 *[INFO] skip non existing resourceDirectory
 /Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/src/main/resources*
 [INFO] [compiler:compile {execution: default-compile}]
 [INFO] No sources to compile
 [INFO] [resources:testResources {execution: default-testResources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 *[INFO] skip non existing resourceDirectory
 /Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/src/test/resources*
 [INFO] [compiler:testCompile {execution: default-testCompile}]
 [INFO] Not compiling test sources
 [INFO] [surefire:test {execution: default-test}]
 [INFO] Tests are skipped.
 [INFO] [war:war {execution: default-war}]
 [INFO] Packaging webapp
 [INFO] Assembling webapp [jspui] in
 [/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/target/jspui-4.0-rc3-SNAPSHOT]
 [INFO] Processing war project
 [INFO] Copying webapp webResources
 [/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/src/main/webapp]
 to
 [/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/target/jspui-4.0-rc3-SNAPSHOT]
 [INFO] Copying webapp resources
 [/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/src/main/webapp]
 [INFO] Processing overlay [ id org.dspace:dspace-jspui]
 [INFO] Webapp assembled in [800 msecs]
 [INFO] Building war:
 /Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/target/jspui-4.0-rc3-SNAPSHOT.war
 [INFO] WEB-INF/web.xml already added, skipping

 cheers,

 Bram

 --
 [image: logo]
 *Bram Luyten* *@mire*
 *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
 *Esperantolaan 4, Heverlee 3001, Belgium*
 www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


 On Wed, Nov 27, 2013 at 8:32 PM, Shazia Sathar 

[Dspace-tech] org.dspace.app.mediafilter.HTMLFilter and nbsp

2013-12-05 Thread Terry Brady
We have ingested a number of HTML documents into DSpace 3.1.

These documents contained a large number of nbsp characters.

When these documents were presented in discovery search result snippets,
the nbsp characters appeared as ?.  The characters also appeared as ?
in the TEXT bundle.

Curiously, inside the HTMLFilter code (running on the server), these
characters appeared to be (int)65533.  If I download the html file, the
characters appear to be an nbsp.

I intend to customize the HTMLFilter code to translate these characters
into spaces.

Could you suggest a better approach to this problem?

Thanks, Terry

  public InputStream getDestinationStream(InputStream source)
throws Exception
{
// try and read the document - set to ignore character set
directive,
// assuming that the input stream is already set properly (I hope)
HTMLEditorKit kit = new HTMLEditorKit();
Document doc = kit.createDefaultDocument();

doc.putProperty(IgnoreCharsetDirective, Boolean.TRUE);

kit.read(source, doc, 0);

char[] chars = doc.getText(0, doc.getLength()).toCharArray();

for(int i=0; ichars.length; i++) {
char c = chars[i];
int ic = (int)c;
if (ic == 160) chars[i] = ' ';//handle nbsp in html file
if (ic == 65533) chars[i] = ' ';  //handle nbsp (as delivered from
server) in html file
}

byte[] textBytes = new String(chars).getBytes();

ByteArrayInputStream bais = new ByteArrayInputStream(textBytes);

return bais;
}


-- 
Terry Brady
Applications Programmer Analyst
Lauinger Information Technology
202-687-7053
--
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=111408631iu=/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 update text on JSP page in v3.2

2013-12-05 Thread Shazia Sathar
I just tried placing the custom Message.properties file in
[dspace-src]\dspace\modules\jspui\src\test\resources. Here is the build
output:

[INFO]

[INFO] Building DSpace JSP-UI :: Local Customizations
[INFO]task-segment: [package]
[INFO]

[INFO] [enforcer:enforce {execution: enforce-maven}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
*[INFO] Copying 1 resource*
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [war:war {execution: default-war}]
[INFO] Packaging webapp
[INFO] Assembling webapp [jspui] in
[C:\dspace-3.2-src-release\dspace\modules\js
pui\target\jspui-3.2]
[INFO] Processing war project
[INFO] Copying webapp webResources
[C:\dspace-3.2-src-release\dspace\modules\jsp
ui/src/main/webapp] to
[C:\dspace-3.2-src-release\dspace\modules\jspui\target\js
pui-3.2]
[INFO] Copying webapp resources
[C:\dspace-3.2-src-release\dspace\modules\jspui\
src\main\webapp]
[INFO] Processing overlay [ id org.dspace:dspace-jspui]
[INFO] Webapp assembled in [28358 msecs]

Looks like it picked up the custom file but I do not see any updates on the
webpage. I checked a few files under  [tomcat]\webapps
1) Unpacked [tomcat]\webapps\\jspui\WEB-INF\lib\dspace-api-3.2 - Not the
custom Message.properties file
2)  [tomcat]\webapps\\jspui\WEB-INF\classes - Custom file present here
3) [tomcat]webapps - not custom Message.properties file

Any pointers on how to proceed? I see this problem only with custom
Message.properties. The custom JSP files show up fine.

Thanks!

Regards,
Shazia


On Thu, Dec 5, 2013 at 9:17 AM, Shazia Sathar ssat...@uic.edu wrote:

 Hi Bram,

 Thanks much for getting back to me. Here is the maven build output for the
 JSPUI part

 [INFO]
 
 [INFO] Building DSpace JSP-UI :: Local Customizations
 [INFO]task-segment: [package]
 [INFO]
 
 [INFO] [enforcer:enforce {execution: enforce-maven}]
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 2 resources
 [INFO] [compiler:compile {execution: default-compile}]
 [INFO] No sources to compile
 [INFO] [resources:testResources {execution: default-testResources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [*INFO] skip non existing resourceDirectory
 C:\dspace-3.2-src-release\dspace\modules\jspui\src\test\resources*
 [INFO] [compiler:testCompile {execution: default-testCompile}]
 [INFO] Not compiling test sources
 [INFO] [surefire:test {execution: default-test}]
 [INFO] Tests are skipped.
 [INFO] [war:war {execution: default-war}]
 [INFO] Packaging webapp
 [INFO] Assembling webapp [jspui] in
 [C:\dspace-3.2-src-release\dspace\modules\jspui\target\jspui-3.2]
 [INFO] Processing war project
 [INFO] Copying webapp webResources
 [C:\dspace-3.2-src-release\dspace\modules\jspui/src/main/webapp] to
 [C:\dspace-3.2-src-release\dspace\modules\jspui\target\jspui-3.2]
 [INFO] Copying webapp resources
 [C:\dspace-3.2-src-release\dspace\modules\jspui\src\main\webapp]
 [INFO] Processing overlay [ id org.dspace:dspace-jspui]

 Do you notice anything unsual here?
 I have placed my custom Messsage.properties file
 in [dspace-src]\dspace\modules\jspui\src\main\resources. I don't see it
 getting picked up from this location. I will try again by placing it in
 [dspace-src]\dspace\modules\jspui\src\test\resources


 Thanks again for looking into this.

 Regards,
 Shazia


 On Thu, Dec 5, 2013 at 5:02 AM, Bram Luyten b...@atmire.com wrote:

 Hi Shazia,

 *snip*
 Is there any way I can verify if the custom files placed under 
 [dspace-src]\dspace\modules\jspui\src\main\resources
 is actually being used in the build process?
 *snip*

 I believe this should be clear form your maven build output. You should
 see something like this:
 The skip lines here clearly indicate that maven looks for custom files,
 but can't find the folder they are supposed to be in:

 [INFO]
 
 [INFO] Building DSpace JSP-UI :: Local Customizations
 [INFO]task-segment: [clean, package]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] Deleting directory
 /Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/target

Re: [Dspace-tech] Unable to update text on JSP page in v3.2

2013-12-05 Thread Bram Luyten
Shazia,

I think the line already makes it clear that the files are found and copied.

*[INFO] Using 'UTF-8' encoding to copy filtered resources.*
*[INFO] Copying 2 resources*

Sorry if you stated this before, but can you confirm that you have
executed *ant
update*? This should take care of copying your files from the target
directories in the right webapps folders.

best regards,

Bram

-- 
[image: logo]
*Bram Luyten* *@mire*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


On Thu, Dec 5, 2013 at 4:41 PM, Shazia Sathar ssat...@uic.edu wrote:

 I just tried placing the custom Message.properties file in
 [dspace-src]\dspace\modules\jspui\src\test\resources. Here is the build
 output:

 [INFO]
 
 [INFO] Building DSpace JSP-UI :: Local Customizations
 [INFO]task-segment: [package]
 [INFO]
 
 [INFO] [enforcer:enforce {execution: enforce-maven}]
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 2 resources
 [INFO] [compiler:compile {execution: default-compile}]
 [INFO] No sources to compile
 [INFO] [resources:testResources {execution: default-testResources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 *[INFO] Copying 1 resource*
 [INFO] [compiler:testCompile {execution: default-testCompile}]
 [INFO] Not compiling test sources
 [INFO] [surefire:test {execution: default-test}]
 [INFO] Tests are skipped.
 [INFO] [war:war {execution: default-war}]
 [INFO] Packaging webapp
 [INFO] Assembling webapp [jspui] in
 [C:\dspace-3.2-src-release\dspace\modules\js
 pui\target\jspui-3.2]
 [INFO] Processing war project
 [INFO] Copying webapp webResources
 [C:\dspace-3.2-src-release\dspace\modules\jsp
 ui/src/main/webapp] to
 [C:\dspace-3.2-src-release\dspace\modules\jspui\target\js
 pui-3.2]
 [INFO] Copying webapp resources
 [C:\dspace-3.2-src-release\dspace\modules\jspui\
 src\main\webapp]
 [INFO] Processing overlay [ id org.dspace:dspace-jspui]
 [INFO] Webapp assembled in [28358 msecs]

 Looks like it picked up the custom file but I do not see any updates on
 the webpage. I checked a few files under  [tomcat]\webapps
 1) Unpacked [tomcat]\webapps\\jspui\WEB-INF\lib\dspace-api-3.2 - Not the
 custom Message.properties file
 2)  [tomcat]\webapps\\jspui\WEB-INF\classes - Custom file present here
 3) [tomcat]webapps - not custom Message.properties file

 Any pointers on how to proceed? I see this problem only with custom
 Message.properties. The custom JSP files show up fine.

 Thanks!

 Regards,
  Shazia


 On Thu, Dec 5, 2013 at 9:17 AM, Shazia Sathar ssat...@uic.edu wrote:

 Hi Bram,

 Thanks much for getting back to me. Here is the maven build output for
 the JSPUI part

 [INFO]
 
 [INFO] Building DSpace JSP-UI :: Local Customizations
 [INFO]task-segment: [package]
 [INFO]
 
 [INFO] [enforcer:enforce {execution: enforce-maven}]
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 2 resources
 [INFO] [compiler:compile {execution: default-compile}]
 [INFO] No sources to compile
 [INFO] [resources:testResources {execution: default-testResources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [*INFO] skip non existing resourceDirectory
 C:\dspace-3.2-src-release\dspace\modules\jspui\src\test\resources*
  [INFO] [compiler:testCompile {execution: default-testCompile}]
 [INFO] Not compiling test sources
 [INFO] [surefire:test {execution: default-test}]
 [INFO] Tests are skipped.
 [INFO] [war:war {execution: default-war}]
 [INFO] Packaging webapp
 [INFO] Assembling webapp [jspui] in
 [C:\dspace-3.2-src-release\dspace\modules\jspui\target\jspui-3.2]
 [INFO] Processing war project
 [INFO] Copying webapp webResources
 [C:\dspace-3.2-src-release\dspace\modules\jspui/src/main/webapp] to
 [C:\dspace-3.2-src-release\dspace\modules\jspui\target\jspui-3.2]
 [INFO] Copying webapp resources
 [C:\dspace-3.2-src-release\dspace\modules\jspui\src\main\webapp]
 [INFO] Processing overlay [ id org.dspace:dspace-jspui]

 Do you notice anything unsual here?
 I have placed my custom Messsage.properties file
 in [dspace-src]\dspace\modules\jspui\src\main\resources. I don't see it
 getting picked up from this location. I will try again by placing it in
 [dspace-src]\dspace\modules\jspui\src\test\resources


 Thanks again for looking into this.

 Regards,
 Shazia


 On Thu, Dec 5, 2013 at 5:02 AM, Bram Luyten b...@atmire.com wrote:

 Hi Shazia,

 *snip*
 Is there any way I can verify if the custom files placed 

Re: [Dspace-tech] Unable to update text on JSP page in v3.2

2013-12-05 Thread Shazia Sathar
Yes I execute *ant update* after the mvn build step. I have observed the
line you pointed out in the build output before but not sure why the
modifications are not showing up on the webpage. I have tried clearing
cache and restarting tomcat but no luck. Infact, the timestamps on the
folders in webapp directories do not show that any of the folders have been
updated.
In the changes history for v3.2 I noticed DSpace's .gitignore wrongly
ignores all *.properties files https://jira.duraspace.org/browse/DS-1540.
 Not sure if this bug is affecting me. The .gitignore file in
[dspace-src]\dspace\modules\jspui\src\main\webapp is empty. Should this
file be present there?



On Thu, Dec 5, 2013 at 10:00 AM, Bram Luyten b...@atmire.com wrote:

 Shazia,

 I think the line already makes it clear that the files are found and
 copied.

 *[INFO] Using 'UTF-8' encoding to copy filtered resources.*
 *[INFO] Copying 2 resources*

 Sorry if you stated this before, but can you confirm that you have
 executed *ant update*? This should take care of copying your files from
 the target directories in the right webapps folders.

 best regards,

 Bram

 --
 [image: logo]
 *Bram Luyten* *@mire*
 *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
 *Esperantolaan 4, Heverlee 3001, Belgium*
 www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


 On Thu, Dec 5, 2013 at 4:41 PM, Shazia Sathar ssat...@uic.edu wrote:

 I just tried placing the custom Message.properties file in
 [dspace-src]\dspace\modules\jspui\src\test\resources. Here is the build
 output:

 [INFO]
 
 [INFO] Building DSpace JSP-UI :: Local Customizations
 [INFO]task-segment: [package]
 [INFO]
 
 [INFO] [enforcer:enforce {execution: enforce-maven}]
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 2 resources
 [INFO] [compiler:compile {execution: default-compile}]
 [INFO] No sources to compile
 [INFO] [resources:testResources {execution: default-testResources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 *[INFO] Copying 1 resource*
 [INFO] [compiler:testCompile {execution: default-testCompile}]
 [INFO] Not compiling test sources
 [INFO] [surefire:test {execution: default-test}]
 [INFO] Tests are skipped.
 [INFO] [war:war {execution: default-war}]
 [INFO] Packaging webapp
 [INFO] Assembling webapp [jspui] in
 [C:\dspace-3.2-src-release\dspace\modules\js
 pui\target\jspui-3.2]
 [INFO] Processing war project
 [INFO] Copying webapp webResources
 [C:\dspace-3.2-src-release\dspace\modules\jsp
 ui/src/main/webapp] to
 [C:\dspace-3.2-src-release\dspace\modules\jspui\target\js
 pui-3.2]
 [INFO] Copying webapp resources
 [C:\dspace-3.2-src-release\dspace\modules\jspui\
 src\main\webapp]
 [INFO] Processing overlay [ id org.dspace:dspace-jspui]
 [INFO] Webapp assembled in [28358 msecs]

 Looks like it picked up the custom file but I do not see any updates on
 the webpage. I checked a few files under  [tomcat]\webapps
 1) Unpacked [tomcat]\webapps\\jspui\WEB-INF\lib\dspace-api-3.2 - Not the
 custom Message.properties file
 2)  [tomcat]\webapps\\jspui\WEB-INF\classes - Custom file present here
 3) [tomcat]webapps - not custom Message.properties file

 Any pointers on how to proceed? I see this problem only with custom
 Message.properties. The custom JSP files show up fine.

 Thanks!

 Regards,
  Shazia


 On Thu, Dec 5, 2013 at 9:17 AM, Shazia Sathar ssat...@uic.edu wrote:

 Hi Bram,

 Thanks much for getting back to me. Here is the maven build output for
 the JSPUI part

 [INFO]
 
 [INFO] Building DSpace JSP-UI :: Local Customizations
 [INFO]task-segment: [package]
 [INFO]
 
 [INFO] [enforcer:enforce {execution: enforce-maven}]
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 2 resources
 [INFO] [compiler:compile {execution: default-compile}]
 [INFO] No sources to compile
 [INFO] [resources:testResources {execution: default-testResources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [*INFO] skip non existing resourceDirectory
 C:\dspace-3.2-src-release\dspace\modules\jspui\src\test\resources*
  [INFO] [compiler:testCompile {execution: default-testCompile}]
 [INFO] Not compiling test sources
 [INFO] [surefire:test {execution: default-test}]
 [INFO] Tests are skipped.
 [INFO] [war:war {execution: default-war}]
 [INFO] Packaging webapp
 [INFO] Assembling webapp [jspui] in
 [C:\dspace-3.2-src-release\dspace\modules\jspui\target\jspui-3.2]
 [INFO] Processing war project
 [INFO] Copying webapp webResources
 

Re: [Dspace-tech] Unable to update text on JSP page in v3.2

2013-12-05 Thread Bram Luyten
Shazia,

are you able to update other files and see those changes in the interface?
If you want to try this out, can you change dspace.name in
build.properties, and see if after mvn clean package and ant update, the
changed DSpace name would show up on the homepage?

This way, you can determine whether you can't get any changes in place at
all, or just the ones in messages.properties.

best regards,

Bram Luyten


-- 
[image: logo]
*Bram Luyten* *@mire*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


On Thu, Dec 5, 2013 at 5:30 PM, Shazia Sathar ssat...@uic.edu wrote:

 Yes I execute *ant update* after the mvn build step. I have observed the
 line you pointed out in the build output before but not sure why the
 modifications are not showing up on the webpage. I have tried clearing
 cache and restarting tomcat but no luck. Infact, the timestamps on the
 folders in webapp directories do not show that any of the folders have been
 updated.
 In the changes history for v3.2 I noticed DSpace's .gitignore wrongly
 ignores all *.properties files https://jira.duraspace.org/browse/DS-1540.
  Not sure if this bug is affecting me. The .gitignore file in
 [dspace-src]\dspace\modules\jspui\src\main\webapp is empty. Should this
 file be present there?



 On Thu, Dec 5, 2013 at 10:00 AM, Bram Luyten b...@atmire.com wrote:

 Shazia,

 I think the line already makes it clear that the files are found and
 copied.

 *[INFO] Using 'UTF-8' encoding to copy filtered resources.*
 *[INFO] Copying 2 resources*

 Sorry if you stated this before, but can you confirm that you have
 executed *ant update*? This should take care of copying your files from
 the target directories in the right webapps folders.

 best regards,

 Bram

 --
  [image: logo]
 *Bram Luyten* *@mire*
 *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
 *Esperantolaan 4, Heverlee 3001, Belgium*
 www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


 On Thu, Dec 5, 2013 at 4:41 PM, Shazia Sathar ssat...@uic.edu wrote:

 I just tried placing the custom Message.properties file in
 [dspace-src]\dspace\modules\jspui\src\test\resources. Here is the build
 output:

 [INFO]
 
 [INFO] Building DSpace JSP-UI :: Local Customizations
 [INFO]task-segment: [package]
 [INFO]
 
 [INFO] [enforcer:enforce {execution: enforce-maven}]
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 2 resources
 [INFO] [compiler:compile {execution: default-compile}]
 [INFO] No sources to compile
 [INFO] [resources:testResources {execution: default-testResources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 *[INFO] Copying 1 resource*
 [INFO] [compiler:testCompile {execution: default-testCompile}]
 [INFO] Not compiling test sources
 [INFO] [surefire:test {execution: default-test}]
 [INFO] Tests are skipped.
 [INFO] [war:war {execution: default-war}]
 [INFO] Packaging webapp
 [INFO] Assembling webapp [jspui] in
 [C:\dspace-3.2-src-release\dspace\modules\js
 pui\target\jspui-3.2]
 [INFO] Processing war project
 [INFO] Copying webapp webResources
 [C:\dspace-3.2-src-release\dspace\modules\jsp
 ui/src/main/webapp] to
 [C:\dspace-3.2-src-release\dspace\modules\jspui\target\js
 pui-3.2]
 [INFO] Copying webapp resources
 [C:\dspace-3.2-src-release\dspace\modules\jspui\
 src\main\webapp]
 [INFO] Processing overlay [ id org.dspace:dspace-jspui]
 [INFO] Webapp assembled in [28358 msecs]

 Looks like it picked up the custom file but I do not see any updates on
 the webpage. I checked a few files under  [tomcat]\webapps
 1) Unpacked [tomcat]\webapps\\jspui\WEB-INF\lib\dspace-api-3.2 - Not the
 custom Message.properties file
 2)  [tomcat]\webapps\\jspui\WEB-INF\classes - Custom file present here
 3) [tomcat]webapps - not custom Message.properties file

 Any pointers on how to proceed? I see this problem only with custom
 Message.properties. The custom JSP files show up fine.

 Thanks!

 Regards,
  Shazia


 On Thu, Dec 5, 2013 at 9:17 AM, Shazia Sathar ssat...@uic.edu wrote:

 Hi Bram,

 Thanks much for getting back to me. Here is the maven build output for
 the JSPUI part

 [INFO]
 
 [INFO] Building DSpace JSP-UI :: Local Customizations
 [INFO]task-segment: [package]
 [INFO]
 
 [INFO] [enforcer:enforce {execution: enforce-maven}]
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 2 resources
 [INFO] [compiler:compile 

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



--
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=111408631iu=/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 dc...@prosentient.com.au 
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=84349351iu=/4140/ostg.clktrk 
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


[Dspace-tech] Help on basic editing of Mirage theme

2013-12-05 Thread Ioannis Damastianos Panagis
Hello everyone,

I am running Dspace 3.2 with XMLUI. I am trying to change inplace the Mirage 
theme and just for a test to modify the header. So I have tried everything from 
changing 
[dspace-src]\dspace-xmlui\src\main\webapp\themes\Mirage\lib\xsl\core\page-structure.xsl,
 rebuilding dspace, substituting webapps, restarting Tomcat, to directly 
editing [tomcat]\webapps\xmlui\themes\Mirage\lib\xsl\core\page-structure.xsl , 
cleaning Cocoon cache and restarting Tomcat.

Everytime I am editing

xsl:template name=buildHeader
...
span id=ds-header-logo-textmirage/span

and changing the text between the span to something custom. Do you think 
there is something wrong with this approach? Should I just copy Mirage to a new 
template in [dspace-source] and modify the new one?

Thank you all in advance
Yannis
--
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=111408631iu=/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 helix84
On Thu, Dec 5, 2013 at 11:56 PM, David Cook dc...@prosentient.com.au wrote:
 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.

Sorry about that, normally the registration would be open, however
this is a temporary antispam measure. I'll send you a working
registration link in an off-list email. Everyone else who needs it,
feel free to contact me or sysad...@duraspace.org. Sorry about the
inconvenience.


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=111408631iu=/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 command not found

2013-12-05 Thread Bhavesh Patel
Dear DSpace Tech Friends,

We are enable the itemcounter parameters from dspace.cfg
*webui.strengths.show = true *
*webui.strengths.cache = true*

But when we are enable the itemcounter for XMLUI we have execute the
command  *[dspace]/bin/dspace itemcounter*

then it's shows the* dspace command not found*

even when we try to update the index (*[dspace]/bin/dspace index-update *)
then also it's showing the same error message.

Does anybody know how to make dspace command it work? We are using Ubuntu
OS  DSpace3.2

Thanks in advance

Bhavesh Patel


Thanks  Regards,
*Bhavesh R. Patel *



Never leave till tomorrow which you can do today

*Please consider the environment before printing this e-mail.*
--
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=111408631iu=/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 command not found

2013-12-05 Thread Hilton Gibson
Hi Bhavesh

Replace [dspace] with /home/dspace, if that is where the DSpace application
files are.
What instructions did you use for the installation?

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 6 December 2013 08:25, Bhavesh Patel bhavesh.bece...@gmail.com wrote:

 Dear DSpace Tech Friends,

 We are enable the itemcounter parameters from dspace.cfg
 *webui.strengths.show = true *
 *webui.strengths.cache = true*

 But when we are enable the itemcounter for XMLUI we have execute the
 command  *[dspace]/bin/dspace itemcounter*

 then it's shows the* dspace command not found*

 even when we try to update the index (*[dspace]/bin/dspace index-update *)
 then also it's showing the same error message.

 Does anybody know how to make dspace command it work? We are using Ubuntu
 OS  DSpace3.2

 Thanks in advance

 Bhavesh Patel


 Thanks  Regards,
 *Bhavesh R. Patel *



 Never leave till tomorrow which you can do today

 *Please consider the environment before printing this e-mail.*


 --
 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=111408631iu=/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

--
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=111408631iu=/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 command not found

2013-12-05 Thread Bhavesh Patel
Dear Hilton Gibson,

Thanks for your quick response..!

yes... [dspace]  means  /home/dspace/{dspace_directory_name}/

so we are executing command from / like

*cd /home/dspace/{dspace_directory_name}/bin *
then we are execute the command
*[root@... /bin]dspace itemcounter*

then it's display dspace command not found and same way for the update
index..it's showing the same error..


Thanks,
Bhavesh

Thanks  Regards,
*Bhavesh R. Patel *
bhavesh.bece...@gmail.com (Email)

*Websites :*

   - www.bhaveshpatel.info
   - www.onlinequizportal.com
   - www.hindisuvichar.com

Never leave till tomorrow which you can do today

*Please consider the environment before printing this e-mail.*


On Fri, Dec 6, 2013 at 12:00 PM, Hilton Gibson hilton.gib...@gmail.comwrote:

 Hi Bhavesh

 Replace [dspace] with /home/dspace, if that is where the DSpace
 application files are.
 What instructions did you use for the installation?

 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 6 December 2013 08:25, Bhavesh Patel bhavesh.bece...@gmail.com wrote:

 Dear DSpace Tech Friends,

 We are enable the itemcounter parameters from dspace.cfg
 *webui.strengths.show = true *
 *webui.strengths.cache = true*

 But when we are enable the itemcounter for XMLUI we have execute the
 command  *[dspace]/bin/dspace itemcounter*

 then it's shows the* dspace command not found*

 even when we try to update the index (*[dspace]/bin/dspace index-update *)
 then also it's showing the same error message.

 Does anybody know how to make dspace command it work? We are using Ubuntu
 OS  DSpace3.2

 Thanks in advance

 Bhavesh Patel


 Thanks  Regards,
 *Bhavesh R. Patel *



 Never leave till tomorrow which you can do today

 *Please consider the environment before printing this e-mail.*


 --
 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=111408631iu=/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



--
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=111408631iu=/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 command not found

2013-12-05 Thread Hilton Gibson
Ok.

See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Daily_Admin

Look at how the commands are prompted to execute.
Look at the full path to the command.
Commands are found by Unix POSIX systems by looking at /etc/environment.
The paths in /etc/environment are searched first.
Anything else will need a full path name to execute or else the command
will not be found.
See: http://ubuntu.sun.ac.za/wiki/index.php/SelfHelp for some command line
help.

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 6 December 2013 08:37, Bhavesh Patel bhavesh.bece...@gmail.com wrote:

 Dear Hilton Gibson,

 Thanks for your quick response..!

 yes... [dspace]  means  /home/dspace/{dspace_directory_name}/

 so we are executing command from / like

 *cd /home/dspace/{dspace_directory_name}/bin *
 then we are execute the command
 *[root@... /bin]dspace itemcounter*

 then it's display dspace command not found and same way for the update
 index..it's showing the same error..


 Thanks,
 Bhavesh

 Thanks  Regards,
 *Bhavesh R. Patel *
 bhavesh.bece...@gmail.com (Email)

 *Websites :*

- www.bhaveshpatel.info
- www.onlinequizportal.com
- www.hindisuvichar.com

 Never leave till tomorrow which you can do today

 *Please consider the environment before printing this e-mail.*


 On Fri, Dec 6, 2013 at 12:00 PM, Hilton Gibson hilton.gib...@gmail.comwrote:

 Hi Bhavesh

 Replace [dspace] with /home/dspace, if that is where the DSpace
 application files are.
 What instructions did you use for the installation?

 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 6 December 2013 08:25, Bhavesh Patel bhavesh.bece...@gmail.comwrote:

 Dear DSpace Tech Friends,

 We are enable the itemcounter parameters from dspace.cfg
 *webui.strengths.show = true *
 *webui.strengths.cache = true*

 But when we are enable the itemcounter for XMLUI we have execute the
 command  *[dspace]/bin/dspace itemcounter*

 then it's shows the* dspace command not found*

 even when we try to update the index (*[dspace]/bin/dspace index-update
 *) then also it's showing the same error message.

 Does anybody know how to make dspace command it work? We are using
 Ubuntu OS  DSpace3.2

 Thanks in advance

 Bhavesh Patel


 Thanks  Regards,
 *Bhavesh R. Patel *



 Never leave till tomorrow which you can do today

 *Please consider the environment before printing this e-mail.*


 --
 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=111408631iu=/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




--
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=111408631iu=/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