Re: Need solution for MySQL Not connected problem
Posted by: Filipe Silva
Date: January 10, 2019 05:28AM

Hi Nataraja,

`com.mysql.jdbc.CommunicationsException` is the exception class, the exception messa ge is not visible in your stack trace. There are many reasons for getting such exception and the message provides some clues why you got it.

So, you are saying that you have both MySQL and Tomcat running in both machines, one running Windows and the other CentOS but the war only works on windows?

Can you provide more details? How does your connection strings look like? In what ports are your servers running? Can you connect to both MySQL servers using the mysql command line client?

Options: ReplyQuote




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.