1. Environment Description
Under the network environment has released a web service, network application function under normal circumstances; after doing a load through F5, outside the network can access the application page, but an exception when saving data.
2. Problem
See java.net.UnknownHostException thrown back by looking at the log, presumably server does not recognize the host name. Add in the / etc / hosts configured in 1.2.3.4 zzu localadmin, where 1.2.3.4 is the server ip, zzu external domain name, localadmin host names. After restarting the service, the exception is resolved.
Test again and found that throw new Exception java.net.ConnectException: Connection refused: connect, the problem with reference to this blog successfully processed. My question is outside the domain of the port failed to properly map to tomcat 8080 port, by modifying tomcat port and external port consistent resolved.