<?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-1030 "velocity.log (Permission denied)" error thrown during JBoss startup</title><link>https://community.appian.com/support/w/kb/255/kb-1030-velocity-log-permission-denied-error-thrown-during-jboss-startup</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1030 "velocity.log (Permission denied)" error thrown during JBoss startup</title><link>https://community.appian.com/support/w/kb/255/kb-1030-velocity-log-permission-denied-error-thrown-during-jboss-startup</link><pubDate>Wed, 10 Feb 2021 21:43:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0994e023-c37a-4c08-af8e-301649e5b92f</guid><dc:creator>Nicholas Van Dyke</dc:creator><comments>https://community.appian.com/support/w/kb/255/kb-1030-velocity-log-permission-denied-error-thrown-during-jboss-startup#comments</comments><description>Current Revision posted to Appian Knowledge Base by Nicholas Van Dyke on 2/10/2021 9:43:58 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting the application server, the following errors will appear in the application server log:&lt;/p&gt;
&lt;pre&gt;15:17:42,365 INFO  [stdout] (ServerService Thread Pool -- 81) 2015-10-07 15:17:42,357 [ServerService Thread Pool -- 81] ERROR com.appiancorp.common.config.ConfigObject - An error occurred while trying to initialize the config object com.appiancorp.common.crypto.KeyStoreConfig
15:17:42,365 INFO  [stdout] (ServerService Thread Pool -- 81) org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;velocityEngine&amp;#39; defined in class path resource [com/appiancorp/security/auth/saml/SamlBindingSpringConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.apache.velocity.app.VelocityEngine com.appiancorp.security.auth.saml.SamlBindingSpringConfig.velocityEngine()] threw exception; nested exception is org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,400 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.apache.velocity.app.VelocityEngine com.appiancorp.security.auth.saml.SamlBindingSpringConfig.velocityEngine()] threw exception; nested exception is org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,402 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,416 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: org.apache.velocity.exception.VelocityException: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,416 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: java.lang.RuntimeException: Error configuring Log4JLogChute : 
...
15:17:42,422 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: java.io.FileNotFoundException: velocity.log (Permission denied)
&lt;/pre&gt;
&lt;p&gt;As a result of these errors, the application server will fail to start up.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The user running the application server process does not have permission to read or write to the &lt;strong&gt;velocity.log&lt;/strong&gt; file. For JBoss, this log is located in the &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/bin&lt;/code&gt; directory. For Tomcat, this log is located in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/bin&lt;/code&gt; directory.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;velocity.log&lt;/strong&gt; file corresponds to the &lt;a href="http://velocity.apache.org/engine/devel/"&gt;Velocity engine&lt;/a&gt;, a Java-based template engine used to generate SQL, XML, and other output that many web applications can use.&lt;/p&gt;
&lt;p&gt;A class that calls the Velocity engine in JBoss was added with Appian 7.10 and is required for startup.&lt;/p&gt;
&lt;p&gt;To ensure that any issues with the Velocity engine are appropriately recorded in the &lt;strong&gt;velocity.log&lt;/strong&gt; file, the application server will attempt to write to this file. If the user running the application server process does not have both read and write access over this log file, the application server will return the above error and fail to start up.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;Grant the application server user permission to both read and write the &lt;strong&gt;velocity.log&lt;/strong&gt; file located in:&lt;/p&gt;
&lt;p&gt;JBoss:&amp;nbsp;&lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/bin&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Tomcat:&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/bin&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 7.10 and later.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;January 2021&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, infrastructure&lt;/div&gt;
</description></item><item><title>KB-1030 "velocity.log (Permission denied)" error thrown during JBoss startup</title><link>https://community.appian.com/support/w/kb/255/kb-1030-velocity-log-permission-denied-error-thrown-during-jboss-startup/revision/4</link><pubDate>Mon, 05 Nov 2018 22:25:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0994e023-c37a-4c08-af8e-301649e5b92f</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/255/kb-1030-velocity-log-permission-denied-error-thrown-during-jboss-startup#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Parmida Borhani on 11/5/2018 10:25:39 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting the application server, the following errors will appear in the application server log:&lt;/p&gt;
&lt;pre&gt;15:17:42,365 INFO  [stdout] (ServerService Thread Pool -- 81) 2015-10-07 15:17:42,357 [ServerService Thread Pool -- 81] ERROR com.appiancorp.common.config.ConfigObject - An error occurred while trying to initialize the config object com.appiancorp.common.crypto.KeyStoreConfig
15:17:42,365 INFO  [stdout] (ServerService Thread Pool -- 81) org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;velocityEngine&amp;#39; defined in class path resource [com/appiancorp/security/auth/saml/SamlBindingSpringConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.apache.velocity.app.VelocityEngine com.appiancorp.security.auth.saml.SamlBindingSpringConfig.velocityEngine()] threw exception; nested exception is org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,400 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.apache.velocity.app.VelocityEngine com.appiancorp.security.auth.saml.SamlBindingSpringConfig.velocityEngine()] threw exception; nested exception is org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,402 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,416 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: org.apache.velocity.exception.VelocityException: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,416 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: java.lang.RuntimeException: Error configuring Log4JLogChute : 
...
15:17:42,422 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: java.io.FileNotFoundException: velocity.log (Permission denied)
&lt;/pre&gt;
&lt;p&gt;As a result of these errors, the application server will fail to start up.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The user running the application server process does not have permission to read or write to the &lt;strong&gt;velocity.log&lt;/strong&gt; file. For JBoss, this log is located in the &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/bin&lt;/code&gt; directory. For Tomcat, this log is located in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/bin&lt;/code&gt; directory.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;velocity.log&lt;/strong&gt; file corresponds to the &lt;a href="http://velocity.apache.org/engine/devel/"&gt;Velocity engine&lt;/a&gt;, a Java-based template engine used to generate SQL, XML, and other output that many web applications can use.&lt;/p&gt;
&lt;p&gt;A class that calls the Velocity engine in JBoss was added with Appian 7.10 and is required for startup.&lt;/p&gt;
&lt;p&gt;To ensure that any issues with the Velocity engine are appropriately recorded in the &lt;strong&gt;velocity.log&lt;/strong&gt; file, the application server will attempt to write to this file. If the user running the application server process does not have both read and write access over this log file, the application server will return the above error and fail to start up.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;Grant the application server user permission to both read and write the &lt;strong&gt;velocity.log&lt;/strong&gt; file located in:&lt;/p&gt;
&lt;p&gt;JBoss:&amp;nbsp;&lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/bin&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Tomcat:&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/bin&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 7.10 and later.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: November 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, infrastructure&lt;/div&gt;
</description></item><item><title>KB-1030 "velocity.log (Permission denied)" error thrown during JBoss startup</title><link>https://community.appian.com/support/w/kb/255/kb-1030-velocity-log-permission-denied-error-thrown-during-jboss-startup/revision/3</link><pubDate>Mon, 05 Nov 2018 22:25:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0994e023-c37a-4c08-af8e-301649e5b92f</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/255/kb-1030-velocity-log-permission-denied-error-thrown-during-jboss-startup#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Parmida Borhani on 11/5/2018 10:25:17 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting the application server, the following errors will appear in the application server log:&lt;/p&gt;
&lt;pre&gt;15:17:42,365 INFO  [stdout] (ServerService Thread Pool -- 81) 2015-10-07 15:17:42,357 [ServerService Thread Pool -- 81] ERROR com.appiancorp.common.config.ConfigObject - An error occurred while trying to initialize the config object com.appiancorp.common.crypto.KeyStoreConfig
15:17:42,365 INFO  [stdout] (ServerService Thread Pool -- 81) org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;velocityEngine&amp;#39; defined in class path resource [com/appiancorp/security/auth/saml/SamlBindingSpringConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.apache.velocity.app.VelocityEngine com.appiancorp.security.auth.saml.SamlBindingSpringConfig.velocityEngine()] threw exception; nested exception is org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,400 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.apache.velocity.app.VelocityEngine com.appiancorp.security.auth.saml.SamlBindingSpringConfig.velocityEngine()] threw exception; nested exception is org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,402 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,416 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: org.apache.velocity.exception.VelocityException: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,416 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: java.lang.RuntimeException: Error configuring Log4JLogChute : 
...
15:17:42,422 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: java.io.FileNotFoundException: velocity.log (Permission denied)
&lt;/pre&gt;
&lt;p&gt;As a result of these errors, the application server will fail to start up.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The user running the application server process does not have permission to read or write to the &lt;strong&gt;velocity.log&lt;/strong&gt; file. For JBoss, this log is located in the &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/bin&lt;/code&gt; directory. For Tomcat, this log is located in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/bin&lt;/code&gt; directory.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;velocity.log&lt;/strong&gt; file corresponds to the &lt;a href="http://velocity.apache.org/engine/devel/"&gt;Velocity engine&lt;/a&gt;, a Java-based template engine used to generate SQL, XML, and other output that many web applications can use.&lt;/p&gt;
&lt;p&gt;A class that calls the Velocity engine in JBoss was added with Appian 7.10 and is required for startup.&lt;/p&gt;
&lt;p&gt;To ensure that any issues with the Velocity engine are appropriately recorded in the &lt;strong&gt;velocity.log&lt;/strong&gt; file, the application server will attempt to write to this file. If the user running the application server process does not have both read and write access over this log file, the application server will return the above error and fail to start up.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;Grant the application server user permission to both read and write the &lt;strong&gt;velocity.log&lt;/strong&gt; file located in:&lt;/p&gt;
&lt;p&gt;JBoss:&amp;nbsp;&lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/bin&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Tomcat:&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/bin&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 7.10 and later.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: November 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, infrastructure&lt;/div&gt;
</description></item><item><title>KB-1030 "velocity.log (Permission denied)" error thrown during JBoss startup</title><link>https://community.appian.com/support/w/kb/255/kb-1030-velocity-log-permission-denied-error-thrown-during-jboss-startup/revision/2</link><pubDate>Mon, 30 Jul 2018 04:07:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0994e023-c37a-4c08-af8e-301649e5b92f</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/255/kb-1030-velocity-log-permission-denied-error-thrown-during-jboss-startup#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Parmida Borhani on 7/30/2018 4:07:56 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting JBoss, the following errors will appear in the application server log:&lt;/p&gt;
&lt;pre&gt;15:17:42,365 INFO  [stdout] (ServerService Thread Pool -- 81) 2015-10-07 15:17:42,357 [ServerService Thread Pool -- 81] ERROR com.appiancorp.common.config.ConfigObject - An error occurred while trying to initialize the config object com.appiancorp.common.crypto.KeyStoreConfig
15:17:42,365 INFO  [stdout] (ServerService Thread Pool -- 81) org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;velocityEngine&amp;#39; defined in class path resource [com/appiancorp/security/auth/saml/SamlBindingSpringConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.apache.velocity.app.VelocityEngine com.appiancorp.security.auth.saml.SamlBindingSpringConfig.velocityEngine()] threw exception; nested exception is org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,400 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.apache.velocity.app.VelocityEngine com.appiancorp.security.auth.saml.SamlBindingSpringConfig.velocityEngine()] threw exception; nested exception is org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,402 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,416 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: org.apache.velocity.exception.VelocityException: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,416 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: java.lang.RuntimeException: Error configuring Log4JLogChute : 
...
15:17:42,422 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: java.io.FileNotFoundException: velocity.log (Permission denied)
&lt;/pre&gt;
&lt;p&gt;As a result of these errors, JBoss will fail to start up.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The user running the JBoss process does not have permission to read or write to the &lt;strong&gt;velocity.log&lt;/strong&gt; file. This log is located in the &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/bin&lt;/code&gt; directory.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;velocity.log&lt;/strong&gt; file corresponds to the &lt;a href="http://velocity.apache.org/engine/devel/"&gt;Velocity engine&lt;/a&gt;, a Java-based template engine used to generate SQL, XML, and other output that many web applications can use.&lt;/p&gt;
&lt;p&gt;A class that calls the Velocity engine in JBoss was added with Appian 7.10 and is required for startup.&lt;/p&gt;
&lt;p&gt;To ensure that any issues with the Velocity engine are appropriately recorded in the &lt;strong&gt;velocity.log&lt;/strong&gt; file, JBoss will attempt to write to this file. If the user running the JBoss process does not have both read and write access over this log file, JBoss will return the above error and fail to start up.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;Grant the JBoss user permission to both read and write the &lt;strong&gt;velocity.log&lt;/strong&gt; file located in &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/bin&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 7.10 and later with JBoss EAP as an application server.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: February 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, infrastructure, jboss&lt;/div&gt;
</description></item><item><title>KB-1030 "velocity.log (Permission denied)" error thrown during JBoss startup</title><link>https://community.appian.com/support/w/kb/255/kb-1030-velocity-log-permission-denied-error-thrown-during-jboss-startup/revision/1</link><pubDate>Tue, 14 Feb 2017 12:54:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0994e023-c37a-4c08-af8e-301649e5b92f</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/255/kb-1030-velocity-log-permission-denied-error-thrown-during-jboss-startup#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Nick Vigilante on 2/14/2017 12:54:26 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting JBoss, the following errors will appear in the application server log:&lt;/p&gt;
&lt;pre&gt;15:17:42,365 INFO  [stdout] (ServerService Thread Pool -- 81) 2015-10-07 15:17:42,357 [ServerService Thread Pool -- 81] ERROR com.appiancorp.common.config.ConfigObject - An error occurred while trying to initialize the config object com.appiancorp.common.crypto.KeyStoreConfig
15:17:42,365 INFO  [stdout] (ServerService Thread Pool -- 81) org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;velocityEngine&amp;#39; defined in class path resource [com/appiancorp/security/auth/saml/SamlBindingSpringConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.apache.velocity.app.VelocityEngine com.appiancorp.security.auth.saml.SamlBindingSpringConfig.velocityEngine()] threw exception; nested exception is org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,400 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.apache.velocity.app.VelocityEngine com.appiancorp.security.auth.saml.SamlBindingSpringConfig.velocityEngine()] threw exception; nested exception is org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,402 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,416 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: org.apache.velocity.exception.VelocityException: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
...
15:17:42,416 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: java.lang.RuntimeException: Error configuring Log4JLogChute : 
...
15:17:42,422 INFO  [stdout] (ServerService Thread Pool -- 81) Caused by: java.io.FileNotFoundException: velocity.log (Permission denied)
&lt;/pre&gt;
&lt;p&gt;As a result of these errors, JBoss will fail to start up.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The user running the JBoss process does not have permission to read or write to the &lt;strong&gt;velocity.log&lt;/strong&gt; file. This log is located in the &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/bin&lt;/code&gt; directory.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;velocity.log&lt;/strong&gt; file corresponds to the &lt;a href="http://velocity.apache.org/engine/devel/"&gt;Velocity engine&lt;/a&gt;, a Java-based template engine used to generate SQL, XML, and other output that many web applications can use.&lt;/p&gt;
&lt;p&gt;A class that calls the Velocity engine in JBoss was added with Appian 7.10 and is required for startup.&lt;/p&gt;
&lt;p&gt;To ensure that any issues with the Velocity engine are appropriately recorded in the &lt;strong&gt;velocity.log&lt;/strong&gt; file, JBoss will attempt to write to this file. If the user running the JBoss process does not have both read and write access over this log file, JBoss will return the above error and fail to start up.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;Grant the JBoss user permission to both read and write the &lt;strong&gt;velocity.log&lt;/strong&gt; file located in &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/bin&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 7.10 and later with JBoss EAP as an application server.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: February 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

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