Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 365
EdwinF Avatar asked Nov 19 '13 22:11

EdwinF


People also ask

What version is WebLogic 12c?

WebLogic Server 12c (12.2. 1), WebLogic Server 11g (10.3.


1 Answers

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.

like image 159
BalusC Avatar answered Oct 29 '22 18:10

BalusC