Figured it out:
Chapter 5 fails to mention that you have to copy
j2eetutorial/examples/jar/mdb-app-client.jar
to the
jboss/server/default/deploy
directory.
That corrects the problem.
Jack
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831464#38314
please explain what
"you need to deploy on JBoss as well"
means?
As far as I can tell, I followed chaper 5 to the letter, and I did put the
simplemessage.jar in the default/deploy directory. To me that would indicate it's
deployed on JBoss.
I looked at the JNDIView.list:
Ejb Module: simple
I can deploy the simplemessage.jar, but when I run the client I get the following:
==
C:\j2eetutorial\examples>ant -f jboss-build.xml run-mdb
Buildfile: jboss-build.xml
run-mdb:
[java] JNDI lookup failed: javax.naming.NameNotFoundException:
Simple