Bug 567130

Summary: Cannot open http protocol pages in runtime workbench
Product: [Eclipse Project] Platform Reporter: Alex Boyko <aboyko>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: davegarratt
Version: 4.18   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Alex Boyko CLA 2020-09-18 13:37:04 EDT
If Eclipse 4.18 is used as a dev environment for Eclipse plugin a common use case is to launch Eclipse runtime workbench.
If one attempts to navigate to http://localhost:8080 in the Eclipse embedded browser then the following error shows up:

Page load failed with error: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

In other words it wants https.

It works fine in Eclipse 4.18 thus I'd expect it to work in the runtime workbench too
Comment 1 Alex Boyko CLA 2020-09-18 14:17:48 EDT
It has to do with Java 11...
If I modify runtime workbench launch config to launch with Java 11 (on 4.16) then it won't work either. As soon as I launch it with Java 8 it works fine
Comment 2 David Garratt CLA 2021-09-27 13:34:55 EDT
(In reply to Alex Boyko from comment #1)
> It has to do with Java 11...
> If I modify runtime workbench launch config to launch with Java 11 (on 4.16)
> then it won't work either. As soon as I launch it with Java 8 it works fine

I have found that my servlet cannot be deployed / run / debugged from Eclipse 2021 06 or 09 but can be run ok from Eclipse 2021 03.

In both scenarios I'm using Apache Tomcat 9 with Java 11 (Zulu).

The version of Java does not make any difference to me - only the release of Eclipse.