JBoss Admin console fails through Apache reverse proxy in JBoss EAP 5

Solution Verified - Updated -

Issue

  • We set up an Apache 2.2.17 web server with reverse proxy to EAP 5.1.0 using self-signed SSL certs on both the Apache server and JBoss server that were then imported / accepted in the browser.  When hitting the site through IE or Firefox the JMX console, JBoss web console, and Tomcat status all function fine, however the Admin console throws and exception and then resets the browser URL to the JBoss server URL and port instead of the Apache server URL:

    ERROR [org.jboss.seam.exception.Exceptions] (http-x.x.x.x-8443-7) handled and logged exception
    javax.servlet.ServletException: viewId:/login.seam - View /login.seam could not be restored.
    

If we hit JBoss directly, bypassing Apache it works fine, but we would like this to function through Apache as well similar to the other consoles and our apps.  Here is the Apache proxy config:

SSLProxyEngine on
ProxyRequests Off
ProxyPass / https://[host]:8443/
ProxyPassReverse / https://[host]:8443/
ProxyPassReverseCookieDomain [host] [host2]

Environment

  • Red Hat Enterprise Linux 5
  • JBoss Enterprise Application Platform 5
  • Apache 2.2.17

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.