Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Do we still support Equinox p2 repo for Eclipse 3.6.2 with RTC 4.0.5?

Hi, I am having problems installing RTC Client 4.0.5 Client p2 repo on top of a Eclipse 3.6.2 which I think stills being supported as IDE platform.

After installing it, Eclipse won't start any more and .log file has some NoSuchMethodErrors which I think are caused because the plug-ins installed are trying to use Eclipse 4.x new APIs

I didn't find any documented issue or change in the Release Notes. Any help?

This is the .log content after a clean installation:

!SESSION 2014-01-29 20:28:32.245 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2014-01-29 20:29:07.048
!MESSAGE An error occurred while automatically activating bundle org.eclipse.core.resources (535).
!STACK 0
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(BundleContextImpl.java:806)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
    at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:466)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:116)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    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:369)
    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:620)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
Caused by: java.lang.NoSuchMethodError: org.eclipse.core.internal.preferences.PreferencesService.getDefaultDefaultLookupOrder()[Ljava/lang/String;
    at org.eclipse.core.resources.ResourcesPlugin.initializePreferenceLookupOrder(ResourcesPlugin.java:422)
    at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:409)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
    ... 29 more
Root exception:
java.lang.NoSuchMethodError: org.eclipse.core.internal.preferences.PreferencesService.getDefaultDefaultLookupOrder()[Ljava/lang/String;
    at org.eclipse.core.resources.ResourcesPlugin.initializePreferenceLookupOrder(ResourcesPlugin.java:422)
    at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:409)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
    at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:466)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:116)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    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:369)
    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:620)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

!ENTRY org.eclipse.osgi 4 0 2014-01-29 20:29:07.080
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError: org/eclipse/core/resources/IContainer
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:116)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    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:369)
    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:620)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle org.eclipse.core.resources (535).
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:121)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
    at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:466)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 14 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(BundleContextImpl.java:806)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
    ... 23 more
Caused by: java.lang.NoSuchMethodError: org.eclipse.core.internal.preferences.PreferencesService.getDefaultDefaultLookupOrder()[Ljava/lang/String;
    at org.eclipse.core.resources.ResourcesPlugin.initializePreferenceLookupOrder(ResourcesPlugin.java:422)
    at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:409)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
    ... 29 more

1

1 vote


Accepted answer

Permanent link
Hi Jose,

You need to download a fix from IBM Fix Central.
The detailed steps on preparing Eclipse 3.6.2 can be found at:
Install RTC Eclipse Client 4.0 into an existing Eclipse 3.6.2 using Installation Manager

This is still valid for p2 installation.

Jose Miguel Ordax Cassa selected this answer as the correct answer

2 votes

Comments

I have already tried it. That works! Jose, please try it.

Great. I installed successfully RTC Client 4.0.5 p2 repo on top of Eclipse 3.6.2 for Java EE installing on top of it first:
- Eclipse Modeling Framework SDK Update (EMF) 2.6.1
- Fix pack : 4.0.0.0-Rational-RTC-Eclipse-IDE-groupfixpack

Note: I haven't tested using Installation Manager because it was not our requirement.


2 other answers

Permanent link
3.6.2.3 is supported:
https://jazz.net/wiki/bin/view/Deployment/CLMSystemRequirements#B4_Eclipse_IDE_RTC_Eclipse_Clien
*but* the generic version downloadable from eclipse.org is not supported (never was). You need to first apply the IES patches on Eclipse. That's why the wiki document says "IES 3.6.2.3 is bundled with the RTC client".

I believe this particular error is caused by the lack of IES fixes.

0 votes


Permanent link
Hi Jose,
Piotr is right.
Anyway I have used Eclipse JEE with RTC client. It is possible that you have already tried to install couple of additional IES patches which caused that issue. Could you please try installing RTC on fresh Eclipse JEE with Eclipse Modeling Framework SDK Update as mentioned in the following technote: https://www-304.ibm.com/support/docview.wss?rs=3488&uid=swg21502374&wv=1 (please notice that this configuration should work but will be supported on best effort basis) ?
Let us know if that helps.

0 votes

Comments

Hi Krzysztof. Thanks for the suggestion...
I already tested that option (I remembered from RTC 3.0.x time those steps). But instaling Eclipse for Java EE 3.6.2, EMF SDK 2.6.1 and RTC Client 4.0.5 p2 repo still showing exactly the same log: NoSuchMethodErrors.
I think the EMF SDK stuff was related to a dependencies issue when trying to install. But this is more related to Eclipse APIs so I suspect more in the version (bits).

Hi Piotr, is there any public site where we can get IBM Eclipse SDK 3.6.2.3 or the patches to be installed on top of a Eclipse SDK to convert it in IBM Eclipse SDK?

Thanks for all the suggestions....

There is, and I will let you know as soon as I find it, which may be not before today afternoon.

Hi, we have tested the RTC 4.0.5 p2 bits with an standard Eclipse 4.2 and it works fine. So it is confirmed that the issue is because the p2 bits are only valid for Eclipse v4.2 version. Where can I find p2 bits for Eclipse v3.6?

Thanks,

One additional finding.... we tested RTC 4.0.2 p2 bits on top of Eclipse 3.6 and it works.

Can you also try running the non-working instance by executing eclipse -clean?

We did, but Eclipse doesn't start.

Hi Jose,
I have tried installing RTC 4.0.5 on top of Eclipse helios sr2 jee (without IES patches) and definietely have the same error then.

The issue also appears when you don't install emf cdk according to https://www-304.ibm.com/support/docview.wss?rs=3488&uid=swg21502374&wv=1

I see that there is jazz.net defect opened for providing link to IES patches: https://jazz.net/jazz/web/projects/Jazz%20Support%20%28Private%29#action=com.ibm.team.workitem.viewWorkItem&id=292816 (but there is no resolution yet).

@paniola - did you have a chance to find the link to IES patches?

Also tried installing Eclipse jee on RTC extracted from plain zip but I got missing dependencies error during installation.

Not really, I contacted the IES lead, and he gave me the link, but there are hundreds of patches there, and there is no way to tell which ones are needed by RTC. He said the product team needs to provide a download location

Yes, we have tried -clean option and the error is the same.

RTC Client requirements for RTC 4.0.2 and 4.0.5 are the same, and Eclipse 3.6.2 works with p2bits for 4.0.2 (and RTC 4.0.5 p2bits work for Eclipse 4.2) so it is clear that the 4.0.5 p2bits are only compatible with Eclipse 4.2 and we are missing the p2bits for Eclipse 3.6.2.

Also tried to install RTC 4.0.5 eclipse client extending an existing Eclipse 3.6 version using Installation Manager and after applying the EMF and PDE packages I got also an error saying that some patches are missed:

 Falta la característica "org.eclipse.cvs.R362j7patch"

  Falta la característica "org.eclipse.rcp.R362j7patch"

  Falta la característica "org.eclipse.jdt.R362j7patch"

  Falta la característica "org.eclipse.platform.R362j7patch"

  Falta la característica "org.eclipse.pde.R362j7patch"

  Falta la característica "org.eclipse.help.R362j7patch"

  Falta la característica "org.eclipse.equinox.p2.user.ui.R362j7patch"

Thanks,

showing 5 of 11 show 6 more comments

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 2,357
× 13
× 1

Question asked: Jan 29 '14, 2:48 p.m.

Question was seen: 8,221 times

Last updated: Feb 03 '14, 6:42 a.m.

Confirmation Cancel Confirm