<?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>Data-Server times out absolutely every time I try to start it, yet is still running</title><link>https://community.appian.com/discussions/f/general/12382/data-server-times-out-absolutely-every-time-i-try-to-start-it-yet-is-still-running</link><description>I&amp;#39;m running Quick Start local installation guide for Windows using Jboss for Appian 18.1 
 All the validations pan out, everything seems to work, but data-server always returns this error. 
 
 0 [main] INFO com.appian.data.TopologyFactory - Loading topology</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Data-Server times out absolutely every time I try to start it, yet is still running</title><link>https://community.appian.com/thread/54953?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 18:27:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:406481ca-3bc8-409e-92b7-f08acf76cd1b</guid><dc:creator>davel001150</dc:creator><description>Fixed it!&lt;br /&gt;
&lt;br /&gt;
In the appian.topology.xml file i changed data server host to &amp;quot;localhost&amp;quot;, then changed the FQDN in custom.properties to &amp;quot;localhost&amp;quot; as well, now data-server starts.&lt;br /&gt;
&lt;br /&gt;
I still don&amp;#39;t have appian because of jboss errors, but we&amp;#39;ll deal with that later.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data-Server times out absolutely every time I try to start it, yet is still running</title><link>https://community.appian.com/thread/54949?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 16:58:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a85ff748-b25a-426b-9f61-7880c051ae93</guid><dc:creator>davel001150</dc:creator><description>this is in the wd-5400 log&lt;br /&gt;
&lt;br /&gt;
2018-05-07 14:18:08,187 [main] INFO  com.appian.data.server.JvmStarter - Starting JVM: C:\Program Files\Java\jdk1.8.0_171\jre\bin\java.exe -server -Duser.timezone=GMT -Xms64m -Xmx128m -Dds.home=C:\appian181\appian\data-server\bin\.. -cp C:\appian181\appian\data-server\bin\..\lib\appian-data-server-classpath-0.72.6.jar com.appian.data.server.Watchdog -f&lt;br /&gt;
2018-05-07 14:18:09,641 [main] INFO  com.appian.data.server.replication.TopicManager - Connecting to Zookeeper: localhost:2181&lt;br /&gt;
2018-05-07 14:18:40,750 [main] ERROR com.appian.data.server.Watchdog - Shutting down with exit code 1...&lt;br /&gt;
&lt;br /&gt;
So when I use &amp;quot;localhost&amp;quot; it JUST shuts down with no explanation why it would want to do that.  Exit code 1, whatever that is.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data-Server times out absolutely every time I try to start it, yet is still running</title><link>https://community.appian.com/thread/54948?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 16:54:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3c7a612b-806a-4fc7-bc0a-923a04899e0e</guid><dc:creator>davel001150</dc:creator><description>Found them. &lt;br /&gt;
&lt;br /&gt;
If I use &amp;quot;localhost&amp;quot; I get this error:&lt;br /&gt;
&lt;br /&gt;
0 [main] INFO com.appian.data.TopologyFactory  - Loading topology C:\appian181\appian\data-server\bin\..\conf\appian-topology.xml&lt;br /&gt;
301 [main] INFO com.appian.data.server.config.CustomPropertiesConfiguration  - Configuration file custom.properties does not exist. Default settings will be used.&lt;br /&gt;
314 [main] INFO com.appian.data.server.Watchdog  - Initializing log4j (processName=wd-5400, logsDir=C:\appian181\appian\data-server\bin\..\..\logs\data-server) from C:\appian181\appian\data-server\bin\..\conf\log4j.properties&lt;br /&gt;
2018-05-07 14:45:28,514 wd-5400 [main] INFO  com.appian.data.server.replication.TopicManager - Connecting to Zookeeper: localhost:2181&lt;br /&gt;
2018-05-07 14:45:59,639 wd-5400 [main] ERROR com.appian.data.server.Watchdog - Shutting down with exit code 1...&lt;br /&gt;
&lt;br /&gt;
If I use the other FQDN I get this error:&lt;br /&gt;
&lt;br /&gt;
0 [main] INFO com.appian.data.TopologyFactory  - Loading topology C:\appian181\appian\data-server\bin\..\conf\appian-topology.xml&lt;br /&gt;
293 [main] INFO com.appian.data.server.config.CustomPropertiesConfiguration  - Configuration file custom.properties does not exist. Default settings will be used.&lt;br /&gt;
306 [main] INFO com.appian.data.server.Watchdog  - Initializing log4j (processName=wd-5400, logsDir=C:\appian181\appian\data-server\bin\..\..\logs\data-server) from C:\appian181\appian\data-server\bin\..\conf\log4j.properties&lt;br /&gt;
2018-05-07 15:03:48,850 wd-5400 [main] INFO  com.appian.data.server.replication.TopicManager - Connecting to Zookeeper: localhost:2181&lt;br /&gt;
2018-05-07 15:03:49,185 wd-5400 [main] INFO  com.appian.data.server.replication.TopicManager - Connecting to Zookeeper: localhost:2181&lt;br /&gt;
2018-05-07 15:03:56,011 wd-5400 [main] INFO  com.appian.data.server.Watchdog - Data Server is not configured to run on &amp;#39;DESKTOP-063AN1L&amp;#39; according to the topology. It is configured to run on &amp;#39;data-server&amp;#39;. DataServer is shutting down.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data-Server times out absolutely every time I try to start it, yet is still running</title><link>https://community.appian.com/thread/54944?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 16:40:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7bc65939-a373-4323-a7e8-fad292b3b214</guid><dc:creator>Benhail</dc:creator><description>So is the server running? But you are still worried about your license?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data-Server times out absolutely every time I try to start it, yet is still running</title><link>https://community.appian.com/thread/54943?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 16:40:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:becb7dd7-23ae-40a2-8a31-5a152a641da8</guid><dc:creator>Justin Watts</dc:creator><description>Under the main logs folder (&lt;a href="https://docs.appian.com/suite/help/18.1/Logging.html#data-server)"&gt;docs.appian.com/.../Logging.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
So something like  ../appian/logs/data-server&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data-Server times out absolutely every time I try to start it, yet is still running</title><link>https://community.appian.com/thread/54941?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 16:31:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1dca475e-3a08-4a62-ae29-e25b83dac1fc</guid><dc:creator>davel001150</dc:creator><description>Where are the data-server logs?  I&amp;#39;ve looked through the entire data-server folder and every subfolder and found no logs.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data-Server times out absolutely every time I try to start it, yet is still running</title><link>https://community.appian.com/thread/54935?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 15:05:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6205180b-e1a7-49be-be63-391eb8543876</guid><dc:creator>davel001150</dc:creator><description>Status.bat in data-server folder does nothing.  Just newline.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data-Server times out absolutely every time I try to start it, yet is still running</title><link>https://community.appian.com/thread/54934?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 15:00:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d4edfda3-9a36-4564-90cf-20985994c43d</guid><dc:creator>Justin Watts</dc:creator><description>What do the data-server logs say? Maybe there is something useful in there&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data-Server times out absolutely every time I try to start it, yet is still running</title><link>https://community.appian.com/thread/54933?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 14:59:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:093ce2a0-7f0c-4e72-a310-aca48cb99ba3</guid><dc:creator>davel001150</dc:creator><description>And I do have k4.lic at C:\appian181\repo\appian\data-server\engine\bin\q\w64&lt;br /&gt;
&lt;br /&gt;
This is Windows 10, 64 bit OS.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data-Server times out absolutely every time I try to start it, yet is still running</title><link>https://community.appian.com/thread/54932?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 14:58:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aeaaa3f6-370b-43bb-ab8e-eb0b7a7b6c50</guid><dc:creator>davel001150</dc:creator><description>I renamed the FQDN from &amp;quot;localhost&amp;quot; back to what it was before, and nearly all the services came up PRIMARY mode.  I shut down one straggler, started the one straggler up again, used status.bat to confirm all are up and running in PRIMARY mode, same error.&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;m not being refused connection to 5400 now, I&amp;#39;m all the way back to having it timeout because it can&amp;#39;t find heartbeat.&lt;br /&gt;
&lt;br /&gt;
Interesting thing, it times out, but it says it&amp;#39;s running.  Stop.bat on the data-server works fine.  A few seconds and it&amp;#39;s down like it never had an error.&lt;br /&gt;
&lt;br /&gt;
When I run netstat with all the services and the data server up,  it still shows absolutely nothing about port 5400.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data-Server times out absolutely every time I try to start it, yet is still running</title><link>https://community.appian.com/thread/54925?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 14:25:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:75f27c2c-73f8-4f9b-bcf6-3960344464e8</guid><dc:creator>Justin Watts</dc:creator><description>If you can run /services/bin/_status.sh and get results, I don&amp;#39;t expect that your K license is an issue. The FQDN of the machine is what the license looks at, not configuration in other Appian files. Your services should be in PRIMARY mode when they are up (assuming you are not running a cluster)&lt;br /&gt;
&lt;br /&gt;
One other thing to check - do you have a Q license? I would expect a different error if you didn&amp;#39;t but might as well double-check to remove it as an issue. Refer to:&lt;br /&gt;
 &lt;a href="https://docs.appian.com/suite/help/18.1/Requesting_and_Installing_a_license.html#long-term-license"&gt;docs.appian.com/.../Requesting_and_Installing_a_license.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data-Server times out absolutely every time I try to start it, yet is still running</title><link>https://community.appian.com/thread/54924?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 14:09:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:af895f69-4b0c-470e-8d7a-9c81ed443a24</guid><dc:creator>davel001150</dc:creator><description>I think I know where the issue lies, further back.  Whenever I get all the services up using services\bin\start.bat, they&amp;#39;re all in REPLICA mode.  It happened so much that today is the first time I ever saw PRIMARY mode to let me know that was actually an error.  The listener isn&amp;#39;t listening on port 5400.  Now I&amp;#39;m getting STOPPING state REPLICA mode due to leadership change on a third of the services and port 5400 is refusing connection.&lt;br /&gt;
&lt;br /&gt;
I changed my FQDN from &amp;quot;DESKTOP-063AN1L&amp;quot; (closest thing to FQDN I could find on this machine) to &amp;quot;localhost&amp;quot; in another file to try to correct another issue.  Would that be invalidating my license?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data-Server times out absolutely every time I try to start it, yet is still running</title><link>https://community.appian.com/thread/54922?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 14:00:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a9344c39-851c-4f22-b0d9-ed1090e9d45f</guid><dc:creator>Benhail</dc:creator><description>There is no harm in trying David! But just make sure, where all you have changed the 5400 port number!&lt;br /&gt;
&lt;br /&gt;
As far as my memory goes, I had a different issue and I tried to change the port number but that didn&amp;#39;t help and I had to resort to other solutions!&lt;br /&gt;
&lt;br /&gt;
Keep us updated, we will try to come up with a solution.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data-Server times out absolutely every time I try to start it, yet is still running</title><link>https://community.appian.com/thread/54912?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 13:22:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4fcad06e-c913-4797-bc29-39cc17c95082</guid><dc:creator>davel001150</dc:creator><description>All the ports are the same, all of the uncommented code in each of the the appian.topology.xml files is identical, even the one in repo.&lt;br /&gt;
&lt;br /&gt;
Would you recommend manually entering another available port, 5500 for instance, to see what that does?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data-Server times out absolutely every time I try to start it, yet is still running</title><link>https://community.appian.com/thread/54911?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 13:13:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9365d611-1138-4e73-b043-4aab5900f1ad</guid><dc:creator>davel001150</dc:creator><description>Thank you for the advice.  I ran your request after shutting everything down, and there&amp;#39;s nothing using that port.  I can try reinitializing everything and let you know what&amp;#39;s using the port (if anything) when I get all the services back up.  I&amp;#39;m going to make sure all the topology files match per Justin Watts&amp;#39; suggestion first.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data-Server times out absolutely every time I try to start it, yet is still running</title><link>https://community.appian.com/thread/54910?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 12:21:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c173206e-fe39-45da-9430-3bc3ffd59d26</guid><dc:creator>Benhail</dc:creator><description>&lt;p&gt;com.appian.data.server.UnrecoverableError: Established WebSocket connection but failed to receive heartbeat from data-server:5400.&lt;br /&gt; &lt;br /&gt; Mostly the Port Issue. &lt;br /&gt; &lt;br /&gt; Follow this link to see which process is using that port 5400:&lt;br /&gt; &lt;a href="https://stackoverflow.com/questions/48198/how-can-you-find-out-which-process-is-listening-on-a-port-on-windows"&gt;stackoverflow.com/.../how-can-you-find-out-which-process-is-listening-on-a-port-on-windows&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; For more details:&lt;br /&gt; &lt;a href="https://stackoverflow.com/questions/15952663/find-pid-of-process-that-use-a-port-on-windows/47202911"&gt;stackoverflow.com/.../47202911&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data-Server times out absolutely every time I try to start it, yet is still running</title><link>https://community.appian.com/thread/54909?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 12:16:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:28ce855a-1b29-441f-9f42-d0f6c81e89c6</guid><dc:creator>Justin Watts</dc:creator><description>&lt;p&gt;The timeout makes me think its a port issue. Did you validate your appian-topology.xml files all match up?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I expect an entry like this in both the /data-server/conf and suite.ear/conf topology locations. I&amp;#39;m pretty sure by default Appian doesn&amp;#39;t include these entries:&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/11/pastedimage1525781732343v1.png"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1525781732343v1.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>