JBoss EAP 7.1.0 and 7.0.x Multiple Filters init time

Solution Verified - Updated -

Issue

  • I migrate my application from EAP 5 to EAP 7.1.0 and 7.1.5, after that encounter the error when server start(only 7.1.5 throws exception)
(ERROR [io.undertow.request] (default task-2) UT005023: Exception handling request to /test-web/api/token: java.lang.IllegalStateException: No application context active)
  • In my application code, some custom components were initialized in Filter's init method on the first request. In 7.1.0, the code runs correctly, but in 7.1.1 and after throws the exception.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.0.x
    • 7.1.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