<?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/"><channel><title>KB-1288 Errors related to cache config after upgrade</title><link>https://community.appian.com/support/w/kb/497/kb-1288-errors-related-to-cache-config-after-upgrade</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1288 Errors related to cache config after upgrade</title><link>https://community.appian.com/support/w/kb/497/kb-1288-errors-related-to-cache-config-after-upgrade</link><pubDate>Mon, 23 Jul 2018 17:45:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:346c7467-ef71-40d1-b9ec-b53a1b395899</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/497/kb-1288-errors-related-to-cache-config-after-upgrade#comments</comments><description>Current Revision posted to Appian Knowledge Base by Jordan Horwat on 7/23/2018 5:45:24 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After starting JBoss for the first time following an upgrade, one of the following errors may be printed in the console and the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/suite]] (ServerService Thread Pool -- 89) JBWEB000284: Exception starting filter theme-resources: java.lang.ClassNotFoundException: com.appiancorp.suite.ThemeResourceFilter from [Module &amp;quot;deployment.suite.ear.web.war:main&amp;quot; from Service Module Loader]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;OR&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;INFO  [org.jboss.web] (ServerService Thread Pool -- 76) JBAS018210: Register web context: /suite
INFO  [stdout] (ServerService Thread Pool -- 76) 2016-11-08 21:44:57,426 [ServerService Thread Pool -- 76] FATAL com.appiancorp.common.web.StartupHaltingServletContextListener - Halting JVM startup: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name &amp;#39;springCacheManager&amp;#39; defined in class com.appiancorp.cache.spring.CacheSpringConfig: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.appiancorp.cache.CacheManager]: : Error creating bean with name &amp;#39;cacheManager&amp;#39; defined in com.appiancorp.common.spring.BootstrapSpringConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.cache.CacheManager]: Factory method &amp;#39;cacheManager&amp;#39; threw exception; nested exception is java.io.FileNotFoundException: class path resource [WEB-INF/conf/cache/cache-config.xml] cannot be opened because it does not exist; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;cacheManager&amp;#39; defined in com.appiancorp.common.spring.BootstrapSpringConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.cache.CacheManager]: Factory method &amp;#39;cacheManager&amp;#39; threw exception; nested exception is java.io.FileNotFoundException: class path resource [WEB-INF/conf/cache/cache-config.xml] cannot be opened because it does not exist
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;OR&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Error creating bean with name &amp;#39;cacheManager&amp;#39; defined in com.appiancorp.common.spring.BootstrapSpringConfig
...
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.cache.CacheManager]: 
Factory method &amp;#39;cacheManager&amp;#39; threw exception; 
nested exception is java.io.FileNotFoundException: class path resource [WEB-INF/conf/cache/cache-config.xml] cannot be opened because it does not exist
...
Caused by: java.io.FileNotFoundException: class path resource [WEB-INF/conf/cache/cache-config.xml] cannot be opened because it does not exist
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;During the upgrade, the &lt;strong&gt;web.xml&lt;/strong&gt; file from &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/web.war/WEB-INF/&lt;/code&gt; has been copied over from the previous installation. This can be confirmed by comparing the file to the one from a base unmodified Appian installation.&lt;/p&gt;
&lt;p&gt;Changes are made to the &lt;strong&gt;web.xml&lt;/strong&gt; file with each new version of Appian, so copying over the &lt;strong&gt;web.xml&lt;/strong&gt; file in its entirety can cause errors like the ones above and is incorrect practice for upgrading Appian.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Stop the application server.&lt;/li&gt;
&lt;li&gt;Replace the current &lt;strong&gt;web.xml&lt;/strong&gt; located in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/web.war/WEB_INF&lt;/code&gt; with the &lt;strong&gt;web.xml&lt;/strong&gt; from an out-of-the-box Appian installation.&lt;/li&gt;
&lt;li&gt;Merge any customizations in the &lt;strong&gt;web.xml&lt;/strong&gt; file from the older version of Appian with the &lt;strong&gt;web.xml&lt;/strong&gt; file from the newer version of Appian per the &lt;a href="https://docs.appian.com/suite/help/latest/Upgrade_Guide.html#merge-your-web-xml-file"&gt;Upgrade Guide: Merge Your web.xml File&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Restart the application server.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to 7.10 and later.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;March 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: installation, application server, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>KB-1288 Errors related to cache config after upgrade</title><link>https://community.appian.com/support/w/kb/497/kb-1288-errors-related-to-cache-config-after-upgrade/revision/1</link><pubDate>Tue, 07 Mar 2017 16:04:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:346c7467-ef71-40d1-b9ec-b53a1b395899</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/497/kb-1288-errors-related-to-cache-config-after-upgrade#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Nick Vigilante on 3/7/2017 4:04:48 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After starting JBoss for the first time following an upgrade, one of the following errors may be printed in the console and the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/suite]] (ServerService Thread Pool -- 89) JBWEB000284: Exception starting filter theme-resources: java.lang.ClassNotFoundException: com.appiancorp.suite.ThemeResourceFilter from [Module &amp;quot;deployment.suite.ear.web.war:main&amp;quot; from Service Module Loader]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;OR&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;INFO  [org.jboss.web] (ServerService Thread Pool -- 76) JBAS018210: Register web context: /suite
INFO  [stdout] (ServerService Thread Pool -- 76) 2016-11-08 21:44:57,426 [ServerService Thread Pool -- 76] FATAL com.appiancorp.common.web.StartupHaltingServletContextListener - Halting JVM startup: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name &amp;#39;springCacheManager&amp;#39; defined in class com.appiancorp.cache.spring.CacheSpringConfig: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.appiancorp.cache.CacheManager]: : Error creating bean with name &amp;#39;cacheManager&amp;#39; defined in com.appiancorp.common.spring.BootstrapSpringConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.cache.CacheManager]: Factory method &amp;#39;cacheManager&amp;#39; threw exception; nested exception is java.io.FileNotFoundException: class path resource [WEB-INF/conf/cache/cache-config.xml] cannot be opened because it does not exist; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;cacheManager&amp;#39; defined in com.appiancorp.common.spring.BootstrapSpringConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.cache.CacheManager]: Factory method &amp;#39;cacheManager&amp;#39; threw exception; nested exception is java.io.FileNotFoundException: class path resource [WEB-INF/conf/cache/cache-config.xml] cannot be opened because it does not exist
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;OR&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Error creating bean with name &amp;#39;cacheManager&amp;#39; defined in com.appiancorp.common.spring.BootstrapSpringConfig
...
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.cache.CacheManager]: 
Factory method &amp;#39;cacheManager&amp;#39; threw exception; 
nested exception is java.io.FileNotFoundException: class path resource [WEB-INF/conf/cache/cache-config.xml] cannot be opened because it does not exist
...
Caused by: java.io.FileNotFoundException: class path resource [WEB-INF/conf/cache/cache-config.xml] cannot be opened because it does not exist
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;During the upgrade, the &lt;strong&gt;web.xml&lt;/strong&gt; file from &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/web.war/WEB-INF/&lt;/code&gt; has been copied over from the previous installation. This can be confirmed by comparing the file to the one from a base unmodified Appian installation.&lt;/p&gt;
&lt;p&gt;Changes are made to the &lt;strong&gt;web.xml&lt;/strong&gt; file with each new version of Appian, so copying over the &lt;strong&gt;web.xml&lt;/strong&gt; file in its entirety can cause errors like the ones above and is incorrect practice for upgrading Appian.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Stop the application server.&lt;/li&gt;
&lt;li&gt;Replace the current &lt;strong&gt;web.xml&lt;/strong&gt; located in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/web.war/WEB_INF&lt;/code&gt; with the &lt;strong&gt;web.xml&lt;/strong&gt; from an out-of-the-box Appian installation.&lt;/li&gt;
&lt;li&gt;Merge any customizations in the &lt;strong&gt;web.xml&lt;/strong&gt; file from the older version of Appian with the &lt;strong&gt;web.xml&lt;/strong&gt; file from the newer version of Appian per the &lt;a href="https://docs.appian.com/suite/help/latest/Upgrade_Guide.html#merge-your-web-xml-file"&gt;Upgrade Guide: Merge Your web.xml File&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Restart the application server.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to 7.10 and later.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;March 2017&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, upgrade&lt;/div&gt;
</description></item></channel></rss>