Installing EJB 3.0 RC4 - PFD

EJB 3.0 RC4 has been tested with JBoss 4.0.3SP1 and JBoss 4.0.4RC1. JBoss 4.0.3SP1 comes with an older version so don't use its graphical installer. If you are using JBoss 4.0.4RC1 application server, you can use its graphical installer to enable EJB3 RC4.


Installing into JBoss 4.0.3SP1

Note, the ejb 3.0 implementation that comes with the JBoss AS 4.0.3SP1 installers is old, you should download the latest EJB3 impl and follow these directions.

  1. Download EJB 3.0 RC4 - PFD.
  2. Unzip this file.
  3. Copy ejb3.deployer from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy
  4. Copy ejb3-clustered-sfsbcache-service.xml from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy
  5. Copy ejb3-entity-cache-service.xml from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy
  6. Copy ejb3-interceptors-aop.xml from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy
  7. Copy jboss-aop-jdk50.deployer from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy
  8. Copy jboss-remoting.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib
  9. Copy jboss-serialization.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib
  10. Copy jboss-j2ee.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib
  11. Remove ejb3-persistence.jar from jboss-4.0.x/server/all/lib
  12. Remove hibernate3.jar from jboss-4.0.x/server/all/lib
  13. Remove hibernate-annotations.jar from jboss-4.0.x/server/all/lib
  14. Remove hibernate-entitymanager.jar from jboss-4.0.x/server/all/lib
  15. Remove jboss-aop.deployer/ from jboss-4.0.x/server/all/deploy
  16. Start jboss up with the all configuration run.sh -c all

If you do not want to run with the all configuration, the skip the steps of copying the ejb3-clustered-sfsbcache-service.xml and the ejb3-entity-cache-service.xml

Because you patched 4.0.3SP1, the client jars in the jboss-4.0.3SP1/client directory will be invalid. Build your client classpath from:

  1. jboss-4.0.3SP1/lib
  2. jboss-4.0.3SP1/server/all/lib
  3. jboss-4.0.3SP1/server/all/deploy/ejb3.deployer
  4. jboss-4.0.3SP1/server/all/deploy/jboss-aop-jdk50.deployer