Setting context root does not work in Glassfish

前端 未结 1 1975
温柔的废话
温柔的废话 2021-01-14 11:25

I am specifying a context root as the XML below shows. It does not work however when I upload the war file manually in the Glassfish admin web console. If I deploy it throug

相关标签:
1条回答
  • 2021-01-14 11:33

    Yes this is an issue of Glassfish. The admin web console have an own text field for the context root which will be auto filled with the name of the war file not his config. When you hit the deploy button this value overwrites the context-root from your config file. But the asadmin deploy and all plugins ant, maven ... are working OK.

    0 讨论(0)
提交回复
热议问题