<?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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Setting JAVA path in Appian</title><link>https://community.appian.com/discussions/f/administration/24150/setting-java-path-in-appian</link><description>Hi, 
 In my Linux server with appian 20.4 installed, 
 the following are the details in the &amp;quot;profile&amp;quot; file in /etc folder -- export JAVA_HOME=/data-01/appian/203/appian/java ---- actually this path does not exist in the server export PATH=$JAVA_HOME/bin</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Setting JAVA path in Appian</title><link>https://community.appian.com/thread/93193?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 15:31:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a05674c1-2dc1-420c-b496-e0843fce4825</guid><dc:creator>saichetanam</dc:creator><description>&lt;p&gt;ok sure Mathieu....&lt;/p&gt;
&lt;p&gt;thanks for you help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting JAVA path in Appian</title><link>https://community.appian.com/thread/93192?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 15:30:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:edb63a66-14f2-4a55-b850-6ba427ba9edc</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Looks good to me.&lt;/p&gt;
&lt;p&gt;I would suggest you log a ticket with Appian support to investigate why Tomcat displayed that message in the logs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting JAVA path in Appian</title><link>https://community.appian.com/thread/93180?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 10:21:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:59f87301-7b48-4577-9f39-964f29aea219</guid><dc:creator>saichetanam</dc:creator><description>&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/12/pastedimage1649067656128v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Here is the response to your query&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting JAVA path in Appian</title><link>https://community.appian.com/thread/93178?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 10:03:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f37beebc-76a4-4844-99d5-6ccaca5a0920</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;What do you get when you run&lt;/p&gt;
&lt;p&gt;java -version&lt;/p&gt;
&lt;p&gt;from the terminal?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting JAVA path in Appian</title><link>https://community.appian.com/thread/93177?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 09:19:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:10cc50c9-fffc-4e33-a236-2bc0679aae23</guid><dc:creator>saichetanam</dc:creator><description>&lt;p&gt;Hi Mathieu,&lt;/p&gt;
&lt;p&gt;i have tried the above steps and restared my services and the envi is up and running.&lt;/p&gt;
&lt;p&gt;During the tomcat restart , observed the follwing logs --&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;2022-04-04 08:24:03 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 3.10.0-1160.59.1.el7.x86_64&lt;br /&gt;2022-04-04 08:24:03 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64&lt;br /&gt;2022-04-04 08:24:03 INFO [main] org.apache.&lt;strong&gt;catalina.startup.VersionLoggerListener.log Java Home: /usr/lib/jvm/jdk1.8.0_191/jre&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Do you think I need to change the path elsewhere too?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;chetana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting JAVA path in Appian</title><link>https://community.appian.com/thread/93176?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 09:19:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a2606fbc-31f2-471d-b840-65cab1b052e2</guid><dc:creator>saichetanam</dc:creator><description>&lt;p&gt;Hi Mathieu,&lt;/p&gt;
&lt;p&gt;i have tried the above steps and restared my services and the envi is up and running.&lt;/p&gt;
&lt;p&gt;During the tomcat restart , observed the follwing logs --&lt;/p&gt;
&lt;p&gt;2022-04-04 08:24:02 Beginning to start Appian in Tomcat&lt;br /&gt;2022-04-04 08:24:03 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property &amp;#39;maxHttpHeaderSize&amp;#39; to &amp;#39;&amp;#39; did not find a matching property.&lt;br /&gt;2022-04-04 08:24:03 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/8.5.75&lt;br /&gt;2022-04-04 08:24:03 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jan 17 2022 22:07:47 UTC&lt;br /&gt;2022-04-04 08:24:03 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 8.5.75.0&lt;br /&gt;2022-04-04 08:24:03 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux&lt;br /&gt;2022-04-04 08:24:03 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 3.10.0-1160.59.1.el7.x86_64&lt;br /&gt;2022-04-04 08:24:03 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64&lt;br /&gt;2022-04-04 08:24:03 INFO [main] org.apache.&lt;strong&gt;catalina.startup.VersionLoggerListener.log Java Home: /usr/lib/jvm/jdk1.8.0_191/jre&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Do you think I need to change the path elsewhere too?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;chetana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting JAVA path in Appian</title><link>https://community.appian.com/thread/93175?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 09:16:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c36b0112-256d-42c6-9936-efdc1591b5d3</guid><dc:creator>saichetanam</dc:creator><description>&lt;p&gt;Hi Mathieu,&lt;/p&gt;
&lt;p&gt;I have executed the above commands, restarted my services. and when I check echo $JAVA_HOME&lt;/p&gt;
&lt;p&gt;it is pointing to the new path(/data-01/appian/204/appian/java). And my envi is up and running.&lt;/p&gt;
&lt;p&gt;But during the restart when I checked the logs , I found this&lt;/p&gt;
&lt;p&gt;2022-04-04 08:24:02 Beginning to start Appian in Tomcat&lt;br /&gt;2022-04-04 08:24:03 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property &amp;#39;maxHttpHeaderSize&amp;#39; to &amp;#39;&amp;#39; did not find a matching property.&lt;br /&gt;2022-04-04 08:24:03 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/8.5.75&lt;br /&gt;2022-04-04 08:24:03 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jan 17 2022 22:07:47 UTC&lt;br /&gt;2022-04-04 08:24:03 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 8.5.75.0&lt;br /&gt;2022-04-04 08:24:03 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux&lt;br /&gt;2022-04-04 08:24:03 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 3.10.0-1160.59.1.el7.x86_64&lt;br /&gt;2022-04-04 08:24:03 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64&lt;br /&gt;&lt;strong&gt;2022-04-04 08:24:03 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib/jvm/jdk1.8.0_191/jre&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Do I need to change the path elsewhere too?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Chetana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting JAVA path in Appian</title><link>https://community.appian.com/thread/93113?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2022 12:26:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7a7d36e5-6718-43f3-a665-cb5c71ae84f8</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Based on what you posted, this should work - no?&amp;nbsp; You also need to reload your shell for the change to take effect.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;export JAVA_HOME=/data-01/appian/204/appian/java
export PATH=$JAVA_HOME/bin:$PATH:&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Try running the following after making the update to the file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;bash --login
java -version&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>