<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello Eric,</p>
<p>you can put the driver into the <i>lib</i> directory of the
midPoint home.</p>
<p>Like here: <a moz-do-not-send="true"
href="https://spaces.at.internet2.edu/display/MID/External+repository+demo">https://spaces.at.internet2.edu/display/MID/External+repository+demo</a>
(this is a part of the <a moz-do-not-send="true"
href="https://spaces.at.internet2.edu/display/MID/Dockerized+midPoint">TIER
midPoint dockerization</a>).</p>
<p>Note that some of the featured described there are specific to
upcoming 3.9 version, but this driver placement should work for
3.8 as well.<br>
</p>
<p>Best regards,<br>
</p>
<pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
<div class="moz-cite-prefix">On 16.10.2018 18:41, Solberg, Eric
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:747D5140-9BDC-4CCF-B1FB-F6D5B6DCBC93@solberg.com">
<pre wrap="">I've been playing with the Midpoint demo and now want to get a real installation set up.
I'm using Google Cloud Platform and have made the demo work in a VM on the compute engine, and in a Kubernetes cluster. I've made both the binary install and the Docker install work. All good there.
The instructions seem to be incomplete or unclear on installation of the MySQL driver. Where to put the driver so it is on the class path? Or how to modify the classpath to include it? After a lot of trial and error, the approach I found that worked was to add the driver jar to midpoint.war - and specifically adding it without compression (0 flag), using this command:
jar uf0 ${MP_DIR}/lib/midpoint.war WEB-INF/lib/mysql-connector-java-8.0.12.jar
This seems to have worked (though I'm having another issue I'll ask about separately).
Is there a better way?
_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
</body>
</html>