jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sridhar Raman" <sridhar.ra...@gmail.com>
Subject Re: Bundle persistence error
Date Fri, 03 Aug 2007 06:00:22 GMT
Further, I am getting another kind of error every time I log on to a
repository.  This is what the stack trace says:
javax.jcr.RepositoryException: Error indexing root node:
dcf21d07-d063-41d1-b730-747df8045996: Error indexing root node:
dcf21d07-d063-41d1-b730-747df8045996: Error indexing root node:
dcf21d07-d063-41d1-b730-747df8045996
      at org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(
SearchManager.java:476)
      at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java
:231)
      at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(
RepositoryImpl.java:1643)
      at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(
RepositoryImpl.java:633)
      at org.apache.jackrabbit.core.RepositoryImpl.getWorkspaceInfo(
RepositoryImpl.java:746)
      at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java
:1232)
      at org.apache.jackrabbit.core.jndi.BindableRepository.login(
BindableRepository.java:185)
      at com.taxila.editor.sm.RepoOperations.logintoRepo(RepoOperations.java
:7761)
      at com.taxila.editor.em.dm.LoginAction.execute(LoginAction.java:76)
      at org.apache.struts.action.RequestProcessor.processActionPerform(
RequestProcessor.java:446)
      at org.apache.struts.action.RequestProcessor.process(
RequestProcessor.java:266)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java
:1292)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java
:510)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:178)
      at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(
Http11Processor.java:869)
      at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java:80)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
      at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: Error indexing root node:
dcf21d07-d063-41d1-b730-747df8045996
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.<init>(
MultiIndex.java:313)
      at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(
SearchIndex.java:295)
      at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(
AbstractQueryHandler.java:44)
      at org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(
SearchManager.java:474)
      ... 28 more
java.io.IOException: Error indexing root node:
dcf21d07-d063-41d1-b730-747df8045996
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.<init>(
MultiIndex.java:313)
      at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(
SearchIndex.java:295)
      at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(
AbstractQueryHandler.java:44)
      at org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(
SearchManager.java:474)
      at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java
:231)
      at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(
RepositoryImpl.java:1643)
      at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(
RepositoryImpl.java:633)
      at org.apache.jackrabbit.core.RepositoryImpl.getWorkspaceInfo(
RepositoryImpl.java:746)
      at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java
:1232)
      at org.apache.jackrabbit.core.jndi.BindableRepository.login(
BindableRepository.java:185)
      at com.taxila.editor.sm.RepoOperations.logintoRepo(RepoOperations.java
:7761)
      at com.taxila.editor.em.dm.LoginAction.execute(LoginAction.java:76)
      at org.apache.struts.action.RequestProcessor.processActionPerform(
RequestProcessor.java:446)
      at org.apache.struts.action.RequestProcessor.process(
RequestProcessor.java:266)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java
:1292)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java
:510)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:178)
      at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(
Http11Processor.java:869)
      at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java:80)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
      at java.lang.Thread.run(Thread.java:595)

Again, just like the previous error I mentioned, this goes away if I repeat
the statements.

I am concerned.  Are these issues only happening in Bundle Persistence?  Or
is this probably in version 1.3 of Jackrabbit?

On 7/17/07, Stefan Guggisberg <stefan.guggisberg@gmail.com> wrote:
>
> hi sridhar,
>
> On 7/17/07, Sridhar Raman <sridhar.raman@gmail.com> wrote:
> > I have a node called contNode, which contains many other nodes.
> > I am getting this error when I do a simple contNode.hasNode
> ("tx:entities"):
> >
> > > 0094 [http-8080-Processor25] ERROR
> > >
> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager -
> > > failed to read bundle: dfd65242-d871-4110-828e-18a0f7553b83:
> > > java.io.IOException: ERROR 40XD0: Container has been closed
> > >
> >
> > This log is generated, and the method hasNode returns false.  But if I
> do a
> > hasNode after this, I get the proper response, which is true.  Any idea
> why
> > this might happen?
>
> please create a jira bug issue and attach your cofiguration and ideally
> a simple test case demonstrating the issue.
>
> thanks
> stefan
>
> >
> > This happens every time I am running our application (that uses
> Jackrabbit)
> > for the first time since Tomcat is switched on.  If I just call the same
> > method again, it works fine.
> >
> > This problem also appears in the JCR Browser plugin for Eclipse.
> >
> > I have been getting this problem ever since I moved to Jackrabbit
> version
> > 1.3.  Can someone throw some light on the reason behind this?
> >
> > Thanks,
> > Sridhar
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message