John's Random Musings

May 05

Whether you’ve been following this blog via an RSS feed or you just stumble across it while searching for some information on an error message seen in WebSphere, I appreciate your time here. It’s been difficult for me to stay on top of this blog, adding new content, with all the things I’ve got my mind on lately (websphere liberty, bluemix, cloudfoundry, docker, vagrant, on and on..).

TL;DR version (or what I’m trying to get at): This blog is going away soon. I’ll be moving some of the pertinent WebSphere-related content over to the IBM WebSphere & CICS Blog. As for the rest of it, who knows? I’ll try to find a good place for it.

Oct 11

Average CPU Cycles Watches One Program Over Time -

This tool may help you determine how much CPU your WebSphere JVMs are consuming..

Oct 07

Using packet trace tools iptrace, snoop, tcpdump, wireshark, and nettl

Creating, formatting, and reading packet traces is sometimes required to resolve problems with IBM® WebSphere® Edge Server. However, the most appropriate tool varies, depending on operating system.

This mustgather covers how to grab diagnostic data on various platforms that can be used to solve networking issues.

(Really) Simple WXS!

Recently I decided to see just how easy it would be in embed WebSphere eXtreme Scale into a basic Java implementation. This post will walk you through the same activity I did and will produce: a catalog server, a container server, and a simple client application.

Read More

Finding your preferred coordinators in WebSphere Application Server

Every needed to determine where your preferred coordinator is running in your WebSphere ND environment? The preferred coordinator is a role that is placed on a JVM by the HAManager component. The preferred coordinator is responsible for the coordination of high-availability services within the scope of a core group. A core group is a logical grouping of JVMs in the WebSphere ND environment inside which highly-available services like transaction management and messaging engines are managed. In simple terms, the core group is analogous to a high availability domain.

Read More

Do you know what makes WebSphere Application Server v8 stand above others when it comes to serviceability and problem determination?

Heard of HPEL (High Performance Extensible Logging) ? If not,  check out this link on IBM Education Assistant! You can read a ton more information about HPEL from this link to the WebSphere v8 InfoCenter as well. In short HPEL can be described as : 

HPEL provides a convenient mechanism for storing and accessing log, trace, System.err, and System.out information produced by the application server or your applications. It is an alternative to the basic log and trace facility, which provided the JVM logs, diagnostic trace, and service log files commonly named SystemOut.log/SystemErr.log, trace.log, and activity.log

Where’d that large object come from?

So you’ve been testing your new Java EE application and performance is OK, not spectacular and you’ve enabled verbose garbage collection logging in order to see what the JVM is up to during your tests. You quickly notice that the JVM is reporting some rather large allocation failures in the garbage collection logs. What to do? How can we determine where these objects are being allocated from? Take a look over here at the “IBM on troubleshooting Java applications” blog and you’ll get your answer!

Oct 04

Resolving white pages when you try to view IBM InfoCenters on Firefox

Today I ran into a problem in which my Firefox 7.0.1 instance just displayed a white screen after browsing to the IBM Java v6 Diagnostic Guide InfoCenter. I fired up Firebug to see what the Net panel said and I got this little note..

Read More

Sep 28

Looking for WebSphere Connection Leak Logic tracing?

  Yesterday I needed to provide some details to a customer on how to enable the appropriate tracing in WebSphere to capture data required to determine where a database connection leak was coming from in the customer code. I quickly recalled the ConnLeakLogic trace component and set out to find it in a technote, MustGather, or InfoCenter to send to the client. Well, I could not find it explicitly written in the J2C Connection Problem MustGather, which puzzled me. After a quick review of the material with a colleague I discovered that the ConnLeakLogic trace is actually included in the WAS.j2c trace group! Addtionally, I was unable to produce this great document through a Google search with the following terms : websphere connection leak tracing. So, I plan on seeing if I can get the appropriate keywords added to that document so it can be easily picked up with the search like the one I tried.

Read More

Eclipse, Maven, m2Eclipse, and PyDev - we’re having a webapp party!

I decided not too long ago to investigate how one would write a webapp using some jython code. After a bit of searching on the interwebs I found some tutorials that confirmed that it could be done.

Read More