<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hi Andrea<br></div><div><br data-mce-bogus="1"></div><div>I hope this transition is only to get to the 4.4, as 4.3 has become unsupported two weeks ago... but to your question:<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Broad problem: We use Spring Boot as the main framework for midPoint application. Here and there something changes in Spring Boot, or something changes in midPoint - and in MP 4.2 and 4.3 there was a bit of a mess around loading these additional libraries. This was taken care of by the provided scripts (midpoint.sh or start.sh) but not if you didn't use them.<br></div><div><br data-mce-bogus="1"></div><div>So my question is - how exactly are you starting your midpoint? Is it service or shell script? Please, check <strong>midpoint.sh</strong> in the version you want to run and search for the start command and its <strong>-Dloader.path=...</strong> argument in particular (and also how <strong>-cp</strong> and <strong>PropertiesLauncher</strong> class name is used instead of simple <strong>-jar</strong> argument).<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>This was fixed in 4.4 and is automagically treated inside WAR again.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Regards<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Richard Richter<br data-mce-bogus="1"></div><div>midPoint Developer<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"midPoint General Discussion" <midpoint@lists.evolveum.com><br><b>To: </b>"midPoint General Discussion" <midpoint@lists.evolveum.com><br><b>Cc: </b>"Andrea Picconi" <andrea.picconi@innovery.net>, "Jacopo Giuliano" <jacopo.giuliano@innovery.net><br><b>Sent: </b>Thursday, April 21, 2022 4:57:56 PM<br><b>Subject: </b>[midPoint] Midpoint 4.3 - JDBC Driver is not found on classpath<br></div><div><br><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Open Sans";
        panose-1:2 11 6 6 3 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.StileMessaggioDiPostaElettronica17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style></div><div data-marker="__QUOTED_TEXT__">
<div class="WordSection1">
<p class="MsoNormal">Hi all,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am having trouble trying to connect our Oracle database using the Database table connector v1.4.4.6.</p>
<p class="MsoNormal">We just upgraded from version 4.1 to 4.3 (going through the 4.2) leaving the /var folder unchanged, but now it appears at the time of the connection test, for every Oracle DB, this error:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><img style="width:4.9479in;height:0.9479in" id="Immagine_x0020_3" src="cid:image003.png@01D8559B.2B44A340" width="475" height="91"></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">While in 4.1 we had no problems with the ojdbc7.jar driver, in this new one we also tried to update it to 8, but always with the same result.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Now the ojdbc8.jar file is placed it in the locations below:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><i>/opt/midpoint/var/lib/ojdbc8.jar</i></p>
<p class="MsoNormal"><i> </i></p>
<p class="MsoNormal"><i>-------</i></p>
<p class="MsoNormal"><i> </i></p>
<p class="MsoNormal">This is our classPath:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><img style="width:5.3125in;height:0.3229in" id="Immagine_x0020_4" src="cid:image004.png@01D8559C.ACD551B0" width="510" height="31"></p>
<p class="MsoNormal"><i> </i></p>
<p class="MsoNormal"><i> </i></p>
<p class="MsoNormal">We also tried to change the permissions in the jar file to do more tests, besides restarting the service and the machines several times.</p>
<p class="MsoNormal"><i> </i></p>
<p class="MsoNormal">Any idea to resolve the problem?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thank you and regards,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<table class="MsoNormalTable" style="border-collapse:collapse" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td rowspan="6" style="width:77.75pt;padding:0cm 5.4pt 0cm 5.4pt" width="104" valign="top">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><img style="width:0.9687in;height:0.8854in" id="Immagine_x0020_1" src="cid:image001.jpg@01D85599.AB1A62A0" width="93" height="85"></p>
</td><td style="width:205.5pt;padding:0cm 5.4pt 0cm 5.4pt" width="274" valign="top">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><b><span style="font-size:9pt;line-height:105%;font-family:'open sans' , sans-serif;color:#336699" lang="EN-US">Andrea Picconi</span></b></p>
</td></tr><tr><td style="width:205.5pt;padding:0cm 5.4pt 0cm 5.4pt" width="274" valign="top">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><span style="font-size:9pt;line-height:105%;font-family:'open sans' , sans-serif;color:#a6a6a6" lang="EN-US">IAM Engineer</span></p>
</td></tr><tr><td style="width:205.5pt;padding:0cm 5.4pt 0cm 5.4pt" width="274" valign="top">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><span style="font-size:7pt;line-height:105%;font-family:'open sans' , sans-serif;color:#336699" lang="EN-US">MAIL:
</span><span lang="EN-US"><a href="mailto:ANDREA.PICCONI@INNOVERY.NET" target="_blank" rel="nofollow noopener noreferrer"><span style="font-size:7pt;line-height:105%;font-family:'open sans' , sans-serif;color:#0563c1">ANDREA.PICCONI@INNOVERY.NET</span></a></span><br data-mce-bogus="1"></p>
</td></tr><tr><td style="width:205.5pt;padding:0cm 5.4pt 0cm 5.4pt" width="274" valign="top">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><span style="font-size:7pt;line-height:105%;font-family:'open sans' , sans-serif;color:#336699" lang="EN-US">PHONE:</span><span style="font-size:7pt;line-height:105%;font-family:'open sans' , sans-serif" lang="EN-US">
 +39  06 51963439  (ext. 196)</span></p>
</td></tr><tr><td style="width:205.5pt;padding:0cm 5.4pt 0cm 5.4pt" width="274" valign="top">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><span style="font-size:7pt;line-height:105%;font-family:'open sans' , sans-serif;color:#336699" lang="EN-US">MOBILE:
</span><span style="font-size:7pt;line-height:105%;font-family:'open sans' , sans-serif" lang="EN-US">-</span></p>
</td></tr><tr><td style="width:205.5pt;padding:0cm 5.4pt 0cm 5.4pt" width="274" valign="top">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><span style="font-size:7pt;line-height:105%;font-family:'open sans' , sans-serif" lang="EN-US"> </span></p>
</td></tr><tr><td colspan="2" style="width:283.25pt;padding:0cm 5.4pt 0cm 5.4pt" width="378" valign="top">
<p class="MsoNormal" style="line-height:105%"><span style="font-size:6.5pt;line-height:105%;font-family:'open sans' , sans-serif;color:#336699"><a href="http://WWW.INNOVERY.NET" target="_blank" rel="nofollow noopener noreferrer"><span style="color:#0563c1">WWW.INNOVERY.NET</span></a></span><br data-mce-bogus="1"></p>
</td></tr><tr><td colspan="2" style="width:283.25pt;padding:0cm 5.4pt 0cm 5.4pt" width="378" valign="top">
<p class="MsoNormal" style="line-height:105%"><span style="font-size:7pt;line-height:105%;font-family:'open sans' , sans-serif;color:#a6a6a6">STRADA QUATTRO SNC, PAL A6</span></p>
</td></tr><tr><td colspan="2" style="width:283.25pt;padding:0cm 5.4pt 0cm 5.4pt" width="378" valign="top">
<p class="MsoNormal" style="line-height:105%"><span style="font-size:7pt;line-height:105%;font-family:'open sans' , sans-serif;color:#a6a6a6">CENTRO DIREZIONALE MILANOFIORI | 20057 ASSAGO (MI)</span></p>
</td></tr><tr><td colspan="2" style="width:283.25pt;padding:0cm 5.4pt 0cm 5.4pt" width="378" valign="top">
<p class="MsoNormal" style="line-height:105%"><span style="font-size:5pt;line-height:105%"> </span></p>
</td></tr><tr><td colspan="2" style="width:283.25pt;padding:0cm 5.4pt 0cm 5.4pt" width="378" valign="top">
<p class="MsoNormal" style="line-height:105%"><img style="width:2.7187in;height:0.2812in" id="Immagine_x0020_2" src="cid:image002.jpg@01D85599.AB1A62A0" width="261" height="27" border="0"></p>
</td></tr></tbody></table>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
</div>

<br>_______________________________________________<br>midPoint mailing list<br>midPoint@lists.evolveum.com<br>https://lists.evolveum.com/mailman/listinfo/midpoint<br></div></div></body></html>