Frage

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

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top