RFR: 7198: add websocket server that pushes data on selection updates
Alex Ciminian
github.com+348973+cimi at openjdk.java.net
Tue Sep 14 14:04:07 UTC 2021
On Tue, 14 Sep 2021 12:47:29 GMT, Alex Ciminian <github.com+348973+cimi at openjdk.org> wrote:
>> releng/third-party/pom.xml line 50:
>>
>>> 48: <jakarta.mail.version>1.6.5</jakarta.mail.version>
>>> 49: <javax.websocket.version>1.1</javax.websocket.version>
>>> 50: <jetty.version>9.4.43.v20210629</jetty.version>
>>
>> I have seen in the PR description this codes needs to stick with 9.4.43…. But I noticed the coordinate of the artefacts may have changed after version 9 (group:`org.eclipse.jetty.websocket`, artefact: `wesocket-server` -> `websocket-jetty-server`). I haven't yet checked the dependencies in the POM, maybe that helps.
>>
>> By the way there's a more recent version of [jetty 11.0.6](https://search.maven.org/artifact/org.eclipse.jetty.websocket/websocket-jetty-server/11.0.6/jar).
>
> Interesting, thanks for pointing this out!
>
> I picked 9.4.43 because it was the latest version I saw here https://mvnrepository.com/artifact/org.eclipse.jetty.websocket/websocket-server I didn't notice the rename for later versions.
>
> Maybe I can get rid of the dependency issues if I just use `10.0.5` which is already required by _something_ (I don't know what) in the uitests.
I've just tried using 10.0.5 and I get this error:
Caused by: org.osgi.framework.BundleException: Bundle org.openjdk.jmc.console.agent cannot be resolved:org.openjdk.jmc.console.agent [130]
Unresolved requirement: Require-Bundle: org.openjdk.jmc.flightrecorder.ui
-> Bundle-SymbolicName: org.openjdk.jmc.flightrecorder.ui; bundle-version="8.2.0.qualifier"; singleton:="true"
org.openjdk.jmc.flightrecorder.ui [132]
Unresolved requirement: Require-Bundle: org.eclipse.jetty.websocket-api
-> Bundle-SymbolicName: org.eclipse.jetty.websocket-api; bundle-version="1.1.2"
org.eclipse.jetty.websocket-api [93]
Unresolved requirement: Require-Capability: osgi.extender; filter:="(osgi.extender=osgi.serviceloader.processor)"
It seems this needs [SPI Fly](https://aries.apache.org/documentation/modules/spi-fly.html) now...
-------------
PR: https://git.openjdk.java.net/jmc/pull/306
More information about the jmc-dev
mailing list