Archive from November 2017

Log directly to Logstash from Payara Server

(Guest blog)

When running multiple instances of an application server, it is quite hard to see correlations between events. One of the best tools to enable that is the ELK stack - Elasticsearch for building fulltext index of the log entries, Logstash for managing the inflow the events, and Kibana as a user interface on top of that.

Solutions for Payara Server exist, that use better parseable log format which can be then processed by Logstash Filebeat in order to have these log entries processed by a remote Logstash server.

 

In our project, we chose a different path — we replaced all logging in the server and our applications with Logback, and make use of the logback-logstash-appender to push the events directly to Logstash over a TCP socket. The appender uses LMAX disruptor internally to push the logs, so the processes does not block the application flow. This article will show you how to have this configured for your project as well.

 

AWS Native Discovery with Payara Micro

Both Payara Server and Payara Micro can cluster together and share data using Hazelcast. Out-of-the-box, there is no configuration needed, since Hazelcast uses multicast to discover and join other cluster members. However, when running in cloud environments like AWS, for example, there are a lot of things which can stop discovery being quite so straightforward. The key thing is that Multicast is not available, meaning another discovery strategy is needed; the most common generic alternative is to use TCP, but this assumes that you know at least the intended subnet that your cluster members will be in ahead of time.

 

Eclipse MicroProfile: a quest for a lightweight and modern enterprise Java platform

Do you still think that Java EE is heavy-weight, cumbersome and doesn’t keep up with modern trends? I’ll show you that there are already production-ready enterprise and open source solutions to bring more flexibility than the traditional Java EE servers from the past. They strive to provide lightweight and extensible runtimes to power microservices, cloud deployments and reactive architectures already. Their individual efforts are naturally followed by an open collaboration within the MicroProfile project.

What's new in Payara Server & Payara Micro 174?

Our last release of 2017 - Payara Server/Micro 4.1.2.174 - is now available for download! The final public release for this year contains over 100 bug fixes, 5 new features and 18 improvements including Soteria support, full MBean integration via the JMX Monitoring Service and wider support for environment variable substitution. Check out the full release notes, or read on for a short summary of 174's major features.
 

Payara Server Basics Part 6 - Dynamic Clustering and Failover on Payara Server with Hazelcast

Further developing our introductory blog series, this post will look at how you can dynamically scale your cluster, and how Payara Server handles failover between cluster members.

 

Failover is the ability to continue to provide access to your website or application in the event of a server failing. It is an important part of high availability hosting, which aims to minimise downtime across your server infrastructure.

Welcome to the Team - Kenji Hasunuma

We’re very excited to announce our new Payara Team member - Kenji Hasunuma - who joined us at the beginning of November! If you've been an active Java EE & Payara community member in Japan I'm sure you recongnize his name :) 

Read along to find out more about Kenji and what he’ll be working on at Payara.

 

Payara Server および Payara Micro 174 がリリースされました

2017 年最後のリリースである、Payara Server/Micro 4.1.2.174 がダウンロードできるようになりました。 今年最後のパブリック・リリースでは、100 以上のバグフィックス、5 つの新機能、18 の改良点を含んでいます。改良点には Soteria のサポート、JMX 監視サービス経由の完全な MBean 連携、環境変数置換のサポート範囲拡大などが挙げられます。完全なリリースノートをご確認いただくか、以下に示す 174 の主要機能概要をご覧ください。

Qué novedades trae Payara Server & Payara Micro 174?

Nuestra última publicación de 2017 - Payara Server/Micro 4.1.2.174 - está ahora disponible  para descarga ! La última versión pública para este año contiene más de 100 bugs corregidos, 5 nuevas funcionalidades y 18 mejoras incluyendo soporte para Soteria, Integración completa con MBean a través del Servicio de Monitorización JMX y un soporte más amplio para la sustitución de variables de entorno. Revisa las notas  completas de publicación , o sigue leyendo para un pequeño resumen de las caracterísiticas más imortantes de la versión 174.
 

Payara Server Basics Part 5 - Configuring Sticky Sessions for Payara Server with Apache Web Server

This article continues our introductory blog series on setting up a simple cluster with Payara Server, carrying straight on from our last blog where we set up load balancer on our cluster.

 

By clustering our Payara Servers together and balancing traffic between them with Apache Web Server we keep the benefits of having our application accessible from a single URL and gain the resilience and expansion prospects from having our application deployed across multiple instances.

Fundamentos de Payara Server Parte 5 - Configurando Sesiones Persistentes para Payara Server con Servidor Web Apache

Este artículo continúa nuestra serie de blogs de introducción para configurar un cluster con Payara Server, continuando desde nuestro último articulo donde configuramos un balanceador de carga para nuestro cluster.