This is the error message from the console.

SCHWERWIEGEND: org.apache.lucene.store.LockObtainFailedException: Lock
obtain timed out: [EMAIL PROTECTED]:\Dokumente und E
instellungen\tla\Desktop\solr\apache-solr-1.2.0\apache-solr-1.2.0\example\solr\data\index\write.lock
        at org.apache.lucene.store.Lock.obtain(Lock.java:70)
        at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:579)
        at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:341)
        at
org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:65)
        at
org.apache.solr.update.UpdateHandler.createMainIndexWriter(UpdateHandler.java:120)
        at
org.apache.solr.update.DirectUpdateHandler2.openWriter(DirectUpdateHandler2.java:181)
        at
org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:259)
        at
org.apache.solr.handler.XmlUpdateRequestHandler.update(XmlUpdateRequestHandler.java:166)
        at
org.apache.solr.handler.XmlUpdateRequestHandler.handleRequestBody(XmlUpdateRequestHandler.java:84)
        at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:77)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:658)
        at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:191)
        at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:159)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
        at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
        at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:285)
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:202)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
        at
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
        at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)





Jón Helgi Jónsson wrote:
> 
> Usually you get better error messages from the start.jar console, you
> don't see anything there?
> 
> On Thu, Jun 12, 2008 at 7:49 AM, Thomas Lauer <[EMAIL PROTECTED]> wrote:
>>
>> Yes my file is UTF-8. I Have Upload my file.
>>
>>
>>
>>
>> Grant Ingersoll-6 wrote:
>>>
>>>
>>> On Jun 11, 2008, at 3:46 AM, Thomas Lauer wrote:
>>>
>>>> now I want tho add die files to solr. I have start solr on windows
>>>> in the example directory with java -jar start.jar
>>>>
>>>>
>>>> I have the following Error Message:
>>>>
>>>> C:\test\output>java -jar post.jar *.xml
>>>> SimplePostTool: version 1.2
>>>> SimplePostTool: WARNING: Make sure your XML documents are encoded in
>>>> UTF-8, other encodings are not currently supported
>>>
>>>
>>> This is your issue right here.  You have to save that second file in
>>> UTF-8.
>>>
>>>>
>>>> SimplePostTool: POSTing files to http://localhost:8983/solr/update..
>>>> SimplePostTool: POSTing file 1.xml
>>>> SimplePostTool: POSTing file 2.xml
>>>> SimplePostTool: FATAL: Connection error (is Solr running at
>>>> http://localhost:8983/solr/update
>>>>  ?): java.io.IOException: S
>>>> erver returned HTTP response code: 400 for URL:
>>>> http://localhost:8983/solr/update
>>>>
>>>> C:\test\output>
>>>>
>>>> Regards Thomas Lauer
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> __________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-
>>>> Version 3175 (20080611) __________
>>>>
>>>> E-Mail wurde geprüft mit ESET NOD32 Antivirus.
>>>>
>>>> http://www.eset.com
>>>
>>> --------------------------
>>> Grant Ingersoll
>>> http://www.lucidimagination.com
>>>
>>> Lucene Helpful Hints:
>>> http://wiki.apache.org/lucene-java/BasicsOfPerformance
>>> http://wiki.apache.org/lucene-java/LuceneFAQ
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>> http://www.nabble.com/file/p17794387/2.xml 2.xml
>> --
>> View this message in context:
>> http://www.nabble.com/Problem-with-add-a-XML-tp17772018p17794387.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-add-a-XML-tp17772018p17808276.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to