Db2 connectivity issue with liferay 7.3Db2 connectivity issue with liferay 7.3https://liferay.dev/c/message_boards/find_thread?p_l_id=119785333&threadId=1213033062024-03-29T13:35:38Z2024-03-29T13:35:38ZRE: Db2 connectivity issue with liferay 7.3Shiva Lingam Khttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1213401542022-01-24T07:00:43Z2022-01-24T07:00:43Z<p>Hi, below is the answer which works.</p>
<p>Add these properties in the portal-ext.properties file.</p>
<pre>
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.*</pre>Shiva Lingam K2022-01-24T07:00:43ZRE: RE: Db2 connectivity issue with liferay 7.3Shiva Lingam Khttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1213147422022-01-03T06:49:59Z2022-01-03T06:49:59Z<p>Hi,</p>
<p>I am using Liferay DXP (liferay-dxp-7.3.10.1-sp1). Getting the same
issue mentioned below.</p>
<p>java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Driver cannot be
found by com.test.1.0.0.</p>
<p>Could you please help me out to resolve this issue?</p>
<p>Copied the below jars in tomcat/lib/ext folder.</p>
<p>
<strong>db2jcc4.jar<br /> db2jcc_license_cisuz.jar</strong></p>Shiva Lingam K2022-01-03T06:49:59ZRE: Db2 connectivity issue with liferay 7.3Olaf Kockhttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1213037032021-12-20T11:58:20Z2021-12-20T11:58:20Z<p>Note: Liferay Portal 7.3 CE does not support DB2 at all - unless you
use <a href="https://www.dontesta.it/">Antonio Musarra</a>'s
extension. You'll need to do a bit more than just copying drivers -
or, alternatively, consider using Liferay DXP, which supports DB2</p>Olaf Kock2021-12-20T11:58:20ZDb2 connectivity issue with liferay 7.3Shiva Lingam Khttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1213033052021-12-20T08:10:25Z2021-12-20T08:08:24Z<p>Hi,</p>
<p>I was unable to connect with the Db2
server(com.ibm.db2.jcc4.DB2Driver) with Liferay 7.3 server.</p>
<p>I added the below-mentioned jars in the LiferayHome/tomcat/lib/ext folder.</p>
<p>When I deploy the code showing the below error.</p>
<p>
<strong>Error Occured While Getting the Connection: -
java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Driver cannot
be found by test_1.0.0<br /> java.lang.ClassNotFoundException:
com.ibm.db2.jcc.DB2Driver cannot be found by test_1.0.0.</strong></p>
<p>
<img alt="" src="/documents/14/0/db2.jpg/ade4643c-e2fe-8820-53a1-62225e1f2e1b?t=1639987526768&imagePreview=1" />
<br /> </p>
<p>db2.DAO.driver=com.ibm.db2.jcc.DB2Driver<br />
db2.DAO.dbURL=jdbc:db2://...<br /> db2.DAO.username=...<br />
db2.DAO.password=...<br /> </p>
<p>Pleas