You are right, I have checked and I have everything twice, This is related to the fact that I have used a different path than the root, but I have not defined context twice, this is my server.xml
<Host name="localhost" appBase="/home/dspace/dspace/webapps"
unpackWARs="true" autoDeploy="true">
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
<Context docBase="rest" path="/dspace/rest"></Context>
<!--<Context docBase="sword" path="dspace/sword"></Context>
<Context docBase="swordv2" path="dspace/swordv2"></Context>-->
<Context docBase="xmlui" path="/dspace/xmlui"></Context>
<Context docBase="jspui" path="/dspace/jspui"></Context>
<Context docBase="solr" path="/dspace/solr"></Context>
<!--<Context docBase="oai" path="dspace/oai"></Context>-->
</Host>
Apparently the context with /solr (i.d. without the dspace prefix) is defined
somewhere else, but I need to find out where ….
Thanks a lot!
Stefano
> On 14 Jun 2017, at 13:21, helix84 <[email protected]> wrote:
>
> Just an idea - is it possible that you're loading the dspace-solr
> webapp twice? E.g. a duplicate <Context> declaration or a duplicate
> context fragment?
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> <https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette>
>
>
> On Wed, Jun 14, 2017 at 11:59 AM, Stefano Bocconi
> <[email protected] <mailto:[email protected]>> wrote:
>> Hi,
>> I constantly get the Error creating core [x]: Index locked for write for
>> core x for all Solr cores (search, statistics, oai, authority).
>>
>> I have stopped tomcat, deleted the lock files and restarted but they
>> reappear immediately. I have also temporarily excluded the oai core from the
>> conf file, but the lock appears on the others.
>>
>> I am using Dspace 5.6 with modifications mostly to the input-form.xml and
>> registry files, but not to the code.
>>
>> I attach the Solr log file. Pointers to where to look for appreciated.
>>
>> Thanks,
>> Stefano Bocconi
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected]
>> <mailto:[email protected]>.
>> To post to this group, send email to [email protected]
>> <mailto:[email protected]>.
>> Visit this group at https://groups.google.com/group/dspace-tech
>> <https://groups.google.com/group/dspace-tech>.
>> For more options, visit https://groups.google.com/d/optout
>> <https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Message signed with OpenPGP using GPGMail
