New features for Ops Teams in Payara Server

Uncategorized

Payara Server 161When we founded Payara and started development on Payara Server, one of our key goals was to make Payara Server the best application server for production work loads. Operations Teams will be happy to hear that the February 161 release adds Slow SQL Logging and in-built Server HealthChecks as new capabilities for managing production workloads!

 

 {{cta(‘f53ec10a-12d5-483b-b089-2d4cdab10448’)}}

 

Slow SQL Logging

With the new Slow SQL Logging feature in Payara Server you can easily detect when a query to the database exceeds a specific time. This enables you to drill down to the actual line of code impacting production performance enabling rapid triage and fix of production performance issues in the database or inefficient SQL code in your Java EE applications.

 

Slow SQL logging is enabled for a specific datasource in the administration console in the advanced properties. The screen shot below shows you the DerbyPool settings.

 

ops_features_in_payara_server_jan_16.jpg

(click to enlarge) 

 

When a query exceeds the configured threshold a WARNING is output into the server log along with a full stack trace of the code that invoked the SQL. Allowing rapid identification of the offending code.

 

HealthCheck Service

In the 161 release we also have the new HealthCheck Service. Payara Server now periodically checks;

  • Host CPU Usage
  • Host Memory Usage
  • Payara Server’s JVM Garbage Collections
  • Payara Server’s JVM Heap Usage
  • CPU Usage of individual threads

If there is a problem with any of these metrics and they exceed a configurable threshold then a Warning, Error or Critical message is logged to the server’s log file. Again enabling operations teams to rapidly detect problems or work out what happened after problems have occurred.

 

With these two new features we want to make running Payara Server in production easier for Operations Teams. Both of these features are new in the upcoming Payara 4.1.1.161 release due on the 5th of February. Download Payara Server, try these new features and let us know what you think!

 

{{cta(‘f53ec10a-12d5-483b-b089-2d4cdab10448’)}} {{cta(‘9d4c1768-bbde-40f1-bf79-dd951a4b8699’)}}

 

Comments (1)

Post a comment

Your email address will not be published. Required fields are marked *

Payara needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Legal & Privacy Policy.

  1. Markus Karg

    Slow SQL logging is a great idea to detect performance bottlenecks in production environments! Cool idead! 🙂

Related Posts

Graphic promoting the Jakarta EE Agentic AI Project by Payara Community. The design shows a laptop screen with a central icon of a person wearing headphones and using a laptop, surrounded by sparkles. The background features blue ocean-themed elements with coral and small fish. Logos for Jakarta EE and Payara Community appear at the top. 3 minutes
Community

Announcing the Jakarta Agentic AI Project

Exploring the Future of AI with the Jakarta EE Community At Payara, we’re passionate about pushing the boundaries of […]

What's New In The Payara Platform August 2025 Release? 3 minutes
Community

What’s New In The Payara Platform October 2025 Release?

The October 2025 release brings focused improvements across Payara Platform Community 6.2025.10 (download here), Payara Platform Enterprise 6.31.0 (download […]

How to Run and Scale AI Java Applications in Production: An Overview for Developers with no Machine Learning Expertise 9 minutes
Jakarta EE

How to Run and Scale AI Java Applications in Production: An Overview for Developers with no Machine Learning Expertise

Organizations are increasingly interested in adopting artificial intelligence (AI) and generative AI (GenAI) to improve operations and offer next-generation […]