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

后端 未结 1 1100
耶瑟儿~
耶瑟儿~ 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.

    
         org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL
         true
    
    

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