升级 payara 服务器中使用的 eclipselink 版本

upgrading the version of eclipselink being used in payara server

我的应用程序遇到了以下已知问题:
https://github.com/eclipse-ee4j/eclipselink/pull/117

这是一个影响某些版本的 eclipselink 的错误,特别是与 payara 5.182 捆绑在一起的 eclipselink 版本是最新的。

[2018-08-14T15:34:25.323+0200] [Payara 5.182] [INFO] [] [org.eclipse.persistence.session./file:/C:/Projects/mcp/mcp/war/target/mcp/WEB-INF/lib/integration-0.0.1-SNAPSHOT.jar_tlmon] [tid: _ThreadID=53 _ThreadName=admin-thread-pool::admin-listener(1)] [timeMillis: 1534253665323] [levelValue: 800] [[  EclipseLink, version: Eclipse Persistence Services - 2.7.1.qualifier]]   
EclipseLink, version: Eclipse Persistence Services - 2.7.1.qualifier]]

我已经更改了我的 POM.XML 文件以使用更高版本。

<dependency>
    <groupId>org.eclipse.persistence</groupId>
    <artifactId>eclipselink</artifactId>
    <version>2.7.3</version>
</dependency>

这似乎不会影响 payara 使用的版本。
如何强制payara使用固定版本的eclipse link?

下载最新版eclipselink: http://www.eclipse.org/eclipselink/downloads/

用上面的文件替换glassfish\modules中的文件。