Re: [Dspace-tech] DSpace 1.6 Handle server

2010-04-02 Thread Jason Fowler

I removed solr, and that didn't appear to really change anything.The hangup 
still happened. I did watch catalina.out again, and I saw these lines right at 
the hangup.

INFO: Starting Servlet Engine: Apache Tomcat/5.5.26
Apr 2, 2010 1:54:21 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
log4j:WARN No appenders could be found for logger 
(org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.

It seems it's hanging at that line. I looked at my log4j.properties, and there 
is nothing strange in it. It looks like the standard DSpace-supplied 
log4j.properties file. 

I googled around for an answer to the problem, but couldn't find anything 
definite.

-- Jason Fowler, CA, MSLS


From: Stuart Lewis [s.le...@auckland.ac.nz]
Sent: Friday, April 02, 2010 1:12 AM
To: Jason Fowler
Cc: Mark Diggory; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] DSpace 1.6  Handle server

Hi Jason,

You can disable the solr webapp by removing the whole solr directory from 
[tomcat]/webapps.

Your storage server may be slowing down the loading of the solr index, but 10 
minutes sounds quite severe. You could test it by moving the indexes to the 
local disk. They shouldn't get too big, so hopefully you'll have the space. 
They are normally kept in [dspace]/solr so move them to a local disk, then edit 
[tomcat]/solr/WEB-INF/web.xml

Look for:

env-entry
env-entry-namesolr/home/env-entry-name
env-entry-typejava.lang.String/env-entry-type
env-entry-value/dspace/solr/env-entry-value
/env-entry


And edit /dspace/solr as appropriate for the new location of your solr index.

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 9 373-7599 x81928
http://www.library.auckland.ac.nz/



On 2/04/2010, at 5:29 PM, Jason Fowler wrote:

 Mark,

 I'm not sure exactly how to disable the solr webapplication. Any suggestions?

 The file access is pretty quick. We've never had any trouble before. We have 
 an app server for running the webapps and a storage server for everything 
 else.

 --Jason Fowler, CA, MSLS

 
 From: mdigg...@gmail.com [mdigg...@gmail.com] On Behalf Of Mark Diggory 
 [mdigg...@atmire.com]
 Sent: Thursday, April 01, 2010 11:31 PM
 To: Jason Fowler
 Cc: Stuart Lewis; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] DSpace 1.6  Handle server

 It looks like the delay is before the solr servlet init log entry is
 being called, IE before solr is loaded, disable the solr
 webapplication from loading and test if the delay is still there

 Likewise, what is the storage mount situation you are using here?   If
 file access is slow across this mount, that be slowing Lucene access
 within Solr.  You may try, moving your solr data directory onto the
 local file system and testing if that speeds your loading time.

 Finally, we have rather large solr indexes of statistics in production
 that do not have load times anywhere near this degree of slowness.

 Mark

 On Thu, Apr 1, 2010 at 7:52 PM, Jason Fowler jfow...@sbts.edu wrote:
 Stuart,

 I have confirmed from watching catalina.out that it consistently takes 
 nearly10 minutes to start. Here's the section of the file where the hangup 
 occurs.

 Apr 1, 2010 9:23:28 PM org.apache.coyote.http11.Http11BaseProtocol init
 INFO: Initializing Coyote HTTP/1.1 on http-8080
 Apr 1, 2010 9:23:28 PM org.apache.catalina.startup.Catalina load
 INFO: Initialization processed in 537 ms
 Apr 1, 2010 9:23:28 PM org.apache.catalina.core.StandardService start
 INFO: Starting service Catalina
 Apr 1, 2010 9:23:28 PM org.apache.catalina.core.StandardEngine start
 INFO: Starting Servlet Engine: Apache Tomcat/5.5.26
 Apr 1, 2010 9:23:28 PM org.apache.catalina.core.StandardHost start
 INFO: XML validation disabled
 Apr 1, 2010 9:33:12 PM org.apache.solr.servlet.SolrDispatchFilter init
 INFO: SolrDispatchFilter.init()
 Apr 1, 2010 9:33:12 PM org.apache.solr.core.SolrResourceLoader 
 locateInstanceDir
 INFO: Using JNDI solr.home: /mnt/storage/dspace/solr
 Apr 1, 2010 9:33:12 PM org.apache.solr.core.CoreContainer$Initializer 
 initialize
 INFO: looking for solr.xml: /mnt/storage/dspace/solr/solr.xml
 Apr 1, 2010 9:33:12 PM org.apache.solr.core.SolrResourceLoader init
 INFO: Solr home set to '/mnt/storage/dspace/solr/'

 For some reason, it hangs at org.apache.catalina.core.StandardHost start

 -- Jason Fowler, CA, MSLS

 
 From: Stuart Lewis [s.le...@auckland.ac.nz]
 Sent: Thursday, April 01, 2010 7:30 PM
 To: Jason Fowler
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] DSpace 1.6  Handle server

 Hi Jason,

 How slow is slow? (Is it the handle server that is slow to startup, or 
 tomcat?)

[Dspace-tech] Uploading a folder in Dspace

2010-04-02 Thread Ranjan SinhaThakur

Is it possible upload a Folder (Directory)  in Dspace.



Ranjan Sinha Thakur, Sr. Librarian. M. N. Dastur  Company (P) Ltd, P-17
Mission Row Extension, Kolkata 700013.
Phone : 91-33-22255420- Ext. 519
E-mail: ranjan...@dasturco.in


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech