Websockets config setting: java.lang.UnsupportedOperationException: HTTP upgrade is not supported by the AJP protocol

Solution Unverified - Updated -

Issue

  • We see below error in the tomcat logs whilst trying to open the application via Apache:
 java.lang.UnsupportedOperationException: HTTP upgrade is not supported by the AJP protocol
        at org.apache.coyote.ajp.AbstractAjpProcessor.action(AbstractAjpProcessor.java:587)
        at org.apache.coyote.Request.action(Request.java:379)
        at org.apache.catalina.connector.Request.upgrade(Request.java:1886)
        at org.apache.catalina.connector.RequestFacade.upgrade(RequestFacade.java:1114)
        at org.apache.tomcat.websocket.server.UpgradeUtil.doUpgrade(UpgradeUtil.java:231)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:77)

Environment

  • Red Hat JBoss Web Server
    • 3.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.