<?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>Liferay 7.4.1 and global classpath</title>
  <link rel="self" href="https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120838418" />
  <subtitle>Liferay 7.4.1 and global classpath</subtitle>
  <id>https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120838418</id>
  <updated>2026-10-15T11:35:52Z</updated>
  <dc:date>2026-10-15T11:35:52Z</dc:date>
  <entry>
    <title>RE: RE: Liferay 7.4.1 and global classpath</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121061118" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121061118</id>
    <updated>2021-08-20T09:09:55Z</updated>
    <published>2021-08-20T09:09:54Z</published>
    <summary type="html">&lt;p&gt;My answer is still there, but accepting it has put it back to
  invisible in the approval workflow. I'll leave it there as a demo for
  those who fix this kind of issues. It'll re-appear soon when someone
  approves it again.&lt;/p&gt;
&lt;p&gt;If anybody wonders what I answered until it re-appears:&lt;/p&gt;
&lt;div class="c-mt-2"&gt;
  &lt;div class="questions-article-body-121058915"&gt;
    &lt;div&gt;
      &lt;blockquote&gt;
        &lt;p&gt;${tomcat.home}/lib ?&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2021-08-20T09:09:54Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.4.1 and global classpath</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121060955" />
    <author>
      <name>Mikael Andersson</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121060955</id>
    <updated>2021-08-20T09:07:40Z</updated>
    <published>2021-08-20T09:04:59Z</published>
    <summary type="html">&lt;p&gt;Thanks Olaf. I saw your reply but for some reason it no more exists.&lt;/p&gt;
&lt;p&gt;[tomcat-home]/lib/ext had been removed
  from [tomcat-home]/conf/catalina.properties common.loader list in
  7.4.1 GA2. Putting mysql connector to [tomcat-home]/lib worked fine. I
  guess it is possible to add a custom directory to catalina.properties
  common.loader list to have addidional jar files separated from
  tomcat's ones but for now [tomcat-home]/lib is Ok for me.&lt;/p&gt;</summary>
    <dc:creator>Mikael Andersson</dc:creator>
    <dc:date>2021-08-20T09:04:59Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.4.1 and global classpath</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121058915" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121058915</id>
    <updated>2021-08-23T15:22:58Z</updated>
    <published>2021-08-19T08:45:03Z</published>
    <summary type="html">&lt;p&gt;${tomcat.home}/lib ?&lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2021-08-19T08:45:03Z</dc:date>
  </entry>
  <entry>
    <title>Liferay 7.4.1 and global classpath</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120838417" />
    <author>
      <name>Mikael Andersson</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120838417</id>
    <updated>2021-08-17T16:25:17Z</updated>
    <published>2021-06-21T10:42:08Z</published>
    <summary type="html">&lt;p&gt;I have been using mysql-connector by adding the JAR file to global
  classpath [tomcat-home]/lib/ext.&lt;/p&gt;
&lt;p&gt;Liferay 7.4.1 has moved all JARs from [tomcat-home]/lib/ext to
  [tomcat-home]/webapps/ROOT/WEB-INF/lib and [tomcat-home]/lib/ext no
  more exists.&lt;/p&gt;
&lt;p&gt;Any suggestions where I should put my mysql-connector? Deploying it
  into osgi/modules causes &lt;em&gt;SQLException: Cannot load JDBC driver
    class 'com.mysql.cj.jdbc.Driver'&lt;/em&gt; when a portlet tries to load
  the class.&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;</summary>
    <dc:creator>Mikael Andersson</dc:creator>
    <dc:date>2021-06-21T10:42:08Z</dc:date>
  </entry>
</feed>
