grails 3 war in JBoss EAP 6.2.0 does not work -


when try run simple grails 3 (3.0.7) application war (with embedded tomcat removed) in jboss eap 6.2.0.ga (as 7.3.0.final-redhat-14) requests end in http 404. same war works in tomcat.

searching web found following related spring boot:

springboot application on jboss eap, servlet context not lodaed

unfortunately configuring property server.servlet-path in application.yml (in yml format) did not work.

looking grails 3 source:

https://github.com/grails/grails-core/blob/master/grails-plugin-controllers/src/main/groovy/org/grails/plugins/web/controllers/controllersgrailsplugin.groovy#l79

i found solution. in application.yml add following configuration:

grails:     web:         servlet:             path: /* 

starting web: existing grails: section. requests working again expected.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -