Lucene is unable to obtain a lock for adding new items to the index.

I suspect that the (unix) account that you are running Tomcat/DSpace
under is unable to get write permissions to the temp directory specified
below.

Can you check the permissions that are allowed on that directory, and
that the account does have access?

If you can't change the permissions of that directory, try setting the
property java.io.tmpdir before starting Tomcat to a directory that the
account does have permissions to write to.

G

On Thu, 2007-02-15 at 12:20 -0600, Lakshmi Balasubramanyam wrote:
> We have the Dspace 1.4.1 version installed on our unix server that is
> running against a postgres server. I am getting an Internal server error
> when I submit an item after I click on "I grant the Licence" button in
> the process. The error message says 
> 
> 
> java.io.IOException: Lock obtain timed out:
> Lock@/websys/jakarta-tomcat-5.0.28/temp/lucene-aedcccbd80b1f19e22ef7b78d1bec400-write.lock
> 
>         at org.apache.lucene.store.Lock.obtain(Lock.java:56)
>         at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:254)
>         at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:204)
>         at org.dspace.search.DSIndexer.openIndex(DSIndexer.java:286)
>         at org.dspace.search.DSIndexer.indexContent(DSIndexer.java:92)
>         at
> org.dspace.content.InstallItem.installItem(InstallItem.java:149)
>         at
> org.dspace.content.InstallItem.installItem(InstallItem.java:73)
>         at
> org.dspace.workflow.WorkflowManager.archive(WorkflowManager.java:652)
>         at
> org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:606)
>         at
> org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:582)
>         at
> org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:546)
>         at
> org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:506)
>         at
> org.dspace.workflow.WorkflowManager.start(WorkflowManager.java:203)
>         at
> org.dspace.app.webui.servlet.SubmitServlet.processLicense(SubmitServlet.java:1618)
>         at
> org.dspace.app.webui.servlet.SubmitServlet.doDSPost(SubmitServlet.java:424)
>         at
> org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147)
>         at
> org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105)
>         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 
> 
> Can anyone tell me what's causing this. I have bounced the server a
> couple of times, logged out and logged in many times but still keep
> getting this error. Any ideas?
> 
> 
> 
> Thanks!
> - Lakshmi
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to