For that matter, how in general do you find the correct jar for any class using JBoss. I have been looking for the correct jar for javax.ejb.Stateless for 2 hours. Not a clue.
Given the wide range of jars, and the number of locations (/lib, /client, /server//lib) they live in, really, how do you know which jar contains which classes?
can be found in the jboss-ejb3x.jar of your distribution. Generally, if an annotation or a specific class is from the EJB3 API (not JBoss specific) it can be found in this module. A simple
jar tvf jar-name.jar
will usually do the trick.
And in what directory you do you find the jboss-ejb3x.jar. I have looked and can't find it anywhere.
eb@CANAL /cygdrive/c/Program Files/jboss-4.0.5.GA-all$ find . -name "jboss-ejb3x.jar"
eb@CANAL /cygdrive/c/Program Files/jboss-4.0.5.GA-all$
How did you install EJB3? This jar is usually found in under the ejb3.deployer directory which in JBoss 4.0.5 is found in
At the very least your find command should pick it up. Looks like something either wasn't installed right, or something was moved.
As far as I could see the Class i in jboss-ejb3x.jar (with 'x' ).
This jar could be founf in the lib dir and not in the deploy.