#1394: Fixed tomcat to pickup correct port for its webapps listing.