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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content