<?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>Db2 connectivity issue with liferay 7.3</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121303306" />
  <subtitle>Db2 connectivity issue with liferay 7.3</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121303306</id>
  <updated>2026-04-05T17:28:30Z</updated>
  <dc:date>2026-04-05T17:28:30Z</dc:date>
  <entry>
    <title>RE: Db2 connectivity issue with liferay 7.3</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121340154" />
    <author>
      <name>Shiva Lingam K</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121340154</id>
    <updated>2022-01-24T07:00:43Z</updated>
    <published>2022-01-24T07:00:43Z</published>
    <summary type="html">&lt;p&gt;Hi, below is the answer which works.&lt;/p&gt;
&lt;p&gt;Add these properties in the portal-ext.properties file.&lt;/p&gt;
&lt;pre&gt;
module.framework.properties.org.osgi.framework.bootdelegation=\
        __redirected,\
        com.liferay.aspectj,\
        com.liferay.aspectj.*,\
        com.liferay.expando.kernel.model,\
        com.liferay.portal.servlet.delegate,\
        com.liferay.portal.servlet.delegate*,\
        com.sun.ccpp,\
        com.sun.ccpp.*,\
        com.sun.crypto.*,\
        com.sun.image.*,\
        com.sun.imageio.plugins.*,\
        com.sun.jmx.*,\
        com.sun.jna,\
        com.sun.jndi.*,\
        com.sun.mail.*,\
        com.sun.management.*,\
        com.sun.media.*,\
        com.sun.msv.*,\
        com.sun.org.*,\
        com.sun.syndication,\
        com.sun.tools.*,\
        com.sun.xml.*,\
        com.yourkit.*,\
        jdk.*,\
        sun.*,\
        weblogic.jndi,\
        weblogic.jndi.*,\
        com.ibm.*&lt;/pre&gt;</summary>
    <dc:creator>Shiva Lingam K</dc:creator>
    <dc:date>2022-01-24T07:00:43Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Db2 connectivity issue with liferay 7.3</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121314742" />
    <author>
      <name>Shiva Lingam K</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121314742</id>
    <updated>2022-01-03T06:49:59Z</updated>
    <published>2022-01-03T06:49:59Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using Liferay DXP (liferay-dxp-7.3.10.1-sp1). Getting the same
  issue mentioned below.&lt;/p&gt;
&lt;p&gt;java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Driver cannot be
  found by com.test.1.0.0.&lt;/p&gt;
&lt;p&gt;Could you please help me out to resolve this issue?&lt;/p&gt;
&lt;p&gt;Copied the below jars in tomcat/lib/ext folder.&lt;/p&gt;
&lt;p&gt;
  &lt;strong&gt;db2jcc4.jar&lt;br /&gt; db2jcc_license_cisuz.jar&lt;/strong&gt;&lt;/p&gt;</summary>
    <dc:creator>Shiva Lingam K</dc:creator>
    <dc:date>2022-01-03T06:49:59Z</dc:date>
  </entry>
  <entry>
    <title>RE: Db2 connectivity issue with liferay 7.3</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121303703" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121303703</id>
    <updated>2021-12-20T11:58:20Z</updated>
    <published>2021-12-20T11:58:20Z</published>
    <summary type="html">&lt;p&gt;Note: Liferay Portal 7.3 CE does not support DB2 at all - unless you
  use &lt;a href="https://www.dontesta.it/"&gt;Antonio Musarra&lt;/a&gt;'s
  extension. You'll need to do a bit more than just copying drivers -
  or, alternatively, consider using Liferay DXP, which supports DB2&lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2021-12-20T11:58:20Z</dc:date>
  </entry>
  <entry>
    <title>Db2 connectivity issue with liferay 7.3</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121303305" />
    <author>
      <name>Shiva Lingam K</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121303305</id>
    <updated>2021-12-20T08:10:25Z</updated>
    <published>2021-12-20T08:08:24Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I was unable to connect with the Db2
  server(com.ibm.db2.jcc4.DB2Driver) with Liferay 7.3 server.&lt;/p&gt;
&lt;p&gt;I added the below-mentioned jars in the LiferayHome/tomcat/lib/ext folder.&lt;/p&gt;
&lt;p&gt;When I deploy the code showing the below error.&lt;/p&gt;
&lt;p&gt;
  &lt;strong&gt;Error Occured While Getting the Connection: -
    java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Driver cannot
    be found by test_1.0.0&lt;br /&gt; java.lang.ClassNotFoundException:
    com.ibm.db2.jcc.DB2Driver cannot be found by test_1.0.0.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;img alt="" src="/documents/14/0/db2.jpg/ade4643c-e2fe-8820-53a1-62225e1f2e1b?t=1639987526768&amp;amp;imagePreview=1" /&gt;
  &lt;br /&gt;  &lt;/p&gt;
&lt;p&gt;db2.DAO.driver=com.ibm.db2.jcc.DB2Driver&lt;br /&gt;
  db2.DAO.dbURL=jdbc:db2://...&lt;br /&gt; db2.DAO.username=...&lt;br /&gt;
  db2.DAO.password=...&lt;br /&gt;  &lt;/p&gt;
&lt;p&gt;Please help me to resolve this issue.&lt;/p&gt;</summary>
    <dc:creator>Shiva Lingam K</dc:creator>
    <dc:date>2021-12-20T08:08:24Z</dc:date>
  </entry>
</feed>
