<?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>Error on starting application server</title><link>https://community.appian.com/discussions/f/administration/26141/error-on-starting-application-server</link><description>I am trying to install Appian but I am encountering an error on starting the application server. 
 
 logs: 
 
 also tried this https://community.appian.com/support/w/kb/1138/kb-1718-tomcat-fails-to-deploy-appian-or-start-all-services-successfully but</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Error on starting application server</title><link>https://community.appian.com/thread/102560?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2022 02:16:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:97a5489d-2a5f-4e9a-8e04-07e2b786e8c9</guid><dc:creator>Eunnel</dc:creator><description>&lt;p&gt;Thank you Dimitris. It&amp;#39;s working now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error on starting application server</title><link>https://community.appian.com/thread/102546?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 14:42:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2cb169ff-37ff-4b7f-9062-d3067eb667c5</guid><dc:creator>Dimitris Soulovaris</dc:creator><description>&lt;p&gt;In the custom.properties file, you should put the same JNDI name that you configured before&amp;nbsp;in tomcatResources.xml file. The names should match. So in your case, the config should be:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;conf.data.APPIAN_DATA_SOURCE=jdbc/&lt;span class="s"&gt;MySqlDataSource&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span class="s"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;em&gt;&lt;span class="s"&gt;&amp;lt;Resource name=&amp;quot;jdbc/MySqlDataSource&amp;quot;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error on starting application server</title><link>https://community.appian.com/thread/102529?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 13:00:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6e3d61c9-6c5e-4769-9190-e17e5bf36855</guid><dc:creator>Eunnel</dc:creator><description>&lt;p&gt;Yes, I was able to do that and it removed the error on&amp;nbsp;&lt;span&gt;java.sql.SQLException: Unable to load class.&lt;br /&gt;For the error&amp;nbsp;javax.naming.NameNotFoundException: Name [appian223Primary] is not bound in this Context. Unable to find [appian223Primary]. It is still there.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error on starting application server</title><link>https://community.appian.com/thread/102528?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 12:58:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:34698377-6b8b-4347-b9cf-c4788d34f8b1</guid><dc:creator>Eunnel</dc:creator><description>&lt;p&gt;Yes, I just did that to remove the error&amp;nbsp;&lt;span&gt;java.sql.SQLException: Unable to load.&lt;br /&gt;&lt;br /&gt;But the issue is still there.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;[wait-for-component] ERROR com.appiancorp.common.startup.healthcheck.PrimaryRdbmsHealthCheck - javax.naming.NameNotFoundException: Name [appian223Primary] is not bound in this Context. Unable to find [appian223Primary].&lt;br /&gt;[wait-for-component] INFO com.appiancorp.common.startup.WaitForStatefulComponents - Waiting for Appian component Primary datasource RDBMS to be healthy...&lt;br /&gt;[wait-for-component] INFO com.appiancorp.common.startup.WaitForStatefulComponents - Waiting for Appian component Primary datasource RDBMS to be healthy...&lt;br /&gt;[wait-for-component] INFO com.appiancorp.common.startup.WaitForStatefulComponents - Waiting for Appian component Primary datasource RDBMS to be healthy...&lt;br /&gt;[wait-for-component] INFO com.appiancorp.common.startup.WaitForStatefulComponents - Waiting for Appian component Primary datasource RDBMS to be healthy...&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error on starting application server</title><link>https://community.appian.com/thread/102526?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 12:53:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e7941169-918a-4b7c-8c9c-e3e631099ea5</guid><dc:creator>Dimitris Soulovaris</dc:creator><description>&lt;p&gt;Based on the documentation the driverClassName config should be:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span class="na"&gt;driverClassName=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;com.mysql.jdbc.Driver&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s"&gt;and in your config file is:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s"&gt;driverClassName=&amp;quot;com.mysql.cj.jdbc.Driver&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s"&gt;Check your logs also:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Oct 05, 2022 2:56:02 AM org.apache.tomcat.jdbc.pool.ConnectionPool init&lt;br /&gt;SEVERE: Unable to create initial connections of pool.&lt;br /&gt;java.sql.SQLException: Unable to load class: com.mysql.cj.jdbc.Driver from ClassLoader:java.net.URLClassLoader@4a574795;ClassLoader:AppianWebappClassLoader&lt;br /&gt; context: suite&lt;br /&gt; delegate: false&lt;br /&gt;----------&amp;gt; Parent Classloader:&lt;br /&gt;java.net.URLClassLoader@4a574795&lt;/p&gt;
&lt;p&gt;at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:316)&lt;/p&gt;
&lt;p&gt;&lt;span class="s"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error on starting application server</title><link>https://community.appian.com/thread/102523?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 12:46:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a2c628d0-11f7-46c7-b4a2-b342c8f17564</guid><dc:creator>Eunnel</dc:creator><description>&lt;p&gt;Yes, I did those steps.&lt;/p&gt;
&lt;p&gt;tomcat resources xml:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;lt;Resource name=&amp;quot;jdbc/MySqlDataSource&amp;quot;&lt;br /&gt; factory=&amp;quot;com.appiancorp.tomcat.datasource.EncodedPasswordDataSourceFactory&amp;quot;&lt;br /&gt; type=&amp;quot;javax.sql.DataSource&amp;quot;&lt;br /&gt; driverClassName=&amp;quot;com.mysql.cj.jdbc.Driver&amp;quot;&lt;br /&gt; url=&amp;quot;jdbc:mysql://practice-aws-db.cpkrckzng6iv.us-east-1.rds.amazonaws.com:3306/appian223Primary?useOldAliasMetadataBehavior=true&amp;quot;&lt;br /&gt; username=&amp;quot;username here&amp;quot;&lt;br /&gt; password=&amp;quot;encoded password here&amp;quot;&lt;br /&gt; initialSize=&amp;quot;5&amp;quot;&lt;br /&gt; maxActive=&amp;quot;200&amp;quot;&lt;br /&gt; defaultTransactionIsolation=&amp;quot;READ_COMMITTED&amp;quot;&lt;br /&gt; maxWait=&amp;quot;30000&amp;quot;&lt;br /&gt; minIdle=&amp;quot;5&amp;quot;&lt;br /&gt; minEvictableIdleTimeMillis=&amp;quot;90000&amp;quot;&lt;br /&gt; timeBetweenEvictionRunsMillis=&amp;quot;450000&amp;quot;&lt;br /&gt; validationQuery=&amp;quot;SELECT 1&amp;quot;&lt;br /&gt; testOnBorrow=&amp;quot;true&amp;quot;&lt;br /&gt;/&amp;gt;&lt;br /&gt;&lt;br /&gt;custom.properties:&lt;/p&gt;
&lt;p&gt;######################&lt;br /&gt;#### Data Sources ####&lt;br /&gt;######################&lt;/p&gt;
&lt;p&gt;## Appian must have a dedicated data source. Set the value to the JNDI name of&lt;br /&gt;## the data source that will be used as the Appian data source.&lt;br /&gt;## Note: This data source must point to a separate tablespace than any listed&lt;br /&gt;## in the conf.data.datasources configuration.&lt;br /&gt;conf.data.APPIAN_DATA_SOURCE=jdbc/appian223Primary&lt;br /&gt;## Comma-separated list of JNDI names of data sources on the application server&lt;br /&gt;## that will be used to store business data. This list is used by the Query&lt;br /&gt;## Database smart service and Data Stores.&lt;br /&gt;#conf.data.datasources=&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;for the tomcat I just the&amp;nbsp;&lt;span&gt;driverClassName&lt;/span&gt; &lt;span&gt;com.mysql.cj.jdbc.Driver to&amp;nbsp;com.mysql.jdbc.Driver to remove one of the error above.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error on starting application server</title><link>https://community.appian.com/thread/102522?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 12:36:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:63678cf6-21a1-4b14-a86a-8bb6e5b770ef</guid><dc:creator>Dimitris Soulovaris</dc:creator><description>&lt;p&gt;Did you configure the connection between Appian and the server where the DB is installed?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is what I mean:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/22.3/Configuring_Relational_Databases.html#mysql"&gt;https://docs.appian.com/suite/help/22.3/Configuring_Relational_Databases.html#mysql&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For setting up the primary database you have to follow exactly what is mentioned here in the &amp;quot;RDBMS Configuration&amp;quot; section:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/22.3/Windows_Installation_Guide.html#rdbms-configurations"&gt;https://docs.appian.com/suite/help/22.3/Windows_Installation_Guide.html#rdbms-configurations&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t forget to do all the configurations in the REPO location and then deploy them to your Appian instance.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error on starting application server</title><link>https://community.appian.com/thread/102519?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 12:11:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5ed6dea2-9d83-4dd3-b705-a0f0b8222f51</guid><dc:creator>Eunnel</dc:creator><description>&lt;p&gt;logs:&amp;nbsp;&lt;a href="https://community.appian.com/cfs-file/__key/communityserver-discussions-components-files/12/tomcatstdoutlogs.txt"&gt;community.appian.com/.../tomcatstdoutlogs.txt&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;for DB I hosted it in amazon RDS&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/12/amazonRDS.png" /&gt;&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/12/dbeaver.png" /&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Schema:&amp;nbsp;appian223Primary&lt;br /&gt;charset: utf8mb4&lt;br /&gt;collation: utf8mb4_unicode_ci&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error on starting application server</title><link>https://community.appian.com/thread/102515?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 11:44:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4a6a0a3d-0656-433f-8e77-72a2a583ecd1</guid><dc:creator>Dimitris Soulovaris</dc:creator><description>&lt;p&gt;Can you post the new logs and the configuration of the Appian primary DB if possible..&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error on starting application server</title><link>https://community.appian.com/thread/102510?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 11:24:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8049aeb7-2409-441a-945a-32ffecef9a85</guid><dc:creator>Eunnel</dc:creator><description>&lt;p&gt;Hi Dimitris, I was using&amp;nbsp;MySQL&amp;nbsp;8.0.30 and&amp;nbsp;Connector/J 8.0.30. Then, I change to&amp;nbsp;Connector/J 5.1.49. After changing and restarting the process, the issue is still the same.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error on starting application server</title><link>https://community.appian.com/thread/102487?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 09:49:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c883172a-c4e7-487c-86a3-7512bad0b437</guid><dc:creator>Dimitris Soulovaris</dc:creator><description>&lt;p&gt;Which relational database and jdbc driver version are you using? I think you have an unsupported driver installed and the app server can&amp;#39;t connect with the db. Check here the supported DB&amp;#39;s and drivers:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/22.3/System_Requirements.html#databases"&gt;https://docs.appian.com/suite/help/22.3/System_Requirements.html#databases&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>