Hi Ade, Sorry about the mistake. Here is the code. A point of note:- THIS SAME SET OF CODE WHEN DEPLOYED ON JBOSS-3.0.4 IT WORKS WITHOUT ANY PROBLEMS. I WONDER WHY IT WON'T WORK on Jboss-3.2.x I also tried the Ship-Cabin Example from OReilly and even that won't work on Jboss-3.2.x for the same error situation.