ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-8409) Running OFBiz with portoffset generates errors
Date Thu, 13 Oct 2016 16:04:20 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-8409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jacques Le Roux updated OFBIZ-8409:
-----------------------------------
    Attachment: clean.log

Thanks to report Pierre.

Though I must admit I reproduced once, I don't reproduce this anymore after running 
# test\tools on Windows, which puts the trunk HEAD in a safely clean situation if tests pass
# running gradlew ofbiz, I don't reproduce
# running gradlew ''ofbiz -0 1" twice, I don't reproduce  (see attached clean.log). 

Googling for "Solr index directory is locked." I guess this is more a transient Sorl index
state and not related with portoffset at all. You should look at the proposed answers by Google
and I guess test with a clean situation.

> Running OFBiz with portoffset generates errors
> ----------------------------------------------
>
>                 Key: OFBIZ-8409
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8409
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework, specialpurpose/solr
>    Affects Versions: Trunk, Release Branch 15.12
>            Reporter: Pierre Smits
>            Priority: Critical
>         Attachments: clean.log
>
>
> When starting OFBiz on a second portoffset the system generates errors.
> In OFBiz 15.12 the following command was used:
> {code}
> ./ant start -Dportoffset=1
> {code}
> In Trunk the same happens, but the command used there was:
> {code}
> java -jar build/libs/ofbiz.jar -o 1
> {code}
> In r15 the following errors were generated:
> {code}
>      [java] 2016-10-11 10:18:08,522 |dExecutor-6-thread-1 |SolrCore                 
    |E| [solrdefault] Solr index directory 'runtime/indexes/products' is locked.  Throwing
exception.
>      [java] 2016-10-11 10:18:08,553 |dExecutor-6-thread-1 |CoreContainer            
    |E| Error creating core [solrdefault]: Index locked for write for core 'solrdefault'.
Solr now longer supports forceful unlocking via 'unlockOnStartup'. Please verify locks manually!
>      [java] org.apache.solr.common.SolrException: Index locked for write for core 'solrdefault'.
Solr now longer supports forceful unlocking via 'unlockOnStartup'. Please verify locks manually!
>      [java] 	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:820) ~[solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:659) ~[solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:723) [solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:443) [solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:434) [solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_66]
>      [java] 	at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:210)
[solr-solrj-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:48:17]
>      [java] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[?:1.8.0_66]
>      [java] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[?:1.8.0_66]
>      [java] 	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66]
>      [java] Caused by: org.apache.lucene.store.LockObtainFailedException: Index locked
for write for core 'solrdefault'. Solr now longer supports forceful unlocking via 'unlockOnStartup'.
Please verify locks manually!
>      [java] 	at org.apache.solr.core.SolrCore.initIndex(SolrCore.java:528) ~[solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:761) ~[solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	... 9 more
>      [java] 2016-10-11 10:18:08,554 |kExecutor-2-thread-1 |CoreContainer            
    |E| Error waiting for SolrCore to be created
>      [java] java.util.concurrent.ExecutionException: org.apache.solr.common.SolrException:
Unable to create core [solrdefault]
>      [java] 	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_66]
>      [java] 	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_66]
>      [java] 	at org.apache.solr.core.CoreContainer$2.run(CoreContainer.java:472) [solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[?:1.8.0_66]
>      [java] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_66]
>      [java] 	at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:210)
[solr-solrj-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:48:17]
>      [java] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[?:1.8.0_66]
>      [java] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[?:1.8.0_66]
>      [java] 	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66]
>      [java] Caused by: org.apache.solr.common.SolrException: Unable to create core [solrdefault]
>      [java] 	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:737) ~[solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:443) ~[solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:434) ~[solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	... 5 more
>      [java] Caused by: org.apache.solr.common.SolrException: Index locked for write for
core 'solrdefault'. Solr now longer supports forceful unlocking via 'unlockOnStartup'. Please
verify locks manually!
>      [java] 	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:820) ~[solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:659) ~[solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:723) ~[solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:443) ~[solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:434) ~[solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	... 5 more
>      [java] Caused by: org.apache.lucene.store.LockObtainFailedException: Index locked
for write for core 'solrdefault'. Solr now longer supports forceful unlocking via 'unlockOnStartup'.
Please verify locks manually!
>      [java] 	at org.apache.solr.core.SolrCore.initIndex(SolrCore.java:528) ~[solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:761) ~[solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:659) ~[solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:723) ~[solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:443) ~[solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:434) ~[solr-core-5.3.1.jar:5.3.1
1703449 - noble - 2015-09-17 01:48:15]
>      [java] 	... 5 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message