Execute the following command and post the output:
jar -tf jarfilename.jar
where jarfilename.jar is the jar containing oyur beans
It's working now, some typo which i overlooked but i still have problems:
javax.management.InstanceNotFoundException: jboss.j2ee:jndiName=local/TestMDB@11013223,service=EJB is not registered.
And also it does not seem to see the Queue i defined in the jboss-jar.xml which is present in JBoss.
Can i specify the JNDI name of an EJB or should JBoss take the ejb-name element?