Hani is a Maven user

Currently I’m interested in learning XFire cause
from word around the web it’s the fastest SOAP stack.

We always know that Hani Suleiman is a Maven hater.
So I’m rather surprised to see Hani Suleiman name
as one of XFire developers. Because XFire is
using Maven. So Hani Suleiman is a Maven user at last.

Tell me Hani. How do you like Maven now?
Do you hate it more or you begin to love it?
Bwa ha ha.

Advertisements

Fedora Core and GlassFish

Use Fedora Core and not RedHat Enterprise 3 if you use GlassFish in production environment. In RedHat Enterprise 3 my applications hangs repeatedly
without any explanations at all. This only happens when my applications
stressed. However after I modified the application
several times it’s finally produce spurious error messages. The error
messages mention about “too many open files”.

This leads me to Sun forum where they discussed this bug and
one of the solution is to upgrade the kernel. Bah! Upgrade the kernel?
Well it is better switching to Fedora Core 4 than upgrade
the kernel of RedHat Enterprise 3.

So we plan the downtime,backup our data and reinstall
our production server with Fedora Core 4. This is a very very bold move.
(Courage is one of eXtreme Programming attribute that I have 🙂 ).
This action produce results. Now my applications hangs
faster but they also produce much clearer error messages.
After 3 days fixing the bugs finally my applications runs
faster and smooth

Logging in GlassFish

One feature that I like very much from GlassFish is we can view server log files
through web interface. However I must do something in my application to enable GlassFish display my application log statement properly. GlassFish log viewer expect a message id to prefix the log information. If you do not give any message id
GlassFish will sometimes misinterpret your log info and not display it in proper format.

After a little bit research I found out that GlassFish expecting 3 upper case alphabetic character as prefix and 4 numeric follow after the prefix and a colon as
message id format. So after formmating all my logging information as “XXX0001: log message” GlassFish display all my logging statement properly.