Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

sorry my english. My mysql server and tomcat server are running localhost, And my gwt web application is running correctly on Localhost, Then my web application connected mysql database. Then I deployed my web application (.war file) to another tomcat server(linux), it cannot connect to mysql (windows server) server. why?

share|improve this question

In your tomcat configuration file, you specified "localhost" as your database server. Change that to the hostname of the MySQL server.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.