[resolved] TIS 5.1.1 : Could not generate jobs imported from SVN in TAC

One Star

[resolved] TIS 5.1.1 : Could not generate jobs imported from SVN in TAC

Hello,
I am using TIS 5.1.1. I tried to import projects from SVN into TAC, it worked OK. The projects in SVN were created with TIS 4.0.2. When I tried to generate the imported job in TAC, I received the error "Connection to Generator failed CommandLine)".
I have restarted CommandLine and deleted its folder "commandline-workspace", but it could not fix the issue.
Thanks a lot

Logs from CommandLine :
talend> listCommand -a
0 child of 4:COMPLETED InitRemoteCommand initRemote
1 child of 4:FAILED LogonProjectCommand log on MY_PROJECT(trunk)
2 child of 4:FAILED ExportJobCommand Calculate_MY_PROJECT context Default version 0.5
3 child of 4:FAILED LogoffProjectCommand log off
4:FAILED CommandGroupCommand Generate job for task 'Calculate_MY_PROJECT'
Error logs from TAC :
2012-09-17 12:03:51 ERROR JobGenerator - Failed to login to CommandLine : org.talend.commons.exception.PersistenceException: Cannot update a different project.
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.updateProject(SvnBaseRepositoryFactory.java:590)
at org.talend.repository.svnprovider.SvnRepositoryFactory.updateProjectDelegate(SvnRepositoryFactory.java:975)
at org.talend.repository.svnprovider.SvnRepositoryFactory.access$23(SvnRepositoryFactory.java:974)
at org.talend.repository.svnprovider.SvnRepositoryFactory$17.run(SvnRepositoryFactory.java:967)
at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:84)
at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:217)
at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:2751)
at org.talend.repository.svnprovider.SvnRepositoryFactory.executeRepositoryWorkUnit(SvnRepositoryFactory.java:401)
at org.talend.repository.svnprovider.SvnRepositoryFactory.updateProject(SvnRepositoryFactory.java:970)
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.handleTalendProject(SvnBaseRepositoryFactory.java:533)
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.beforeLogon(SvnBaseRepositoryFactory.java:282)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(RemoteRepositoryFactory.java:280)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(RemoteRepositoryFactory.java:231)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.beforeLogon(RemoteRepositoryFactory.java:197)
at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1703)
at org.talend.commandline.util.RepositoryHandler.logonProject(RepositoryHandler.java:70)
at org.talend.commandline.command.CommandProcessor.logonProject(CommandProcessor.java:125)
at org.talend.commandline.command.CommandProcessorSwitch.caseLogonProjectCommand(CommandProcessorSwitch.java:128)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:54)
at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:52)
at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:33)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139)
at java.lang.Thread.run(Thread.java:619)
org.talend.administrator.common.exception.SystemException: Failed to login to CommandLine : org.talend.commons.exception.PersistenceException: Cannot update a different project.
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.updateProject(SvnBaseRepositoryFactory.java:590)
at org.talend.repository.svnprovider.SvnRepositoryFactory.updateProjectDelegate(SvnRepositoryFactory.java:975)
at org.talend.repository.svnprovider.SvnRepositoryFactory.access$23(SvnRepositoryFactory.java:974)
at org.talend.repository.svnprovider.SvnRepositoryFactory$17.run(SvnRepositoryFactory.java:967)
at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:84)
at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:217)
at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:2751)
at org.talend.repository.svnprovider.SvnRepositoryFactory.executeRepositoryWorkUnit(SvnRepositoryFactory.java:401)
at org.talend.repository.svnprovider.SvnRepositoryFactory.updateProject(SvnRepositoryFactory.java:970)
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.handleTalendProject(SvnBaseRepositoryFactory.java:533)
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.beforeLogon(SvnBaseRepositoryFactory.java:282)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(RemoteRepositoryFactory.java:280)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(RemoteRepositoryFactory.java:231)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.beforeLogon(RemoteRepositoryFactory.java:197)
at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1703)
at org.talend.commandline.util.RepositoryHandler.logonProject(RepositoryHandler.java:70)
at org.talend.commandline.command.CommandProcessor.logonProject(CommandProcessor.java:125)
at org.talend.commandline.command.CommandProcessorSwitch.caseLogonProjectCommand(CommandProcessorSwitch.java:128)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:54)
at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:52)
at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:33)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139)
at java.lang.Thread.run(Thread.java:619)
at org.talend.administrator.commandline.CommandLineBean.executeGroupCommand(CommandLineBean.java:198)
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.executeGroupCommand(JobGenerator.java:267)
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.generate(JobGenerator.java:142)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.generateJobScriptUnit(ExecutionTaskHandler.java:363)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler$1.run(ExecutionTaskHandler.java:307)
Caused by: org.talend.commandline.client.command.CommandStatusWrapException: org.talend.commons.exception.PersistenceException: Cannot update a different project.
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.updateProject(SvnBaseRepositoryFactory.java:590)
at org.talend.repository.svnprovider.SvnRepositoryFactory.updateProjectDelegate(SvnRepositoryFactory.java:975)
at org.talend.repository.svnprovider.SvnRepositoryFactory.access$23(SvnRepositoryFactory.java:974)
at org.talend.repository.svnprovider.SvnRepositoryFactory$17.run(SvnRepositoryFactory.java:967)
at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:84)
at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:217)
at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:2751)
at org.talend.repository.svnprovider.SvnRepositoryFactory.executeRepositoryWorkUnit(SvnRepositoryFactory.java:401)
at org.talend.repository.svnprovider.SvnRepositoryFactory.updateProject(SvnRepositoryFactory.java:970)
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.handleTalendProject(SvnBaseRepositoryFactory.java:533)
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.beforeLogon(SvnBaseRepositoryFactory.java:282)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(RemoteRepositoryFactory.java:280)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(RemoteRepositoryFactory.java:231)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.beforeLogon(RemoteRepositoryFactory.java:197)
at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1703)
at org.talend.commandline.util.RepositoryHandler.logonProject(RepositoryHandler.java:70)
at org.talend.commandline.command.CommandProcessor.logonProject(CommandProcessor.java:125)
at org.talend.commandline.command.CommandProcessorSwitch.caseLogonProjectCommand(CommandProcessorSwitch.java:128)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:54)
at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:52)
at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:33)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139)
at java.lang.Thread.run(Thread.java:619)
2012-09-17 12:03:51 ERROR ExecutionTaskHandler - !!!Cannot flush and commit transaction.!!!
org.talend.administrator.common.exception.DBException: !!!Cannot flush and commit transaction.!!!
at org.talend.administrator.common.persistence.hibernate.HibernateTransactionHolder.commitWithFlush(HibernateTransactionHolder.java:116)
at org.talend.administrator.common.persistence.hibernate.HibernateTransactionHolder.commitAndClose(HibernateTransactionHolder.java:58)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.endTransaction(ExecutionTaskHandler.java:695)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.manageError(ExecutionTaskHandler.java:724)
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.generate(JobGenerator.java:214)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.generateJobScriptUnit(ExecutionTaskHandler.java:363)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler$1.run(ExecutionTaskHandler.java:307)
Caused by: org.hibernate.TransactionException: Transaction not successfully started
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:100)
at org.talend.administrator.common.persistence.hibernate.HibernateTransactionHolder.commitWithFlush(HibernateTransactionHolder.java:109)
... 6 more
2012-09-17 12:03:51 ERROR ExecutionTaskHandler - org.talend.administrator.common.exception.SystemException: Failed to login to CommandLine : org.talend.commons.exception.PersistenceException: Cannot update a different project.
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.updateProject(SvnBaseRepositoryFactory.java:590)
at org.talend.repository.svnprovider.SvnRepositoryFactory.updateProjectDelegate(SvnRepositoryFactory.java:975)
at org.talend.repository.svnprovider.SvnRepositoryFactory.access$23(SvnRepositoryFactory.java:974)
at org.talend.repository.svnprovider.SvnRepositoryFactory$17.run(SvnRepositoryFactory.java:967)
at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:84)
at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:217)
at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:2751)
at org.talend.repository.svnprovider.SvnRepositoryFactory.executeRepositoryWorkUnit(SvnRepositoryFactory.java:401)
at org.talend.repository.svnprovider.SvnRepositoryFactory.updateProject(SvnRepositoryFactory.java:970)
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.handleTalendProject(SvnBaseRepositoryFactory.java:533)
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.beforeLogon(SvnBaseRepositoryFactory.java:282)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(RemoteRepositoryFactory.java:280)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(RemoteRepositoryFactory.java:231)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.beforeLogon(RemoteRepositoryFactory.java:197)
at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1703)
at org.talend.commandline.util.RepositoryHandler.logonProject(RepositoryHandler.java:70)
at org.talend.commandline.command.CommandProcessor.logonProject(CommandProcessor.java:125)
at org.talend.commandline.command.CommandProcessorSwitch.caseLogonProjectCommand(CommandProcessorSwitch.java:128)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:54)
at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:52)
at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:33)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139)
at java.lang.Thread.run(Thread.java:619)
org.talend.administrator.common.exception.ProcessedException: org.talend.administrator.common.exception.SystemException: Failed to login to CommandLine : org.talend.commons.exception.PersistenceException: Cannot update a different project.
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.updateProject(SvnBaseRepositoryFactory.java:590)
at org.talend.repository.svnprovider.SvnRepositoryFactory.updateProjectDelegate(SvnRepositoryFactory.java:975)
at org.talend.repository.svnprovider.SvnRepositoryFactory.access$23(SvnRepositoryFactory.java:974)
at org.talend.repository.svnprovider.SvnRepositoryFactory$17.run(SvnRepositoryFactory.java:967)
at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:84)
at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:217)
at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:2751)
at org.talend.repository.svnprovider.SvnRepositoryFactory.executeRepositoryWorkUnit(SvnRepositoryFactory.java:401)
at org.talend.repository.svnprovider.SvnRepositoryFactory.updateProject(SvnRepositoryFactory.java:970)
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.handleTalendProject(SvnBaseRepositoryFactory.java:533)
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.beforeLogon(SvnBaseRepositoryFactory.java:282)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(RemoteRepositoryFactory.java:280)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(RemoteRepositoryFactory.java:231)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.beforeLogon(RemoteRepositoryFactory.java:197)
at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1703)
at org.talend.commandline.util.RepositoryHandler.logonProject(RepositoryHandler.java:70)
at org.talend.commandline.command.CommandProcessor.logonProject(CommandProcessor.java:125)
at org.talend.commandline.command.CommandProcessorSwitch.caseLogonProjectCommand(CommandProcessorSwitch.java:128)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:54)
at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:52)
at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:33)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139)
at java.lang.Thread.run(Thread.java:619)
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.generate(JobGenerator.java:200)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.generateJobScriptUnit(ExecutionTaskHandler.java:363)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler$1.run(ExecutionTaskHandler.java:307)
Caused by: org.talend.administrator.common.exception.SystemException: Failed to login to CommandLine : org.talend.commons.exception.PersistenceException: Cannot update a different project.
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.updateProject(SvnBaseRepositoryFactory.java:590)
at org.talend.repository.svnprovider.SvnRepositoryFactory.updateProjectDelegate(SvnRepositoryFactory.java:975)
at org.talend.repository.svnprovider.SvnRepositoryFactory.access$23(SvnRepositoryFactory.java:974)
at org.talend.repository.svnprovider.SvnRepositoryFactory$17.run(SvnRepositoryFactory.java:967)
at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:84)
at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:217)
at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:2751)
at org.talend.repository.svnprovider.SvnRepositoryFactory.executeRepositoryWorkUnit(SvnRepositoryFactory.java:401)
at org.talend.repository.svnprovider.SvnRepositoryFactory.updateProject(SvnRepositoryFactory.java:970)
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.handleTalendProject(SvnBaseRepositoryFactory.java:533)
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.beforeLogon(SvnBaseRepositoryFactory.java:282)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(RemoteRepositoryFactory.java:280)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(RemoteRepositoryFactory.java:231)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.beforeLogon(RemoteRepositoryFactory.java:197)
at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1703)
at org.talend.commandline.util.RepositoryHandler.logonProject(RepositoryHandler.java:70)
at org.talend.commandline.command.CommandProcessor.logonProject(CommandProcessor.java:125)
at org.talend.commandline.command.CommandProcessorSwitch.caseLogonProjectCommand(CommandProcessorSwitch.java:128)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:54)
at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:52)
at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:33)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139)
at java.lang.Thread.run(Thread.java:619)
at org.talend.administrator.commandline.CommandLineBean.executeGroupCommand(CommandLineBean.java:198)
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.executeGroupCommand(JobGenerator.java:267)
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.generate(JobGenerator.java:142)
... 2 more
Caused by: org.talend.commandline.client.command.CommandStatusWrapException: org.talend.commons.exception.PersistenceException: Cannot update a different project.
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.updateProject(SvnBaseRepositoryFactory.java:590)
at org.talend.repository.svnprovider.SvnRepositoryFactory.updateProjectDelegate(SvnRepositoryFactory.java:975)
at org.talend.repository.svnprovider.SvnRepositoryFactory.access$23(SvnRepositoryFactory.java:974)
at org.talend.repository.svnprovider.SvnRepositoryFactory$17.run(SvnRepositoryFactory.java:967)
at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:84)
at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:217)
at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:2751)
at org.talend.repository.svnprovider.SvnRepositoryFactory.executeRepositoryWorkUnit(SvnRepositoryFactory.java:401)
at org.talend.repository.svnprovider.SvnRepositoryFactory.updateProject(SvnRepositoryFactory.java:970)
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.handleTalendProject(SvnBaseRepositoryFactory.java:533)
at org.talend.repository.svnprovider.SvnBaseRepositoryFactory.beforeLogon(SvnBaseRepositoryFactory.java:282)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(RemoteRepositoryFactory.java:280)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(RemoteRepositoryFactory.java:231)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.beforeLogon(RemoteRepositoryFactory.java:197)
at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1703)
at org.talend.commandline.util.RepositoryHandler.logonProject(RepositoryHandler.java:70)
at org.talend.commandline.command.CommandProcessor.logonProject(CommandProcessor.java:125)
at org.talend.commandline.command.CommandProcessorSwitch.caseLogonProjectCommand(CommandProcessorSwitch.java:128)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:54)
at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:52)
at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:33)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139)
at java.lang.Thread.run(Thread.java:619)

Accepted Solutions
One Star

Re: [resolved] TIS 5.1.1 : Could not generate jobs imported from SVN in TAC

It was the problem of "Designer role", I added this role to the default admin user, it is working now.
Thank you very much.

All Replies
Community Manager

Re: [resolved] TIS 5.1.1 : Could not generate jobs imported from SVN in TAC

Hi
I am using TIS 5.1.1. I tried to import projects from SVN into TAC, it worked OK. The projects in SVN were created with TIS 4.0.2.

Have you followed the complete instructions to upgrade your product from v4.0.2 to v5.1.1? How do you migrate your project? I written down the detailed steps in the below topic, hope it can help you:
http://www.talendforge.org/forum/viewtopic.php?id=11873
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] TIS 5.1.1 : Could not generate jobs imported from SVN in TAC

Hello,
What I did is I installed completely TIS 5.1.1 (WebApp TAC + JobServer + CommandLine). This created a new TAC database. I created same user accounts as on TIS 4.0.2.
Then I import projects and jobs from existing SVN database, which is built under TIS 4.0.2.
Apparently the error I get when generating the job is due to the project locked, because for jobs with another project seem to be OK.
By the way, I have also proceeded the migration steps below from v4.0.2 to v5.1.1, but during TAC database migration, I got many errors, fatal errors and warnings. So I gave up this step.
1. Export SVN repostiory, and backup it
2. Export TAC database, and backup it
3. Install the new Talend Studio 5.1.1
4. Open the CommandLine, cd into the installation folder of Talend Studio 5.1.1
5. Execute the following command to upgrade TAC database from v4.0.2 to v5.1.1
./Talend-Studio-linux-gtk-x86 -nosplash -application org.talend.repository.TalendMigration -consoleLog -data migration-workspace jdbc:mysql://ip_address:3306/talend_administrator talend pwd

Thanks
Community Manager

Re: [resolved] TIS 5.1.1 : Could not generate jobs imported from SVN in TAC

Hi
You have to upgrade the TAC database, the database stores the information of users, projects, tasks, etc...
What's the error you got when upgrading the TAC database?
The URL of repository have been used in the old TAC database, if you create a new tac database and point to the same repository, you will get the exception "Cannot update a different project".
To fix the problem, you can choose one of the two ways:
1. Completely follows the migration instructions, upgrading the old TAC database and use this database as TAC database of v5.1.1.
or
2.1. Createa a new TAC.
2.2. Create a new SVN repository for TAC projects.
2.3. Open the remote project in Talend Studio, import all items from the backup projects.
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] TIS 5.1.1 : Could not generate jobs imported from SVN in TAC

Hello,
For the errors of TAC database migration, I did not save them to a backup file.
I will send you the log if I test this solution again.
At the moment, I am fixing the problem with steps of the second solution.
2.1. Createa a new TAC.
2.2. Create a new SVN repository for TAC projects.
2.3. Open the remote project in Talend Studio, import all items from the backup projects.
Do you have detail steps for 2.3 ?
What I did are :
2.3.1 Export projects from TIS Studio 4.0.2 to local ZIP files
2.3.2 Create empty projects within TAC 5.1.1
2.3.3 Connect to these empty projects with TIS Studio 5.1.1
At this stage, I think I did not find the way to import directly the exported ZIP files
Many thanks
Seven Stars

Re: [resolved] TIS 5.1.1 : Could not generate jobs imported from SVN in TAC

The import dialog in the studio allows you to choose your source as a filepath or a zip but you do not have to export from the previous version as you can import directly from the old workspace.
One Star

Re: [resolved] TIS 5.1.1 : Could not generate jobs imported from SVN in TAC

I created an empty project "TEST" in TAC 5.1.1. Then I connect to this project "TEST" from TIS Studio 5.1.1.
But the icon "Import" or from the menu is disable in TIS Studio. It seems that I can not do this action in the new TIS.
Please, check the pictures attached.
Thanks.
One Star

Re: [resolved] TIS 5.1.1 : Could not generate jobs imported from SVN in TAC

The problem is not fix yet, I can not still import jobs from TIS Studio 5.1.1, because the "import" funtion is disable. Do you have this problem or is this a bug?
Thanks
Community Manager

Re: [resolved] TIS 5.1.1 : Could not generate jobs imported from SVN in TAC

Hi
To import items, right click on 'Job' in Repository and select 'import items' option.
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] TIS 5.1.1 : Could not generate jobs imported from SVN in TAC

Hello,
I right click on "Job", but it doesn't happen anything.
The "Import items" is still disable Smiley Sad
Seven Stars

Re: [resolved] TIS 5.1.1 : Could not generate jobs imported from SVN in TAC

Project security changed in v4.1 (I think). Previously, if you had the administrator role in TAC you could modify any project. Now you have to also give yourself the designer role and add yourself to the project in the project authorizations; otherwise you have read-only access.
One Star

Re: [resolved] TIS 5.1.1 : Could not generate jobs imported from SVN in TAC

It was the problem of "Designer role", I added this role to the default admin user, it is working now.
Thank you very much.