Fix Virtual Host App Parent
· This app acts in the startup time of portal and help to fix the virtual host of Liferay. Given an existent database dump that points to a domain and a new environment needs to have a different domain the app will read a system property called liferay.virtual.host and set the value as the new company virtual host. For instance if the database dump points to www.myliferay.com and the property points to dev.myliferay.com the app will replace the former with the value of the latter. It was developed to avoid the redirect loop problem.
Download JD-GUI to open JAR file and explore Java source code file (.class .java)
Click menu "File → Open File..." or just drag-and-drop the JAR file in the JD-GUI window fix-virtual-host-app-parent-5.1.0.jar file.
Once you open a JAR file, all the java classes in the JAR file will be displayed.