[BZ 1120696] EWS RPM installed Tomcat version is not discovered.

In fact it also fixes the same problem for standard rpm (by running java).