Re: [Dspace-tech] Search problem, item is not index not apper

2012-06-30 Thread Lactino
Hi Andrea, Tnks for your responce I Have check the permision folder of
search, and it´s fine the user Dspace.

I have check the log of tomcat6  - catalina.2012-06-30, and found this
problem


30-jun-2012 20:56:09 org.apache.solr.core.Config getLuceneVersion
ADVERTENCIA: the luceneMatchVersion is not specified, defaulting to
LUCENE_24 emulation. You should at some point declare and reindex to at
least 3.0, because 2.4 emulation is deprecated and will be removed in 4.0.
This parameter will be mandatory in 4.0.
30-jun-2012 20:56:09 org.apache.solr.core.SolrConfig init
.
.
.
ADVERTENCIA: WhitespaceTokenizerFactory is using deprecated LUCENE_24
emulation. You should at some point declare and reindex to at least 3.0,
because 2.x emulation is deprecated and will be removed in 4.0
30-jun-2012 20:56:09 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created text_ws: org.apache.solr.schema.TextField
30-jun-2012 20:56:09 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WhitespaceTokenizerFactory
30-jun-2012 20:56:09 org.apache.solr.analysis.BaseTokenStreamFactory
assureMatchVersion
ADVERTENCIA: WhitespaceTokenizerFactory is using deprecated LUCENE_24
emulation. You should at some point declare and reindex to at least 3.0,
because 2.x emulation is deprecated and will be removed in 4.0

I think this is my problem I have update from 1.8 to 1.8.2 but the problem
persist, any idea?

I found this fix https://jira.duraspace.org/browse/DS-980 but is for 1.8
version, I traid aplly (in my 1.8.2) but said the fix is aply.

Saludos

Lactino
CISC.


--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Search-problem-item-is-not-index-not-apper-tp4655946p4655989.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


[Dspace-tech] Search problem, item is not index not apper

2012-06-27 Thread Lactino
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

Re: [Dspace-tech] Search problem, item is not index not apper

2012-06-27 Thread Andrea Schweer
Hi Lactino,

On 28/06/12 07:51, Lactino wrote:
 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.

This looks like a permission problem on your server. Make sure that the
DSpace search directory is owned by the user that Tomcat runs as (likely
either dspace or tomcat). From your error message, it looks like this
directory is /dspace/search for you. Furthermore, when you run
index-update, make sure you always run this as the user that Tomcat runs
as.

If your dspace search directory has a file called write.lock in it right
now, you will need to delete this file (just this once).

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


--
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