Listing PKCS11 keys using ssh-keygen

To list keys exposed via PKCS11 provider usable with SSH, execute the following command: Read more

Useful JVM Blog Posts

Read more

Starting JVM process with exposed debugger port

Read more

Creating a JNI Class in Kotlin

In order to invoke a JNI we need to create a Kotlin class with extrenal method and a C function with specific signature for each external method in Kotlin. Let’s assume that we have the following class in Kotlin: For... Read more

Configuring JVM per-socket SOCKS5 proxy

If for some reason sockets opened in JVM need to go through a SOCKS5 proxy, we can use the following example to do it: Configuring SOCKS5 server Install dante-server Configure socks5 server Restart socks5 server Resources Read more

Starting JFR on server without GUI

When issues occur with some JVM application, it can be useful to do some capturing of JVM events using built-in flight recorder. Load imposed by JFR can be controlled by profiles, and usually it’s from 5-15% for normal usage (unless... Read more

Enabling JMX endpoint on running JVM process

Sometimes during inspection of production problems it can be very useful to enable JMX endpoint on running JVM process. To do this, perform the follow commands as process user. To enable JMX with flags during process tartups Read more

Running specific integration test in maven

Read more