JPP 6 fails to start with org.exoplatform.services.rpc.RPCException: Command org.exoplatform.services.jcr.impl.core.query.lucene.DocNumberRecoveryFilter-getDocNum-portal-repository-portal-work-false unkown, please register your command first

Solution Unverified - Updated -

Issue

  • JPP fails to start with the Exception below.
10:31:47,825 INFO  [exo.jcr.component.core.SearchIndex] (MSC service thread 1-7) Initializing RecoveryFilters.
10:31:47,842 ERROR [exo.jcr.component.core.SearchManager] (MSC service thread 1-7) null
10:31:47,843 ERROR [exo.jcr.component.core.RepositoryServiceImpl] (MSC service thread 1-7) Error start repository service: org.exoplatform.services.jcr.config.RepositoryConfigurationException: Repository container repository was not started.
        at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.createRepository(RepositoryServiceImpl.java:165) [exo.jcr.component.core-1.15.4-GA-redhat-2.jar:1.15.4-GA-redhat-2]
        at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.init(RepositoryServiceImpl.java:323) [exo.jcr.component.core-1.15.4-GA-redhat-2.jar:1.15.4-GA-redhat-2]
        at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.start(RepositoryServiceImpl.java:279) [exo.jcr.component.core-1.15.4-GA-redhat-2.jar:1.15.4-GA-redhat-2]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_45]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_45]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_45]
        at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_45]
        at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:100) [exo.kernel.container-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        at org.exoplatform.container.LifecycleVisitor.start(LifecycleVisitor.java:170) [exo.kernel.container-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        at org.exoplatform.container.ConcurrentPicoContainer.start(ConcurrentPicoContainer.java:554) [exo.kernel.container-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        at org.exoplatform.container.ExoContainer.start(ExoContainer.java:275) [exo.kernel.container-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        at org.exoplatform.container.PortalContainer.start(PortalContainer.java:683) [exo.kernel.container-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        at org.exoplatform.container.ExoContainer.start(ExoContainer.java:263) [exo.kernel.container-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        at org.exoplatform.container.RootContainer.createPortalContainer(RootContainer.java:681) [exo.kernel.container-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        at org.exoplatform.container.RootContainer.createPortalContainers(RootContainer.java:346) [exo.kernel.container-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        at org.gatein.integration.jboss.as7.web.StartupService.start(StartupService.java:45)
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [rt.jar:1.6.0_45]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_45]
        at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_45]
Caused by: org.picocontainer.PicoIntrospectionException: Failed when calling start on org.exoplatform.services.jcr.impl.WorkspaceContainer@a151d3
        at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:136) [exo.kernel.container-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        at org.exoplatform.container.LifecycleVisitor.start(LifecycleVisitor.java:170) [exo.kernel.container-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        at org.exoplatform.container.ConcurrentPicoContainer.start(ConcurrentPicoContainer.java:554) [exo.kernel.container-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        at org.exoplatform.container.ExoContainer.start(ExoContainer.java:275) [exo.kernel.container-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        at org.exoplatform.services.jcr.impl.RepositoryContainer.start(RepositoryContainer.java:575) [exo.jcr.component.core-1.15.4-GA-redhat-2.jar:1.15.4-GA-redhat-2]
        at org.exoplatform.services.jcr.impl.RepositoryServiceImpl$1.run(RepositoryServiceImpl.java:151) [exo.jcr.component.core-1.15.4-GA-redhat-2.jar:1.15.4-GA-redhat-2]
        at org.exoplatform.services.jcr.impl.RepositoryServiceImpl$1.run(RepositoryServiceImpl.java:148) [exo.jcr.component.core-1.15.4-GA-redhat-2.jar:1.15.4-GA-redhat-2]
        at org.exoplatform.commons.utils.SecurityHelper.doPrivilegedAction(SecurityHelper.java:290) [exo.kernel.commons-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.createRepository(RepositoryServiceImpl.java:147) [exo.jcr.component.core-1.15.4-GA-redhat-2.jar:1.15.4-GA-redhat-2]
        ... 20 more
Caused by: org.picocontainer.PicoIntrospectionException: Failed when calling start on org.exoplatform.services.jcr.impl.core.query.SearchManager@5350266d
        at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:136) [exo.kernel.container-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        at org.exoplatform.container.LifecycleVisitor.start(LifecycleVisitor.java:170) [exo.kernel.container-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        at org.exoplatform.container.ConcurrentPicoContainer.start(ConcurrentPicoContainer.java:554) [exo.kernel.container-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        at org.exoplatform.container.ExoContainer.start(ExoContainer.java:275) [exo.kernel.container-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) [:1.6.0_45]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_45]
        at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_45]
        at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:100) [exo.kernel.container-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        ... 28 more
Caused by: java.lang.RuntimeException
        at org.exoplatform.services.jcr.impl.core.query.SearchManager.start(SearchManager.java:664) [exo.jcr.component.core-1.15.4-GA-redhat-2.jar:1.15.4-GA-redhat-2]
        at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) [:1.6.0_45]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_45]
        at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_45]
        at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:100) [exo.kernel.container-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        ... 35 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.6.0_45]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [rt.jar:1.6.0_45]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [rt.jar:1.6.0_45]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [rt.jar:1.6.0_45]
        at org.exoplatform.services.jcr.impl.core.query.SearchManager.initializeChangesFilter(SearchManager.java:943) [exo.jcr.component.core-1.15.4-GA-redhat-2.jar:1.15.4-GA-redhat-2]
        at org.exoplatform.services.jcr.impl.core.query.SearchManager.initializeQueryHandler(SearchManager.java:1019) [exo.jcr.component.core-1.15.4-GA-redhat-2.jar:1.15.4-GA-redhat-2]
        at org.exoplatform.services.jcr.impl.core.query.SearchManager.start(SearchManager.java:658) [exo.jcr.component.core-1.15.4-GA-redhat-2.jar:1.15.4-GA-redhat-2]
        ... 39 more
Caused by: javax.jcr.RepositoryException: Command org.exoplatform.services.jcr.impl.core.query.lucene.DocNumberRecoveryFilter-getDocNum-portal-repository-portal-work-false unkown, please register your command first: Command org.exoplatform.services.jcr.impl.core.query.lucene.DocNumberRecoveryFilter-getDocNum-porta\
l-repository-portal-work-false unkown, please register your command first: Command org.exoplatform.services.jcr.impl.core.query.lucene.DocNumberRecoveryFilter-getDocNum-portal-repository-portal-work-false unkown, please register your command first
        at org.exoplatform.services.jcr.impl.core.query.lucene.DocNumberRecoveryFilter.accept(DocNumberRecoveryFilter.java:98) [exo.jcr.component.core-1.15.4-GA-redhat-2.jar:1.15.4-GA-redhat-2]
        at org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex.isIndexRecoveryRequired(SearchIndex.java:831) [exo.jcr.component.core-1.15.4-GA-redhat-2.jar:1.15.4-GA-redhat-2]
        at org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex.doInit(SearchIndex.java:675) [exo.jcr.component.core-1.15.4-GA-redhat-2.jar:1.15.4-GA-redhat-2]
        at org.exoplatform.services.jcr.impl.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:113) [exo.jcr.component.core-1.15.4-GA-redhat-2.jar:1.15.4-GA-redhat-2]
        at org.exoplatform.services.jcr.impl.core.query.jbosscache.LocalIndexChangesFilter.<init>(LocalIndexChangesFilter.java:167) [exo.jcr.component.core-1.15.4-GA-redhat-2.jar:1.15.4-GA-redhat-2]
        ... 46 more
Caused by: org.exoplatform.services.rpc.RPCException: Command org.exoplatform.services.jcr.impl.core.query.lucene.DocNumberRecoveryFilter-getDocNum-portal-repository-portal-work-false unkown, please register your command first
        at org.exoplatform.services.rpc.impl.AbstractRPCService.handle(AbstractRPCService.java:494) [exo.kernel.component.common-2.4.4-GA-redhat-2.jar:2.4.4-GA-redhat-2]
        at org.jgroups.blocks.MessageDispatcher.handle(MessageDispatcher.java:616)
        at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:637)
        at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:545)
        at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:368)
        at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:775)
        at org.jgroups.JChannel.up(JChannel.java:1336)
        at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:454)
        at org.jgroups.protocols.pbcast.FLUSH.up(FLUSH.java:494)
        at org.jgroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:153)
        at org.jgroups.protocols.FRAG2.up(FRAG2.java:188)
        at org.jgroups.protocols.FC.up(FC.java:473)
        at org.jgroups.protocols.pbcast.GMS.up(GMS.java:821)
        at org.jgroups.protocols.VIEW_SYNC.up(VIEW_SYNC.java:192)
        at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:233)
        at org.jgroups.protocols.UNICAST.up(UNICAST.java:328)
        at org.jgroups.protocols.pbcast.NAKACK.handleMessage(NAKACK.java:895)
        at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:708)
        at org.jgroups.protocols.BARRIER.up(BARRIER.java:136)
        at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:176)
        at org.jgroups.protocols.FD.up(FD.java:284)
        at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:328)
        at org.jgroups.protocols.MERGE2.up(MERGE2.java:144)
        at org.jgroups.protocols.Discovery.up(Discovery.java:264)
        at org.jgroups.protocols.PING.up(PING.java:273)
        at org.jgroups.protocols.TP$ProtocolAdapter.up(TP.java:2319)
        at org.jgroups.protocols.TP.passMessageUp(TP.java:1253)
        at org.jgroups.protocols.TP.access$100(TP.java:50)
        at org.jgroups.protocols.TP$IncomingPacket.handleMyMessage(TP.java:1830)
        at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1809)
        ... 3 more

Environment

  • Red Hat JBoss Portal
    • 6.1.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.