Hi George, Hmmm...it actually looks a bit "fishy" to me.
You have two <Host> entries defined, which look to me like they are loading the same webapps: 1. <Host name="localhost"> is configured to load *everything* under the "webapps" subdirectory. 2. <Host name="ecommons-test.library.cornell.edu"> is then configured to load "webapps/xmlui" and "webapps/jspui" So, essentially, between these two Host definitions, it looks like you are telling Tomcat to load both the XMLUI and JSPUI *twice*. Could you try commenting out one of your <Host> definitions and rebooting Tomcat? I wonder if that would resolve the Solr lock issues. In general, with the setup you are using, you really only need to either set "appBase='webapps'" OR define individual <Context> tags per webapp. You don't need to do both. As for your other question, I'm not sure why this work work on older versions of DSpace and not in DSpace 5.1. Perhaps it has something to do with the fact that we upgraded Solr to the latest version in DSpace 5.1. Maybe the latest version of Solr is less forgiving about multiple apps writing to it simultaneously. - Tim On 4/9/2015 8:40 AM, George Stanley Kozak wrote: > 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