It's all about the answers!

Ask a question

How to upgrade RTC client on Eclipse 3.6 previously installed with p2 repo


SEC Servizi (97123760) | asked Sep 06 '17, 5:55 a.m.

We are going to upgrade our Rational Team Concert clients from v4.0 to v5.0 installed into Eclipse v3.6 and according to https://www.ibm.com/support/knowledgecenter/SSCP65_5.0.2/com.ibm.jazz.install.doc/topics/c_upgrade_client_vs_eclipse.html we have to uninstall the p2 installation before installing the new one:

If you previously installed the client into an Eclipse 3.5 or 3.6 installation with the Eclipse p2 provisioning system, you must uninstall the p2 installation before installing the Eclipse client.
The KB article does not list how to achieve this step...
We tried to uninstall the p2 installation removing the Rational Team Concert Client Feature from the Installed Software view, but then the Eclipse IDE crashes every time on startup:
!ENTRY org.eclipse.osgi 4 0 2017-09-06 11:53:44.949
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError: org.eclipse.core.resources.IContainer
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(Unknown Source)
at java.lang.J9VMInternals.initialize(Unknown Source)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
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(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)
at org.eclipse.equinox.launcher.Main.main(Unknown Source)
Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle org.eclipse.core.resources (1473).
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(Unknown Source)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Unknown Source)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(Unknown Source)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(Unknown Source)
at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(Unknown Source)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(Unknown Source)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Unknown Source)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Unknown Source)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 17 more
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.core.resources.ResourcesPlugin.start() of bundle org.eclipse.core.resources.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Unknown Source)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Unknown Source)
at org.eclipse.osgi.framework.util.SecureAction.start(Unknown Source)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(Unknown Source)
... 27 more
Caused by: java.lang.NullPointerException
at com.ibm.team.filesystem.client.internal.ManagedFileSystem.expandUri(Unknown Source)
at com.ibm.team.filesystem.client.internal.ManagedFileSystem.getStore(Unknown Source)
at org.eclipse.core.internal.filesystem.InternalFileSystemCore.getStore(Unknown Source)
at org.eclipse.core.filesystem.EFS.getStore(Unknown Source)
at org.eclipse.core.internal.localstore.FileStoreRoot.toLocalPath(Unknown Source)
at org.eclipse.core.internal.localstore.FileStoreRoot.<init>(Unknown Source)
at org.eclipse.core.internal.localstore.FileSystemResourceManager.setLocation(Unknown Source)
at org.eclipse.core.internal.localstore.FileSystemResourceManager.initializeStore(Unknown Source)
at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(Unknown Source)
at org.eclipse.core.internal.resources.SaveManager.restoreMetaInfo(Unknown Source)
at org.eclipse.core.internal.resources.SaveManager.restoreMetaInfo(Unknown Source)
at org.eclipse.core.internal.resources.SaveManager.restore(Unknown Source)
at org.eclipse.core.internal.resources.SaveManager.startup(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.startup(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.open(Unknown Source)
at org.eclipse.core.resources.ResourcesPlugin.start(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Unknown Source)
... 33 more
 Any advice?
Thanks in advance.
Cheers.

2 answers



permanent link
SEC Servizi (97123760) | answered Sep 06 '17, 6:02 a.m.
edited Sep 06 '17, 8:07 a.m.

If we upgrade the RTC clients simply installing the new p2 installation above the old one everything goes smoothly. So, this note on the KB article is valid only if you upgrade through IBM Installation Manager?

Thanks in advance.
Cheers.


permanent link
Arun K Sriramaiah (3.2k13277) | answered Oct 10 '17, 9:40 a.m.
edited Oct 10 '17, 10:07 a.m.

Hi,

As per the link below. If any other application (eg: RSA) as P2 installation installed on the RTC Base eclipse client, it should be uninstalled before the upgrade as per the RTC Eclipse client.

https://www.ibm.com/support/knowledgecenter/SSYMRC_5.0.2/com.ibm.jazz.install.doc/topics/c_upgrade_client_vs_eclipse.html

The application sepcific steps should be followed for P2 uninstallation.

Example: If RSA as P2 installation done on RTC eclipse client, you should be unistalling RSA before upgrading RTC eclipse client.

Regards,
Arun



Comments
SEC Servizi commented Oct 10 '17, 10:45 a.m.
Example: If RSA as P2 installation done on RTC eclipse client, you should be unistalling RSA before upgrading RTC eclipse client. 

Thank you for pointing that out, but that doesn't answer our question...

Cheers.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.