InconsistentRepositoryStructureException: Inconsistent structure between repositories; Other repository is missing roots

Solution Verified - Updated -

Issue

  • I'm trying to add/change farm deploy directories.  The first node starts fine, but the second node gets the following error during startup:
    ERROR [org.jboss.system.server.profileservice.repository.ScopedProfileServiceController] (main) Error installing to Create: 
    name=ProfileKey@584ba778[domain=default, server=default, name=farm] state=Configured mode=On Demand requiredState=Installed
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    ...
    Caused by: org.jboss.system.server.profileservice.repository.clustered.sync.InconsistentRepositoryStructureException: Inconsistent structure between repositories; Other repository is 
    missing roots root1; Other repository has extra roots root2
            at org.jboss.system.server.profileservice.repository.clustered.sync.AbstractContentModificationGenerator.getModificationList(AbstractContentModificationGenerator.java:82)
            at org.jboss.profileservice.cluster.repository.DefaultRepositoryClusteringHandler$RpcTarget.joinSynchronizeContent(DefaultRepositoryClusteringHandler.java:970)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:616)
            at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:331)
            at org.jboss.ha.framework.server.ClusterPartition$RpcHandler.handle(ClusterPartition.java:2313)
            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:428)
            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.handleDataReceived(UNICAST.java:628)
            at org.jgroups.protocols.UNICAST.up(UNICAST.java:309)
            at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:750)
            at org.jgroups.protocols.BARRIER.up(BARRIER.java:136)
            at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:167)
            at org.jgroups.protocols.FD.up(FD.java:284)
            at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:307)
            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)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
            ... 1 more
    

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.1.0

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.