{"id":461,"date":"2018-02-01T13:57:53","date_gmt":"2018-02-01T18:57:53","guid":{"rendered":"https:\/\/linux.uits.uconn.edu\/?p=461"},"modified":"2018-02-01T13:57:53","modified_gmt":"2018-02-01T18:57:53","slug":"issues-with-tomcat7-on-rhel7","status":"publish","type":"post","link":"https:\/\/technicalknow-how.com\/wp\/issues-with-tomcat7-on-rhel7\/","title":{"rendered":"Issues with Tomcat7 on RHEL7"},"content":{"rendered":"<p>On RHEL7, up until tomcat v7.0.59 Redhat maintained backwards compatibility with RHEL6 structures. \u00a0Once you upgrade to tomcat 7.0.70-x all that changes. \u00a0Two things specifically:<\/p>\n<p><strong>First:<\/strong><br \/>\nOne big change is the use of $CATALINA_OPTS, if you have multiple lines defining various $CATALINA_OPT properties your installation will break. \u00a0Once you upgrade you must specify all of your $CATALINA_OPTS on a single line. \u00a0This has to do with the use of systemd, regardless all on one line or it won&#8217;t work.<\/p>\n<p><strong>Second:<\/strong><br \/>\nEnsure tomcat7 is logging to \/var\/log\/tomcat7\/catalina.out<\/p>\n<p>Create a new file \/etc\/rsyslog.d\/tomcat.conf containing the next two lines:<\/p>\n<pre>programname,contains,\"server\" \/var\/log\/tomcat\/catalina.out\nprogramname,contains,\"server\" ~<\/pre>\n<p>Afterwards, restart the rsyslog daemon:<\/p>\n<pre>service rsyslog restart<\/pre>\n<p>Those are the only issues I have found yet, I&#8217;ll update if more surface.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On RHEL7, up until tomcat v7.0.59 Redhat maintained backwards compatibility with RHEL6 structures. \u00a0Once you upgrade to tomcat 7.0.70-x all that changes. \u00a0Two things specifically: First: One big change is the use of $CATALINA_OPTS, if you have multiple lines defining various $CATALINA_OPT properties your installation will break. \u00a0Once you upgrade you must specify all of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"wds_primary_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[131],"tags":[209,141,145,265],"class_list":["post-461","post","type-post","status-publish","format-standard","hentry","category-tomcat","tag-redhat-7","tag-system-administration","tag-tomcat-2","tag-tomcat7"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3749z-7r","_links":{"self":[{"href":"https:\/\/technicalknow-how.com\/wp\/wp-json\/wp\/v2\/posts\/461"}],"collection":[{"href":"https:\/\/technicalknow-how.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/technicalknow-how.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/technicalknow-how.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/technicalknow-how.com\/wp\/wp-json\/wp\/v2\/comments?post=461"}],"version-history":[{"count":0,"href":"https:\/\/technicalknow-how.com\/wp\/wp-json\/wp\/v2\/posts\/461\/revisions"}],"wp:attachment":[{"href":"https:\/\/technicalknow-how.com\/wp\/wp-json\/wp\/v2\/media?parent=461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/technicalknow-how.com\/wp\/wp-json\/wp\/v2\/categories?post=461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/technicalknow-how.com\/wp\/wp-json\/wp\/v2\/tags?post=461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}