Pages

Friday, July 25, 2014

Apache Tomcat 7 displays blank page Mac OSX 10.9

After installing Apache Tomcat 7 using the following excellent tutorial,
http://wolfpaulus.com/jounal/mac/tomcat7/, the default page in http://localhost:8080 returned a blank page.

There can be several reasons that is causing this issue, and mine got fixed when I changed the default Tomcat port from 8080 to 8081 (It can be any available port) following http://www.mkyong.com/tomcat/how-to-change-tomcat-default-port/

To check the availability of ports and verify Tomcat is running in 8081, use the following command:
netstat -anf inet

The required change to change the port (In /conf/server.xml) in given below:

  port="8181" protocol="HTTP/1.1" 
               connectionTimeout="20000" 
               redirectPort="8443" />

No comments:

Post a Comment