Changing context root for a web app under JBoss As 7

前端 未结 1 398
萌比男神i
萌比男神i 2021-02-02 11:11

I want to change context root from \"/war_name\" (by default) to \"/\".

Thus, I created a jboss-web.xml file that I pushed in WEB-INF directory.

Content of this

1条回答
  •  南笙
    南笙 (楼主)
    2021-02-02 11:21

    It looks like there is another app that's running at the root context "/".

    You may have to delete the other app or move it to a different context before you can assign your app to the root context.

    If the conflicting app is JBoss AppServer root itself, you can disable that using the following (enable-welcome-root="false")

    
      
      
        
      
    
    

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