WebSphere 6 Error: Unsupported major.minor version 49.0

I was trying to test a web application in WebSphere 6 when I encountered this error:

Error 500: java.lang.LinkageError: LinkageError while defining class: aiu.webservices.bean.ConfigServiceProxy Could not be defined due to: aiu/webservices/bean/ConfigServiceProxy (Unsupported major.minor version 49.0) This is often caused by having a class defined at multiple locations within the classloader hierarchy. Other potential causes include compiling against an older or newer version of the class that has an incompatible method signature.

After a little bit of puzzling and googling, the problem turned out to be that I have been compiling using JDK 1.4. while the WebSphere VM only has Java 1.4. The solution was to Project->Properties->Java Compiler->Compiler Compliance Level to 1.4. And Project->Properties->Java Build Path->Libraries->JRE System Library->Alternate JRE to 1.4.

I exported to WAR, updated the application via WebSphere console, and it worked! couldn’t believe it was that simple :P

Early Morning Scare

Jeanne had been active the past few nights as newborns normally are but for the past two nights, I noticed what I thought was difficult in breathing. We decided, fretful parents that we are, to go to the hospital.

So off we went at 1AM in the morning to hospital. When we got there, we went to the emergency room where one of the nurses checked her vitals. All the readings were normal: 100% oxygen and good heart rate. She was also kicking vigorously, crying strongly, and feeding voraciously. The doctor on duty called Jeanne’s doctor and they both agreed there seems to be nothing wrong but that if we want, we can have Jeanne admitted for observation.

Michelle and I talked about it and eventually decided to just go home to a less stressful environment, observe Jeanne, and just come back at 11AM. In the event the breathing difficulty recurs, we planned to just rush off to the nearest hospital again.

Later in the morning, we went back to the hospital, saw Jeanne’s doctor, and after a lengthy examination, concluded the same as earlier, there seems to be nothing wrong. She assured as that newborns do sometimes breathe irregularly.

Whew!

Jeanne Is Home!

Our little angel is finally home! She was confined in the nursery for a few days initially for observation, but later for antibiotics treatment due to infection cause by meconium inhalation. We were told she’ll be discharged Tuesday but we were glad when her pediatrician told us that she can be discharged by Monday. And so this afternoon, after final check-ups, a lot of paperwork, and bills, we boarded the car for the long drive home.

I had bought an infant car seat in anticipation of this exact moment. We put her in it but she was there only a few minutes and then she started crying for food. We hadn’t prepared a milk bottle had no choice but to unstrap her and breastfeed her. Unfortunately, she takes a long time to nurse, usually a few hours, so we decided to continue on while she’s feeding.

Naturally, I was rather concerned during the whole drive. I have this tendency to be risk-averse and to go for safety equipment. Be it extra camping and diving gear, mask and padded vest for airsoft,  seat belts for driving, infant car seats for babies., I usually have it. They’re all easily available but a lot of people don’t use them. The general mindset seems to be that they’re too much of a bother or not necessary. My opinion on this is that sure it’s not comfortable or may be a hassle, but definitely it’s more comfortable than even a minor injury. And it quickly becomes necessary when something untoward happens.

Fortunately, nothing did and after the slow trudge through traffic, we were finally home. Jeanne is finally home! Welcome home baby!

S-26 vs S-26 Gold

This afternoon, I was driving back to the hospital after buying some stuff. I was almost at the hospital when I got an SMS from Michelle to buy a can of baby milk. We’re on a breastfeeding regimen but we needed something to supplement for when we were at home.  I doubled back to the nearest Mercury to buy one. When I got to the hospital, the nurse told me I got the wrong milk. It was supposed to be S-26 Gold, not the S-26 that I had bought (what’s the difference?). So off I went back to Mercury to swap it with the real stuff. It wasn’t too far but the traffic always make drives longer. Wish I had the Midas touch.