First, you don't need to copy it manually. The example's ant script is supposed to automatically deploy it.
I've tested it with JBoss 4.0.5.GA and it works. What JBoss AS version are you using?
I didn't copy it manually. When I said "it", that means the ant script ;)
I use JBoss AS 4.0.4 GA.
If you said that it works with 4.0.5 GA, I will try it again with that version.
Thank you for your reply,
I only change the version of JBoss AS and everything is working.
Thank you again,