Error "XML protocol stack configuration does not start with a '<protocol_stacks>' element; maybe the XML configuration needs to be converted to the new format ?" when migrating from EPP 5.1 to 5.2.

Solution Unverified - Updated -

Issue

We are upgrading from EPP 5.1 to EPP 5.2, including a custom portal extension. For this, we copied all project configuration files and stared the server. This failed with the following errors:

    java.lang.RuntimeException: Cannot instantiate component class org.exoplatform.services.jcr.impl.dataflow.persistent.LocalWorkspaceDataManagerStub
    at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:134)
    at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
    ...
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:417)
    at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:96)
    ... 110 more
    Caused by: org.exoplatform.services.jcr.config.RepositoryConfigurationException: Error setting multiplexer configuration.
    at org.exoplatform.services.jcr.jbosscache.ExoJBossCacheFactory.createCache(ExoJBossCacheFactory.java:203)
    at org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache.<init>(JBossCacheWorkspaceStorageCache.java:578)
    ... 116 more
    Caused by: java.lang.Exception: failed parsing vfsfile:/D:/jboss/jboss-epp-5.2/jboss-as/server/default/deploy/gatein.ear/02portal.war/WEB-INF/classes/jgroups/gatein-tcp.xml
    at org.jgroups.JChannelFactory.setMultiplexerConfig(JChannelFactory.java:250)
    at org.jgroups.JChannelFactory.setMultiplexerConfig(JChannelFactory.java:233)
    at org.exoplatform.services.jcr.jbosscache.ExoJBossCacheFactory.createCache(ExoJBossCacheFactory.java:195)
    ... 117 more
    Caused by: java.io.IOException: invalid XML configuration: XML protocol stack configuration does not start with a '<protocol_stacks>' element; maybe the XML configuration needs to be converted to the new format ?
    use 'java org.jgroups.conf.XmlConfigurator <old XML file> -new_format' to do so
    at org.jgroups.JChannelFactory.parse(JChannelFactory.java:569)
    at org.jgroups.JChannelFactory.parse(JChannelFactory.java:555)
    at org.jgroups.JChannelFactory.setMultiplexerConfig(JChannelFactory.java:247)
    ... 119 more

Environment

  • JBoss Enterprise Portal Platform (EPP) 5.2

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