What's New in Payara Server 162?

Photo of Mike Croft by Mike Croft

The second release of 2016 is finally here! Payara Server 4.1.1.162 is our biggest release yet in terms of sheer number of bug fixes and new features. One of the biggest things isn't actually a new feature of Payara Server but a newly rehosted documentation, and it's where you'll find the full release notes for this version

 

  Download Payara Server 

 

Outside of the Server itself, we have a couple of new things – e.g. updated documentation and improved Docker images in Docker Hub. These aren't small improvements, so we will dedicate separate blog posts to these! 

 

New Developers 

Within the team, we have new members to welcome – Fabio Turizo has joined the Support and Customer Service Team; and Lenny Primak has joined our developers. Lenny has been part of the team for a couple of weeks now and hasn't wasted time; two enhancements have been added by Lenny: 

 

Disable CDI for and entire deployment in deployment descriptor

  • Implicit CDI scanning can cause problems sometimes. There is already a method to disable CDI scanning within a WAR file (WEB-INF/beans.xml attribute bean-discovery-mode="none"will disable CDI scanning for all WAR classes and in WEB-INF/lib directory) but there was no way to do this for EAR files. So if you included 3rd party JARs in your EAR, it may still trigger implicit CDI scanning. Lenny added a tag to the glassfish-application.xml to disable CDI for an entire EAR. 
Add support for overriding app server libraries using ScopedEARClassloader on domain level
  • Previously, it was possible to add new global libraries at the domain level, but it does not work if the same library is present as core Payara Server dependencies. The implemented behavior is that a new version of a library in domain/lib would override older version of the library inside the server. This is enabled by setting fish.payara.classloading.delegate = false (the default is true)

 

New Clustering Features 

We already support more modern cluster topologies in Payara Server and Payara Micro through the use of Hazelcast (see more ). With this release, we have enabled Hazelcast "Lite" nodes in both Micro and Server editions. This means that you can have cluster members which share data, but have no local data storage. This means you can drastically skew your heap in favour of the new generation and, as a result, have much lower pause times! In addition to that, we have also enabled Payara Micro and Payara Server to join the same cluster. 

 

An important improvement is that we now support Hazelcast group config and group password properties in the console. If you’re in a position where you go live to production with a Hazelcast cluster which has default settings, then previously there would be cross-talk with any other Payara Server instance that used Hazelcast on the same network. Our first recommendation is always to change the defaults, but using group configuration we can avoid accidents! 

 

Stay tuned to this blog over the coming weeks, where we intend to go more in-depth in the advantages and disadvantages of these new styles of clustering and show how you can make the best use of them in cloud environments. 

 

The new clustering feature I’m most looking forward to, though, is a new button in the admin console, and an asadmin command to go with it… 

 

whats_new_payara_162.png

 

…because it was added by me! I’ve long been frustrated by the lack of a restart button at the cluster level, despite it being possible to restart individual instances. Now I know that my testing life is going to have one less frustration in it! 

 

 

New Payara Micro Features 

There have been quite a few Payara Micro improvements this month, so I’ll list the key ones here: 

 

Community Fixes and Enhancements 

As usual, the community effort has been very strong! Our thanks for this release go out to: 

 

Patrik Duditš

“ratcashdev”: 

and David Matějček

 

And finally… 

A special mention to all those who have been raising issues on GitHub! We’re very grateful for all the work in testing our new releases and quickly raising bugs. The more things we catch early, the better Payara Server becomes! 

 

 

As mentioned above, keep an eye out for more blog posts explaining the new Payara Server and Payara Micro 162 features in more detail - all coming within the next couple of weeks. Make sure you don't miss them and subscribe to our blog ( top of this page). 

 

 

Related Posts

Comments