Re: Need solution for MySQL Not connected problem
Hi Nataraja,
I don't see the main exception message in stack trace you posted, so I'll be guessing only.
It seems to me that you may have something like "localhost" in your connection string when working locally, but when you moved the war to the Tomcat server, the database is not running locally, maybe you have MySQL running on a different server?
So, the general cause is that you can't reach the MySQL server from the host where Tomcat is running, using the connection string you have in your code or configuration files.
IHTH
Subject
Written By
Posted
Re: Need solution for MySQL Not connected problem
January 09, 2019 11:24AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.