the environment is:
When you installed jboss, during the installation process, did you say ejb3 or all? In case if you said ejb3 then you need jdk 1.5.
That's the case if you have jboss-4.0.4.GA-Patch1-installer.jar or ****-installer.jar.
I'm beginner as well so I might be not right.
I'm surprised it even runs in Jdk 1.4. Upgrade.
I had the same deployment issue even though I was using the latest versions of everything from the JDK to Jboss.
I gave up eventually.