Hi.

I have a problem with my DSpace, version 1.8.2 installed

1. I add a new item, this is normally added,
2. The item appears in the community
3. It appears if I try to find the item by the search box.
4. I need to make an index-update to appear in the search

I verficado the dspace.log, when I make the approval of the item does not
appear any message, but if I use the index-update command loads all the item
to the search.

But if someone is sailing or climbing on any item that you send momencho an
internal error message and the task is saved in the session.

2012-06-26 21:00:02,189 INFO  org.dspace.core.ConfigurationManager @ Loading
from classloader: file:/dspace/config/dspace.cfg
2012-06-26 21:00:02,194 INFO  org.dspace.core.ConfigurationManager @ Using
dspace provided log configuration (log.init.config)
2012-06-26 21:00:02,194 INFO  org.dspace.core.ConfigurationManager @
Loading: /dspace/config/log4j.properties
2012-06-26 21:00:03,483 INFO  org.dspace.search.DSIndexer @ Updating and
Cleaning Index
2012-06-26 21:00:03,573 INFO  org.dspace.search.DSIndexer @ Writing Item:
123/20 to Index
2012-06-26 21:00:03,580 INFO  org.dspace.content.MetadataField @ Loading
MetadataField elements into cache.
2012-06-26 21:00:03,588 INFO  org.dspace.content.MetadataSchema @ Loading
schema cache for fast finds
2012-06-26 21:00:03,606 INFO  org.dspace.search.DSIndexer @ Wrote Item:
123/20 to Index
2012-06-26 21:00:03,608 INFO  org.dspace.search.DSIndexer @ Writing Item:
123/21 to Index
2012-06-26 21:00:03,614 INFO  org.dspace.search.DSIndexer @ Wrote Item:
123/21 to Index
2012-06-26 21:00:03,616 INFO  org.dspace.search.DSIndexer @ Writing Item:
123/22 to Index
2012-06-26 21:00:03,621 INFO  org.dspace.search.DSIndexer @ Wrote Item:
123/22 to Index
2012-06-26 21:00:03,623 INFO  org.dspace.search.DSIndexer @ Writing
Collection: 123/4 to Index
2012-06-26 21:00:03,624 INFO  org.dspace.search.DSIndexer @ Writing
Collection: 123/2 to Index
2012-06-26 21:00:03,625 INFO  org.dspace.search.DSIndexer @ Writing
Community: 123/1 to Index
2012-06-26 21:00:03,625 INFO  org.dspace.search.DSIndexer @ Writing
Community: 123/3 to Index
2012-06-26 21:00:05,052 INFO  net.sf.ehcache.util.UpdateChecker @ New
update(s) found: 2.4.7
[http://www.terracotta.org/confluence/display/release/Release+Notes+Ehcache+Core+2.4]
2012-06-26 21:00:33,674 ERROR org.dspace.search.DSIndexer @ Lock obtain
timed out: NativeFSLock@/dspace/search/write.lock
org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out:
NativeFSLock@/dspace/search/write.lock
        at org.apache.lucene.store.Lock.obtain(Lock.java:84)
        at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1115)
        at org.dspace.search.DSIndexer.openIndex(DSIndexer.java:921)
        at org.dspace.search.DSIndexer.optimizeIndex(DSIndexer.java:381)
        at org.dspace.search.DSIndexer.updateIndex(DSIndexer.java:560)
        at org.dspace.search.DSIndexer.main(DSIndexer.java:488)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
2012-06-26 21:00:33,674 INFO  org.dspace.search.DSIndexer @ Done with
indexing
2012-06-26 21:01:03,681 ERROR org.dspace.search.DSIndexer @
org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out:
NativeFSLock@/dspace/search/write.lock
2012-06-26 21:08:07,006 INFO  org.dspace.core.ConfigurationManager @ Loading
from classloader: file:/dspace/config/dspace.cfg
2012-06-26 21:08:07,010 INFO  org.dspace.core.ConfigurationManager @ Using
dspace provided log configuration (log.init.config)
2012-06-26 21:08:07,010 INFO  org.dspace.core.ConfigurationManager @
Loading: /dspace/config/log4j.properties
2012-06-26 21:08:08,092 INFO  org.dspace.search.DSIndexer @ Updating and
Cleaning Index
2012-06-26 21:08:08,162 INFO  org.dspace.search.DSIndexer @ Writing Item:
123/20 to Index
2012-06-26 21:08:08,169 INFO  org.dspace.content.MetadataField @ Loading
MetadataField elements into cache.
2012-06-26 21:08:08,177 INFO  org.dspace.content.MetadataSchema @ Loading
schema cache for fast finds
2012-06-26 21:08:08,193 INFO  org.dspace.search.DSIndexer @ Wrote Item:
123/20 to Index
2012-06-26 21:08:08,196 INFO  org.dspace.search.DSIndexer @ Writing Item:
123/21 to Index
2012-06-26 21:08:08,202 INFO  org.dspace.search.DSIndexer @ Wrote Item:
123/21 to Index
2012-06-26 21:08:08,204 INFO  org.dspace.search.DSIndexer @ Writing Item:
123/22 to Index
2012-06-26 21:08:08,209 INFO  org.dspace.search.DSIndexer @ Wrote Item:
123/22 to Index
2012-06-26 21:08:08,211 INFO  org.dspace.search.DSIndexer @ Writing Item:
123/23 to Index
2012-06-26 21:08:08,216 INFO  org.dspace.search.DSIndexer @ Wrote Item:
123/23 to Index
2012-06-26 21:08:08,217 INFO  org.dspace.search.DSIndexer @ Writing
Collection: 123/4 to Index
2012-06-26 21:08:08,218 INFO  org.dspace.search.DSIndexer @ Writing
Collection: 123/2 to Index
2012-06-26 21:08:08,219 INFO  org.dspace.search.DSIndexer @ Writing
Community: 123/1 to Index
2012-06-26 21:08:08,219 INFO  org.dspace.search.DSIndexer @ Writing
Community: 123/3 to Index
2012-06-26 21:08:09,932 INFO  net.sf.ehcache.util.UpdateChecker @ New
update(s) found: 2.4.7
[http://www.terracotta.org/confluence/display/release/Release+Notes+Ehcache+Core+2.4]
2012-06-26 21:08:38,252 ERROR org.dspace.search.DSIndexer @ Lock obtain
timed out: NativeFSLock@/dspace/search/write.lock
org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out:
NativeFSLock@/dspace/search/write.lock
        at org.apache.lucene.store.Lock.obtain(Lock.java:84)
        at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1115)
        at org.dspace.search.DSIndexer.openIndex(DSIndexer.java:921)
        at org.dspace.search.DSIndexer.optimizeIndex(DSIndexer.java:381)
        at org.dspace.search.DSIndexer.updateIndex(DSIndexer.java:560)
        at org.dspace.search.DSIndexer.main(DSIndexer.java:488)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
2012-06-26 21:08:38,252 INFO  org.dspace.search.DSIndexer @ Done with
indexing
2012-06-26 21:09:08,259 ERROR org.dspace.search.DSIndexer @
org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out:
NativeFSLock@/dspace/search/write.lock


I think it's a bug since I've tried versions 1.7.2 and in them the process
is automatic, no need to make index-update,

--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Search-problem-item-is-not-index-not-apper-tp4655946.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to