Archive for the ‘ Java ’ Category

Lockness Eclipse Plugin – Thread Dump Analyser


Lockness is an Eclipse Plugin for analysing Java Thread Dumps.

With Lockness it is quite easy to find out what are the Threads involved in bottlenecks or deadlocks.Lockness FeaturesThe main features are: – Detection of DeadLocks and Bottlenecks – Overview & Summary View – Lockness Search Tab – and more…Check out the Screenshots!

Lockness Features

Lockness provides several views on the information extracted from Thread Dumps.

Lockness Summary

The “Lockness Summary” frame displays a set of counters per Thread Dump. You can see in one shot how many Threads are running, waiting or sleeping.

Lockness Overview

The “Overview” frame highlights the Bottlenecks and the Deadlocks.
This view presents the data in a Tree and let you see which Thread is holding the lock responsible for the contention.

Lockness Search

The “Search” tab let you search for a specific information in one or several Thread Dumps. You can search for locks, threads, java classes or method names.
You can easily navigate from the search result to the Overview Frame and vice-versa.

Lockness Text Editor

The “Text Editor” tab let you see the original file in text mode and you can still edit the file and copy/paste its content.

Navigation to the Java Code

Lockness benefits from the Eclipse Framework and you can navigate to the corresponding Java Code either by decompiling the class or by opening the java source directly (as soon as the corresponding java project is available).

via Lockness Eclipse Plugin – Thread Dump Analyser.

HtmlUnit : GUI Java Less browser

HtmlUnit – Welcome to HtmlUnit.

HtmlUnit is a “GUI-Less browser for Java programs”. It models HTML documents and provides an API that allows you to invoke pages, fill out forms, click links, etc… just like you do in your “normal” browser.

It has fairly good JavaScript support (which is constantly improving) and is able to work even with quite complex AJAX libraries, simulating either Firefox or Internet Explorer depending on the configuration you want to use.

It is typically used for testing purposes or to retrieve information from web sites.

Java opts for JMX control

Add these parameters to the java opts on application (tomcat) startup \ \ \ \

Attention: there is always a 2. random port necessairy to make this work –>> shutdown your firewall
Important for tools like javamelody or Lambda probe