JBoss node can't rejoin with mod_cluster due to IllegalArgumentException

Solution Verified - Updated -

Issue

  • A JBoss node goes down and it can't rejoin mod_cluster after coming back up.  Errors like the following are shown continuously in the server.log:
    
    ERROR [org.apache.catalina.core.ContainerBase] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) Exception invoking periodic operation:
    java.lang.IllegalArgumentException: Vhost: [1:1:1], Alias: localhost
    Vhost: [2:1:2], Alias: localhost
    Context: [1:1:1], Context: /app, Status: ENABLED
    Context: [1:1:2], Context: /app2, Status: ENABLED
    Context: [2:1:3], Context: /app, Status: ENABLED
    Context: [2:1:4], Context: /app2, Status: ENABLED
    
            at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.parseInfoResponse(DefaultMCMPHandler.java:549)
            at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:475)
            at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:446)
            at org.jboss.modcluster.CatalinaEventHandler.status(CatalinaEventHandler.java:331)
            at org.jboss.modcluster.CatalinaEventHandler.status(CatalinaEventHandler.java:56)
            at org.jboss.modcluster.CatalinaEventHandlerAdapter.lifecycleEvent(CatalinaEventHandlerAdapter.java:165)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
            at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1348)
            at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1612)
            at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1601)
            at java.lang.Thread.run(Thread.java:662)
    

Environment

  • JBoss Enterprise Application Platform
  • JBoss Enterprise Web Server (EWS)
    • 1.0.1 and earlier

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.