<?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>Setting Up Liferay 7.4 CE with MariaDB and Connector to External Oracle DB</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122368251" />
  <subtitle>Setting Up Liferay 7.4 CE with MariaDB and Connector to External Oracle DB</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122368251</id>
  <updated>2026-04-06T02:08:36Z</updated>
  <dc:date>2026-04-06T02:08:36Z</dc:date>
  <entry>
    <title>RE: Setting Up Liferay 7.4 CE with MariaDB and Connector to External Oracle DB</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122369511" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122369511</id>
    <updated>2024-01-30T11:22:17Z</updated>
    <published>2024-01-30T11:22:16Z</published>
    <summary type="html">&lt;p&gt;To me, it would be infinitely more helpful if you mentioned what you
  specifically have done, and what the message was.&lt;/p&gt;
&lt;p&gt;Right now, you're listing a lot of resources, that would take me a
  couple of hours to follow - and then I might do something differently
  than you and succeed, which would give neither of us some insight.&lt;/p&gt;
&lt;p&gt;Ideally, please provide a (minimal) code example, that clarifies what
  you're trying to do - e.g. are you trying to connect ServiceBuilder to
  a secondary datasource? (likely: Won't work within CE, unless you
  specifically install custom Oracle Support)&lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2024-01-30T11:22:16Z</dc:date>
  </entry>
  <entry>
    <title>Setting Up Liferay 7.4 CE with MariaDB and Connector to External Oracle DB</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122368250" />
    <author>
      <name>Jonathan Tran</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122368250</id>
    <updated>2024-01-30T11:08:37Z</updated>
    <published>2024-01-29T17:56:06Z</published>
    <summary type="html">&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;We have been struggling for a couple weeks trying to set up Liferay
  7.4 CE with a default connection into MariaDB and a secondary external
  connection into Oracle DB. We have exhausted our the resources
  provided to us and are in need of some direction. Some of the
  resources include:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;
      &lt;a href="https://www.youtube.com/watch?v=7fojCjko7Ac"&gt;https://www.youtube.com/watch?v=7fojCjko7Ac&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;pkg:maven/it.dontesta.labs.liferay.portal.db/liferay-portal-database-all-in-one-support@1.2.3&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;
      &lt;a href="https://stackoverflow.com/questions/65273467/how-to-connect-liferay-7-2-ce-with-oracle-database-using-jndi"&gt;https://stackoverflow.com/questions/65273467/how-to-connect-liferay-7-2-ce-with-oracle-database-using-jndi&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;
      &lt;a href="https://www.slideshare.net/amusarra/liferay-portal-ce-74-come-configurare-oracle-database-19c-251027992"&gt;https://www.slideshare.net/amusarra/liferay-portal-ce-74-come-configurare-oracle-database-19c-251027992&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;
      &lt;a href="https://help.liferay.com/hc/en-us/articles/360032978851-Connecting-Service-Builder-to-an-External-Database"&gt;https://help.liferay.com/hc/en-us/articles/360032978851-Connecting-Service-Builder-to-an-External-Database&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;
      &lt;a href="https://liferay.dev/ask/questions/development/liferay-7-4-connect-to-external-db-with-service-builder-issue"&gt;https://liferay.dev/ask/questions/development/liferay-7-4-connect-to-external-db-with-service-builder-issue&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;
      &lt;a href="https://sourceforge.net/p/lportal/news/2021/10/connect-to-external-database-via-service-builder/"&gt;https://sourceforge.net/p/lportal/news/2021/10/connect-to-external-database-via-service-builder/&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We have gotten to the point where we have completed the context
  switching as we are using the tomcat context and server xmls to
  provide our connection strings. However, we are running into a wall
  when trying to connect as we get the following error: &lt;strong&gt;Cannot
    load JDBC driver class 'oracle.jdbc.OracleDriver'
    java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver cannot be found&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;The ojdbc8.jar file is located in the shielded-container-lib as well.&lt;br&gt;
  &lt;br&gt; Please advise.&lt;br&gt;
  &lt;br&gt; Version of Liferay: &lt;strong&gt;​​​​​​​liferay-ce-portal-7.4.3.100-ga100&lt;/strong&gt;
&lt;/p&gt;</summary>
    <dc:creator>Jonathan Tran</dc:creator>
    <dc:date>2024-01-29T17:56:06Z</dc:date>
  </entry>
</feed>
