jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nanduri siva <ngs...@gmail.com>
Subject jackrabbit issue
Date Tue, 03 Nov 2009 10:23:59 GMT

Hi can anyone help me with the below exception when i am trying to access the
repository with jndi name

3.11.2009 15:42:14 *INFO * SearchIndex: Index initialized:
D:/apache-tomcat-5.5.27/repository/repository/index Version: 3
(SearchIndex.java, line 540)
3.11.2009 15:42:14 *ERROR* RepositoryImpl: Failed to initialize workspace
'default' (RepositoryImpl.java, line 496)
avax.jcr.RepositoryException: Directory was previously created with a
different LockFactory instance; please pass null as the lockFactory instance
and use setLockFactory to change it: Directory was previously created with a
different LockFactory instance; please pass null as the
       at
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:540)
       at
org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:213)
       at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1790)
       at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doPostInitialize(RepositoryImpl.java:2008)
       at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1921)
       at
org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:489)
       at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:330)
       at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:627)
       at
org.apache.jackrabbit.core.jndi.BindableRepository.createRepository(BindableRepository.java:141)
       at
org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:117)
       at
org.apache.jackrabbit.core.jndi.BindableRepository.<init>(BindableRepository.java:106)
       at
org.apache.jackrabbit.core.jndi.BindableRepositoryFactory.getObjectInstance(BindableRepositoryFactory.java:51)
       at
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:140)
       at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
       at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
       at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
       at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
       at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
       at org.apache.jsp.newfile_jsp._jspService(newfile_jsp.java:68)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
       at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
       at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
       at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
       at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
       at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
       at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
       at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
       at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
       at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
       at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
       at java.lang.Thread.run(Thread.java:595)
aused by: java.io.IOException: Directory was previously created with a
different LockFactory instance; please pass null as the lockFactory instance
and use setLockFactory to change it
       at
org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:192)
       at
org.apache.jackrabbit.core.query.lucene.directory.FSDirectoryManager.getDirectory(FSDirectoryManager.java:64)
       at
org.apache.jackrabbit.core.query.lucene.MultiIndex.<init>(MultiIndex.java:229)
       at
org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:502)
       at
org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:66)
       at
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:538)
       ... 38 more
ava.io.IOException: Directory was previously created with a different
LockFactory instance; please pass null as the lockFactory instance and use
setLockFactory to change it
       at
org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:192)
       at
org.apache.jackrabbit.core.query.lucene.directory.FSDirectoryManager.getDirectory(FSDirectoryManager.java:64)
       at
org.apache.jackrabbit.core.query.lucene.MultiIndex.<init>(MultiIndex.java:229)
       at
org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:502)
       at
org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:66)
       at
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:538)
       at
org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:213)
       at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1790)
       at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doPostInitialize(RepositoryImpl.java:2008)
       at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1921)
       at
org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:489)
       at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:330)
       at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:627)
       at
org.apache.jackrabbit.core.jndi.BindableRepository.createRepository(BindableRepository.java:141)
       at
org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:117)
       at
org.apache.jackrabbit.core.jndi.BindableRepository.<init>(BindableRepository.java:106)
       at
org.apache.jackrabbit.core.jndi.BindableRepositoryFactory.getObjectInstance(BindableRepositoryFactory.java:51)
       at
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:140)
       at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
       at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
       at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
       at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
       at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
       at org.apache.jsp.newfile_jsp._jspService(newfile_jsp.java:68)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
       at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
       at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
       at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
       at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
       at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
       at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
       at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
       at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
       at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
       at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
       at java.lang.Thread.run(Thread.java:595)
3.11.2009 15:42:14 *ERROR* RepositoryImpl: Unable to start repository,
forcing shutdown... (RepositoryImpl.java, line 497)
3.11.2009 15:42:14 *INFO * RepositoryImpl: Shutting down repository...
(RepositoryImpl.java, line 1093)
3.11.2009 15:42:14 *INFO * IndexMerger: IndexMerger terminated
(IndexMerger.java, line 341)
3.11.2009 15:42:14 *INFO * SearchIndex: Index closed:
D:/apache-tomcat-5.5.27/repository/repository/index (SearchIndex.java, line
728)
3.11.2009 15:42:14 *INFO * RepositoryImpl: shutting down workspace
'default'... (RepositoryImpl.java, line 2068)
3.11.2009 15:42:14 *INFO * ObservationDispatcher: Notification of
EventListeners stopped. (ObservationDispatcher.java, line 106)
3.11.2009 15:42:14 *INFO * DerbyPersistenceManager: Database
'D:/apache-tomcat-5.5.27/repository/db' shutdown.
(DerbyPersistenceManager.java, line 330)
3.11.2009 15:42:14 *INFO * RepositoryImpl: workspace 'default' has been
shutdown (RepositoryImpl.java, line 2074)
3.11.2009 15:42:14 *INFO * DerbyPersistenceManager: Database
'D:/apache-tomcat-5.5.27/repository/version/db' shutdown.
(DerbyPersistenceManager.java, line 330)
3.11.2009 15:42:14 *INFO * RepositoryImpl: Repository has been shutdown
(RepositoryImpl.java, line 1185)
3.11.2009 15:42:14 *ERROR* RepositoryImpl: failed to start Repository:
Directory was previously created with a different LockFactory instance;
please pass null as the lockFactory instance and use setLockFactory to
change it: Directory was previously created with a different LockF
avax.jcr.RepositoryException: Directory was previously created with a
different LockFactory instance; please pass null as the lockFactory instance
and use setLockFactory to change it: Directory was previously created with a
different LockFactory instance; please pass null as the
       at
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:540)
       at
org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:213)
       at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1790)
       at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doPostInitialize(RepositoryImpl.java:2008)
       at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1921)
       at
org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:489)
       at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:330)
       at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:627)
       at
org.apache.jackrabbit.core.jndi.BindableRepository.createRepository(BindableRepository.java:141)
       at
org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:117)
       at
org.apache.jackrabbit.core.jndi.BindableRepository.<init>(BindableRepository.java:106)
       at
org.apache.jackrabbit.core.jndi.BindableRepositoryFactory.getObjectInstance(BindableRepositoryFactory.java:51)
       at
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:140)
       at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
       at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
       at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
       at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
       at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
       at org.apache.jsp.newfile_jsp._jspService(newfile_jsp.java:68)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
       at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
       at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
       at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
       at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
       at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
       at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
       at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
       at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
       at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
       at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
       at java.lang.Thread.run(Thread.java:595)
aused by: java.io.IOException: Directory was previously created with a
different LockFactory instance; please pass null as the lockFactory instance
and use setLockFactory to change it
       at
org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:192)
       at
org.apache.jackrabbit.core.query.lucene.directory.FSDirectoryManager.getDirectory(FSDirectoryManager.java:64)
       at
org.apache.jackrabbit.core.query.lucene.MultiIndex.<init>(MultiIndex.java:229)
       at
org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:502)
       at
org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:66)
       at
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:538)
       ... 38 more
ava.io.IOException: Directory was previously created with a different
LockFactory instance; please pass null as the lockFactory instance and use
setLockFactory to change it
       at
org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:192)
       at
org.apache.jackrabbit.core.query.lucene.directory.FSDirectoryManager.getDirectory(FSDirectoryManager.java:64)
       at
org.apache.jackrabbit.core.query.lucene.MultiIndex.<init>(MultiIndex.java:229)
       at
org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:502)
       at
org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:66)
       at
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:538)
       at
org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:213)
       at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1790)
       at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doPostInitialize(RepositoryImpl.java:2008)
       at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1921)
       at
org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:489)
       at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:330)
       at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:627)
       at
org.apache.jackrabbit.core.jndi.BindableRepository.createRepository(BindableRepository.java:141)
       at
org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:117)
       at
org.apache.jackrabbit.core.jndi.BindableRepository.<init>(BindableRepository.java:106)
       at
org.apache.jackrabbit.core.jndi.BindableRepositoryFactory.getObjectInstance(BindableRepositoryFactory.java:51)
       at
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:140)
       at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
       at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
       at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
       at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
       at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
       at org.apache.jsp.newfile_jsp._jspService(newfile_jsp.java:68)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
       at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
       at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
       at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
       at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
-- 
View this message in context: http://old.nabble.com/jackrabbit-issue-tp26160049p26160049.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message