<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Root exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure</title><link>https://community.appian.com/discussions/f/administration/34568/root-exception-is-com-mysql-jdbc-exceptions-jdbc4-communicationsexception-communications-link-failure</link><description>I am getting the below error when i execute the ./start-appserver.sh for tomcat. i have checked the custom.properties file and and tomcatResource.xml my data source name is same. 
 
 2024-04-04 10:38:20 WARNING [main] org.apache.catalina.core.NamingContextListener</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Root exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure</title><link>https://community.appian.com/thread/132734?ContentTypeID=1</link><pubDate>Sat, 06 Apr 2024 11:24:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7e149be7-213f-4a25-9509-2ed9701c9815</guid><dc:creator>SRINIVAS M</dc:creator><description>&lt;ol data-sourcepos="7:1-17:0"&gt;
&lt;li data-sourcepos="7:1-10:0"&gt;
&lt;p data-sourcepos="7:4-7:27"&gt;Verify Connectivity:&amp;nbsp; ---&amp;gt;Check if the database server is running and accessible from your Appian server (try pinging the database server&amp;#39;s IP address)&amp;nbsp; and&amp;nbsp; ---&amp;gt;Ensure there&amp;#39;s no firewall blocking connections on the database port (usually 3306).&lt;/p&gt;
&lt;/li&gt;
&lt;li data-sourcepos="11:1-14:0"&gt;
&lt;p data-sourcepos="11:4-11:25"&gt;Check Credentials:--&amp;gt;custom.properties:&amp;nbsp;Make sure the database URL, username, and password are correct.--&amp;gt;tomcatResource.xml:&amp;nbsp;Verify the data source name matches custom.properties.&lt;/p&gt;
&lt;/li&gt;
&lt;li data-sourcepos="15:1-17:0"&gt;
&lt;p data-sourcepos="15:4-15:27"&gt;Address SSL Warning:--&amp;gt;Review your MySQL configuration and client settings if SSL is required. You may need to provide a truststore.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Root exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure</title><link>https://community.appian.com/thread/132721?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2024 20:17:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5e421f82-f316-43ba-af0f-79da3729af59</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;If the problem were related with drivers, the error would be different&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Root exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure</title><link>https://community.appian.com/thread/132641?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2024 07:22:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d51afb3c-8e42-4d7b-893c-8de72b56c412</guid><dc:creator>Hishore Nallasivam</dc:creator><description>&lt;p&gt;You can also check the database drivers which you are using on Appian to connect the database.&lt;/p&gt;
&lt;p&gt;docs.appian.com/.../System_Requirements.html&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Root exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure</title><link>https://community.appian.com/thread/132627?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2024 21:49:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4005b061-fda8-4558-a739-9b5a528206aa</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;If you get a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;SQLException: Connection refused&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;or&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;Connection timed out&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;or a MySQL specific&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;CommunicationsException: 
  Communications link failure&lt;/code&gt;, then it means that the DB isn&amp;#39;t reachable at all. This can have one or more of the following causes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;IP address or hostname in JDBC URL is wrong.&lt;/li&gt;
&lt;li&gt;Hostname in JDBC URL is not recognized by local DNS server.&lt;/li&gt;
&lt;li&gt;Port number is missing or wrong in JDBC URL.&lt;/li&gt;
&lt;li&gt;DB server is down.&lt;/li&gt;
&lt;li&gt;DB server doesn&amp;#39;t accept TCP/IP connections.&lt;/li&gt;
&lt;li&gt;DB server has run out of connections.&lt;/li&gt;
&lt;li&gt;Something in between Java and DB is blocking connections, e.g. a firewall or proxy.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Root exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure</title><link>https://community.appian.com/thread/132573?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2024 12:29:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9e982c96-fa6b-43b9-b883-39e17a9460b9</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;The error suggests a communication problem between Tomcat and MySQL. Check server status, network, configurations, SSL setup, driver compatibility, database health, and enable detailed logging for diagnosis.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>