I_Hate_Weblogic

Quick Profile

Alex Ooi Profile Picture
Hometown: Melbourne, Australia
Specializations: Java, Ruby on Rails
University: Software Engineering & Economics, Melbourne University
High School: VCE, Melbourne High School
Links:
 

Popular Articles

Tuesday, April 20, 2010

Yes. I Do ... I Hate Weblogic. I Hate It With A Vengence.

But Its Enterprisy!!!

There are some people out there who seem to think u need a super expensive, fully fledged J2EE application server to host a simple JSP/Servlet application. I don't know why. Maybe it feeds their ego that they are doing "enterprise development".

Anyway, I know for a fact that some of the biggest customer facing applications in australia, like this one, was deployed on this simple jsp/servlet container. Now I don't know what they run now, but this was the case about 3 years ago when I was last on the project. And they had been running on it fine for awhile before i got there.

This is F***en Retarded

Something a dude next to me just exclaimed, and it sums up my feelings on Weblogic...

So whats wrong?

Its a memory hog. Assigning 512m of heap space and 512m of perm gen space still results in Weblogic dying after about 7-10 deploys. This means that we have failing Selenium/Web test builds about 3 or 4 times a day JUST BECAUSE OF WEBLOGIC DEPLOYMENT FAILING DUE TO OUT OF PERM GEN SPACE ERROR!!!!!!!!!

Its slow. Deploys take forever. And it gets slower and slower the more deploys you do. And we're not even talking about 30 or 40 deploys. After literally 5 deploys its time to restart the server! Completely hopeless. Which leads me onto my next point which is...

It takes forever to startup. Its like someone just stuck a "sleep for X amount of time" in the startup sequence. Cos the server just sits there doing nothing for about 5 minutes every single freken time. grrrrrrrrrrrrrrrrrrr

How much do these people pay for this thing?

A very very big number

Alternatives

Just cos you don't pay top dollar for an application server doesn't mean its not good. Take a look at this, and this, and this one. I've never had to restart an application server as many times as I've had to with Weblogic. Its ridiculous ...

Comments ...

use cargo for your selenium test cases :)
Posted by Ultimate Bat Pig on Tuesday, April 20, 2010 at 10:52 PM
Hellooo
Posted by GiGi on Wednesday, April 21, 2010 at 10:23 AM
Hello World!
Posted by Ultimate Bat Pig on Wednesday, April 21, 2010 at 10:29 AM
You guys really need to get ur own blogs ... Mr. Craig Heath and Mr. Alex
Wibowo!!!

There ... I've named you for the Bat Pigs and Super Piglets you really are!!!
Posted by Alex Ooi on Wednesday, April 21, 2010 at 07:17 PM
I'm a Bat Pig, Super Bat Pig is a mere piglet. :)
Posted by Ultimate Bat Pig on Thursday, April 22, 2010 at 11:20 AM
I agree Weblogic is an overkill for small apps.

However, I like to point out that Perm Gen space error is not a weblogic issue.
It's a documented hibernate issue with cglib being the cause of memory leak.

I agree that it's blardy slow and takes forever to start up. You can tune it
however by precompile the jsp.

You should not use Weblogic for development environment. Run your app on a
light-weight container like jetty and run your full build on a weblogic server
at night.
Posted by tester on Friday, April 23, 2010 at 06:28 PM
First useful comment!

Thanks for the tips! However, I'm rather surprised that a tester would know
such things?! They usually don't know anything ;)
Posted by Alex Ooi on Friday, April 23, 2010 at 06:40 PM

Add a Comment

*
*
You must answer the following simple maths question before your comment will be accepted.
*