[Dspace-tech] dspace index page

2010-05-10 Thread Lewatle Phaladi
Hi All 

 

I have deleted Communities and Collections on DSpace repositories
purposefully and  left only one Community and its Collections.

I am using JSPUI interface and under Browse when I click on Titles,
Authors, Subjects and Date, I got this error :

 

 

 Error : Document Not Found

 

The document you are trying to access has not been found on the server.

* If you got here by following a link or bookmark provided by
someone else, the link may be incorrect or you mistyped the link. Please
check the link and try again. If you still get this error, then try
going to the DSpace home page http://exams.wits.ac.za:8080/dspace/
and looking for what you want from there.

* If you got to this error by clicking in a link on the DSpace
site, please let us know so we can fix it!

Leave a message for the Wits Exams Repository administrators.
http://exams.wits.ac.za:8080/dspace/feedback 

Go to the DSpace home page http://exams.wits.ac.za:8080/dspace/  

 

Do I have to run any program to update the index etc.

 

Regards,

Lewatle


htmlpfont face = verdana size = 0.8 color = navyThis communication 
is intended for the addressee only. It is confidential. If you have received 
this communication in error, please notify us immediately and destroy the 
original message. You may not copy or disseminate this communication without 
the permission of the University. Only authorized signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary./font/p/html
--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] solr crashing dspace 1.6

2010-05-10 Thread TAYLOR Robin
Hi Bill,

I have found JMX/jconsolve invaluable when investigating memory problems 
http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html.

Cheers, Robin.


Robin Taylor
Main Library
University of Edinburgh
Tel. 0131 6513808  

 -Original Message-
 From: Anderson, Charles W [mailto:bill.ander...@library.gatech.edu] 
 Sent: 06 May 2010 16:41
 To: dspace-tech
 Subject: [Dspace-tech] solr crashing dspace 1.6
 
 We're on our second attempt to upgrade from 1.5.2 to 1.6.  We 
 have been plagued with m memory errors both times, and we' 
 think we've narrowed it down to something that's going on in 
 the solr webapp.  We've got solr running in it's very own 
 Tomcat instance; which has helped, but hasn't completely 
 eliminated the problems.  
 
 Just before we crash, we're seeing lots and lots of the 
 following in the dspace log:
 
 org.apache.solr.common.SolrException: Internal Server Error
 
 Then, eventually, we start getting this:
 
 org.apache.commons.dbcp.SQLNestedException: Cannot get a 
 connection, pool error: Timeout waiting for idle object
 
 Meanwhile, over in catalina.out, we have these, which seem to 
 correspond to the solr errors in the dspace log:
 
 SEVERE: org.apache.solr.common.SolrException: Error 
 opening new searcher. exceeded limit of 
 maxWarmingSearchers=2, try again later.
 
 And, eventually, the voice of doom:
 
 Exception in thread TP-Processor550 
 java.lang.OutOfMemoryError: PermGen space
 
 Has anybody else experience memory issues related to solr?
 
 Thanks,
 
 Bill
 
 
 
 Bill Anderson
 Software Developer
 Digital Library Development
 Georgia Tech Library 
 
 --
 
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] harvesting non-DSpace repositories - dc.identifier.uri issue

2010-05-10 Thread Gilbertson, Keith R
Good morning, Tim.  

I think that you're right about populating the appropriate fields on the 
repository side.

It looks like the OAI-PMH generator for your repository is placing the 
identifier (URL) in the unqualified identifier field, instead of 
identifier.uri.  This is common, as many OAI-PMH gateways will only support 
the OAI-DC metadata format, which does not include the qualifiers, by default.

If you can configure your repository side to generate another metadata format 
that will place your identifier field in identifier.uri, that would allow 
DSpace to identify your URL when it harvests.  An example is the qdc format 
that the DSpace 1.6 harvester supports.

The DSpace harvester also has a couple of parameters in the configuration file, 
harvester.acceptedHandleServer and harvester.rejectedHandlePrefix, that can 
prevent DSpace from generating that extra hdl.handle.net URL.  They are 
documented in the configuration file.

If you're unable to place your original URL from the repository in 
identifier.uri, you may still be able to work around this by changing the 
interface in DSpace to display the unqualified identifier field next to the 
URI: label on the item view pages.  You'd probably want to limit this so that 
it only does so if the identifier starts with http://scaa.suask.ca; in case 
your repository also maps citations, issn, doi to that field.

There are some interface HOW-TOs on the wiki that may help, and people on this 
list with experience in changing the display for the jspui and the xmlui, if 
you need to go that route.

--keith


- Mensaje original -
De: Tim Hutchinson tim.hutchin...@usask.ca
Para: dspace-tech@lists.sourceforge.net
Enviados: Viernes, 7 de Mayo 2010 15:58:55 GMT -05:00 Región oriental EE. 
UU./Canadá
Asunto: [Dspace-tech] harvesting non-DSpace repositories - dc.identifier.uri 
issue

Hi,

I have been involved in testing DSpace to harvest a collection not 
hosted in DSpace, but which is OAI compliant. We have been successful in 
doing the harvesting, but not successful in having the DSpace record 
point to the correct external record.

The issue is that DSpace assigns a URL of the form
http://hdl.handle.net/123456789/x
to dc.identifier.uri
although dc.identifier appears correctly, e.g. 
http://scaa.usask.ca/gallery/northern/image.php?ID=10857 (the main 
problem is that the correct identifier is not hyperlinked, and doesn’t 
appear in the simple view)

As you can see, we are running a test implementation of DSpace and have 
not implemented the handle server, hence the “123456789” prefix. But I’m 
not sure that’s the only issue.

What I’m wondering is:
- Is there a way, by populating appropriate fields on the repository 
side or by configuring DSpace, or otherwise, to have the correct 
identifier (URL) show up in dc.identifier.uri, especially for the 
purpose of the test implementation?
- Will implementing the handle server actually solve the problem? It’s 
not clear to be how this will work, since wouldn’t we need to register a 
prefix (or at least set up a mapping) for each external collection? As 
may be obvious, I'm not too familiar with how handles work.

As additional background, I did also test with a repository using the 
OAI identifier format, i.e. oai:domain:id. The element dc.identifier 
resolves correctly, but dc.identifier.uri still uses the non-functional 
handle. On the other hand, harvesting from a DSpace collection works 
properly, with dc.identifier.uri being populated with the handle 
assigned by the other DSpace instance.

In case it makes a difference, we are running DSpace version 1.6.0.

Thanks for any guidance on this.

Tim

-- 
Tim Hutchinson
University of Saskatchewan Archives
301 Main Library, 3 Campus Drive
Saskatoon, SK  S7N 5A4
tel: (306) 966-6028
fax: (306) 966-6040
e-mail: tim.hutchin...@usask.ca
web: http://www.usask.ca/archives/ 



--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Solr Service Unavailable - Statistics

2010-05-10 Thread Gilbertson, Keith R
A colleague in charge of administering a larger repository mentioned seeing 
these errors on Friday. 

I looked through the log files on a smaller set of test systems that I've been 
using, and I also have them. They occur infrequently, maybe 2-3 times in a 24 
hour period. The stats updates work most of the time, but it looks like every 
once in a while the update fails. 

I haven't been able to cause them to happen on my systems at will - they just 
happen occasionally. On his system, which receives substantial traffic, he can 
cause the errors by visiting an item page and rapidly clicking and re-clicking 
the refresh button on the browser. I think that he was going to adjust some 
solr settings to see if that fixed the error. 

If I hear more about this or have a chance to investigate some more I'll let 
you know. Please do the same if you find a solution! 

--keith 



- Mensaje original - 
De: Antoanne Christopher antoa...@gmail.com 
Para: dspace-tech@lists.sourceforge.net 
Enviados: Viernes, 7 de Mayo 2010 16:53:59 GMT -05:00 Región oriental EE. 
UU./Canadá 
Asunto: [Dspace-tech] Solr Service Unavailable - Statistics 

After update my DSpace instance [ http://virtualbib.fgv.br/dspace ] from 1.5.2 
to 1.6.0 and start to user solr statistics, I have received several erros on 
dspace.log with message Service Unavailable about solr exception, . 

Someone has seen this error? 
Know how to configure the solr transacions log to see exactly waht is happening 
during the solr transactions? 

 

2010-05-07 17:28:15,500 ERROR org.dspace.statistics.SolrLogger @ Service 
Unavailable 

Service Unavailable 

request: http://virtualbib.fgv.br/solr/statistics/update 
org.apache.solr.common.SolrException: Service Unavailable 

Service Unavailable 

request: http://virtualbib.fgv.br/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:246) 
at 
org.dspace.statistics.SolrLoggerUsageEventListener.receiveEvent(SolrLoggerUsageEventListener.java:41)
 
at 
org.dspace.services.events.SystemEventService.fireLocalEvent(SystemEventService.java:154)
 
at 
org.dspace.services.events.SystemEventService.fireEvent(SystemEventService.java:97)
 
at org.dspace.app.xmlui.cocoon.BitstreamReader.setup(BitstreamReader.java:372) 
at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
at java.lang.reflect.Method.invoke(Method.java:597) 
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
 
at $Proxy29.setup(Unknown Source) 
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupReader(AbstractProcessingPipeline.java:560)
 
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:464)
 
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:411)
 
at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
at java.lang.reflect.Method.invoke(Method.java:597) 
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
 
at $Proxy28.process(Unknown Source) 
at 
org.apache.cocoon.components.treeprocessor.sitemap.ReadNode.invoke(ReadNode.java:94)
 
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
 
at 
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:87)
 
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
 
at 
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
 
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
 
at 
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
 
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
 
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
 
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
 
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:81)
 
at 

[Dspace-tech] DSpace Sword Module

2010-05-10 Thread Lewatle Phaladi
Hi DSpace Team

I want to set-up DSpace SWORD Test, I never changed anything on DSpace 
configuration (dspace.cfg) especially on SWORD SPECIFIC CONFIGURATIONS, I need 
advice to any DSpace User who have done SWORD set-up about which lines are 
important to uncomment and put what values to the properties and any scripts 
that I need to run if there is any to apply changes, what URL to use to access 
SWORD. Any idea or question will be of utmost important for me. 

Regards,
Lewatle

htmlpfont face = verdana size = 0.8 color = navyThis communication 
is intended for the addressee only. It is confidential. If you have received 
this communication in error, please notify us immediately and destroy the 
original message. You may not copy or disseminate this communication without 
the permission of the University. Only authorized signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary./font/p/html
--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] updating self-registration domain and rebuild

2010-05-10 Thread Shantanu Pavgi

Hi,

I would like to restrict user's self-registration to a certain domain only. I 
had done fresh install and then I made following changes which are not working. 
Am I missing something? 

- Stop tomcat 

- Edit dspace.cfg to restrict registration 
authentication.password.domain.valid = @uab.edu 

- Rebuild: 
$ mvn clean package
$ cd target/dspace-1.6.0-build.dir/
$ ant update_configs 

- Start tomcat 

Also, do I always need to do both maven and ant builds whenever I update 
dspace.config?  

Thanks,
Shantanu. 
--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] dspace index page

2010-05-10 Thread Tim Donohue
Hi Lewatle,

It's possible that a simple re-index will work fine.  I'm not sure which 
DSpace version you are running.  But, assuming it is DSpace 1.5.x or 1.6 
you should have a script called '[dspace]/bin/index-update'

Run that script from the command line to rebuild your Browse/Search index.

If that doesn't resolve your issues, follow the instructions in the How 
to Troubleshoot an Error page and send us the error you find in  your 
log files:

http://wiki.dspace.org/confluence/display/DSPACE/Troubleshoot+an+error

- Tim


On 5/10/2010 4:00 AM, Lewatle Phaladi wrote:
 Hi All

 I have deleted Communities and Collections on DSpace repositories
 purposefully and left only one Community and its Collections.

 I am using JSPUI interface and under Browse when I click on Titles,
 Authors, Subjects and Date, I got this error :

 Error : Document Not Found

 The document you are trying to access has not been found on the server.

 · If you got here by following a link or bookmark provided by someone
 else, the link may be incorrect or you mistyped the link. Please check
 the link and try again. If you still get this error, then try going to
 the DSpace home page http://exams.wits.ac.za:8080/dspace/ and looking
 for what you want from there.

 · If you got to this error by clicking in a link on the DSpace site,
 please let us know so we can fix it!

 Leave a message for the Wits Exams Repository administrators.
 http://exams.wits.ac.za:8080/dspace/feedback

 Go to the DSpace home page http://exams.wits.ac.za:8080/dspace/

 Do I have to run any program to update the index etc.

 Regards,

 Lewatle

 This communication is intended for the addressee only. It is
 confidential. If you have received this communication in error, please
 notify us immediately and destroy the original message. You may not copy
 or disseminate this communication without the permission of the
 University. Only authorized signatories are competent to enter into
 agreements on behalf of the University and recipients are thus advised
 that the content of this message may not be legally binding on the
 University and may contain the personal views and opinions of the
 author, which are not necessarily the views and opinions of The
 University of the Witwatersrand, Johannesburg. All agreements between
 the University and outsiders are subject to South African Law unless the
 University agrees in writing to the contrary.



 --




 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] dspace index page

2010-05-10 Thread Peter Dietz
Hi Lewatle,

You'll want to become intimately familiar with the documentation as it
explains a lot of things about how DSpace works.
Index browse creation:
http://digital.maag.ysu.edu/jspui/doc/ch08.html#N16447

This is a note to all:
For DSpace 1.6.x and onwards, it will be [dspace]/bin/dspace index-init
and [dspace]/bin/dspace index-update.

The various administrative scripts sitting in [dspace]/bin such as
[dspace]/bin/create-administrator, and [dspace]/bin/filter-media are in the
process of being deprecated (i.e. don't use), and will be removed in a
future release of DSpace as all of that functionality has been migrated into
a DSpace launcher which is invoked by [dspace]/bin/dspace {command-name}
{arguments}.

Peter Dietz
Systems Developer/Engineer
Ohio State University Libraries



On Mon, May 10, 2010 at 12:50 PM, Tim Donohue tdono...@duraspace.orgwrote:

 Hi Lewatle,

 It's possible that a simple re-index will work fine.  I'm not sure which
 DSpace version you are running.  But, assuming it is DSpace 1.5.x or 1.6
 you should have a script called '[dspace]/bin/index-update'

 Run that script from the command line to rebuild your Browse/Search index.

 If that doesn't resolve your issues, follow the instructions in the How
 to Troubleshoot an Error page and send us the error you find in  your
 log files:

 http://wiki.dspace.org/confluence/display/DSPACE/Troubleshoot+an+error

 - Tim


 On 5/10/2010 4:00 AM, Lewatle Phaladi wrote:
  Hi All
 
  I have deleted Communities and Collections on DSpace repositories
  purposefully and left only one Community and its Collections.
 
  I am using JSPUI interface and under Browse when I click on Titles,
  Authors, Subjects and Date, I got this error :
 
  Error : Document Not Found
 
  The document you are trying to access has not been found on the server.
 
  · If you got here by following a link or bookmark provided by someone
  else, the link may be incorrect or you mistyped the link. Please check
  the link and try again. If you still get this error, then try going to
  the DSpace home page http://exams.wits.ac.za:8080/dspace/ and looking
  for what you want from there.
 
  · If you got to this error by clicking in a link on the DSpace site,
  please let us know so we can fix it!
 
  Leave a message for the Wits Exams Repository administrators.
  http://exams.wits.ac.za:8080/dspace/feedback
 
  Go to the DSpace home page http://exams.wits.ac.za:8080/dspace/
 
  Do I have to run any program to update the index etc.
 
  Regards,
 
  Lewatle
 
  This communication is intended for the addressee only. It is
  confidential. If you have received this communication in error, please
  notify us immediately and destroy the original message. You may not copy
  or disseminate this communication without the permission of the
  University. Only authorized signatories are competent to enter into
  agreements on behalf of the University and recipients are thus advised
  that the content of this message may not be legally binding on the
  University and may contain the personal views and opinions of the
  author, which are not necessarily the views and opinions of The
  University of the Witwatersrand, Johannesburg. All agreements between
  the University and outsiders are subject to South African Law unless the
  University agrees in writing to the contrary.
 
 
 
 
 --
 
 
 
 
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech


 --

 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace Sword Module

2010-05-10 Thread Stuart Lewis
Hi Lewatle,

 I want to set-up DSpace SWORD Test, I never changed anything on DSpace 
 configuration (dspace.cfg) especially
 on SWORD SPECIFIC CONFIGURATIONS, I need advice to any DSpace User who have 
 done SWORD set-up about which
 lines are important to uncomment and put what values to the properties and 
 any scripts that I need to run
 if there is any to apply changes, what URL to use to access SWORD. 

Hopefully you'll not need to change any configuration settings initially - we 
always try to make as much of it 'work out the box' as possible.

There is one URL that is important with SWORD - the Service Document. This is 
usually found at:

 - http://your-repository.com/sword/servicedocument

Requesting this will ask for your username and password. It returns an XML 
document that explains which collections the user can deposit into, and what 
the deposit URLs are. They are typically in the form of:

 - http://your-repository.com/sword/deposit/{collection-handle}
 - http://your-repository.com/sword/deposit/123456789/562

To use SWORD you will need a SWORD client. This can be as simple as 'curl' on 
the command line. There is a simple online SWORD client at:

 - http://client.swordapp.org/client/

However this client isn't really designed for end users, as you usually want to 
be able to hide details such as the service document from them. You might like 
to take a look at EasyDeposit which allows you to create custom SWORD deposit 
interfaces. It requires PHP and allows a lot of customization from within the 
application itself.

 - http://easydeposit.swordapp.org/

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: +64 (0)9 373 7599 x81928


--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Solr Service Unavailable - Statistics

2010-05-10 Thread Mark Diggory
I would recommend creating a JIRA ticket to track the subject/issue.
I think we will want to look into mediating the number of updated that
occur during a user session for any one Item View.  This will mean
keeping a cache of visited pages in the session and assuring that item
visits are recorded but once a session.

Mark

On Mon, May 10, 2010 at 6:59 AM, Gilbertson, Keith R
keith.gilbert...@library.gatech.edu wrote:
 A colleague in charge of administering a larger repository mentioned seeing
 these errors on Friday.

 I looked through the log files on a smaller set of test systems that I've
 been using, and I also have them.  They occur infrequently, maybe 2-3 times
 in a 24 hour period.  The stats updates work most of the time, but it looks
 like every once in a while the update fails.

 I haven't been able to cause them to happen on my systems at will - they
 just happen occasionally.  On his system, which receives substantial
 traffic, he can cause the errors by visiting an item page and rapidly
 clicking and re-clicking the refresh button on the browser.  I think that he
 was going to adjust some solr settings to see if that fixed the error.

 If I hear more about this or have a chance to investigate some more I'll let
 you know.  Please do the same if you find a solution!

 --keith



 - Mensaje original -
 De: Antoanne Christopher antoa...@gmail.com
 Para: dspace-tech@lists.sourceforge.net
 Enviados: Viernes, 7 de Mayo 2010 16:53:59 GMT -05:00 Región oriental EE.
 UU./Canadá
 Asunto: [Dspace-tech] Solr Service Unavailable - Statistics

 After update my DSpace instance [ http://virtualbib.fgv.br/dspace ] from
 1.5.2 to 1.6.0 and start to user solr statistics, I have received several
 erros on dspace.log with message Service Unavailable about solr exception,
 .

 Someone has seen this error?
 Know how to configure the solr transacions log to see exactly waht is
 happening during the solr transactions?

 

 2010-05-07 17:28:15,500 ERROR org.dspace.statistics.SolrLogger @ Service
 Unavailable

 Service Unavailable

 request: http://virtualbib.fgv.br/solr/statistics/update
 org.apache.solr.common.SolrException: Service Unavailable

 Service Unavailable

 request: http://virtualbib.fgv.br/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:246)
     at
 org.dspace.statistics.SolrLoggerUsageEventListener.receiveEvent(SolrLoggerUsageEventListener.java:41)
     at
 org.dspace.services.events.SystemEventService.fireLocalEvent(SystemEventService.java:154)
     at
 org.dspace.services.events.SystemEventService.fireEvent(SystemEventService.java:97)
     at
 org.dspace.app.xmlui.cocoon.BitstreamReader.setup(BitstreamReader.java:372)
     at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
     at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at
 org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
     at $Proxy29.setup(Unknown Source)
     at
 org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupReader(AbstractProcessingPipeline.java:560)
     at
 org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:464)
     at
 org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:411)
     at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
     at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at
 org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
     at $Proxy28.process(Unknown Source)
     at
 org.apache.cocoon.components.treeprocessor.sitemap.ReadNode.invoke(ReadNode.java:94)
     at
 org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
     at
 org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:87)
     at
 org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
     at
 org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
     at
 

Re: [Dspace-tech] Solr Service Unavailable - Statistics

2010-05-10 Thread Antoanne Christopher
Thanks Mark!
Now I created a ticket in jira, see DS-576.

Antoanne

On Mon, May 10, 2010 at 6:07 PM, Mark Diggory mdigg...@atmire.com wrote:

 I would recommend creating a JIRA ticket to track the subject/issue.
 I think we will want to look into mediating the number of updated that
 occur during a user session for any one Item View.  This will mean
 keeping a cache of visited pages in the session and assuring that item
 visits are recorded but once a session.

 Mark

 On Mon, May 10, 2010 at 6:59 AM, Gilbertson, Keith R
 keith.gilbert...@library.gatech.edu wrote:
  A colleague in charge of administering a larger repository mentioned
 seeing
  these errors on Friday.
 
  I looked through the log files on a smaller set of test systems that I've
  been using, and I also have them.  They occur infrequently, maybe 2-3
 times
  in a 24 hour period.  The stats updates work most of the time, but it
 looks
  like every once in a while the update fails.
 
  I haven't been able to cause them to happen on my systems at will - they
  just happen occasionally.  On his system, which receives substantial
  traffic, he can cause the errors by visiting an item page and rapidly
  clicking and re-clicking the refresh button on the browser.  I think that
 he
  was going to adjust some solr settings to see if that fixed the error.
 
  If I hear more about this or have a chance to investigate some more I'll
 let
  you know.  Please do the same if you find a solution!
 
  --keith
 
 
 
  - Mensaje original -
  De: Antoanne Christopher antoa...@gmail.com
  Para: dspace-tech@lists.sourceforge.net
  Enviados: Viernes, 7 de Mayo 2010 16:53:59 GMT -05:00 Región oriental EE.
  UU./Canadá
  Asunto: [Dspace-tech] Solr Service Unavailable - Statistics
 
  After update my DSpace instance [ http://virtualbib.fgv.br/dspace ] from
  1.5.2 to 1.6.0 and start to user solr statistics, I have received several
  erros on dspace.log with message Service Unavailable about solr
 exception,
  .
 
  Someone has seen this error?
  Know how to configure the solr transacions log to see exactly waht is
  happening during the solr transactions?
 
  
 
  2010-05-07 17:28:15,500 ERROR org.dspace.statistics.SolrLogger @ Service
  Unavailable
 
  Service Unavailable
 
  request: http://virtualbib.fgv.br/solr/statistics/update
  org.apache.solr.common.SolrException: Service Unavailable
 
  Service Unavailable
 
  request: http://virtualbib.fgv.br/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:246)
  at
 
 org.dspace.statistics.SolrLoggerUsageEventListener.receiveEvent(SolrLoggerUsageEventListener.java:41)
  at
 
 org.dspace.services.events.SystemEventService.fireLocalEvent(SystemEventService.java:154)
  at
 
 org.dspace.services.events.SystemEventService.fireEvent(SystemEventService.java:97)
  at
 
 org.dspace.app.xmlui.cocoon.BitstreamReader.setup(BitstreamReader.java:372)
  at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
  at
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at
 
 org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
  at $Proxy29.setup(Unknown Source)
  at
 
 org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupReader(AbstractProcessingPipeline.java:560)
  at
 
 org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:464)
  at
 
 org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:411)
  at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
  at
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at
 
 org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
  at $Proxy28.process(Unknown Source)
  at
 
 org.apache.cocoon.components.treeprocessor.sitemap.ReadNode.invoke(ReadNode.java:94)
  at
 
 org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
  at
 
 org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:87)
  at