Categories
Miscellaneous

Pay Attention to your Processes!

I recently ran into an issue where I would intermittently get this Oracle error: ORA-12516, TNS:listener could not find available handler with matching protocol stack Nearly all of the search results for that error detailed the need to have the Oracle’s listener set up correctly. However, in my case the problem was not that the […]

Categories
Configuration Java

On the Trials of Using Websphere's JMS Provider

I was recently tasked with getting a stand-alone JMS-based client running using Websphere’s built-in JMS provider. I was confident that with just a bit of administration, a set of JAR files, and some jndi.properties values I could get something up and running in an hour or maybe two… After about twelve hours I finally finished […]

Categories
Miscellaneous

How to Predict Layoffs Using Google and LinkedIn (or "Adobe Lays Off 10% of Workforce")

If you see someone a) update his/her LinkedIn profile summary in any significant way, or b) start receiving recommendations from colleagues, it means only one thing: he/she is looking for a job.

Categories
Configuration

Simple Load Balancing using Apache mod_proxy_balancer in Just Three Steps

Apache’s mod_proxy_balancer is a very easy to set up load balancer. You could say that I was born with a hardware-based load balancer, as I have never personally been involved in the purchasing, evaluation, administration, and so forth of production load balancers. This was left up to the ops team, not the engineers. That said […]

Categories
Configuration

Configuring MySQL to Run in EC2's EBS under a Fedora AMI

There’s a lot of buzz around Amazon’s recent announcement/availability of their EBS add-on for EC2. The main reason being that it gets around the deficiency of EC2 wherein you lose all your locally-stored data if someone or something crashes your EC2 instance. Certainly, one of the main uses of EBS will be to persistently host […]

Categories
Java

Setting up Tomcat Development in Eclipse

In this post I’ll outline how to get the Tomcat source code up and running in Eclipse. This is the opposite of what most people want to do: debug web applications using Tomcat in Eclipse. This is about downloading the source code, building, and debugging Tomcat itself. We’ll be using Linux as the development environment, […]

Categories
Java

ByteBuffer.duplicate() Does Not Preserve Byte Order

I’ve just spent the last two hours pulling out my hair wondering why my ByteBuffer duplication code doesn’t work. I’m having fun with a side project to create a lightweight CIFS server in Java. Since the CIFS protocol is in little endian byte order, I have to explicitly specify the byte order via the order […]

Categories
Linux Miscellaneous

If You're Installing Fedora 8 on a Dell Inspiron 530S

I recently bought four machines for a test lab I’m configuring. Each is a Dell Inspiron 530S that comes without an operating system. (Well, technically it comes with FreeDOS.) So I set about to install Fedora 8 on it. If you’re installing Fedora 8 on a Dell Inspiron 530S, here are some tips for you: […]

Categories
Design Groovy

A Quick Catch-all Comparator Closure for Groovy

I don’t come from a functional programming background. As a result, the concepts of closures, currying, and so forth that are present in Groovy are taking some getting used to. But that’s half the fun 😉 And without even trying, I was able to come up with a practical use for both: a generic, catch-all […]

Categories
Design Java

Introducing the Java Concurrency APIs

I recently had the privilege of helping one of my clients conduct technical interviews for a Senior Java Developer position. I enjoy interviewing candidates in part because it gives me a chance to learn something. While conducting the interviews I did learn a few things, so I’m happy 🙂 However, one unfortunate thing I learned […]