Thursday, June 3, 2010

Tomcat Not Working After Changing IP Addresses

If you have recently updated your IP addresses on your servers, and Tomcat doesn't display any jsp pages, you probably inputted the IP addresses incorrectly. We experienced an issue at work where Tomcat wouldn't load any of our applications after changing the IP addresses. We didn't even get the Tomcat welcome page, and we didn't get Tomcat displayed on the localhost either. At one point we did manage to login to our application on our https connection and received the Unable to validate ProxyTicketValidator error. We were thinking that the certificate got messed up after changing our IP addresses. The issue was that the ports were incorrectly set up. We had the incoming port set to 8080, and the redirecting port set to 8080. The Incoming ports should be set to 80, and redirecting to 8080 and another incoming port for the https connection should be 443, and redirecting to 8443. If your applications do not load correctly after you have changed your IP addresses or you are getting the ProxyTicketValidator error, it isn't your .kestore file, and it isn't your certificate, and it isn't your Tomcat instance, but it is most likely your ports.

The reason why we had this port problem is because of our virtual servers. When we changed the VIP service, it would change our port to its default. So that is how our ports got changed and what caused this issue.

0 comments: