Details
Description
When starting OFBiz on a second portoffset the system generates errors.
In OFBiz 15.12 the following command was used:
./ant start -Dportoffset=1
In Trunk the same happens, but the command used there was:
java -jar build/libs/ofbiz.jar -o 1
In r15 the following errors were generated:
[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