Loading...

Blog

A Journey of a Thousand Miles Begins with a Single Step

Debug Environment Variables and System Properties in Java

Having problems it comes to debugging of the environment variables and system properties. This snippet prints all known environment variables and system properties in alphabetical order. Makes it easier to compare :wink:.

Read more

Use Dropwizard Metrics with CDI in Java EE

Java EE provides with CDI (Contexts and Dependency Injection) a powerful way to write loose coupled code. Dropwizard Metrics is a wonderful library to collect metrics about your application. This post shows how to integrate Dropwizard Metrics with CDI into an Java EE application.

Read more

Bind JBoss EAP to subnet

Having multiple Network Interfaces (NICs) is especially at enterprise level servers very common. Having four network interfaces (bond0,..,bond0-2) the JBoss instance could bind to any interface. JBoss can be configured to bind to the subnet mask.

Read more

Analyse network traffic capture with Wireshark

Wireshark is an open source network protocol analyzer. Captures from networking traffic with Wireshark or tcpdump can easily be analyzed in the GUI. This post show how to decode TCP as SSL protocol during the SSL/TLS handshake.

Read more

Import pem certificate into Java KeyStore (jks)

To achieve that we convert the certificate into a binary cert that can be imported by the Java keytool.

Read more

Create alias for indices in Elasticsearch

If you have multiple indices and build your visualizations and dashboard in Kibana, you might consider using an alias. The advantage is that the physical index name can always be removed, renamed, reindex. The alias gives you the flexibility that your Kibana objects remain consistent, but in the background you have to freedom to reorganize. This post illustrates two examples.

Read more