Using Byteman to Find Out Why the TimeZone Changed on a Java App Server

This article is about a real problem I faced where the timezone on a Java application server (in my case it was JBoss) changed unexpectedly during the run time of the server. It was hard to find any pattern or the reason for the change, as it was triggered by a HTTP request. To debug this scenario, I used the Byteman tool and injected the script into the JVM. This helped me to identify the root cause of the issue and come up with a few Do’s and Don’ts for a shared JVM (like on Java application servers).

Any application server is considered a shared JVM. There are multiple applications deployed on the JVM and they share the same resources. In such a scenario, there are some precautions which need to be taken care of. One of them is dealing with the JVM’s timezone.

Byteman is a tool that makes it easy to trace, monitor, and test the behavior of Java applications and the JDK runtime code. It injects Java code into your application APIs or into Java runtime methods without the need for you to recompile, repackage, or even redeploy your application. Injection can be performed at startup or in running code.

Continue reading “Using Byteman to Find Out Why the TimeZone Changed on a Java App Server”

Share

Scheduling Voxxed Days Zurich 2018 with OptaPlanner

My name is Mario Fusco and I’m honored to be the Program Committee Lead of Voxxed Days Zurich for the third year in a row. Reading, evaluating, discussing, and selecting from the 200+ proposals that arrive every year is a long and challenging process. I must admit, I largely underestimated the task the first year I started doing it. It’s necessary to evaluate not only the quality of every submission, but also how they fit together. In the end, the worst part is having to reject so many incredible proposals because there are a limited number of slots.

Continue reading “Scheduling Voxxed Days Zurich 2018 with OptaPlanner”

Share

DevNation Live Tech Talk: KubeBoot – Spring Boot deployment on Kubernetes

The next online DevNation Live Tech Talk will be Thursday, February 15th, at 12 pm EST.  The topic is Spring Boot deployment on Kubernetes presented by Kamesh Sampath.  In this 30-minute live session, we will see how to build, debug, deploy, and discover Spring Boot applications on Kubernetes. The talk will include details of the tools, libraries, and platform that could be used to make your spring boot deployment smooth and easy.

Register Now, and then join the live presentation at 12 pm EST, February 15th.

Continue reading “DevNation Live Tech Talk: KubeBoot – Spring Boot deployment on Kubernetes”

Share

SnowCamp 2018 Trip Report

Last week, Red Hat was present at the SnowCamp conference in Grenoble, France. The SnowCamp is a technical conference that includes a unique combination of deep dive sessions (universities), technical talks, and a final day on the ski slopes. With around 400 attendees and 70 sessions, this third edition of the SnowCamp was a great opportunity to meet the developers from the Grenoble area, in the most innovative city in the world (Source: Forbes  and Mashable). Red Hatters presented 2 universities and 7 talks covering many projects and products, such as OpenShift, Infinispan, Monitoring, and Containers.
Let’s have a look to them.

Continue reading SnowCamp 2018 Trip Report

Share

Cloud-native development with Microprofile 1.2

The purpose of this blog post is to provide an overview of the APIs and specifications in the Eclipse Microprofile 1.2 release. In particular, I’ll try to connect these specifications and APIs with their architectural purpose. Where do they fit and why? If you’re thinking of moving your Java application to the cloud, then this post might be for you.

Continue reading “Cloud-native development with Microprofile 1.2”

Share