Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top