Hello all,
We installed Appian in GCP environment. I have followed and completed all steps for the installation as per the Appian documentation. But, I am seeing the below error while restarting the Appian server.
Could you please help us to resolve this issue. Please let me know if you need more information on this.
Log Error:
2020-08-20 12:36:57,932 [Appian Timer - 2] ERROR com.appiancorp.common.monitoring.AppServerSystemMetricsCollector - The session count MBean attribute does not exist in the app serverjavax.management.InstanceNotFoundException: Catalina:type=Manager,context=/appian,host=localhost at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:643) at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678) at com.appiancorp.common.monitoring.AppServerSystemMetricsCollector.collectSessionCountMetrics(AppServerSystemMetricsCollector.java:148) at com.appiancorp.common.monitoring.AppServerSystemMetricsCollector.updateMetrics(AppServerSystemMetricsCollector.java:135) at com.appiancorp.common.monitoring.AppServerSystemMetricsCollector.getAndResetAppServerSystemMetrics(AppServerSystemMetricsCollector.java:68) at com.appiancorp.common.monitoring.AppServerSystemMetricsLogScheduler.lambda$getLoggingRunnable$0(AppServerSystemMetricsLogScheduler.java:15) at com.appiancorp.security.auth.SpringSecurityContextHelper.runAsAdmin(SpringSecurityContextHelper.java:158) at com.appiancorp.common.monitoring.AbstractLogScheduler.logIfNecessary(AbstractLogScheduler.java:37) at com.appiancorp.common.monitoring.AppServerSystemMetricsSamplerLogScheduler.lambda$getLoggingRunnable$0(AppServerSystemMetricsSamplerLogScheduler.java:15) at com.appiancorp.security.auth.SpringSecurityContextHelper.runAsAdmin(SpringSecurityContextHelper.java:158) at com.appiancorp.common.monitoring.AbstractLogScheduler.logIfNecessary(AbstractLogScheduler.java:37) at com.appiancorp.common.monitoring.AggregatedDataTimer.lambda$timeout$2(AggregatedDataTimer.java:49) at java.util.ArrayList.forEach(ArrayList.java:1257) at com.appiancorp.common.monitoring.AggregatedDataTimer.timeout(AggregatedDataTimer.java:49) at com.appiancorp.common.timer.AppianTimerSystem.run(AppianTimerSystem.java:59)
Discussion posts and replies are publicly visible
This doesnt provide a full snapshot of the issue. You need to look at:
1. The full /logs/tomcat-stdOut-xxxxx.log file and search for "Caused by..." e.g. cat tomcat-stdOut.log | grep "Caused by"
2. What release of Appian is this?
3. Is this a standalone or distributed install? If distributed, are the config files correct by ensuring "localhost" is replaced by hostname/FQDN?
4. Are all the other services e.g. AppianEngines, Service Manager, Kafka, zookeeper started successfully?
Based on the limited info above, the line "javax.management.InstanceNotFoundException: Catalina:type=Manager,context=/appian,host=localhost" suggests that JMX doesnt like "localhost" so you could review that and test again.