Are you using the admin-console to deploy the application? And which exact version of JBoss AS5?
Try deploying it manually by placing it in JBOSS_HOME/server/< servername>/deploy folder.
Thanks Jai ,
The exception went away ,iam not sure how ?
Iam using JBoss EWP 5 , and i tried to deploy the application using console also at that time , it still showed the exception .