How to configure a war in order to depends on the exported libraries in the war instead of the libraries from the server?

后端 未结 1 1086
耶瑟儿~
耶瑟儿~ 2021-01-22 03:21

I want to deploy a war in a JBoss 4.2 but I don\'t have control over its dir, so I can\'t replace the jsf-impl.jar and jsf-api.jar.

My question

相关标签:
1条回答
  • 2021-01-22 03:59

    That depends on the server used. For JBoss 4.2 and newer, you can do that by adding the following context parameter to the webapp's web.xml.

    <context-param>
         <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
         <param-value>true</param-value>
    </context-param>
    
    0 讨论(0)
提交回复
热议问题