RTC Connection gets slow with Java 1.8 ?
Hello Team
I am working on Java Rtc Plain client libraries ,For Connecting RTC i am using below code ,
teamRepository = TeamPlatform.getTeamRepositoryService().getTeamRepository(serverName);
teamRepository.registerLoginHandler(new RTCLoginHandler(User, Password));
teamRepository.login(null);
Connection will be done fast when i am working with java 1.7 version.
Now the java version we use is 1.8 , And to make this RTC connection it takes extremely slow ..
Any hints what could be the reason ..
Please help ?????
I am working on Java Rtc Plain client libraries ,For Connecting RTC i am using below code ,
teamRepository = TeamPlatform.getTeamRepositoryService().getTeamRepository(serverName);
teamRepository.registerLoginHandler(new RTCLoginHandler(User, Password));
teamRepository.login(null);
Connection will be done fast when i am working with java 1.7 version.
Now the java version we use is 1.8 , And to make this RTC connection it takes extremely slow ..
Any hints what could be the reason ..
Please help ?????
One answer
How many tests you run to get that conclusion? It doesn't make sense for me, testing my local environment I couldn't found any problem.
Comments
Hello
Our Scripts developed with RTC 4.0.1 Plain Libraries with RTC 5.0.2 Version. Recently we had create new Jars due to upgrade of RTC 5.0.2 to 6.0.1 Version.
During this period we have noticed connection establishment takes more time with JRE 1.8. But when we give -version:1.7 then it has taken shorter time.
Did you have any chance?
Comments
Nate Decker
Feb 23 '17, 12:05 p.m.I just want to add my own experience that we observed the same thing. We developed a tool that would add timesheet entries to work items in RTC. The tool worked pretty quickly on a machine running Java 7, but when we upgraded to Java 8 there was a noticeable decrease in performance. It was something on the order of 5 seconds under Java 7 versus a minute or possibly even two under Java 8.