jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bhathiya Jayasekara <tobhathi...@gmail.com>
Subject 'Invalid namespace index' exception which Apache Sling integration
Date Mon, 25 Jun 2012 05:16:54 GMT
Hi all,

I was trying to use Apache Sling to communicate with a Jacakrabbit
repository. In Sling Launchpad[1], there is an embedded jackrabbit
repository. But what I want is to plug an external jackrabbit repository.
So I configured it through its admin console, according to this[2] thread.

But then when I start Sling Launchpad, it gives following error in its
logs. I asked this[3] from Sling user/div lists and they said it an issue
with the jackrabbit repository. They asked me to ask this from jackrabbit
list. Can you please help me figure this out? Thanks in advance.

25.06.2012 02:07:50.464 *ERROR* [FelixStartLevel]
org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager
failed to read bundle: deadbeef-face-babe-cafe-babecafebabe:
java.lang.IllegalArgumentException: Invalid namespace index: 6086317
25.06.2012 02:07:50.465 *ERROR* [FelixStartLevel]
org.apache.jackrabbit.core.RepositoryImpl failed to start Repository:
org.apache.jackrabbit.core.state.ItemStateException: failed to read bundle:
deadbeef-face-babe-cafe-babecafebabe: java.lang.IllegalArgumentException:
Invalid namespace index: 6086317 javax.jcr.RepositoryException:
org.apache.jackrabbit.core.state.ItemStateException: failed to read bundle:
deadbeef-face-babe-cafe-babecafebabe: java.lang.IllegalArgumentException:
Invalid namespace index: 6086317
 at
org.apache.jackrabbit.core.version.InternalVersionManagerImpl.<init>(InternalVersionManagerImpl.java:258)
at
org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:512)
 at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:355)
at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:673)
 at
org.apache.sling.jcr.jackrabbit.server.impl.SlingServerRepository.acquireRepository(SlingServerRepository.java:141)
at
org.apache.sling.jcr.base.AbstractSlingRepository.startRepository(AbstractSlingRepository.java:795)
 at
org.apache.sling.jcr.base.AbstractSlingRepository.activate(AbstractSlingRepository.java:606)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:227)
 at
org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38)
at
org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:591)
 at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:472)
at
org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:146)
 at
org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:226)
at
org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118)
 at
org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:997)
at
org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:333)
 at
org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:157)
at
org.apache.felix.scr.impl.config.ConfiguredComponentHolder.enableComponents(ConfiguredComponentHolder.java:262)
 at
org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:253)
at
org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:147)
 at
org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:111)
at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:285)
 at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:203)
at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)
 at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)
at
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)
 at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3758)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1780)
 at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
 at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.jackrabbit.core.state.ItemStateException: failed to
read bundle: deadbeef-face-babe-cafe-babecafebabe:
java.lang.IllegalArgumentException: Invalid namespace index: 6086317
 at
org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.loadBundle(BundleDbPersistenceManager.java:1096)
at
org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.loadBundle(BundleDbPersistenceManager.java:1029)
 at
org.apache.jackrabbit.core.persistence.pool.AbstractBundlePersistenceManager.getBundle(AbstractBundlePersistenceManager.java:651)
at
org.apache.jackrabbit.core.persistence.pool.AbstractBundlePersistenceManager.exists(AbstractBundlePersistenceManager.java:470)
 at
org.apache.jackrabbit.core.version.InternalVersionManagerImpl.<init>(InternalVersionManagerImpl.java:212)
... 34 more
Caused by: java.lang.IllegalArgumentException: Invalid namespace index:
6086317
at
org.apache.jackrabbit.core.NamespaceRegistryImpl.indexToString(NamespaceRegistryImpl.java:310)
 at
org.apache.jackrabbit.core.persistence.util.BundleBinding.readBundle(BundleBinding.java:88)
at
org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.loadBundle(BundleDbPersistenceManager.java:1090)
 ... 38 more
25.06.2012 02:07:50.466 *INFO* [FelixStartLevel]
org.apache.jackrabbit.core.RepositoryImpl Shutting down repository...
25.06.2012 02:07:50.468 *INFO* [FelixStartLevel]
org.apache.jackrabbit.core.RepositoryImpl Repository has been shutdown
25.06.2012 02:07:50.468 *ERROR* [FelixStartLevel]
org.apache.sling.jcr.jackrabbit.server acquireRepository: Repository
problem starting repository from
/home/bhathiya/Apps/airavata/newtrunk/modules/distribution/target/apache-airavata-0.4-incubating-SNAPSHOT/bin/jackrabbit/repository.xml
in
/home/bhathiya/Apps/airavata/newtrunk/modules/distribution/target/apache-airavata-0.4-incubating-SNAPSHOT/bin/jackrabbit
(javax.jcr.RepositoryException:
org.apache.jackrabbit.core.state.ItemStateException: failed to read bundle:
deadbeef-face-babe-cafe-babecafebabe: java.lang.IllegalArgumentException:
Invalid namespace index: 6086317) javax.jcr.RepositoryException:
org.apache.jackrabbit.core.state.ItemStateException: failed to read bundle:
deadbeef-face-babe-cafe-babecafebabe: java.lang.IllegalArgumentException:
Invalid namespace index: 6086317
 at
org.apache.jackrabbit.core.version.InternalVersionManagerImpl.<init>(InternalVersionManagerImpl.java:258)
at
org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:512)
 at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:355)
at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:673)
 at
org.apache.sling.jcr.jackrabbit.server.impl.SlingServerRepository.acquireRepository(SlingServerRepository.java:141)
at
org.apache.sling.jcr.base.AbstractSlingRepository.startRepository(AbstractSlingRepository.java:795)
 at
org.apache.sling.jcr.base.AbstractSlingRepository.activate(AbstractSlingRepository.java:606)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:227)
 at
org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38)
at
org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:591)
 at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:472)
at
org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:146)
 at
org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:226)
at
org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118)
 at
org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:997)
at
org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:333)
 at
org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:157)
at
org.apache.felix.scr.impl.config.ConfiguredComponentHolder.enableComponents(ConfiguredComponentHolder.java:262)
 at
org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:253)
at
org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:147)
 at
org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:111)
at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:285)
 at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:203)
at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)
 at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)
at
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)
 at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3758)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1780)
 at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
 at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.jackrabbit.core.state.ItemStateException: failed to
read bundle: deadbeef-face-babe-cafe-babecafebabe:
java.lang.IllegalArgumentException: Invalid namespace index: 6086317
 at
org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.loadBundle(BundleDbPersistenceManager.java:1096)
at
org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.loadBundle(BundleDbPersistenceManager.java:1029)
 at
org.apache.jackrabbit.core.persistence.pool.AbstractBundlePersistenceManager.getBundle(AbstractBundlePersistenceManager.java:651)
at
org.apache.jackrabbit.core.persistence.pool.AbstractBundlePersistenceManager.exists(AbstractBundlePersistenceManager.java:470)
 at
org.apache.jackrabbit.core.version.InternalVersionManagerImpl.<init>(InternalVersionManagerImpl.java:212)
... 34 more
Caused by: java.lang.IllegalArgumentException: Invalid namespace index:
6086317
at
org.apache.jackrabbit.core.NamespaceRegistryImpl.indexToString(NamespaceRegistryImpl.java:310)
 at
org.apache.jackrabbit.core.persistence.util.BundleBinding.readBundle(BundleBinding.java:88)
at
org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.loadBundle(BundleDbPersistenceManager.java:1090)
 ... 38 more

Thank you,

 -- Bhathiya

[1] http://sling.apache.org/site/the-sling-launchpad.html
[2]
http://apache-sling.73963.n3.nabble.com/configuring-jackrabbit-tp880359p880607.html
[3]
http://mail-archives.apache.org/mod_mbox/sling-users/201206.mbox/%3CE3FEB57C-4E97-4D7F-8754-1C987C98DA53@adobe.com%3E

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