How to find out the current version of Mojarra which my WebLogic is using?

烈酒焚心 提交于 2019-11-30 08:37:30

问题


I'm trying to identify the current version of Mojarra my WebLogic 12c is using. How can I find out that?


回答1:


One way would be to programmatically extract the implementation detail from the Package information of an arbitrary JSF class, such as FacesContext.

Package p = FacesContext.class.getPackage();
System.out.println(p.getImplementationTitle() + " " + p.getImplementationVersion());

Another way would be to explore the JSF module in /wlserver/modules folder of WebLogic installation. In my 12c installation, the filename says glassfish.jsf_1.0.0.0_2-1-20.jar, which in turn identifies Mojarra 2.1.20.



来源:https://stackoverflow.com/questions/20083068/how-to-find-out-the-current-version-of-mojarra-which-my-weblogic-is-using

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!