<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error on Deployment in TAC in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-on-Deployment-in-TAC/m-p/2356507#M122011</link>
    <description>A follow up. I found the task in the table you mentioned. I had to update three columns in that table for that task. 
&lt;BR /&gt;status = 'READY_TO_RUN' 
&lt;BR /&gt;errorstatus= 'NO_ERROR' 
&lt;BR /&gt;processingstate = FALSE 
&lt;BR /&gt;By resetting these three columns for the task in question, I was able to regenerate and delploy successfully!! The job us running as I type. 
&lt;BR /&gt;Thanks again!!!</description>
    <pubDate>Fri, 09 Aug 2013 14:57:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-08-09T14:57:43Z</dc:date>
    <item>
      <title>Error on Deployment in TAC</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-on-Deployment-in-TAC/m-p/2356504#M122008</link>
      <description>I tested a change in TIS and it was successful. The same change was needed in four jobs. Made the changes then went to TAC so that I could generate the jobs again and then deploy. All for generated fine. Once the status was "Ready to Deploy", I clicked deploy on the first job and received a message that an unexpected error occurred. All the other jobs deployed fine. I am now stuck with a job that says "Requesting Deployment" as the status. I need to "unlock" that and get the job generated and deployed. When I try to do anything on this job, it can't because TAC thinks it is still trying to deploy. How do I get this unstuck??? 
&lt;BR /&gt;Here is the log: 
&lt;BR /&gt;!!!Cannot flush and commit transaction.!!! 
&lt;BR /&gt;org.talend.administrator.common.persistence.hibernate.HibernateTransactionHolder.commitWithFlush(HibernateTransactionHolder.java:116) 
&lt;BR /&gt;org.talend.administrator.common.persistence.hibernate.HibernateTransactionHolder.commitWithFlushAndBeginNewTransaction(HibernateTransactionHolder.java:190) 
&lt;BR /&gt;org.talend.administrator.scheduler.business.job.deploy.VirtualServerJobDeployer.sendAndDeploy(VirtualServerJobDeployer.java:110) 
&lt;BR /&gt;org.talend.administrator.scheduler.business.job.deploy.JobServerJobDeployerCached.sendAndDeploy(JobServerJobDeployerCached.java:44) 
&lt;BR /&gt;org.talend.administrator.scheduler.business.ExecutionTaskHandler.deployJobUnit(ExecutionTaskHandler.java:587) 
&lt;BR /&gt;org.talend.administrator.scheduler.business.ExecutionTaskHandler$2.run(ExecutionTaskHandler.java:445) 
&lt;BR /&gt;Caused by: Batch update returned unexpected row count from update ; actual row count: 0; expected: 1 
&lt;BR /&gt;org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched(Expectations.java:61) 
&lt;BR /&gt;org.hibernate.jdbc.Expectations$BasicExpectation.verifyOutcome(Expectations.java:46) 
&lt;BR /&gt;org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:68) 
&lt;BR /&gt;org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48) 
&lt;BR /&gt;org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242) 
&lt;BR /&gt;org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235) 
&lt;BR /&gt;org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140) 
&lt;BR /&gt;org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298) 
&lt;BR /&gt;org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) 
&lt;BR /&gt;org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) 
&lt;BR /&gt;org.talend.administrator.common.persistence.hibernate.HibernateTransactionHolder.commitWithFlush(HibernateTransactionHolder.java:108) 
&lt;BR /&gt;org.talend.administrator.common.persistence.hibernate.HibernateTransactionHolder.commitWithFlushAndBeginNewTransaction(HibernateTransactionHolder.java:190) 
&lt;BR /&gt;org.talend.administrator.scheduler.business.job.deploy.VirtualServerJobDeployer.sendAndDeploy(VirtualServerJobDeployer.java:110) 
&lt;BR /&gt;org.talend.administrator.scheduler.business.job.deploy.JobServerJobDeployerCached.sendAndDeploy(JobServerJobDeployerCached.java:44) 
&lt;BR /&gt;org.talend.administrator.scheduler.business.ExecutionTaskHandler.deployJobUnit(ExecutionTaskHandler.java:587) 
&lt;BR /&gt;org.talend.administrator.scheduler.business.ExecutionTaskHandler$2.run(ExecutionTaskHandler.java:445)</description>
      <pubDate>Wed, 07 Aug 2013 17:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-on-Deployment-in-TAC/m-p/2356504#M122008</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-07T17:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Deployment in TAC</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-on-Deployment-in-TAC/m-p/2356505#M122009</link>
      <description>Yes sometimes this happens, I know this problem but I was not able so far to find the trigger. 
&lt;BR /&gt;OK lets solve your problem: 
&lt;BR /&gt;Open the TAC database in a SQL tool. You find your task in the table executiontasks. You will find your task by the column label. 
&lt;BR /&gt;The state is a text field status change the content to READY_TO_DEPLOY and the column processingstate to 0 
&lt;BR /&gt;This way you unlock your task. I would recommend to open a enterprise ticket if this happens again. 
&lt;BR /&gt;Next: I would recommend NOT using the suggested H2SQL database because this is a file embedded database. I would suggest using a dedicated MySQL database for the TAC.</description>
      <pubDate>Wed, 07 Aug 2013 21:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-on-Deployment-in-TAC/m-p/2356505#M122009</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-07T21:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Deployment in TAC</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-on-Deployment-in-TAC/m-p/2356506#M122010</link>
      <description>Thank you for your response. We do use MySQL for our TAC database so hopefully, your solution will work for me. Incidentally, this is not the first occurrance so I did just open a ticket this morning to hopefully try and get it fixed for good. 
&lt;BR /&gt;Thanks again.</description>
      <pubDate>Fri, 09 Aug 2013 14:07:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-on-Deployment-in-TAC/m-p/2356506#M122010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-09T14:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Deployment in TAC</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-on-Deployment-in-TAC/m-p/2356507#M122011</link>
      <description>A follow up. I found the task in the table you mentioned. I had to update three columns in that table for that task. 
&lt;BR /&gt;status = 'READY_TO_RUN' 
&lt;BR /&gt;errorstatus= 'NO_ERROR' 
&lt;BR /&gt;processingstate = FALSE 
&lt;BR /&gt;By resetting these three columns for the task in question, I was able to regenerate and delploy successfully!! The job us running as I type. 
&lt;BR /&gt;Thanks again!!!</description>
      <pubDate>Fri, 09 Aug 2013 14:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-on-Deployment-in-TAC/m-p/2356507#M122011</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-09T14:57:43Z</dc:date>
    </item>
  </channel>
</rss>

