[resolved] Moved Talend installation and Workspace : error on Startup

One Star

[resolved] Moved Talend installation and Workspace : error on Startup

Hello !
I'm using TOS for 2 months and have designed many jobs with it.
Now I have a new PC so I've copied my Talend installation's directory and my Workspace directory on my new disk.
My problem is that paths have changed (D: on my old PC and C: on my new PC) and when I startup Talend I've got the error "Workspace in use" because it try to connect to my old workspace on D:
So I tried to start it with -data option :
C:\...\TalendOpenStudio-win32-x86.exe -data C:/.../Workspace

but then I have the following error :
!SESSION 2010-01-12 14:04:23.031 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr
Command-line arguments: -os win32 -ws win32 -arch x86 -data C:/Outils/Produit/TOS-All-r31371-V3.2.1/workspace
!ENTRY org.eclipse.osgi 4 0 2010-01-12 14:04:30.250
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Cannot change the location once it is set.
at org.eclipse.core.runtime.internal.adaptor.BasicLocation.set(BasicLocation.java:130)
at org.eclipse.core.runtime.internal.adaptor.BasicLocation.setURL(BasicLocation.java:122)
at org.talend.rcp.intro.Application.acquireWorkspaceLock(Unknown Source)
at org.talend.rcp.intro.Application.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
!ENTRY org.eclipse.osgi 2 0 2010-01-12 14:04:30.546
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-01-12 14:04:30.546
!MESSAGE Bundle update@plugins/org.eclipse.equinox.log.nl_es_3.4.0.v20090315043401.jar was not resolved.
...
...
...
And lots of other JAR that are not resolved... ;)

I don't really understand the meaning of this error.
My environment on old and new PC : Windows XP / TOS 3.2.1 / Language : Java.
Is there a way to say Talend his HOME and Workspace have changed ?
Thank you,
Aurélie

Accepted Solutions
One Star

Re: [resolved] Moved Talend installation and Workspace : error on Startup

Hello !
I exported my project and import it in my new TOS : now I can open my project and run my jobs. Great !
I don't know why I didn't think about it : I've done this work many times on my old machine to move my project to another workspace. I was looking for an Eclipse solution and forgot there could be a Talend solution...
Thank you !
Best regards,
Aurélie

All Replies
Community Manager

Re: [resolved] Moved Talend installation and Workspace : error on Startup

Hello
Now I have a new PC so I've copied my Talend installation's directory and my Workspace directory on my new disk.

To migrate the workspace to another machine, simple follows the steps:
1)Reinstall a new Talend Open Studio on the new PC, copy the workspace and move it to the new PC.
2)Create a new connecion and choose the workspace when you starp up the Talend Open Studio for the first time.
Best regards
shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] Moved Talend installation and Workspace : error on Startup

Thank you for your reply.
In fact I would like not to reinstall TOS because it is configure with all my workspaces and I have installed new components.
I thought I could do like Eclipse : move my directory, change some classpath variables and everythings run as before.
But if there is no way to do so, I will reinstall TOS and my components, and then connect it to my workspace as you said.
Thank you,
Aurélie
One Star

Re: [resolved] Moved Talend installation and Workspace : error on Startup

Hello,
I tried to reinstall but an error occure when I open my project.
"Generation Engine Initialization in progress..." fails with the error : "Components compile fail" (as shown in the attached file).
My environment is : Windows XP / TOS 3.2.1 / Language : Java / JVM 1.6
The error occurs on a new TOS without any external component and it is the same when I add new components. I don't know what happen. I tried to reinstall many times as recommanded in 7405 but it still doesn't work. I didn't try to redownload because the new version is different from mine (3.2.3 vs 3.2.1).
Thank you in advance,
Aurélie
One Star

Re: [resolved] Moved Talend installation and Workspace : error on Startup

Image was too big. This is the error I can see.
Community Manager

Re: [resolved] Moved Talend installation and Workspace : error on Startup

Hello
"Generation Engine Initialization in progress..." fails with the error : "Components compile fail"

As the error message shows, there are some components compile fail, check if you have installed some external component, if not, check if you unzip the archieve file completely.
I didn't try to redownload because the new version is different from mine (3.2.3 vs 3.2.1).

Talend product is forward compatible, that means the project/job created on old version of TOS could run fine on new version of TOS.
Best regards

shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] Moved Talend installation and Workspace : error on Startup

This is a part of the error in my log file :
!ENTRY org.talend.designer.codegen 4 0 2010-01-13 17:01:22.312
!MESSAGE erreur de Compilation des composants:
resources/header.javajet,
resources/footer.javajet,
resources/context.javajet,
resources/subprocess_header.javajet,
resources/subprocess_footer.javajet,
resources/subtree_begin.javajet,
resources/subtree_end.javajet,
resources/close_blocks_code.javajet,
resources/component_part_header.javajet,
resources/component_part_footer.javajet,
resources/component_part_endmain.javajet,
resources/footer_process_info.javajet,
resources/iterate_subprocess_header.javajet,
resources/iterate_subprocess_footer.javajet,
resources/default_template.javajet,
components/tAccessInput/tAccessInput_begin.javajet,
components/tAccessInput/tAccessInput_end.javajet,
components/tAccessOutput/tAccessOutput_main.javajet,
components/tAccessOutput/tAccessOutput_begin.javajet,
components/tAccessOutput/tAccessOutput_end.javajet,
components/tAccessRow/tAccessRow_main.javajet,
components/tAccessRow/tAccessRow_begin.javajet,
components/tAccessRow/tAccessRow_end.javajet,
components/tAddCRCRow/tAddCRCRow_main.javajet,
components/tAddCRCRow/tAddCRCRow_begin.javajet,
components/tAddCRCRow/tAddCRCRow_end.javajet,
components/tAddLocationFromIP/tAddLocationFromIP_main.javajet,
components/tAddLocationFromIP/tAddLocationFromIP_begin.javajet,
components/tAddLocationFromIP/tAddLocationFromIP_end.javajet,
components/tAdvancedFileOutputXML/tAdvancedFileOutputXML_main.javajet,
components/tAdvancedFileOutputXML/tAdvancedFileOutputXML_begin.javajet,
components/tAdvancedFileOutputXML/tAdvancedFileOutputXML_end.javajet,
components/tAdvancedHash/tAdvancedHash_main.javajet,
components/tAdvancedHash/tAdvancedHash_begin.javajet,
components/tAdvancedHash/tAdvancedHash_end.javajet,
components/tAggregateIn/tAggregateIn_main.javajet,
components/tAggregateIn/tAggregateIn_begin.javajet,
components/tAggregateIn/tAggregateIn_end.javajet,
components/tAggregateOut/tAggregateOut_main.javajet,
...
...
etc with all my components.
Best regards,
Aurélie
One Star

Re: [resolved] Moved Talend installation and Workspace : error on Startup

Hello,
I tried to install a new version (3.2.3) but I still have the error.
I didn't add any external component and opened the demo project in my old workspace : I have the same error. But when I generate the new version's demo project in a new workspace, I can open it without any error.
Best regards,
Aurélie
Community Manager

Re: [resolved] Moved Talend installation and Workspace : error on Startup

Hello
I didn't add any external component and opened the demo project in my old workspace : I have the same error.

You have better to export the projects within old version of TOS(see pics), and then import them in the new version of TOS.
Best regards

shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] Moved Talend installation and Workspace : error on Startup

Hello !
I exported my project and import it in my new TOS : now I can open my project and run my jobs. Great !
I don't know why I didn't think about it : I've done this work many times on my old machine to move my project to another workspace. I was looking for an Eclipse solution and forgot there could be a Talend solution...
Thank you !
Best regards,
Aurélie