jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anjan <poliset...@gmail.com>
Subject Re: Repository is not starting
Date Fri, 22 Aug 2014 11:29:22 GMT
The error I am getting if I remove the "index" directories is:
22.08.2014 15:40:07.640 *ERROR* [FelixStartLevel]
org.apache.jackrabbit.core.RepositoryImpl Failed to initialize workspace
'default'
javax.jcr.RepositoryException: Unable to initialize query handler:
org.apache.jackrabbit.core.query.lucene.SearchIndex@4886de
	at
org.apache.jackrabbit.core.config.RepositoryConfigurationParser$1.getQueryHandler(RepositoryConfigurationParser.java:658)
	at
org.apache.jackrabbit.core.config.RepositoryConfig.getQueryHandler(RepositoryConfig.java:1037)
	at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:171)
	at
org.apache.jackrabbit.core.RepositoryImpl.getSystemSearchManager(RepositoryImpl.java:614)
	at
org.apache.jackrabbit.core.RepositoryImpl.access$100(RepositoryImpl.java:124)
	at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1862)
	at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doPostInitialize(RepositoryImpl.java:2098)
	at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:2004)
	at
org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:517)
	at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:324)
	at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:589)
	at
org.apache.sling.jcr.jackrabbit.server.impl.SlingServerRepository.acquireRepository(SlingServerRepository.java:177)
	at
org.apache.sling.jcr.base.AbstractSlingRepository.startRepository(AbstractSlingRepository.java:923)
	at
org.apache.sling.jcr.base.AbstractSlingRepository.activate(AbstractSlingRepository.java:747)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:231)
	at
org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:39)
	at
org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:624)
	at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:508)
	at
org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:149)
	at
org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:313)
	at
org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:127)
	at
org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:868)
	at
org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:835)
	at
org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:827)
	at
org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:907)
	at
org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:871)
	at
org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1477)
	at
org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1398)
	at
org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:1210)
	at
org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:1148)
	at
org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1429)
	at
org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
	at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
	at
org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
	at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4401)
	at org.apache.felix.framework.Felix.registerService(Felix.java:3411)
	at
org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
	at
org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:983)
	at
org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:972)
	at
org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:134)
	at
org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:1024)
	at
org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:818)
	at
org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:414)
	at
org.apache.felix.scr.impl.config.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:378)
	at
org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:167)
	at
org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:115)
	at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:235)
	at org.apache.felix.scr.impl.Activator.access$000(Activator.java:44)
	at org.apache.felix.scr.impl.Activator$1.start(Activator.java:169)
	at
org.apache.felix.utils.extender.AbstractExtender.createExtension(AbstractExtender.java:254)
	at
org.apache.felix.utils.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:227)
	at
org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:479)
	at
org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:414)
	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232)
	at
org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:443)
	at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868)
	at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)
	at
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)
	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4385)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:2080)
	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1279)
	at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Error indexing workspace
at
org.apache.jackrabbit.core.query.lucene.MultiIndex.createInitialIndex(MultiIndex.java:395)
	at
org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:564)
	at
org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:78)
	at
org.apache.jackrabbit.core.config.RepositoryConfigurationParser$1.getQueryHandler(RepositoryConfigurationParser.java:655)
	... 66 common frames omitted
Caused by: java.io.FileNotFoundException:
C:\TConnect\docuvity\jackrabbit\repository\index\_4\segments.gen (Access is
denied)
	at java.io.RandomAccessFile.open(Native Method)
	at java.io.RandomAccessFile.<init>(Unknown Source)
	at
org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexOutput.<init>(SimpleFSDirectory.java:180)
	at
org.apache.lucene.store.SimpleFSDirectory.createOutput(SimpleFSDirectory.java:56)
	at
org.apache.jackrabbit.core.query.lucene.directory.FSDirectoryManager$FSDir.createOutput(FSDirectoryManager.java:193)
	at
org.apache.jackrabbit.core.query.lucene.PersistentIndex.copyIndex(PersistentIndex.java:137)
	at
org.apache.jackrabbit.core.query.lucene.MultiIndex$VolatileCommit.execute(MultiIndex.java:2123)
	at
org.apache.jackrabbit.core.query.lucene.MultiIndex.executeAndLog(MultiIndex.java:1135)
	at
org.apache.jackrabbit.core.query.lucene.MultiIndex.commitVolatileIndex(MultiIndex.java:1184)
	at
org.apache.jackrabbit.core.query.lucene.MultiIndex.flush(MultiIndex.java:932)
	at
org.apache.jackrabbit.core.query.lucene.MultiIndex.safeFlush(MultiIndex.java:1317)
	at
org.apache.jackrabbit.core.query.lucene.MultiIndex.createInitialIndex(MultiIndex.java:392)
	... 69 common frames omitted
22.08.2014 15:40:07.641 *ERROR* [FelixStartLevel]
org.apache.jackrabbit.core.RepositoryImpl Unable to start repository,
forcing shutdown...



--
View this message in context: http://jackrabbit.510166.n4.nabble.com/Repository-is-not-starting-tp4661274p4661278.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Mime
View raw message