2015-12-11 01:00:03.437 [startQuertz_Worker-5] ERROR cn.lds.nep.common.LucenesCourseSearch - exception
java.nio.channels.OverlappingFileLockException: null
at sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java:255) ~[na:1.8.0_25]
at sun.nio.ch.SharedFileLockTable.add(FileLockTable.java:152) ~[na:1.8.0_25]
at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1075) ~[na:1.8.0_25]
at java.nio.channels.FileChannel.tryLock(FileChannel.java:1155) ~[na:1.8.0_25]
at org.apache.lucene.store.NativeFSLock.obtain(NativeFSLockFactory.java:217) ~[lucene-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:00:40]
at org.apache.lucene.store.Lock.obtain(Lock.java:72) ~[lucene-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:00:40]
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:602) ~[lucene-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:00:40]
at cn.lds.nep.common.LuceneIndexWriter.getIndexWriter(LuceneIndexWriter.java:19) ~[bizfuse-nep-web-1.0.0-SNAPSHOT.jar:na]
at cn.lds.nep.common.LucenesCourseCreate.createLucene(LucenesCourseCreate.java:68) ~[bizfuse-nep-web-1.0.0-SNAPSHOT.jar:na]
at cn.lds.nep.services.impl.MainPageManagerImpl.createLuneceAllCourse(MainPageManagerImpl.java:745) [bizfuse-nep-web-1.0.0-SNAPSHOT.jar:na]
at cn.lds.nep.services.impl.MainPageManagerImpl.refreshFrontRedisCache(MainPageManagerImpl.java:781) [bizfuse-nep-web-1.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
项目中用到了全文检索功能,手动执行更新方法 没有问题 ,
但是一到了定时器执行方法 就报上面的错了,无解
还有就是 本地开发时定时器也没有问题 ,只是在的服务器端出现问题,
希望各位大神帮帮忙啦,分析分析这是咋回事
相关分类