I just upgraded from Appian 7.5 to 7.10 on JBoss 6.4. On start up, the following

I just upgraded from Appian 7.5 to 7.10 on JBoss 6.4. On start up, the following exception is thrown. Any idea what is causing this error?

14:34:31,185 ERROR [stderr] (MSC service thread 1-3) log4j:ERROR Could not instantiate class [com.appiancorp.common.monitoring.SystemMetrics$Layout].
14:34:31,191 ERROR [stderr] (MSC service thread 1-3) java.lang.ClassNotFoundException: com.appiancorp.common.monitoring.SystemMetrics$Layout from [Module "deployment.suite.ear:main" from Service Module Loader]
14:34:31,192 ERROR [stderr] (MSC service thread 1-3) at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213)
14:34:31,192 ERROR [stderr] (MSC service thread 1-3) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
14:34:31,193 ERROR [stderr] (MSC service thread 1-3) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
14:3...

OriginalPostID-161528

OriginalPostID-161528

  Discussion posts and replies are publicly visible

Parents
  • The error indicates your appian_log4j.properties under ear\\suite.ear\\conf\\resources makes reference to an Appian 7.5 class called com.appiancorp.common.monitoring.SystemMetrics$Layout which has been renamed in 7.10 to com.appiancorp.common.monitoring.AppServerSystemMetrics$Layout.

    This happened because you also migrated the appian_log4j.properties from 7.5. That's not a good practice. If you wanted to preserve some custom loggers you should have merged them into the new file form 7.10. Copying files from old versions can cause issues.

    In this case JBoss starts properly so it's nothing major but other files can cause an erratic behavior if copied over instead of merging.
Reply
  • The error indicates your appian_log4j.properties under ear\\suite.ear\\conf\\resources makes reference to an Appian 7.5 class called com.appiancorp.common.monitoring.SystemMetrics$Layout which has been renamed in 7.10 to com.appiancorp.common.monitoring.AppServerSystemMetrics$Layout.

    This happened because you also migrated the appian_log4j.properties from 7.5. That's not a good practice. If you wanted to preserve some custom loggers you should have merged them into the new file form 7.10. Copying files from old versions can cause issues.

    In this case JBoss starts properly so it's nothing major but other files can cause an erratic behavior if copied over instead of merging.
Children
No Data