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

Support for IBM EWM 7.0.2 Eclipse Client in Eclipse versions 4.17 and beyond? (Java-11 based Eclipse)

 Good day!

 

I'm trying to get information on IBM's plans with EWM (formerly RTC) to support versions of their client for more recent Eclipse after 4.11.  Eclipse 4.11 is also known as Eclipse 2019-03.

 

We are running EWM 7.0.2, and need to upgrade a Java 11-based Eclipse, either:

  Eclipse 4.21 (2021-09)  -- desired

  Eclipse 4.17 (2020-09)  -- minimum acceptable

Regarding EWM, I looked into IBM's docs for 7.0.2, following their "System Requirements" page for IBM EWM 7.0.2, then tab " Eclipse Runtime Environment", where Eclipse Version "4.11 and future fix packs" are listed.

 

However the Details View from

here:

https://www.ibm.com/software/reports/compatibility/clarity-reports/report/html/prereqTabViewDetails?osPlatform=spcrAllValues&dsrType=tsr&deliverableId=BD41C8E05A1C11E982882C5D069DA07A&productName=IBM+Engineering+Lifecycle+Management+Base+7.0&prereqId=4882C3E0C4BA11E7AD0EC24C9513D95F&prereqName=Eclipse+4.11&capName=Eclipse+Runtime+Environment&isDUOnly=false&isMandatory=true&osPlatforms=Windows&duComponentIds=D004%7CD002%7CD001%7CD003%7CS005%7CS006

 

has notes about Eclipse Runtime Environment which says "Only Java 8 is supported". 

 

===

Does anyone know anything about when a "p2 Install Repository" to provide the "IBM Engineering Workflow Management Client Feature" plugin will be available to install and run in a Java 11-based Eclipse?

Perhaps some kind of fix pack of an updated p2 repo zip file?

===

 WHAT I TRIED:

 

I did give a try to use the 7.0.2 p2Repo with Eclipse 4.17 (2020-09).  I first set up an 11.0.9 JDK on Windows:

 

C:\Program Files\Java\jdk-11.0.9\bin>java -version

java version "11.0.9" 2020-10-20 LTS

Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)

Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)

 

Then configured Eclipse 4.17 (2020-09) with the above as the "-vm" argument, installed EWM-Client-p2Repo-7.0.2.zip, and restarted.

 

I can get the UI to appear to create a Teams repository connection, but after entering correct credentials to set up a repository connection, an error dialog appears with this message:

An internal error occurred during: "Searching for root folder content...".

Could not get value of field private transient sun.util.calendar.BaseCalendar$Date java.util.Date.cdate in 2020-11-10 15:47:53.722

Similarly, in the .metadata/.log file there is this trace when trying to set up the connection:

!ENTRY org.eclipse.core.jobs 4 2 2022-02-25 15:27:35.079

!MESSAGE An internal error occurred during: "Applying Repository Connection Changes".

!STACK 0

java.lang.RuntimeException: Could not get value of field private transient sun.util.calendar.BaseCalendar$Date java.util.Date.cdate in 2019-05-23 21:50:16.106

        at com.ibm.team.repository.common.internal.util.ObjectSizer.getFieldValue(ObjectSizer.java:427)

        at com.ibm.team.repository.common.internal.util.ObjectSizer.getDeepSize(ObjectSizer.java:333)

        at com.ibm.team.repository.common.model.impl.ItemHandleImpl.size(ItemHandleImpl.java:554)

        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)

        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.base/java.lang.reflect.Method.invoke(Method.java:567)

        at com.ibm.team.repository.common.internal.util.ItemStore$ItemInvocationHandler.invoke(ItemStore.java:597)

        at jdk.proxy12/jdk.proxy12.$Proxy36.size(Unknown Source)

        at com.ibm.team.repository.common.internal.util.ItemStore.getSize(ItemStore.java:478)

        at com.ibm.team.repository.common.internal.util.ItemStore.access$2(ItemStore.java:476)

        at com.ibm.team.repository.common.internal.util.ItemStore$WeakItemDescriptor.<init>(ItemStore.java:495)

        at com.ibm.team.repository.common.internal.util.ItemStore.putItem(ItemStore.java:160)

        at com.ibm.team.repository.common.internal.util.ItemStore.putItems(ItemStore.java:231)

        at com.ibm.team.repository.client.internal.ItemManager.applyNewStates(ItemManager.java:1452)

        at com.ibm.team.repository.client.internal.ItemManager.applyItemUpdates(ItemManager.java:732)

        at com.ibm.team.repository.client.internal.ItemManager.applyItemUpdates(ItemManager.java:722)

        at com.ibm.team.repository.client.internal.TeamRepository.internalLogin(TeamRepository.java:1618)

        at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepository.java:673)

        at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepository.java:646)

        at com.ibm.team.process.internal.rcp.ui.RepositoryPropertyPage.resetConnection(RepositoryPropertyPage.java:224)

        at com.ibm.team.process.internal.rcp.ui.RepositoryPropertyPage.save(RepositoryPropertyPage.java:105)

        at com.ibm.team.process.internal.rcp.ui.RepositoryPropertyPage.access$0(RepositoryPropertyPage.java:102)

        at com.ibm.team.process.internal.rcp.ui.RepositoryPropertyPage$1.run(RepositoryPropertyPage.java:89)

        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private transient sun.util.calendar.BaseCalendar$Date java.util.Date.cdate accessible: module java.base does not "opens java.util" to unnamed module @1d7201cb

        at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)

        at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)

        at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:177)

        at java.base/java.lang.reflect.Field.setAccessible(Field.java:171)

        at com.ibm.team.repository.common.internal.util.ObjectSizer.getFieldValue(ObjectSizer.java:424)

        ... 24 more


Clearly it didn't  work.

ANY INFORMATION ON FUTURE AVAILABILITY WOULD BE HIGHLY APPRECIATED! 


 

Or, information that EWM updates are no longer going to be produced; that would also help us to start looking into alternatives.

 

Thanks!

0 votes



3 answers

Permanent link
I have a client who was stuck for a while because their C++ CDT required Java JRE > 11 and they were using CLM 6.x. They are currently on ELM 7.0.2 and all is working well with the very latest Eclipse.

I also have Eclipse 2021-12 installed with the latest CDT and the EWM client 7.0.2 iFix008 installed and it's all working just fine

0 votes

Comments

I cannot reproduce the above with Eclipse IDE for Enterprise Java and Web Developers 2021-12 (4.22.0)


I installed EWM-Client-7.0.2, downloaded ELM_702_iFix008a.zip, extracted UpdateSiteFor_7.0.2.0-iFix008-ELM702M-I20211019-2114.zip, 
and installed all features of that update site.

In Show View > Other, under "Version Control (Team)", only the "Team Artifacts" view is available.  I do NOT have "Team Advisor" nor "Team Organization" view as options.

"Team Artifacts" view shows:

All Project and Team Areas (No Project Areas Connected)
------------------------------------
You are not connected to a project area.
Create a Repository Connection

Open First Steps welcome page for review

###

NOTE, there is no "Manage Connected Project Areas" link. 

So basically stuck on Eclipse 2021-12 (4.22.0).


Permanent link
While I could not reproduce the answer from Davyd Norris, I will report that I was able run the above two installs of new software into Eclipse IDE for Enterprise Java and Web Developers, Version: 2021-09 (4.21.0) Build id: 20210910-1417 and have some success.

First thing I did with Eclipse was to set the -vm in the .ini file to my JDK 11 at C:\Program Files\Java\jdk-11.0.9. 

Then I launched Eclipse and installed the 7.0.2 and 7.0.2-iFix008 UpdateSite.

I do see three expected Team views, and also have the "Managed Connected Project Areas..." option on my repository connection.  Not sure of other operations yet, but hopeful.

###

UPDATE:  Shortly after I posted the above, I did have additional problems when restarting this Eclipse instance with pop ups saying:

An internal error occurred during: "".
java.lang.ExceptionInInitializerError 

My .metadata/.log contains such errors as this:

!ENTRY org.eclipse.core.jobs 4 2 2022-03-17 13:51:23.449
!MESSAGE An internal error occurred during: "".
!STACK 0
java.lang.NoClassDefFoundError: Could not initialize class org.apache.lucene.codecs.Codec$Holder
        at org.apache.lucene.codecs.Codec.getDefault(Codec.java:140)
        at org.apache.lucene.index.LiveIndexWriterConfig.<init>(LiveIndexWriterConfig.java:120)
        at org.apache.lucene.index.IndexWriterConfig.<init>(IndexWriterConfig.java:140)
        at com.ibm.team.fulltext.common.internal.index.IndexManagerImpl.createIndexDirectoryAndWriterIfRequired(IndexManagerImpl.java:1113)
        at com.ibm.team.fulltext.common.internal.index.IndexManagerImpl.getIndexWriter(IndexManagerImpl.java:743)
        at com.ibm.team.fulltext.common.internal.index.IndexManagerImpl.write(IndexManagerImpl.java:422)
        at com.ibm.team.fulltext.common.internal.index.IndexManagerImpl.index(IndexManagerImpl.java:298)
        at com.ibm.team.fulltext.client.internal.ClientFullTextImpl$1.call(ClientFullTextImpl.java:59)
        at com.ibm.team.fulltext.client.internal.ClientFullTextImpl.runWithIndexRebuild(ClientFullTextImpl.java:184)
        at com.ibm.team.fulltext.client.internal.ClientFullTextImpl.index(ClientFullTextImpl.java:70)
        at com.ibm.team.fulltext.client.internal.ArtifactHistoryProvider$IndexSubmissionJob.runProtected(ArtifactHistoryProvider.java:144)
        at com.ibm.team.foundation.client.util.FoundationJob.run(FoundationJob.java:68)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

I also have to acknowledge I have NOT yet upgraded the backend fully with the server portion of iFix008, that will be the next step.

0 votes


Permanent link
Hi Michael,

You need to start with Eclipse itself - not the pre-installed EWM Client. Download and install Eclipse and get it updated and working first, then install the EWM Client either

through the IBM Installation Manager by selecting the already installed Eclipse environment:

or by using the p2 repository vie the "Install New Software..." menu in Eclipse itself:

If you install via the Installation Manager you can install the latest fixPack at the same time. If you install via the p2 repository you will need to repeat the exact same procedure to install the latest EWM Client fixpack - EWM will not update itself via the "Check for Updates" menu

0 votes

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

Question asked: Feb 25 '22, 4:24 p.m.

Question was seen: 6,292 times

Last updated: Mar 17 '22, 7:17 p.m.

Confirmation Cancel Confirm