Release Notes - Payara Server 5.191

Supported APIs and Applications

  • Java EE 8 Applications

  • MicroProfile 2.1

Notes

Due to some changes in the following areas, you might encounter some small functionality changes:

  • Executor Service

  • Async CDI events

  • EJB Timers

  • Security

  • Access log

If you are uncertain if this might impact your application, please feel free to ask more information.

There are new asadmin commands for the configuration of the health check feature, the old ones are still valid but are deprecated.

The Remote EJB over HTTP protocol is in technical preview.

New Features

  • [PAYARA-1165] Allow Payara Micro to set the context root with --contextRoot

  • [PAYARA-3132] Incorporate Help Documentation back into Payara

  • [PAYARA-3169] Thin Client Dependency for Remote EJB communications in client applications

  • [PAYARA-3261] MicroProfile 2.1 (OpenTracing 1.3)

  • [PAYARA-3312] Add Heartbeat into the Cluster Instance Descriptor

  • [PAYARA-3344] Allow a configurable graceful behaviour for Payara Server’s (and Micro) shutdown hook

  • [PAYARA-3381] Daily rotation for Access Log

  • [PAYARA-3440] New EJB Remoting Subsystem

Improvements

  • [PAYARA-546] Allow setting SO_KEEPALIVE on the DAS or specific configs

  • [PAYARA-1896] Refactor HealthCheck service commands to bring in to line with other asadmin commands

  • [PAYARA-2206] Remove registration and installer modules

  • [PAYARA-2308] [Community Contribution - svendiedrichsen] Replace StringBuffer with StringBuilder

  • [PAYARA-3262] Don’t create a new response in the JaxrsContainerExceptionMapper

  • [PAYARA-3306] Starting asadmin with domain not running results in warning

  • [PAYARA-3310] Make Service Name and Namespace Options for Kubernetes Cluster mode Optional

  • [PAYARA-3316] Improve @AroundInvoke/@AroundTimeout interceptor handling

  • [PAYARA-3318] Allow enabling or disabling HTTP methods for the j_security_check action

  • [PAYARA-3360] asadmin list-commands only works when domain is running

  • [PAYARA-3382] Make addDateStampToFirstAccessLogFile configurable

  • [https://github.com/payara/Payara_PatchedProjects/pull/226)][PAYARA-3387]] Support reading Jax-ws catalog from WEB-INF

  • [PAYARA-3434] Optimise FileArchive to reduce deployment times

  • [PAYARA-3438] Improve usability of MP Health endpoint as readinessProbe for k8s

  • [PAYARA-3457] Allow disabling auto-increment of Hazelcast port selection for the Domain Data Grid

  • [PAYARA-3458] Improve Domain Data Grid Startup/Status Log Output

  • [PAYARA-3473] Make Hazelcast initial wait time configurable

  • [PAYARA-3499] Optimise ASClassLoaderUtil

  • [PAYARA-3505] Prevent JLine Logging in Asadmin Multimode

  • [PAYARA-3507] Improve the Executor Pool and Queue Sizes in Payara Micro

  • [PAYARA-3508] Improve logging in ConnectionPool

  • [PAYARA-3514] [Communuity Contribution - anthonyvdotbe] Typo and newline fix

Security Fixes

  • [PAYARA-3331] Upgrade jackson to 2.9.7 to fix:

  • CVE-2018-14718

  • CVE-2018-14719

  • CVE-2018-14720

  • CVE-2018-14721

    • [PAYARA-3361] Upgrade Mojarra to 2.3.9 to fix CVE-2018-14371

Bug Fixes

  • [PAYARA-2890] Payara sometimes fails to load resources due to HTTP/2 server push

  • [PAYARA-2959] Secured Remote EJBs (IIOP over SSL) not working in Payara 5

  • [PAYARA-3028] Payara 5 Monitoring is broken for all instances apart from the DAS

  • [PAYARA-3031] Fix HTTP/2 Trailer Issue

  • [PAYARA-3120] TransactionScopedCDIEventHelperImpl Injection Error

  • [PAYARA-3160] Minimum log file size error is ignored when set using logging.properties file

  • [PAYARA-3163] WebAppClassLoader fails to find JAX-WS Handler class

  • [PAYARA-3164] Variable substitution in post boot command file doesn’t work in Payara Micro

  • [PAYARA-3219] Move the Spanish localisation string file to the correct location

  • [PAYARA-3227] JNDI Resources Can’t Be Added to Deployment Group

  • [PAYARA-3257] CDI Bean created (but fails) when interface has @Path annotation

  • [PAYARA-3258] Open API takes into account annotated interfaces without implementation

  • [PAYARA-3260] Metrics API produces invalid metric names for Prometheus

  • [PAYARA-3319] Felix gogo shell no longer works

  • [PAYARA-3328] Increase the default thread pool and wait-queue size for the Payara Executor Service

  • [PAYARA-3348] Resources and Properties Tabs have wrong name when viewing the Healthcheck Checker Tab

  • [PAYARA-3352] If multiple invalid options are specified for asadmin only first is reported

  • [PAYARA-3356] EJB Timer fails when using non-persistent flag

  • [PAYARA-3357] asadmin shell issues when ask for additional data

  • [PAYARA-3358] asadmin command stop-domains no longer works

  • [PAYARA-3362] get-http-listener throws NPE

  • [PAYARA-3366] Payara MP Config getConverters() is not thread-safe

  • [PAYARA-3367] Strange CDI BeanManager behavior when creating interceptor instance on domain restart

  • [PAYARA-3373] Certificate realms with a custom JCE provider still raise exceptions

  • [PAYARA-3376] Some JVM parameters are not correctly stored through the Web Admin Console

  • [PAYARA-3384] Possible infinitive loop

  • [PAYARA-3424] @Clustered Singleton not working in EAR assembly

  • [PAYARA-3425] asadmin recorder generates wrong command for create-network-listener

  • [PAYARA-3432] Setting core-pool-size of ExecutorService result in NPE

  • [PAYARA-3443] Allow SL4FJ to redirect all JUL statements to Logback in Payara Micro (Fix HV error)

  • [PAYARA-3449] list-protocol-filters command fails with NPE

  • [PAYARA-3451] Managed Scheduled Executor Service doesn’t execute tasks from versioned applications

  • [PAYARA-3452] Memory Leak with http2 enabled on Payara 5.184 and latest glassfish

  • [PAYARA-3463] Unable to retrieve JVM options through Rest admin endpoint

  • [PAYARA-3478] SO_KEEPALIVE checks for wrong port, and Enable Logic is Wrong

  • [PAYARA-3494] Payara 5.184: PersistentEJBTimerService not serializable

  • [PAYARA-3511] ClassCastException when using CircuitBreaker.delayUnit Config Property

  • [PAYARA-3512] CircuitBreaker Interceptor Checks for Config Override on Wrong Annotation

  • [PAYARA-3520] Mojarra Prints Debug Messages to Log

  • [PAYARA-3565] asadmin create-node-ssh install=true fails to create the ZIP

  • [PAYARA-3567] [Community Contribution - svendiedrichsen] Replace Synchronised classes with unsynchronised counterparts

  • [PAYARA-3568] [Community Contribution - svendiedrichsen] Prevent CPU wastage when not logging to file

  • [PAYARA-3569] [Community Contribution - svendiedrichsen] Increase default queue size and add RejectedExecutionHandler CallerRunsPolicy to Payara Executor Service

  • [PAYARA-3570] [Community Contribution - svendiedrichsen] Replace usage of Thread/Timer/TimerTask with PayaraExecutor in GFFileHandler

Component Upgrades