Tim and  Graham:

Here are excerpts from my tomcat sever.xml file (again, this works OK under 
DSpace 4.3 and lower):

<Engine name="Catalina" defaultHost="localhost">
...
<Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true">
...
<Host name="ecommons-test.library.cornell.edu"  debug="0"
            unpackWARs="true" autoDeploy="false">
...
<Context path="" docBase="[tomcat]/webapps/xmlui" />
...
<Context path="/jspui" docBase="[ tomcat]/webapps/jspui" />

Do you think that this kind of configuration could cause the problem I am 
observing?  And, if so, why doesn't it happen at a lower version of DSpace?  

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924


-----Original Message-----
From: Tim Donohue [mailto:tdono...@duraspace.org] 
Sent: Thursday, April 09, 2015 9:24 AM
To: George Stanley Kozak; Graham Triggs; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Error after install of DSpace 5.1 (Additional 
information)

Hi George,

On 4/8/2015 1:48 PM, George Stanley Kozak wrote:
> By the way, I run my webapps under tomcat, but I know that some of you 
> run the webapps in their dspace directory.  Is there any advantage to 
> doing one or another?

It's really just a matter of preference, it doesn't matter which way you load 
your webapps via Tomcat.  But, as Graham notes, the one thing you don't want to 
do is have a single webapp loaded *twice*.  So, if your XMLUI (or JSPUI) webapp 
is both under [tomcat]/webapps/ and configured under 
[tomcat]/config/Catalina/localhost/ , then Tomcat may be essentially running 
two copies of it. As Graham notes, this also could be a possible cause of the 
Solr lock errors.

Out of curiosity, are you running both XMLUI and JSPUI in parallel? 
While I've never heard it reported, I wonder if doing so could be causing that 
same sort of issue -- one webapp obtains Solr access, and the other then hits 
lock errors.

(Again though, this is complete speculation...just trying to determine what may 
be unique about your 5.1 setup)

- Tim
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
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

Reply via email to