I'm running JBoss Application Server 5.1.0.GA and just downloaded the examples for this book in JBoss format, but they don't appear to work under this version of JBoss. Before I get too far into determining what's wrong and how to correct it, I thought I would see if someone has already solved it.
When I run the "ant" task in the top-level examples directory, it installs the JMS deployment descriptor file (but nothing else). However, when I move into the Chapter1 directory and attempt to build, it is not finding the javax.ejb package, and so can't resolve the reference to "@Remote" used in the HelloUser.java source.
I've looked through the errata and searched other posts on the forum, but have not been able to find a solution.
I expect that I will be able to resolve the issue by changing the classpath configured in the common.xml build script, but I"m thinking there may be bigger problems here. The common.xml Ant script is adding the jar "jboss-ejb3x.jar" to the classpath, while that jar doesn't exist in this version of JBoss AS.
Any insight?
Thanks,
|