<div dir="ltr">The CHANGE_LOG is generated in the VIEW by using to_char(SYSDATE), so it's VARCHAR2.<div><br></div><div>Thanks</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b><span></span><span></span>Ing. Martín Marchese</b><br><img src="http://www.identicum.com/img/favicon.ico">Identicum S.A.<br>Jorge Newbery 3226<br>Tel: +54 (11) 4552-3050<br><a href="mailto:mmarchese@identicum.com" target="_blank">mmarchese@identicum.com</a><br><a href="http://www.identicum.com" target="_blank">www.identicum.com</a></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Aug 24, 2016 at 1:28 PM, Ivan Noris <span dir="ltr"><<a href="mailto:Ivan.Noris@evolveum.com" target="_blank">Ivan.Noris@evolveum.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000"><div>Hi Martin,<br></div><div>this looks strange, as it is Oracle error...what is the CHANGE_LOG type in your database?<br></div><div>Ivan<br></div><div><br></div><hr><blockquote style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><span class=""><b>From: </b>"Martin Marchese" <<a href="mailto:mmarchese@identicum.com" target="_blank">mmarchese@identicum.com</a>><br><b>To: </b>"midPoint General Discussion" <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>><br></span><b>Sent: </b>Wednesday, August 24, 2016 5:34:38 PM<br><b>Subject: </b>Re: [midPoint] Live Synchronization Task not Syncing<div><div class="h5"><br><div><br></div><div dir="ltr">Pálos / Ivan<br><div><br></div>Thanks both for the help, unfortunately I had no luck yet.<div><br></div><div>First I'd like to state that I'm using a VIEW and not a TABLE.</div><div><br></div><div>I tried restarting midpoint, since I did change the database, but still no luck.</div><div><br></div><div>I had the CHANGE_LOG column but it had not had any value, so to start testing I added the to_char(<span>SYSDATE</span>) into that column. Now I'm receiving the following errors:</div><div><br></div><div><br></div><div><div><i><span style="font-size:xx-small" size="1">Internal Error: DB error: java.<span>sql</span>.<span>SQLException</span>(ORA-<wbr>01722: invalid number?)   </span></i></div><div><i><span style="font-size:xx-small" size="1">Operation</span></i></div><div><i><span style="font-size:xx-small" size="1"><a href="http://operation.com" target="_blank">operation.com</a>.<span>evolveum</span>.<wbr>midpoint.common.operation.<span>live<wbr>Sync</span></span></i></div><div><i><span style="font-size:xx-small" size="1">Message</span></i></div><div><i><span style="font-size:xx-small" size="1">Internal Error: DB error: java.<span>sql</span>.<span>SQLException</span>(ORA-<wbr>01722: invalid number?)</span></i></div><div><i><span style="font-size:xx-small" size="1"> Synchronization error: generic connector framework error: DB error: java.<span>sql</span>.<span>SQLException</span>(ORA-<wbr>01722: invalid number?)   </span></i></div><div><i><span style="font-size:xx-small" size="1">Operation</span></i></div><div><i><span style="font-size:xx-small" size="1"><a href="http://operation.com" target="_blank">operation.com</a>.<span>evolveum</span>.<wbr>midpoint.provisioning.api.<span>Prov<wbr>isioningService</span>.synchronize</span></i></div><div><i><span style="font-size:xx-small" size="1">Message</span></i></div><div><i><span style="font-size:xx-small" size="1">Synchronization error: generic connector framework error: DB error: java.<span>sql</span>.<span>SQLException</span>(ORA-<wbr>01722: invalid number?)</span></i></div><div><i><span style="font-size:xx-small" size="1">Parameters</span></i></div><div><i><span style="font-size:xx-small" size="1"><span>oid</span><span style="white-space:pre-wrap"> </span><span>javax</span>.<span>xml</span>.bind.<span>JAXBElement</span>@<wbr>a039fa4</span></i></div><div><i><span style="font-size:xx-small" size="1">task<span style="white-space:pre-wrap"> </span><span>javax</span>.<span>xml</span>.bind.<span>JAXBElement</span>@<wbr>5cd8d164</span></i></div></div><div><br></div><div><br></div><div>Any thoughts on this?</div><div><br></div><div>Also, I'm working on getting the resource and task XML so I can send it over this thread.</div><div><br></div><div>Thanks in advance</div><div><br></div><div> </div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b><span></span><span></span>Ing. Martín Marchese</b><br><img src="http://www.identicum.com/img/favicon.ico">Identicum S.A.<br>Jorge Newbery 3226<br>Tel: +54 (11) 4552-3050<br><a href="mailto:mmarchese@identicum.com" target="_blank">mmarchese@identicum.com</a><br><a href="http://www.identicum.com" target="_blank">www.identicum.com</a><br></div></div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote">On Tue, Aug 23, 2016 at 4:54 PM, Ivan Noris <span dir="ltr"><<a href="mailto:Ivan.Noris@evolveum.com" target="_blank">Ivan.Noris@evolveum.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000"><div>Martin,<br></div><div>can you check the Task in the repository, if there is a "token" element (don't remember the exact name as I don't have mp handy now) in the task extension? There should be date/time of the last modification from DB.<br></div><div><br></div><div>What comes to my mind: have you recently changed the structure of  the table? I mean, adding or removing columns after you have configured the resource? I remember to have this <a href="https://jira.evolveum.com/browse/MID-2046" target="_blank">https://jira.evolveum.com/<wbr>browse/MID-2046</a> when I was playing with DBT connector and have added the "timestamp" column after the connection from mp to DB was already made... (Restarting either midpoint or the database to break the connection and restore it using Test connection helped).<br></div><div><br></div><div>But it is just a guess now.<br></div><div><br></div><div>Regards,<br></div><div>Ivan<br></div><div><br></div><hr><blockquote style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><b>From: </b>"Martin Marchese" <<a href="mailto:mmarchese@identicum.com" target="_blank">mmarchese@identicum.com</a>><br><b>To: </b>"midPoint General Discussion" <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>><br><b>Sent: </b>Tuesday, August 23, 2016 9:28:25 PM<br><b>Subject: </b>[midPoint] Live Synchronization Task not Syncing<div><div><br><div><br></div><div dir="ltr">Hi all,<div><br></div><div>I'm working with a DatabaseTable connector which has a LiveSync task assigned in order to sync users from the table into MidPoint and it's inbound mappings for each attribute set up.</div><div><br></div><div>However, whenever I create a new user in the database table it does not sync into MidPoint even if the task is running. The only way I can create the user in MidPoint is manually importing it thru the Resource.</div><div><br></div><div>Besides, once the user is created, the modifications that I do within the databse table, never sync into MidPoint.</div><div><br></div><div>An INFO level log shows no error nor warnings.</div><div><br></div><div>Is there any thing that needs to be enabled within the resource/task in order to do this?</div><div><br></div><div>Thanks<br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b><span></span><span></span>Ing. Martín Marchese</b><br><img src="http://www.identicum.com/img/favicon.ico">Identicum S.A.<br>Jorge Newbery 3226<br>Tel: +54 (11) 4552-3050<br><a href="mailto:mmarchese@identicum.com" target="_blank">mmarchese@identicum.com</a><br><a href="http://www.identicum.com" target="_blank">www.identicum.com</a><br></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><span>______________________________<wbr>_________________<br>midPoint mailing list<br><a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br><a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br></span></blockquote><div><br><div><br></div></div><div><br></div><div>-- <br></div><div><span></span>Ivan Noris<br>Senior Identity Engineer<br><a href="http://evolveum.com" target="_blank">evolveum.com</a><span></span><br></div></div></div><br>______________________________<wbr>_________________<br> midPoint mailing list<br> <a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br> <a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br> <br></blockquote></div><br></div><br>______________________________<wbr>_________________<br>midPoint mailing list<br><a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br><a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br></div></div></blockquote><div><div class="h5"><div><br><br></div><div><br></div><div>-- <br></div><div><span name="x"></span>Ivan Noris<br>Senior Identity Engineer<br><a href="http://evolveum.com" target="_blank">evolveum.com</a><span name="x"></span><br></div></div></div></div></div><br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
<br></blockquote></div><br></div>