Why SpringBootServletInitializer does not work in EAP 6 ?
Issue
-
While trying to use
"org.springframework.boot.context.web.SpringBootServletInitializer"inside EAP 6.2.2, The application throws 404 Error when the resource is accessed. Where as the same application works fine in WildFly 8.1 (8.0). -
A Workaround of using the
"org.springframework.web.WebApplicationInitializer"(rather than using theSpringBootServletInitializer) resolves the issue in EAP 6.x and the application is accessible.- 1) Is
"org.springframework.boot.context.web.SpringBootServletInitializer"usage supported in EAP6 ? - 2) Why the same application works fine in WildFly 8.1 but responds with 404 error in EAP 6.2.2 (6.x).
- 3). Why
"SpringBootServletInitializer"behaves little differently in this case compared to WildFly 8
- 1) Is
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.