tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mihamina Rakotomandimby <>
Subject tomcat only query localhost database
Date Tue, 03 Feb 2009 04:25:47 GMT
A developper gave me a .war webapp.
When deploying it, it creates an xml file:
which is a copy of the one in

Then context.xml file contains the JDBC/MySQL host,login,pass
where host is NOT localhost

But the tomcat insist to connect to localhost.

after deployment, if I change (after stopping RMI & tomcat)
the content of
to another host (then start RMI & tomcat) tomcat still use localhost as 
database host.

It's an Ubuntu tomcat6 packaged install.

Any help?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message