<?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>Stop log4j-1.2.17.jar from loading in \osgi\state</title>
  <link rel="self" href="https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121363765" />
  <subtitle>Stop log4j-1.2.17.jar from loading in \osgi\state</subtitle>
  <id>https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121363765</id>
  <updated>2026-10-15T11:35:49Z</updated>
  <dc:date>2026-10-15T11:35:49Z</dc:date>
  <entry>
    <title>RE: Stop log4j-1.2.17.jar from loading in \osgi\state</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121389496" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121389496</id>
    <updated>2022-04-01T08:07:29Z</updated>
    <published>2022-04-01T08:07:28Z</published>
    <summary type="html">&lt;p&gt;If the library exists in osgi/state, some module brings it. You
  &lt;em&gt;might&lt;/em&gt;​​​​​​​ look at osgi/state for informational purpose,
  but you &lt;em&gt;should not &lt;/em&gt;think on modifying anything &lt;em&gt;on that
  level&lt;/em&gt;. It's just a cache that the OSGi runtime has under control.&lt;/p&gt;
&lt;p&gt;Rather identify who brings it and fix that module.&lt;/p&gt;
&lt;p&gt;How? The lpkg files in osgi/marketplace are actually zip format, so
  you can open them with standard unzip and inspect them. Or locate the
  dependency in Liferay's source, where you likely can grep it.&lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2022-04-01T08:07:28Z</dc:date>
  </entry>
  <entry>
    <title>Stop log4j-1.2.17.jar from loading in \osgi\state</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121363764" />
    <author>
      <name>BRODY HIGGS JR</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121363764</id>
    <updated>2022-02-18T14:41:52Z</updated>
    <published>2022-02-18T14:41:51Z</published>
    <summary type="html">&lt;p&gt;LIferay 7.3.4GA5&lt;/p&gt;
&lt;p&gt;Which file in \osgi\ folder is allowing log4j-1.2.17.jar to load?  I
  noticed log4j-1.2.17.jar in this location and would like to stop it
  from loading in the state folder.  I know how to use
  \osgi\marketplace\override folder to load modified .jar files.  I
  wonder if I can do the same for this log4j-1.2.17.jar file.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;log4j location:   osgi\state\org.eclipse.osgi\2384\0\.cp\lib\log4j-1.2.17.jar&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>BRODY HIGGS JR</dc:creator>
    <dc:date>2022-02-18T14:41:51Z</dc:date>
  </entry>
</feed>
