<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Why am I seeing WARN:SLF4JLOGFactory on Shutdown 7.1.x</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112963230" />
  <subtitle>Why am I seeing WARN:SLF4JLOGFactory on Shutdown 7.1.x</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112963230</id>
  <updated>2026-04-06T22:02:11Z</updated>
  <dc:date>2026-04-06T22:02:11Z</dc:date>
  <entry>
    <title>RE: Why am I seeing WARN:SLF4JLOGFactory on Shutdown 7.1.x</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113257203" />
    <author>
      <name>Richard Yummy</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113257203</id>
    <updated>2019-04-16T14:50:25Z</updated>
    <published>2019-04-16T14:50:25Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;I did a clean install of CentOS 7.6 with updates. Installed java-11-openjdk and export JRE_HOME=/usr/lib/jvm/jre/. Downloaded 7.1.2 GA3, ./startup.sh then ./shutdown.sh.&amp;nbsp; I made no changes to the operating system except as stated an no configuration outside of the defaults for Liferay.&lt;br&gt;&lt;pre&gt;&lt;code&gt;16-Apr-2019 14:40:23.786 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 91061 ms
2019-04-16 14:40:59.394 INFO&amp;amp;nbsp; [main][ThemeHotDeployListener:171] 1 theme for classic-theme was unregistered
2019-04-16 14:40:59.946 INFO&amp;amp;nbsp; [main][ThemeHotDeployListener:171] 1 theme for admin-theme was unregistered
WARN: The method class org.apache.commons.logging.impl.SLF4JLogFactory#release() was invoked.
WARN: Please see http://www.slf4j.org/codes.html#release for an explanation.
&lt;/code&gt;&lt;/pre&gt;I verified there was only one instance of jcl-over-slf4j.jar.&lt;br&gt;&lt;pre&gt;&lt;code&gt;[root@liferay bin]# locate jcl-over-slf4j.jar
/root/liferay/tomcat-9.0.10/webapps/ROOT/WEB-INF/lib/jcl-over-slf4j.jar
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;I just want to scream.&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Richard Yummy</dc:creator>
    <dc:date>2019-04-16T14:50:25Z</dc:date>
  </entry>
  <entry>
    <title>RE: Why am I seeing WARN:SLF4JLOGFactory on Shutdown 7.1.x</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113146691" />
    <author>
      <name>Richard Yummy</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113146691</id>
    <updated>2019-04-11T13:43:49Z</updated>
    <published>2019-04-11T13:43:49Z</published>
    <summary type="html">I did do a hunt for  jcl-over-slf4j.jar, originally, but it was so long ago, best to go look again. It would be great if I found a duplicate and it was a simple matter of fixing by removing one or whatever. I will dig into the problem this weekend. &lt;br /&gt;&lt;br /&gt; Good information on Tomcat and   -Djava.security.egd=file:/dev/./urandom  . I will take a closer look at this as well.</summary>
    <dc:creator>Richard Yummy</dc:creator>
    <dc:date>2019-04-11T13:43:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: Why am I seeing WARN:SLF4JLOGFactory on Shutdown 7.1.x</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113088249" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113088249</id>
    <updated>2019-04-09T12:01:19Z</updated>
    <published>2019-04-09T12:01:19Z</published>
    <summary type="html">Those settings are probably irrelevant for your issue. I am not sure, if it is still the case, but at least in Tomcat 7 it improved tomcat startup times to set /dev/./urandom. So, it is probably a good idea to set it.&lt;br /&gt;&lt;br /&gt;Anyway: Did you try to search for jcl-over-slf4j.jar ?&lt;br /&gt;&lt;em&gt;&lt;/em&gt;According to documentation, it is often responsible for that error. I have one in webapps/ROOT/WEB-INF/lib/jcl-over-slf4j.jar, maybe you have two of them in the path (for whatever reason).</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2019-04-09T12:01:19Z</dc:date>
  </entry>
  <entry>
    <title>RE: Why am I seeing WARN:SLF4JLOGFactory on Shutdown 7.1.x</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113087201" />
    <author>
      <name>Richard Yummy</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113087201</id>
    <updated>2019-04-09T10:54:33Z</updated>
    <published>2019-04-09T10:54:33Z</published>
    <summary type="html">Correction:&lt;br /&gt;&lt;br /&gt;There is a difference with our ps -ef outputs. You have the following and I do not.&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;   -Djava.awt.headless=true&lt;br /&gt;  -Djava.security.egd=file:/dev/./urandom &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;I will keep digging.</summary>
    <dc:creator>Richard Yummy</dc:creator>
    <dc:date>2019-04-09T10:54:33Z</dc:date>
  </entry>
  <entry>
    <title>RE: Why am I seeing WARN:SLF4JLOGFactory on Shutdown 7.1.x</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113062718" />
    <author>
      <name>Richard Yummy</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113062718</id>
    <updated>2019-04-08T13:59:39Z</updated>
    <published>2019-04-08T13:59:39Z</published>
    <summary type="html">Christoph, I really appreciate your time. Below is my `ps -ef | grep java` output. I am not seeing a problem. I will continue to hunt.&lt;br /&gt;&lt;br /&gt;liferay  21777     1 64 06:40 pts/0    00:02:49 /usr/lib/jvm/jre/bin/java&lt;br /&gt;    -Djava.util.logging.config.file=/opt/liferay/tomcat-9.0.10/conf/logging.properties&lt;br /&gt;    -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager&lt;br /&gt;    -Djdk.tls.ephemeralDHKeySize=2048&lt;br /&gt;    -Djava.protocol.handler.pkgs=org.apache.catalina.webresources&lt;br /&gt;    -Dorg.apache.catalina.security.SecurityListener.UMASK=0027&lt;br /&gt;    -Dfile.encoding=UTF8&lt;br /&gt;    -Djava.net.preferIPv4Stack=true&lt;br /&gt;    -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false&lt;br /&gt;    -Duser.timezone=GMT&lt;br /&gt;    -Xms2560m -Xmx2560m -XX:MaxNewSize=1536m -XX:MaxMetaspaceSize=384m -XX:MetaspaceSize=384m -XX:NewSize=1536m -XX:SurvivorRatio=7&lt;br /&gt;    -Dignore.endorsed.dirs= -classpath /opt/liferay/tomcat-9.0.10/bin/bootstrap.jar:/opt/liferay/tomcat-9.0.10/bin/tomcat-juli.jar&lt;br /&gt;    -Dcatalina.base=/opt/liferay/tomcat-9.0.10&lt;br /&gt;    -Dcatalina.home=/opt/liferay/tomcat-9.0.10&lt;br /&gt;    -Djava.io.tmpdir=/opt/liferay/tomcat-9.0.10/temp org.apache.catalina.startup.Bootstrap start</summary>
    <dc:creator>Richard Yummy</dc:creator>
    <dc:date>2019-04-08T13:59:39Z</dc:date>
  </entry>
  <entry>
    <title>RE: Why am I seeing WARN:SLF4JLOGFactory on Shutdown 7.1.x</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113049927" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113049927</id>
    <updated>2019-04-08T06:36:43Z</updated>
    <published>2019-04-08T06:36:43Z</published>
    <summary type="html">I am not sure, these settings have anything to do with the problem, but it is at least a difference. My server here is started with these runtime parameters (I checked ps -ef)&lt;br /&gt;&lt;br /&gt;/usr/bin/java&lt;br /&gt;  -Djava.util.logging.config.file=/opt/liferay/tomcat-9.0.10/conf/logging.properties&lt;br /&gt;  -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager&lt;br /&gt;  -Djava.awt.headless=true&lt;br /&gt;  -Djava.security.egd=file:/dev/./urandom&lt;br /&gt;  -Djdk.tls.ephemeralDHKeySize=2048&lt;br /&gt;  -Djava.protocol.handler.pkgs=org.apache.catalina.webresources&lt;br /&gt;  -Dorg.apache.catalina.security.SecurityListener.UMASK=0027&lt;br /&gt;  -Dfile.encoding=UTF8&lt;br /&gt;  -Djava.net.preferIPv4Stack=true&lt;br /&gt;  -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false&lt;br /&gt;  -Duser.timezone=GMT &lt;br /&gt;  -Xms2560m -Xmx2560m -XX:MaxNewSize=1536m -XX:MaxMetaspaceSize=384m -XX:MetaspaceSize=384m -XX:NewSize=1536m -XX:SurvivorRatio=7&lt;br /&gt;  -Dignore.endorsed.dirs= -classpath /opt/liferay/tomcat-9.0.10/bin/bootstrap.jar:/opt/liferay/tomcat-9.0.10/bin/tomcat-juli.jar&lt;br /&gt;  -Dcatalina.base=/opt/liferay/tomcat-9.0.10&lt;br /&gt;  -Dcatalina.home=/opt/liferay/tomcat-9.0.10&lt;br /&gt;  -Djava.io.tmpdir=/opt/liferay/tomcat-9.0.10/temp org.apache.catalina.startup.Bootstrap start&lt;br /&gt;&lt;br /&gt;I tried it with Oracle and OpenJDK (versions 181 and 201). I don&amp;#39;t see the problem on Debian and Ubuntu, so I have no idea what causes this for you.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2019-04-08T06:36:43Z</dc:date>
  </entry>
  <entry>
    <title>RE: Why am I seeing WARN:SLF4JLOGFactory on Shutdown 7.1.x</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113049159" />
    <author>
      <name>Richard Yummy</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113049159</id>
    <updated>2019-04-08T05:11:25Z</updated>
    <published>2019-04-08T05:11:25Z</published>
    <summary type="html">I didn&amp;#39;t set JDK_JAVA_OPTIONS, so that is not expected? What values should be set? or is there a way to nuke them?&lt;br /&gt;&lt;br /&gt;Also, I did not execute any of the scripts in Liferay&amp;#39;s /bin directory outside of the test, startup, and shutdown scripts. Was I suppose to execute others prior to the inital startup?&lt;br /&gt;&lt;br /&gt;The file openjdk.sh is placed in /etc/profile.d/ to set the Java Environmental variables for all user sessions. The article you provided is doing the samething as I did except that the directory is called profile.d. Is there a better way?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note:&lt;br /&gt;The OpenJDK is the package as compiled by the CentOS project from Red Hat&amp;#39;s source. I didn&amp;#39;t do anything special and had no issues with the  strategy with LP CE 7.0, but, clearly, something has changed. &lt;br /&gt;&lt;br /&gt;I appreciate your help.</summary>
    <dc:creator>Richard Yummy</dc:creator>
    <dc:date>2019-04-08T05:11:25Z</dc:date>
  </entry>
  <entry>
    <title>RE: Why am I seeing WARN:SLF4JLOGFactory on Shutdown 7.1.x</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112997652" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112997652</id>
    <updated>2019-04-04T07:09:42Z</updated>
    <published>2019-04-04T07:09:42Z</published>
    <summary type="html">I am not sure if it has anything to do with your problem. But I think, you start the process with some extra java options. Maybe they have sideeffects.&lt;br /&gt;&lt;br /&gt;NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED&lt;br /&gt;&lt;br /&gt;I guess, you start that openjdk.sh first, to set the jave paths. And then you start Liferay with tomcat/bin/startup.sh? I am not sure, how you installed Java, but you should either put that into setenv.sh or maybe into the profile of the liferay user, so that it is always set. e.g.:&lt;br /&gt;https://www.cyberciti.biz/faq/linux-unix-set-java_home-path-variable/.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2019-04-04T07:09:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: Why am I seeing WARN:SLF4JLOGFactory on Shutdown 7.1.x</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112993897" />
    <author>
      <name>Richard Yummy</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112993897</id>
    <updated>2019-04-04T02:26:45Z</updated>
    <published>2019-04-04T02:26:45Z</published>
    <summary type="html">Thank you for the timely response and sounds like I bungled something.&lt;br /&gt;&lt;br /&gt;I did not add modules.&lt;br /&gt;&lt;br /&gt;To clarify, this is a new installation on CentOS 7.6 using the  Liferay Community Edition Portal 7.1.2 CE GA3 with Tomcat bundle. I have tried both openjdk 1.8 and 11.&lt;br /&gt;&lt;br /&gt;I have been able to consistently reproduce the warning across installation and not seeing the expected shutdown messages that I get with my LP CE 7.0, e.g.  Pausing ProtocolHandler [&amp;#34;http-apr-8080&amp;#34;]. &lt;br /&gt;&lt;br /&gt;Attached the configtest.sh results, java environment variables, and catalina.out showing the error.&lt;br /&gt;&lt;br /&gt;Advice on any additional troubleshooting files or strategies?&lt;br /&gt;&lt;br /&gt;Thank you!</summary>
    <dc:creator>Richard Yummy</dc:creator>
    <dc:date>2019-04-04T02:26:45Z</dc:date>
  </entry>
  <entry>
    <title>RE: Why am I seeing WARN:SLF4JLOGFactory on Shutdown 7.1.x</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112967206" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112967206</id>
    <updated>2019-04-03T07:51:10Z</updated>
    <published>2019-04-03T07:51:10Z</published>
    <summary type="html">I just tried this with a clean installation of Liferay Community Edition Portal 7.1.2 CE GA3 and I don&amp;#39;t see that warning.&lt;br /&gt;Do you have some of your own modules deployed? Could you check, if this still happens when you remove them?</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2019-04-03T07:51:10Z</dc:date>
  </entry>
  <entry>
    <title>Why am I seeing WARN:SLF4JLOGFactory on Shutdown 7.1.x</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112963229" />
    <author>
      <name>Richard Yummy</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112963229</id>
    <updated>2019-04-03T03:23:50Z</updated>
    <published>2019-04-03T03:23:50Z</published>
    <summary type="html">Full message from catalina.out is&lt;br /&gt;&lt;br /&gt;WARN: The method class org.apache.commons.logging.impl.SLF4JLogFactory#release() was invoked.&lt;br /&gt;WARN: Please see http://www.slf4j.org/codes.html#release for an explanation.&lt;br /&gt;&lt;br /&gt;I  did not see this with LP 7.0 but for the last two releases of LP 7.1.1 and 7.1.2. I have experienced the warnings as the last output and immediately after closing themes using shutdown.sh.&lt;br /&gt;&lt;br /&gt;I read the slf4j.org web site explaination, but hoped it had been fixed between 7.1.1 and 7.1.2.&lt;br /&gt;&lt;br /&gt;Any help in understanding what impact if any. Is it something I can fix?&lt;br /&gt;&lt;br /&gt;Thank you.</summary>
    <dc:creator>Richard Yummy</dc:creator>
    <dc:date>2019-04-03T03:23:50Z</dc:date>
  </entry>
</feed>
