Tomcat fails to connect with data server

Certified Lead Developer

Hi All,

We are getting bellow error in application server log

2018-12-17 07:00:33,440 [localhost-startStop-1] ERROR com.appiancorp.applicationpatch.PatchSchemaSpringContextListener - APNX-1-4506-001 - Failed to connect to data server. The ability to store and retrieve application patches will not be available until the connection is reestablished. Check the status of the data server.

Data server seems to be running. Attached data server log for reference. 

2018-12-17 06:55:38,603 wd-5400 [main] INFO  com.appian.data.server.replication.TopicManager - Connecting to Zookeeper: localhost:2181
2018-12-17 06:55:38,338 wd-5400 [main] INFO  com.appian.data.server.replication.TopicManager - Connecting to Zookeeper: localhost:2181
2018-12-17 06:55:38,619 wd-5400 [main] INFO  com.appian.data.server.Watchdog - Total memory: 87031808, Max memory: 119537664, Free memory: 67145968, Num processors: 8
2018-12-17 06:55:38,619 wd-5400 [main] INFO  com.appian.data.server.Watchdog - JVM version: 1.8.0_45, JVM arguments: -Duser.timezone=GMT -Xms64m -Xmx128m -Dds.home=E:\Appian\Appian183\data-server\bin\.., JVM current dir: E:\Appian\Appian183\data-server\bin
2018-12-17 06:55:38,806 wd-5400 [vert.x-eventloop-thread-1] INFO  com.appian.data.server.VertxServer - Listening on localhost:5400...
2018-12-17 06:55:38,822 wd-5400 [main] INFO  com.appian.data.server.migration.MigrationEngine - Version on disk (2018-07-06) is verified. No migration required...
2018-12-17 06:55:39,009 wd-5400 [main] INFO  com.appian.data.server.replication.TopicManager - Active brokers: [0 : (EndPoint(localhost,9092,PLAINTEXT)) : null]. Desired replicas: [0]
2018-12-17 06:55:39,024 wd-5400 [main] INFO  com.appian.data.server.replication.TopicManager - Topic ds_txEffects already exists
2018-12-17 06:55:39,024 wd-5400 [main] INFO  com.appian.data.server.replication.TopicManager - Ensuring topic "ds_txEffects" has the correct configuration
2018-12-17 06:55:39,071 wd-5400 [main] INFO  com.appian.data.server.replication.TopicManager - Topic "ds_txEffects" has the correct configuration
2018-12-17 06:55:39,071 wd-5400 [main] INFO  com.appian.data.server.replication.TopicManager - Topic ds_txEffects has desired assigned replicas: [0]
2018-12-17 06:55:43,236 wd-5400 [main] INFO  com.appian.data.server.Watchdog - Killing data server component hs
2018-12-17 06:55:47,776 wd-5400 [main] INFO  com.appian.data.server.Watchdog - Killing data server component rts:0
2018-12-17 06:55:47,776 wd-5400 [ForkJoinPool.commonPool-worker-1] INFO  com.appian.data.server.Watchdog - Starting HS (port=5402)...
2018-12-17 06:55:47,776 wd-5400 [ForkJoinPool.commonPool-worker-1] INFO  com.appian.data.server.QStarter - Starting q process: E:\Appian\Appian183\data-server\bin\..\engine\bin\q\w64\q.exe E:\Appian\Appian183\data-server\bin\..\engine\load.q_ -file hs.q -p 5402 -P 16
2018-12-17 06:55:48.384 HS:5402 1 64 64M INFO Historical Store
2018-12-17 06:55:49,398 wd-5400 [ForkJoinPool.commonPool-worker-1] INFO  com.appian.data.server.Watchdog - Starting HS Gateway (port=5401)...
2018-12-17 06:55:49,398 wd-5400 [ForkJoinPool.commonPool-worker-1] INFO  com.appian.data.server.JvmStarter - Starting JVM: C:\Program Files\Java\jdk1.8.0_45\jre\bin\java.exe -server -Duser.timezone=GMT -Xms64m -Xmx128m -Dds.home=E:\Appian\Appian183\data-server\bin\.. -cp E:\Appian\Appian183\data-server\bin\..\lib\appian-data-server-classpath-0.95.0.jar com.appian.data.server.HistoricalStoreGateway
0 [main] INFO com.appian.data.TopologyFactory  - Loading topology E:\Appian\Appian183\data-server\bin\..\conf\appian-topology.xml
390 [main] INFO com.appian.data.server.config.CustomPropertiesConfiguration  - Configuration file custom.properties does not exist. Default settings will be used.
421 [main] INFO com.appian.data.server.HistoricalStoreGateway  - Initializing log4j (processName=hs-gw-5401, logsDir=E:\Appian\Appian183\data-server\bin\..\..\logs\data-server) from E:\Appian\Appian183\data-server\bin\..\conf\log4j.properties
2018-12-17 06:55:50,915 hs-gw-5401 [main] INFO  com.appian.data.server.HistoricalStoreGateway - Total memory: 81264640, Max memory: 119537664, Free memory: 61590624, Num processors: 8
2018-12-17 06:55:50,915 hs-gw-5401 [main] INFO  com.appian.data.server.HistoricalStoreGateway - JVM version: 1.8.0_45, JVM arguments: -Duser.timezone=GMT -Xms64m -Xmx128m -Dds.home=E:\Appian\Appian183\data-server\bin\.., JVM current dir: E:\Appian\Appian183\data-server\bin
2018-12-17 06:55:51,117 hs-gw-5401 [vert.x-eventloop-thread-1] INFO  com.appian.data.server.VertxServer - Listening on localhost:5401...
2018-12-17 06:55:51,398 hs-gw-5401 [main] INFO  com.appian.data.server.HistoricalStoreGateway - Connecting to Q...
2018-12-17 06:55:51,414 hs-gw-5401 [main] INFO  com.appian.data.server.HistoricalStoreGateway - Connecting to Kafka...
2018-12-17 06:55:51,554 hs-gw-5401 [main] INFO  com.appian.data.server.HistoricalStoreGateway - Loading historical data from disk...
2018-12-17 06:55:51,570 hs-gw-5401 [main] INFO  com.appian.data.server.HistoricalStoreGateway - Replaying from Kafka any existing messages starting at offset -1...
2018-12-17 06:55:52,412 hs-gw-5401 [main] INFO  com.appian.data.server.HistoricalStoreGateway - Done replaying 500 transactions in 841 ms
2018-12-17 06:55:52,412 hs-gw-5401 [hs-metrics-logger-0] INFO  com.appian.data.server.HistoricalStoreGateway - HistoricalStore metrics logging is enabled. To disable, set property "hs.metricsLogInterval.seconds" in file "E:\Appian\Appian183\data-server\bin\..\conf\custom.properties" to a non-positive number ...
2018-12-17 06:55:52,428 hs-gw-5401 [main] INFO  com.appian.data.server.HistoricalStoreGateway - Ready in 1510 ms
2018-12-17 06:55:52,475 wd-5400 [ForkJoinPool.commonPool-worker-2] INFO  com.appian.data.server.Watchdog - Starting RTS-0 (port=5405)...
2018-12-17 06:55:52,475 wd-5400 [ForkJoinPool.commonPool-worker-2] INFO  com.appian.data.server.QStarter - Starting q process: E:\Appian\Appian183\data-server\bin\..\engine\bin\q\w64\q.exe E:\Appian\Appian183\data-server\bin\..\engine\load.q_ -file rts.q -p 5405 -P 16 -rts 0
2018-12-17 06:55:52.755 RTS:5405 1 64 64M INFO RealTime Store
2018-12-17 06:55:53,769 wd-5400 [ForkJoinPool.commonPool-worker-2] INFO  com.appian.data.server.Watchdog - Starting RTS-0 Gateway (port=5404)...
2018-12-17 06:55:53,769 wd-5400 [ForkJoinPool.commonPool-worker-2] INFO  com.appian.data.server.JvmStarter - Starting JVM: C:\Program Files\Java\jdk1.8.0_45\jre\bin\java.exe -server -Duser.timezone=GMT -Xms64m -Xmx128m -Dds.home=E:\Appian\Appian183\data-server\bin\.. -cp E:\Appian\Appian183\data-server\bin\..\lib\appian-data-server-classpath-0.95.0.jar com.appian.data.server.RealTimeStoreGateway -rts 0
0 [main] INFO com.appian.data.TopologyFactory  - Loading topology E:\Appian\Appian183\data-server\bin\..\conf\appian-topology.xml
390 [main] INFO com.appian.data.server.config.CustomPropertiesConfiguration  - Configuration file custom.properties does not exist. Default settings will be used.
421 [main] INFO com.appian.data.server.RealTimeStoreGateway  - Initializing log4j (processName=rts-gw-5404, logsDir=E:\Appian\Appian183\data-server\bin\..\..\logs\data-server) from E:\Appian\Appian183\data-server\bin\..\conf\log4j.properties
2018-12-17 06:55:55,286 rts-gw-5404 [main] INFO  com.appian.data.server.RealTimeStoreGateway - Total memory: 81264640, Max memory: 119537664, Free memory: 61713464, Num processors: 8
2018-12-17 06:55:55,301 rts-gw-5404 [main] INFO  com.appian.data.server.RealTimeStoreGateway - JVM version: 1.8.0_45, JVM arguments: -Duser.timezone=GMT -Xms64m -Xmx128m -Dds.home=E:\Appian\Appian183\data-server\bin\.., JVM current dir: E:\Appian\Appian183\data-server\bin
2018-12-17 06:55:55,504 rts-gw-5404 [vert.x-eventloop-thread-1] INFO  com.appian.data.server.VertxServer - Listening on localhost:5404...
2018-12-17 06:55:55,785 rts-gw-5404 [main] INFO  com.appian.data.server.RealTimeStoreGateway - Connecting to Q...
2018-12-17 06:55:55,800 rts-gw-5404 [main] INFO  com.appian.data.server.RealTimeStoreGateway - Connecting to Kafka...
2018-12-17 06:55:55,941 rts-gw-5404 [main] INFO  com.appian.data.server.RealTimeStoreGateway - Looking for latest SS...
2018-12-17 06:55:55,941 rts-gw-5404 [main] INFO  com.appian.data.server.RealTimeStoreGateway - Initializing RTS...
2018-12-17 06:55:55,941 rts-gw-5404 [main] INFO  com.appian.data.server.RealTimeStoreGateway - Done initializing RTS in 1 ms
2018-12-17 06:55:55,941 rts-gw-5404 [main] INFO  com.appian.data.server.RealTimeStoreGateway - Replaying from Kafka starting at offset -1...
2018-12-17 06:55:56,752 rts-gw-5404 [main] INFO  com.appian.data.server.RealTimeStoreGateway - Done replaying 500 transactions in 0 ms
2018-12-17 06:55:56,752 rts-gw-5404 [rts-metrics-logger-0] INFO  com.appian.data.server.RealTimeStoreGateway - RealTimeStore metrics logging is enabled. To disable, set property "rts.metricsLogInterval.seconds" in file "E:\Appian\Appian183\data-server\bin\..\conf\custom.properties" to a non-positive number ...
2018-12-17 06:55:56,752 rts-gw-5404 [main] INFO  com.appian.data.server.RealTimeStoreGateway - Ready in 1472 ms
2018-12-17 06:55:57,766 wd-5400 [ads-watchdog-heal-0] INFO  com.appian.data.server.Watchdog - Healing is enabled. To disable, set property "wd.healInterval.seconds" in file "E:\Appian\Appian183\data-server\bin\..\conf\custom.properties" to a non-positive number ...
2018-12-17 06:55:57,782 wd-5400 [main] INFO  com.appian.data.server.replication.TopicManager - Connecting to Zookeeper: localhost:2181
2018-12-17 06:55:57,922 wd-5400 [bg-branch-cleanup] INFO  com.appian.data.server.bg.BackgroundEngine - Branch cleanup is enabled. To disable, set property "bg.branchCleanupInterval.seconds" in file "E:\Appian\Appian183\data-server\bin\..\conf\custom.properties" to a non-positive number ...
2018-12-17 06:55:57,922 wd-5400 [bg-append] INFO  com.appian.data.server.bg.BackgroundEngine - Appending novelty to disk and creating snapshots is enabled. To disable, set property "bg.appendInterval.seconds" in file "E:\Appian\Appian183\data-server\bin\..\conf\custom.properties" to a non-positive number ...
2018-12-17 06:55:57,922 wd-5400 [main] INFO  com.appian.data.server.Watchdog - Ready in 19299 ms

Any help on this will be appreciated.

 

Thanks,

Nishanth

 

  Discussion posts and replies are publicly visible