<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.StileMessaggioDiPostaElettronica21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="IT" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi Richard,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">thank you for your quickly response. <o:p></o:p></p>
<p class="MsoNormal">We will move to 4.4 soon, we must first study some changes within our system, so for now we have taken this step.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We start Midpoint via . service, here our <b>-Dloader.path=</b><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img width="683" height="142" style="width:7.1145in;height:1.4791in" id="_x0000_i1030" src="cid:image001.png@01D85635.42C594D0"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you and regards,<o:p></o:p></p>
<p class="MsoNormal">Andrea<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="mso-fareast-language:IT">From:</span></b><span style="mso-fareast-language:IT"> midPoint <midpoint-bounces@lists.evolveum.com>
<b>On Behalf Of </b>Richard Richter via midPoint<br>
<b>Sent:</b> Thursday, April 21, 2022 7:24 PM<br>
<b>To:</b> midPoint General Discussion <midpoint@lists.evolveum.com><br>
<b>Cc:</b> Richard Richter <virgo@evolveum.com><br>
<b>Subject:</b> Re: [midPoint] Midpoint 4.3 - JDBC Driver is not found on classpath<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">Hi Andrea</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:IT"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">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:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">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.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">So my question is - how exactly are you starting your midpoint? Is it service or shell script? Please, check
<strong><span style="font-family:"Arial",sans-serif">midpoint.sh</span></strong> in the version you want to run and search for the start command and its
<strong><span style="font-family:"Arial",sans-serif">-Dloader.path=...</span></strong> argument in particular (and also how
<strong><span style="font-family:"Arial",sans-serif">-cp</span></strong> and <strong>
<span style="font-family:"Arial",sans-serif">PropertiesLauncher</span></strong> class name is used instead of simple
<strong><span style="font-family:"Arial",sans-serif">-jar</span></strong> argument).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">This was fixed in 4.4 and is automagically treated inside WAR again.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">Regards<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">Richard Richter<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">midPoint Developer<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">
<hr size="2" width="100%" align="center" id="zwchr">
</span></div>
<div>
<p class="MsoNormal"><b><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">From:
</span></b><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">"midPoint General Discussion" <<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>><br>
<b>To: </b>"midPoint General Discussion" <<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>><br>
<b>Cc: </b>"Andrea Picconi" <<a href="mailto:andrea.picconi@innovery.net">andrea.picconi@innovery.net</a>>, "Jacopo Giuliano" <<a href="mailto:jacopo.giuliano@innovery.net">jacopo.giuliano@innovery.net</a>><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<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:IT"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">I am having trouble trying to connect our Oracle database using the Database table connector v1.4.4.6.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">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:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><img border="0" width="475" height="91" style="width:4.9479in;height:.9479in" id="Immagine_x0020_3" src="cid:image003.png@01D85634.1DF87560"></span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Now the ojdbc8.jar file is placed it in the locations below:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="color:black">/opt/midpoint/var/lib/ojdbc8.jar</span></i><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="color:black"> </span></i><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="color:black">-------</span></i><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="color:black"> </span></i><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">This is our classPath:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><img border="0" width="510" height="31" style="width:5.3125in;height:.3229in" id="Immagine_x0020_4" src="cid:image004.png@01D85634.1DF87560"></span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="color:black"> </span></i><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="color:black"> </span></i><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">We also tried to change the permissions in the jar file to do more tests, besides restarting the service and the machines several times.<o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="color:black"> </span></i><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Any idea to resolve the problem?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Thank you and regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr>
<td width="104" rowspan="6" valign="top" style="width:77.75pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><img border="0" width="93" height="85" style="width:.9687in;height:.8854in" id="Immagine_x0020_1" src="cid:image005.jpg@01D85634.1DF87560"><o:p></o:p></p>
</td>
<td width="274" valign="top" style="width:205.5pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><b><span lang="EN-US" style="font-size:9.0pt;line-height:105%;font-family:"Open Sans",sans-serif;color:#336699">Andrea Picconi</span></b><o:p></o:p></p>
</td>
</tr>
<tr>
<td width="274" valign="top" style="width:205.5pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><span lang="EN-US" style="font-size:9.0pt;line-height:105%;font-family:"Open Sans",sans-serif;color:#A6A6A6">IAM Engineer</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td width="274" valign="top" style="width:205.5pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><span lang="EN-US" style="font-size:7.0pt;line-height:105%;font-family:"Open Sans",sans-serif;color:#336699">MAIL:
</span><span lang="EN-US"><a href="mailto:ANDREA.PICCONI@INNOVERY.NET" target="_blank"><span style="font-size:7.0pt;line-height:105%;font-family:"Open Sans",sans-serif;color:#0563C1">ANDREA.PICCONI@INNOVERY.NET</span></a></span><o:p></o:p></p>
</td>
</tr>
<tr>
<td width="274" valign="top" style="width:205.5pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><span lang="EN-US" style="font-size:7.0pt;line-height:105%;font-family:"Open Sans",sans-serif;color:#336699">PHONE:</span><span lang="EN-US" style="font-size:7.0pt;line-height:105%;font-family:"Open Sans",sans-serif">
+39 06 51963439 (ext. 196)</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td width="274" valign="top" style="width:205.5pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><span lang="EN-US" style="font-size:7.0pt;line-height:105%;font-family:"Open Sans",sans-serif;color:#336699">MOBILE:
</span><span lang="EN-US" style="font-size:7.0pt;line-height:105%;font-family:"Open Sans",sans-serif">-</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td width="274" valign="top" style="width:205.5pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><span lang="EN-US" style="font-size:7.0pt;line-height:105%;font-family:"Open Sans",sans-serif"> </span><o:p></o:p></p>
</td>
</tr>
<tr>
<td width="378" colspan="2" valign="top" style="width:283.25pt;padding:0cm 5.4pt 0cm 5.4pt">
<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"><span style="color:#0563C1">WWW.INNOVERY.NET</span></a></span><o:p></o:p></p>
</td>
</tr>
<tr>
<td width="378" colspan="2" valign="top" style="width:283.25pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal" style="line-height:105%"><span style="font-size:7.0pt;line-height:105%;font-family:"Open Sans",sans-serif;color:#A6A6A6">STRADA QUATTRO SNC, PAL A6</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td width="378" colspan="2" valign="top" style="width:283.25pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal" style="line-height:105%"><span style="font-size:7.0pt;line-height:105%;font-family:"Open Sans",sans-serif;color:#A6A6A6">CENTRO DIREZIONALE MILANOFIORI | 20057 ASSAGO (MI)</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td width="378" colspan="2" valign="top" style="width:283.25pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal" style="line-height:105%"><span style="font-size:5.0pt;line-height:105%"> </span><o:p></o:p></p>
</td>
</tr>
<tr>
<td width="378" colspan="2" valign="top" style="width:283.25pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal" style="line-height:105%"><img border="0" width="261" height="27" style="width:2.7187in;height:.2812in" id="Immagine_x0020_2" src="cid:image006.jpg@01D85634.1DF87560"><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:IT"><br>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></span></p>
</div>
</div>
</div>
</body>
</html>