<?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-1728 Tomcat fails with "java.lang.IllegalArgumentException: Input byte array has wrong 4-byte ending unit"</title><link>https://community.appian.com/support/w/kb/1154/kb-1728-tomcat-fails-with-java-lang-illegalargumentexception-input-byte-array-has-wrong-4-byte-ending-unit</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1728 Tomcat fails with "java.lang.IllegalArgumentException: Input byte array has wrong 4-byte ending unit"</title><link>https://community.appian.com/support/w/kb/1154/kb-1728-tomcat-fails-with-java-lang-illegalargumentexception-input-byte-array-has-wrong-4-byte-ending-unit</link><pubDate>Fri, 28 Sep 2018 14:08:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c154955-c669-4009-9213-786b39830b78</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/1154/kb-1728-tomcat-fails-with-java-lang-illegalargumentexception-input-byte-array-has-wrong-4-byte-ending-unit#comments</comments><description>Current Revision posted to Appian Knowledge Base by Jordan Horwat on 9/28/2018 2:08:33 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Tomcat fails to deploy Appian with the following error seen in the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\logs\tomcat-stdOut.log&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;INFO&amp;nbsp;&lt;span class="error"&gt;[localhost-startStop-1]&lt;/span&gt;&amp;nbsp;org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor&amp;nbsp;&lt;span class="error"&gt;[&amp;lt;APPIAN_HOME&amp;gt;\tomcat\apache-tomcat\conf\Catalina\localhost\suite.xml]&lt;/span&gt;&lt;br /&gt;WARNING&amp;nbsp;&lt;span class="error"&gt;[localhost-startStop-1]&lt;/span&gt;&amp;nbsp;org.apache.naming.NamingContext.lookup Unexpected exception resolving reference&lt;br /&gt;java.lang.IllegalArgumentException: Input byte array has wrong 4-byte ending unit&lt;br /&gt;at java.util.Base64$Decoder.decode0(Base64.java:704)&lt;br /&gt;at java.util.Base64$Decoder.decode(Base64.java:526)&lt;br /&gt;at java.util.Base64$Decoder.decode(Base64.java:549)&lt;br /&gt;at com.appiancorp.tomcat.encoding.EncodingCryptographer.decodePassword(EncodingCryptographer.java:25)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The encoded password configured in&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\tomcat\apache-tomcat\conf\Catalina\localhost\suite.xml&lt;/code&gt; is incorrect.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Encode the correct database password as described in &lt;a href="https://docs.appian.com/suite/help/latest/Quick_Start_Installation_Guide.html#part-four-mysql-data-source-password-setup"&gt;this&lt;/a&gt; step and make sure it is updated in the &lt;strong&gt;suite.xml&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 18.3 and later.&lt;/p&gt;
&lt;div class="content"&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;September&amp;nbsp;2018&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, database, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Tomcat fails with "java.lang.IllegalArgumentException: Input byte array has wrong 4-byte ending unit"</title><link>https://community.appian.com/support/w/kb/1154/kb-1728-tomcat-fails-with-java-lang-illegalargumentexception-input-byte-array-has-wrong-4-byte-ending-unit/revision/3</link><pubDate>Fri, 28 Sep 2018 10:07:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c154955-c669-4009-9213-786b39830b78</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/1154/kb-1728-tomcat-fails-with-java-lang-illegalargumentexception-input-byte-array-has-wrong-4-byte-ending-unit#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Jordan Horwat on 9/28/2018 10:07:08 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Tomcat fails to deploy Appian with the following error seen in the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\logs\tomcat-stdOut.log&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;INFO&amp;nbsp;&lt;span class="error"&gt;[localhost-startStop-1]&lt;/span&gt;&amp;nbsp;org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor&amp;nbsp;&lt;span class="error"&gt;[&amp;lt;APPIAN_HOME&amp;gt;\tomcat\apache-tomcat\conf\Catalina\localhost\suite.xml]&lt;/span&gt;&lt;br /&gt;WARNING&amp;nbsp;&lt;span class="error"&gt;[localhost-startStop-1]&lt;/span&gt;&amp;nbsp;org.apache.naming.NamingContext.lookup Unexpected exception resolving reference&lt;br /&gt;java.lang.IllegalArgumentException: Input byte array has wrong 4-byte ending unit&lt;br /&gt;at java.util.Base64$Decoder.decode0(Base64.java:704)&lt;br /&gt;at java.util.Base64$Decoder.decode(Base64.java:526)&lt;br /&gt;at java.util.Base64$Decoder.decode(Base64.java:549)&lt;br /&gt;at com.appiancorp.tomcat.encoding.EncodingCryptographer.decodePassword(EncodingCryptographer.java:25)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The encoded password configured in&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\tomcat\apache-tomcat\conf\Catalina\localhost\suite.xml&lt;/code&gt; is incorrect.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Encode the correct database password as described in &lt;a href="https://docs.appian.com/suite/help/latest/Quick_Start_Installation_Guide.html#part-four-mysql-data-source-password-setup"&gt;this&lt;/a&gt; step and make sure it is updated in the &lt;strong&gt;suite.xml&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 18.3 and later.&lt;/p&gt;
&lt;div class="content"&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;September&amp;nbsp;2018&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, database, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Tomcat fails with "java.lang.IllegalArgumentException: Input byte array has wrong 4-byte ending unit"</title><link>https://community.appian.com/support/w/kb/1154/kb-1728-tomcat-fails-with-java-lang-illegalargumentexception-input-byte-array-has-wrong-4-byte-ending-unit/revision/2</link><pubDate>Thu, 27 Sep 2018 09:27:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c154955-c669-4009-9213-786b39830b78</guid><dc:creator>Tejas Kargutkar</dc:creator><comments>https://community.appian.com/support/w/kb/1154/kb-1728-tomcat-fails-with-java-lang-illegalargumentexception-input-byte-array-has-wrong-4-byte-ending-unit#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Tejas Kargutkar on 9/27/2018 9:27:03 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Tomcat fails to deploy Appian with the following error seen in the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\logs\tomcat-stdOut.log&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;INFO&amp;nbsp;&lt;span class="error"&gt;[localhost-startStop-1]&lt;/span&gt;&amp;nbsp;org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor&amp;nbsp;&lt;span class="error"&gt;[APPIAN_HOME\tomcat\apache-tomcat\conf\Catalina\localhost\suite.xml]&lt;/span&gt;&lt;br /&gt;WARNING&amp;nbsp;&lt;span class="error"&gt;[localhost-startStop-1]&lt;/span&gt;&amp;nbsp;org.apache.naming.NamingContext.lookup Unexpected exception resolving reference&lt;br /&gt;java.lang.IllegalArgumentException: Input byte array has wrong 4-byte ending unit&lt;br /&gt;at java.util.Base64$Decoder.decode0(Base64.java:704)&lt;br /&gt;at java.util.Base64$Decoder.decode(Base64.java:526)&lt;br /&gt;at java.util.Base64$Decoder.decode(Base64.java:549)&lt;br /&gt;at com.appiancorp.tomcat.encoding.EncodingCryptographer.decodePassword(EncodingCryptographer.java:25)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The encoded password configured in&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\tomcat\apache-tomcat\conf\Catalina\localhost\suite.xml&lt;/code&gt; is incorrect.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Encode the correct database password as described in &lt;a href="https://docs.appian.com/suite/help/latest/Quick_Start_Installation_Guide.html#part-four-mysql-data-source-password-setup"&gt;this&lt;/a&gt; step and make sure it is updated in the &lt;strong&gt;suite.xml&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 18.3 and later.&lt;/p&gt;
&lt;div class="content"&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;September&amp;nbsp;2018&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, database, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Tomcat fails with "java.lang.IllegalArgumentException: Input byte array has wrong 4-byte ending unit"</title><link>https://community.appian.com/support/w/kb/1154/kb-1728-tomcat-fails-with-java-lang-illegalargumentexception-input-byte-array-has-wrong-4-byte-ending-unit/revision/1</link><pubDate>Wed, 26 Sep 2018 19:13:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c154955-c669-4009-9213-786b39830b78</guid><dc:creator>Tejas Kargutkar</dc:creator><comments>https://community.appian.com/support/w/kb/1154/kb-1728-tomcat-fails-with-java-lang-illegalargumentexception-input-byte-array-has-wrong-4-byte-ending-unit#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Tejas Kargutkar on 9/26/2018 7:13:03 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Tomcat fails to deploy Appian with the following error seen in the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\logs\tomcat-stdOut.log&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;INFO&amp;nbsp;&lt;span class="error"&gt;[localhost-startStop-1]&lt;/span&gt;&amp;nbsp;org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor&amp;nbsp;&lt;span class="error"&gt;[C:\App183new\tomcat\apache-tomcat\conf\Catalina\localhost\suite.xml]&lt;/span&gt;&lt;br /&gt;WARNING&amp;nbsp;&lt;span class="error"&gt;[localhost-startStop-1]&lt;/span&gt;&amp;nbsp;org.apache.naming.NamingContext.lookup Unexpected exception resolving reference&lt;br /&gt;java.lang.IllegalArgumentException: Input byte array has wrong 4-byte ending unit&lt;br /&gt;at java.util.Base64$Decoder.decode0(Base64.java:704)&lt;br /&gt;at java.util.Base64$Decoder.decode(Base64.java:526)&lt;br /&gt;at java.util.Base64$Decoder.decode(Base64.java:549)&lt;br /&gt;at com.appiancorp.tomcat.encoding.EncodingCryptographer.decodePassword(EncodingCryptographer.java:25)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The encoded password configured in&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\tomcat\apache-tomcat\conf\Catalina\localhost\suite.xml&lt;/code&gt; is incorrect.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Encode the correct database password as described in &lt;a href="https://docs.appian.com/suite/help/latest/Quick_Start_Installation_Guide.html#part-four-mysql-data-source-password-setup"&gt;this&lt;/a&gt; step and make sure it is updated in the &lt;strong&gt;suite.xml&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 18.3 and later.&lt;/p&gt;
&lt;div class="content"&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;September&amp;nbsp;2018&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, database, infrastructure&lt;/div&gt;
</description></item></channel></rss>