Tag Archives: java

For those who needs to look at some huge log files (usually generated by Java servers such as weblogic, tomcat or jboss…) or needs to check thread dumps (stuck thread sucks) here goes a great tool: TDA (Thread Dump Analyzer).

In a JEE architecture we have a daily work with multi-thread environments. All applications (or most of them) needs to run in cluster and share the load between many machines, domains, work managers or threads.  In such scenarios, it’s important to identify which class made a thread stuck ? What’s going on in the JVM in the moment the application stops working and freeze.  In such situations, you can take a look at the thread dump. But what is a thread dump ? In few words: a textual dump of all active threads and monitors of Java apps running in a Virtual Machine.

Of course there are much more to say about thread dumps, but today I’m just posting about a tool that can helps working thread dumps and some server side logs… TDA! (not a sound)

Here are the new features listed from TDA home:

  • Tool now is available as VisualVM plugin.
  • Skip broken thread dumps.
  • Custom Thread Categories.
  • New Welcome Screen.
  • Small Adjustments to support SAP JVM Dumps (slightly modified from SUN Dumps).
  • Small Adjustments to support HP JVM DUmps (slightly modified from SUN Dumps).
  • Read More »

And here is the link if you want to download any “ORACLE Bea Product”:

http://www.oracle.com/technology/software/products/ias/bea_main.html

2 awesome things:

And why these 2 things are so great ? Well, the first one is obvious, workshop studio is a great IDE with many plugins for JEE development, web services, ejb wizards. Also great for other application servers (JBoss, Websphere) and has plugins for Adobe Flex, which is really cool! But until this day, you were not able to download workshop studio, only “workshop”, the basic IDE that comes with all products. That really great news!
The second one is for the people who wants to use one of the best and fastest JVM in the market to work with other JEE products, not only Oracle/BEA ones.

Great job Oracle.

If you are running java apps based on swing (gui) under linux, you should be experiencing some problems, such as a “a completly blank window” or no components showing… This happens if you are using the desktop effects (even in the “Normal” level).

Common applications that I had problems:

  • Apache JMeter
  • Oracle SQLDeveloper
  • IReport

Ok, here is the simple fix: Add these 2 lines in the script that starts the application (sqldeveloper.sh for example).

export AWT_TOOLKIT="MToolkit"
export HOSTNAME=localhost

More details: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6429775

Looks like the 1.6.1 jdk will have this fixed…