Re: [Dspace-tech] Moving DSpace Taks from one Eperson to another

2013-01-11 Thread helix84
Hi Rodrigo,

I have no idea what is your taskowner table, it's not part of standard
DSpace 1.6. It probably belongs to some add-on or customization. To
see the entity-relationship model of the DSpace database, see the
following link:

https://wiki.duraspace.org/display/DSPACE/DSpace+2.0+Requirements+and+Issues#DSpace2.0RequirementsandIssues-DatabaseOverviewGraphic

This is for DSpace 1.5, but there have been no substantial changes
between 1.5 and 3.0, only an attribute or table was addeed here and
there.

The nice thing about this particular picture (and why I still keep
using it) is that tables are grouped according to their function. See
the Submission and Workflow group for your use case.


Regards,
~~helix84

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

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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 3.0 missing related items feature (xmlui)

2013-01-11 Thread helix84
Sorry that I forgot to respond. Yes, we're now aware that this
functionality is broken and there should be a fix in 3.1, but it's not
available yet (Kevin has a ticket for it).


Regards,
~~helix84

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

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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] CAS Authentication and DSpace 3.0

2013-01-11 Thread helix84
On Fri, Jan 11, 2013 at 2:31 AM, revskill revskil...@gmail.com wrote:
 You can try use this commit (i've made it successfully with Dspace 1.8):
 https://github.com/checkraiser/mydspace/commit/2246f043b789cac08ea4a497c05fc5f27fbcc7da

That path surely won't apply cleanly to DSpace 3.0 because of this refactoring:

https://wiki.duraspace.org/display/DSPACE/Maven+Project+Consolidation

You can see there which file locations were changed. You can try
applying the patches to the corresponding files in their new
locations.

Revskill, it would be great if you could clean up the patch and submit
it as a pull request for inclusion into DSpace. If Thomas (or someone
else) could verify that it works, we could include it (possibly even
in 3.1, but no promises).


Regards,
~~helix84

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

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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] migrate repository into a new instances(machine)

2013-01-11 Thread helix84
On Fri, Jan 11, 2013 at 5:25 AM, mallikarjun dora
dora.mallikar...@gmail.com wrote:
 Currently we have repository in dspace 1.8.2 and we are planning to migrate
 it into a new instances (new machine) which is in dspace 3.0. Please share
 the procedure any one have done the same.

1) Install DSpace 3.0 on the new server according to Installation docs
(ant fresh_install)
2) Export the database from DSpace 1.8
3) Import the database to DSpace 3.0 (you can drop and replace the
empty one if you want)
4) Run the database migration script
5) Copy the assetstore from the old machine to the new one
6) make a diff of default DSpace 1.8 configuration directory and your
customized one (diff -ur /path/to/config.default/ [dspace]/config)
7) note the changes and make them in DSpace 3.0
9) Go over the upgrading checklist [1] to see if we missed anything
8) Start Tomcat

[1] https://wiki.duraspace.org/display/DSDOC3x/Upgrading+From+1.8.x+to+3.x


Regards,
~~helix84

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

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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] migrate repository into a new instances(machine)

2013-01-11 Thread helix84
I missed an important step after my step 7) - rebuild indexes. This is
step 8 in the upgrading checklist.


Regards,
~~helix84

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

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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] discovery autocomplete is not working in dspace 3.0

2013-01-11 Thread helix84
Hi Bram,

I was satisfied with the autocomplete functionality in 1.8, default
configuration. Especially useful for author names. Ideally, even the main
search box should offer autocomplete.

It was a mistake that this was dropped silently, I hope you'll include it
into your roadmap for 4.0.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
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] migrate repository into a new instances(machine)

2013-01-11 Thread Hilton Gibson
See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Upgrading/Hardware for
more tips.


On 11 January 2013 06:25, mallikarjun dora dora.mallikar...@gmail.comwrote:

 Dear All,

 Currently we have repository in dspace 1.8.2 and we are planning to
 migrate it into a new instances (new machine) which is in dspace 3.0.
 Please share the procedure any one have done the same.

 our repository is in intranet only

 Regards

 --
 !~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!
 Mallikarjun Dora
 Professional Assistant
 Vikram Sarabhai Library
 Indian Institute of Management, Ahmedabad
 mallikar...@iimahd.ernet.in
 Mob: 9725608871
 http://mallikarjundora.wordpress.com/
 http://scholar.google.com/citations?user=6n1ABCQJ



 --
 Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
 much more. Get web development skills now with LearnDevNow -
 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
 SALE $99.99 this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122812
 ___
 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




-- 
*Hilton Gibson*
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://scholar.sun.ac.za
http://ar1.sun.ac.za
http://aj1.sun.ac.za
--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] SOLR Exception in 1.6.2 : Service Unavailable

2013-01-11 Thread Kirti Bodhmage
Hi,

 

All of a sudden we started to get following exception about SOLR on our live 
server. 

This is causing a very high CPU usage on the server,  displaying server busy 
error to users.

 

--

2013-01-11 13:04:06,715 ERROR org.dspace.statistics.SolrLogger @ Service 
Unavailable

Service Unavailable

request: http://127.0.0.1:8080/solr/statistics/update

org.apache.solr.common.SolrException: Service Unavailable

Service Unavailable

request: http://127.0.0.1:8080/solr/statistics/update

at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:343)

at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:183)

at 
org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217)

at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:85)

at org.dspace.statistics.SolrLogger.post(SolrLogger.java:247)

at 
org.dspace.statistics.SolrLoggerUsageEventListener.receiveEvent(SolrLoggerUsageEventListener.java:41)

at 
org.dspace.services.events.SystemEventService.fireLocalEvent(SystemEventService.java:154)

 



 

I goggled on this error and found a page from AtMire   
http://atmire.com/statistics_performance.php 
http://atmire.com/statistics_performance.php,.

 

It talks about enabling autocommit.

 

The settings for autocommit in our solrconfig.xml are commented.

 

!-- Perform a commit/ automatically under certain conditions:

 maxDocs - number of updates since last commit is greater than this

 maxTime - oldest uncommited update (in ms) is this long ago

autoCommit

  maxDocs1/maxDocs

  maxTime1000/maxTime

/autoCommit

--

 

Do we need to enable autocommit  to resolve this error?

 

Another interesting thing to notice is that  wget on solr url shows an error.

 

wget  http://127.0.0.1:8080/solr/statistics/

--2013-01-11 13:18:47--  http://127.0.0.1:8080/solr/statistics/

Connecting to 127.0.0.1:8080... connected.

HTTP request sent, awaiting response... 404 Not Found

2013-01-11 13:18:47 ERROR 404: Not Found.

 

Is there anything missing here?

 

Thanks

Kirti

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
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] SOLR Exception in 1.6.2 : Service Unavailable

2013-01-11 Thread helix84
On Fri, Jan 11, 2013 at 2:22 PM, Kirti Bodhmage k.bodhm...@qmul.ac.uk wrote:
 Do we need to enable autocommit  to resolve this error?

According to @mire's page yes, but also note that you need to change
SolrLogger.java.

 Another interesting thing to notice is that  wget on solr url shows an
 error.

That is normal. By default, Solr is accessible only from the machine
DSpace runs on [1]. No need to change anything here. For testing
purposes, you acn call wget from the dspace machine.

https://wiki.duraspace.org/display/DSPACE/Solr#Solr-ConnectingtoSolr


Regards,
~~helix84

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

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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] discovery autocomplete is not working in dspace 3.0

2013-01-11 Thread Andrea Bollini

Hi all,
please note that autocomplete is present in the JSPUI 3.0 CILEA 
Discovery contribution without any performance issue and it is also 
aware of the authority framework.

See step 2.c of JSP UI configuration:
https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-StepsrequiredforJSPUI
Andrea


Il 11/01/2013 10:39, helix84 ha scritto:

Hi Bram,

I was satisfied with the autocomplete functionality in 1.8, default 
configuration. Especially useful for author names. Ideally, even the 
main search box should offer autocomplete.


It was a mistake that this was dropped silently, I hope you'll include 
it into your roadmap for 4.0.



Regards,
~~helix84

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



--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812


___
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


--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
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 3.0 missing related items feature (xmlui)

2013-01-11 Thread Thomas Misilo
 Sorry that I forgot to respond. Yes, we're now aware that this functionality 
 is
 broken and there should be a fix in 3.1, but it's not available yet (Kevin 
 has a
 ticket for it).
 

Thanks. Will wait for 3.1 :)

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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 colour and style

2013-01-11 Thread Webshet, Sisay (ILRI)
   We are using dsapce 1.8.2 (xmlui).
Have been using different themes for different communities. At first these =
different communities have
their own look and feel with their own color and banner.
However the colors for some communities is not properly viewed.
I just removed the catch manually,
Is there some other way I can figure out the problem.
For instance those two communities have different theme and color style how=
ever  their colur s style seems the same
http://cgspace.cgiar.org/handle/10568/2983
http://cgspace.cgiar.org/handle/10568/1
Thanks


--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
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 colour and style

2013-01-11 Thread helix84
Hi Sisay,

I'm not sure anyone can help you unless you describe the
customizations you made.

Also, remember to clear the Cocoon cache.


Regards,
~~helix84

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

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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 concurrent imports

2013-01-11 Thread Mark Ehle
Folks -

Is is possible to run more than one import operation at a time? I have a
script that is importing files, but it runs really slowly. I would like to
start more than one instance at a time (operating on different files) to
try to speed up the process. It's not that dspace is slow; some of my image
manipulation operations only run on one core and I think I could make
better use of my processor power if I ran more than one at at time. I am
using Dspace 3.0 on Ubuntu 12.10.

Thanks -

Library Mark
--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
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] SOLR Exception in 1.6.2 : Service Unavailable

2013-01-11 Thread Kirti Bodhmage
Hi Again,


I saw following error in catalina.err related to SOLR.
I  do not know solr technology  but do I need to increase maxWarmingSearchers 
value?



Jan 11, 2013 1:42:18 PM org.apache.solr.common.SolrException log
SEVERE: org.apache.solr.common.SolrException: Error opening new searcher. 
exceeded limit of maxWarmingSearchers=2, try again later.

at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:941)
at 
org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:368)
at 
org.apache.solr.update.processor.RunUpdateProcessor.processCommit(RunUpdateProcessorFactory.java:77)
at 
org.apache.solr.handler.RequestHandlerUtils.handleCommit(RequestHandlerUtils.java:104)
---

Ta
Kirti

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: 11 January 2013 13:30
To: Kirti Bodhmage
Cc: dspace-tech
Subject: Re: [Dspace-tech] SOLR Exception in 1.6.2 : Service Unavailable

On Fri, Jan 11, 2013 at 2:22 PM, Kirti Bodhmage k.bodhm...@qmul.ac.uk wrote:
 Do we need to enable autocommit  to resolve this error?

According to @mire's page yes, but also note that you need to change 
SolrLogger.java.

 Another interesting thing to notice is that  wget on solr url shows an 
 error.

That is normal. By default, Solr is accessible only from the machine DSpace 
runs on [1]. No need to change anything here. For testing purposes, you acn 
call wget from the dspace machine.

https://wiki.duraspace.org/display/DSPACE/Solr#Solr-ConnectingtoSolr


Regards,
~~helix84

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


--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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] Multiple concurrent imports

2013-01-11 Thread helix84
Hi Mark,

in theory, it should be possible. But please, do try it in a testing
environment, first. It's not such a common use-case to be well-tested :)
It would be great if you could report back in either case - either to
report success or to ask for help with disaster recovery ;)

Update the indexes after the last process finishes.


Regards,
~~helix84

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

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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 colour and style

2013-01-11 Thread Webshet, Sisay (ILRI)
Hi ,

I done the customization only on a single file style.css

Thanks

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Friday, January 11, 2013 4:47 PM
To: Webshet, Sisay (ILRI)
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] theme colour and style

Hi Sisay,

I'm not sure anyone can help you unless you describe the customizations you 
made.

Also, remember to clear the Cocoon cache.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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] SOLR Exception in 1.6.2 : Service Unavailable

2013-01-11 Thread helix84
Hi Kirti,

that's just a side-effect of large load on your Solr and enabling
autocommit should solve it. You don't need to worry about it being a
separate issue. More details are here:

http://wiki.apache.org/solr/FAQ#What_does_.22exceeded_limit_of_maxWarmingSearchers.3DX.22_mean.3F


Regards,
~~helix84

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

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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 colour and style

2013-01-11 Thread Webshet, Sisay (ILRI)
These 2 links below are using the same themes and style sheet but are not 
looking the same

http://dspacetest.cgiar.org/handle/10568/16814

http://cgspace.cgiar.org/handle/10568/16814


-Original Message-
From: Webshet, Sisay (ILRI) 
Sent: Friday, January 11, 2013 4:56 PM
To: 'heli...@centrum.sk'
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] theme colour and style

Hi ,

I done the customization only on a single file style.css

Thanks

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Friday, January 11, 2013 4:47 PM
To: Webshet, Sisay (ILRI)
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] theme colour and style

Hi Sisay,

I'm not sure anyone can help you unless you describe the customizations you 
made.

Also, remember to clear the Cocoon cache.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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 colour and style

2013-01-11 Thread helix84
On Fri, Jan 11, 2013 at 2:55 PM, Webshet, Sisay (ILRI)
s.webs...@cgiar.org wrote:
 I done the customization only on a single file style.css

I don't see how you could have distinguished between communities by
changing just the css file. The last changes you made would simply
apply to all collections.

If you want to display different communities in a single DSpace
instance in a different style, you need to customize XSL to put a
class or an id into the HTML based on the current handle (request
URL). Only based on that could you apply CSS to that class/id.


Regards,
~~helix84

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

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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 colour and style

2013-01-11 Thread Muilwijk, M. (Marina)
Hi Sisay,

it looks like those two pages use different versions of style.css.
For instance, http://cgspace.cgiar.org/handle/10568/16814 has a color: #48732A 
defined for a h1, while http://dspacetest.cgiar.org/handle/10568/16814 has 
color: black.

Do both files look identical on your server?
If yes, then clearing the Cocoon cache (again) may help.


Regards,
Marina Muilwijk


Op 11 jan. 2013, om 14:59 heeft Webshet, Sisay (ILRI) het volgende geschreven:

These 2 links below are using the same themes and style sheet but are not 
looking the same

http://dspacetest.cgiar.org/handle/10568/16814

http://cgspace.cgiar.org/handle/10568/16814


-Original Message-
From: Webshet, Sisay (ILRI)
Sent: Friday, January 11, 2013 4:56 PM
To: 'heli...@centrum.sk'
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] theme colour and style

Hi ,

I done the customization only on a single file style.css

Thanks

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Friday, January 11, 2013 4:47 PM
To: Webshet, Sisay (ILRI)
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] theme colour and style

Hi Sisay,

I'm not sure anyone can help you unless you describe the customizations you 
made.

Also, remember to clear the Cocoon cache.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
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] vscan and upload max in cocoon

2013-01-11 Thread Jose Blanco
I have two questions.

1.  If virus checking is enabled as described here:

https://wiki.duraspace.org/display/DSPACE/Virus+Scan+Curation+Task

virus checking can be done via the UI as admin, and command line, but when
an item is submitted it is NOT virus checked, or is it?

2.  The max file upload size available via cocoon remains at 2G, right?  So
if a user has a file larger than that we have to use item importer to get
it into DSpace?

Many thanks!
Jose
--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
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] Moving DSpace Taks from one Eperson to another

2013-01-11 Thread Calloni, Rodrigo
Oh lord, thanks helix I didn't know about that it was a local customization. I 
will see (and keep) your diagram here.

Best regards
Rodrigo

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Friday, January 11, 2013 4:20 AM
To: Calloni, Rodrigo
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Moving DSpace Taks from one Eperson to another

Hi Rodrigo,

I have no idea what is your taskowner table, it's not part of standard DSpace 
1.6. It probably belongs to some add-on or customization. To see the 
entity-relationship model of the DSpace database, see the following link:

https://wiki.duraspace.org/display/DSPACE/DSpace+2.0+Requirements+and+Issues#DSpace2.0RequirementsandIssues-DatabaseOverviewGraphic

This is for DSpace 1.5, but there have been no substantial changes between 1.5 
and 3.0, only an attribute or table was addeed here and there.

The nice thing about this particular picture (and why I still keep using it) is 
that tables are grouped according to their function. See the Submission and 
Workflow group for your use case.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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] vscan and upload max in cocoon

2013-01-11 Thread Richard Rodgers
Hi Jose:

With respect to question #1, there are actually 2 different ways to achieve 
checking in submission:

(1) You can configure virus scan to be invoked directly in submission - see 
config file (I think this is XMLUI only):

https://github.com/DSpace/DSpace/blob/master/dspace/config/modules/submission-curation.cfg

(2) You can attach a virus scan to any step in workflow:

https://wiki.duraspace.org/display/DSDOC18/Curation+System#CurationSystem-Inworkflow

so that the bitstreams get checked before entering the repository.

Then, as you observe, you are also free to check via cmd-line or in the admin UI

Thanks,

Richard R


On Jan 11, 2013, at 11:34 AM, Jose Blanco wrote:

I have two questions.

1.  If virus checking is enabled as described here:

https://wiki.duraspace.org/display/DSPACE/Virus+Scan+Curation+Task

virus checking can be done via the UI as admin, and command line, but when an 
item is submitted it is NOT virus checked, or is it?

2.  The max file upload size available via cocoon remains at 2G, right?  So if 
a user has a file larger than that we have to use item importer to get it into 
DSpace?

Many thanks!
Jose


--
Master HTML5, CSS3, ASP.NEThttp://ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
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

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
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] vscan and upload max in cocoon

2013-01-11 Thread helix84
On Fri, Jan 11, 2013 at 5:34 PM, Jose Blanco blan...@umich.edu wrote:
 2.  The max file upload size available via cocoon remains at 2G, right?
 So if a user has a file larger than that we have to use item importer to get
 it into DSpace?

See here:
https://jira.duraspace.org/browse/DS-1124

If you're running e.g. Apache in front of your servlet container, it
can also separately limit your max upload size.

I recommend importing large files from command-line, anyway, in order
to avoid possible timeouts.


Regards,
~~helix84

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

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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] vscan and upload max in cocoon

2013-01-11 Thread Jose Blanco
so to have it checked during submission, accourding to this

https://github.com/DSpace/DSpace/blob/master/dspace/config/modules/submission-curation.cfg

set it like this:
virus-scan = false

seems like it should be true?

Thank you!

On Fri, Jan 11, 2013 at 11:49 AM, Richard Rodgers rrodg...@mit.edu wrote:

  Hi Jose:

  With respect to question #1, there are actually 2 different ways to
 achieve checking in submission:

  (1) You can configure virus scan to be invoked directly in submission -
 see config file (I think this is XMLUI only):


 https://github.com/DSpace/DSpace/blob/master/dspace/config/modules/submission-curation.cfg

  (2) You can attach a virus scan to any step in workflow:


 https://wiki.duraspace.org/display/DSDOC18/Curation+System#CurationSystem-Inworkflow

  so that the bitstreams get checked before entering the repository.

  Then, as you observe, you are also free to check via cmd-line or in the
 admin UI

  Thanks,

  Richard R


  On Jan 11, 2013, at 11:34 AM, Jose Blanco wrote:

 I have two questions.

 1.  If virus checking is enabled as described here:

 https://wiki.duraspace.org/display/DSPACE/Virus+Scan+Curation+Task

 virus checking can be done via the UI as admin, and command line, but when
 an item is submitted it is NOT virus checked, or is it?

 2.  The max file upload size available via cocoon remains at 2G, right?
 So if a user has a file larger than that we have to use item importer to
 get it into DSpace?

 Many thanks!
 Jose



 --
 Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
 much more. Get web development skills now with LearnDevNow -
 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
 SALE $99.99 this month only -- learn more at:

 http://p.sf.net/sfu/learnmore_122812___
 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



--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
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] vscan and upload max in cocoon

2013-01-11 Thread Richard Rodgers
Yes - the shipping default is no checking, so you need to enable it.

Richard
On Jan 11, 2013, at 12:07 PM, Jose Blanco wrote:

so to have it checked during submission, accourding to this

https://github.com/DSpace/DSpace/blob/master/dspace/config/modules/submission-curation.cfg

set it like this:
virus-scan = false

seems like it should be true?

Thank you!

On Fri, Jan 11, 2013 at 11:49 AM, Richard Rodgers 
rrodg...@mit.edumailto:rrodg...@mit.edu wrote:
Hi Jose:

With respect to question #1, there are actually 2 different ways to achieve 
checking in submission:

(1) You can configure virus scan to be invoked directly in submission - see 
config file (I think this is XMLUI only):

https://github.com/DSpace/DSpace/blob/master/dspace/config/modules/submission-curation.cfg

(2) You can attach a virus scan to any step in workflow:

https://wiki.duraspace.org/display/DSDOC18/Curation+System#CurationSystem-Inworkflow

so that the bitstreams get checked before entering the repository.

Then, as you observe, you are also free to check via cmd-line or in the admin UI

Thanks,

Richard R


On Jan 11, 2013, at 11:34 AM, Jose Blanco wrote:

I have two questions.

1.  If virus checking is enabled as described here:

https://wiki.duraspace.org/display/DSPACE/Virus+Scan+Curation+Task

virus checking can be done via the UI as admin, and command line, but when an 
item is submitted it is NOT virus checked, or is it?

2.  The max file upload size available via cocoon remains at 2G, right?  So if 
a user has a file larger than that we have to use item importer to get it into 
DSpace?

Many thanks!
Jose


--
Master HTML5, CSS3, ASP.NEThttp://ASP.NET/, MVC, AJAX, Knockout.js, Web API 
and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] OAI-PMH not getting all the items from another dspace system

2013-01-11 Thread Mckeane Thomas
Hello,
 I am harvesting items from a collection on another dspace system,
however, not all the items in that collection are harvested. For example if
a collection has 100 items and I am harvesting that collection, only 96
items are harvested instead. Its the same result if I harvest metadata
only,metadata and bitstreams or metadata and bitstream references. Cannot
determine what the problem is and was wondering if this is a bug. Also How
can I harvest custom metadata?

Best Regards,
Mckeane Thomas
--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
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] changing file description

2013-01-11 Thread Jose Blanco
I know that if I change anything in the metadatavalue table directly via
psql (not using the UI) I have to reindex, run:

./dspace-index init
and
update the solar index,

But I would think that is not the case if I change the description field in
the bitstream table via psql issuing a sql command, but just want to make
sure.

Thank you!
Jose
--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
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] URL in sitemaps

2013-01-11 Thread Thomas Misilo
Hi,

I was wondering where I might specify the url being generated in the site maps?

Right now it is:

url
loc
https://my.edu/xmlui/handle/123456789/2
/loc
/url

I would want the url to be

https://my.edu/handle/123456789/2 instead

Thanks,

Tom

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
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] URL in sitemaps

2013-01-11 Thread Thomas Misilo
I was wondering where I might specify the url being generated in the site maps?

Right now it is:

url
loc
https://my.edu/xmlui/handle/123456789/2
/loc
/url

I would want the url to be

https://my.edu/handle/123456789/2 instead

Nevermind found it. It was hidden in [dspace]/config/dspace.cfg

dspace.url = ${dspace.baseUrl}/xmlui

Should this maybe be moved to the build.properties file?

Just an idea.

Tom


--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
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] How to customize DSpace 3.0 XMLUI Discovery Recent Submissions display

2013-01-11 Thread Charles Kinney
Recent submissions display appears to default to three Dublin Core elements:
dc.title,dc.contributor.*,dc.date.issued

I would like to add another element to this display.  How do I do so?  I've
looked at the discovery.xml file.  A simple example of how to do so would
help.

Thanks.
--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
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] How do I share solr statistics server between two dspace servers?

2013-01-11 Thread Michael Reynolds
In our environment, we use a mirrored pair of dspace tomcat servers behind 
an ipvs cluster server for redundancy and throughput.  The two servers share 
the same general settings, assetstores, and postgres database.  All works 
well, except that of course the user search statistics are gathered for each 
dspace server separately. Thus, we're stuck with two sets of search 
statistics, where ideally we'd like to have one aggregate set of search 
statistics.  Has anybody been able to configure a mirrored pair of dspace 
tomcat servers to share a single solr search statistics database?

I've managed to get one dspace solr server (I'll call it server1) configured 
so that it will accept solr http connections from the other server (which 
I'll call server2.)  But I haven't been able to get dspace on server2 to 
send it's solr http client data to server1.

I got server1 configured to accept solr data from server2 by editing 
server.xml as per 
https://wiki.duraspace.org/display/DSPACE/Solr#Solr-Tomcat-specificinstructions:

Context path=/solr reloadable=true
Valve className=org.apache.catalina.valves.RemoteAddrValve 
allow=ip address of server2, 127.0.0.1/
Parameter name=LocalHostRestrictionFilter.localhost value=false 
override=false /
/Context

So now from server2 I can do:

wget -O - 
'http://server1:8080/solr/search/select?q=search.resourcetype:2sort=dc.date.accessioned_dt%20descrows=1fl=dc.date.accessionedomitHeader=true'

and get back solr search data.

But how to get dspace on server2 to send its solr client search statistics 
to server1?  I tried setting the server property in 
modules/solr-statistics.cfg on server2 to 
server=http://server1/solr/statistics;.  That didn't work -- from 
netstat -an on server2 I could see connections from 127.0.0.1:some port 
to 127.0.0.1:8080 when I did searches, so clearly dspace on server2 was 
ignoring my server setting.  (And why not, since the ip address for 
server1 was not bound here!)

Does anybody know of a way to share a single dspace solr server between a 
mirrored pair of dspace servers, or perhaps just how to get one dspace 
server to send it's solr search data to another solr server?

Thanks in advance for any advice.  --Mike


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
___
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