/ January 2012 ~ Java EE Support Patterns

1.22.2012

java.lang.NullPointerException: How to resolve

Exception in thread "main" java.lang.NullPointerException is one of the common problems and Java error that you will face when developing Java or Java EE applications. This Java Exception has been around since early JDK days e.g. JDK 1.0. Most of you probably have seen and resolve this problem multiple times so this article is mainly dedicated for individuals new in Java or interested to revisit this Java Exception. java.lang.NullPointerException: Overview NullPointerException is a runtime Exception thrown by the JVM when your application code, other referenced API(s) or middleware (Weblogic, WAS, JBoss...) encounters the following...

1.20.2012

GC overhead limit exceeded: Understand your JVM

For JVM related problems and tuning, I always recommend application support individuals to improve their basic JVM skills. The OpenJDK HotSpot implementation (c++ code) allows you to understand at a lower level the JVM business logic and memory conditions triggering errors such as GC overhead limit exceeded. This article will attempt to dissect the JVM business logic so you can better understand this severe Java memory condition. java.lang.OutOfMemoryError:...

1.12.2012

How to analyze Thread Dump – Part2: JVM Overview

Before going deeper into Thread Dump analysis and problem patterns, it is very important that you understand the fundamentals. The post will cover the basics and allow you to better your JVM and middleware interaction with your Java EE container. ** UPDATE: Thread Dump analysis tutorial videos now available here. Java VM overview The Java virtual machine is really the foundation of any Java EE platform. This is where your middleware and...

1.10.2012

Java stop Thread? Think again

When facing a stuck Thread problem, a common question is how can I dynamically kill the observed stuck Threads in order to quickly recover my middleware environment? This is a question I’m getting quite often from my work colleagues and clients. This short article will provide you with background on why this is not a good idea and not possible with current Java specifications and high level strategies to prevent stuck Threads at the first place. Stuck Thread – What is it? Stuck Thread problems are very common and can be hard to solve. A stuck Thread is basically a Thread which is hanging and / or has stopped its current assigned...

Page 1 of 3212345Next