Investigate intermittent production issues in WebSphere Application Server

In every production environment there is a very complicated kind of issues to solve: the intermittent ones.

The kind of errors that happens “sometime” only: tricky to catch and reproduce.

But from last August, there is a tool that can help us to investigate errors like these

[WebSphere Application Server Log Watcher: Using TrapIt.ear to watch for WebSphere Application Server events]

Executing from command line a very simple EAR file (trapit.ear) using Websphere Application client, you can define trigger events based on systemout messages.

Using a specific syntax you can generate javacores or activate traces or executing OS scripts depending on the messages are appearing on Websphere Application Server systemout file.

For example you can

sh> ./ /full/path/to/TrapIt.ear localhost:2809 EVENT=1,WSVR0605W JAVACORE=3,60

generate three javacores at 60 second intervals when the warning WSVR0605W shows up in the log.

Remember there will be always a small delay between the event and the action but this is a very interesting debug option for this kind of issues.


Websphere Commerce and Portal Architect ✔ Motivated IT professional with more than ten years of experience, combining Java and JEE developer skills with systems and IBM products installation knowledge. ✔ Strong experience and skills on planning, architecting and implementing complex commerce and portal solutions based on IBM middleware products. ✔ Reliable with a strong network attitude, experience on leading developer's teams and manage international relationships. Specialties ✔ Pleasant manner, reliable. ✔ Ability to consider issues from different point of views. ✔ End-oriented work capacity and problem-solving attitude. ✔ Ability to work with deadlines and under pressure. ✔ Ability to prioritise tasks and manage people. ✔ Ability to increase the whole team skills. ✔ Ability to generate commercial leads

Tagged with: , ,
Posted in troubleshooting, websphere application server

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: