Installing EJB 3.0 RC6 - PFD

EJB 3.0 RC6 already comes with JBoss 4.0.4CR2. RC6 has been tested with 4.0.3SP1 only. Not thoroughly either, so your best bet is to upgrade to 4.0.4CR2.


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 RC6 - PFD.
  2. Unzip this file.
  3. Remove ejb3-persistence.jar from jboss-4.0.x/server/all/lib
  4. Remove hibernate3.jar from jboss-4.0.x/server/all/lib
  5. Remove hibernate-annotations.jar from jboss-4.0.x/server/all/lib
  6. Remove hibernate-entitymanager.jar from jboss-4.0.x/server/all/lib
  7. Remove jboss-aop.deployer/ from jboss-4.0.x/server/all/deploy
  8. Remove ejb3.deployer from jboss-4.0.x/server/all/deploy if there is one
  9. Copy ejb3.deployer from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy
  10. Copy ejb3-clustered-sfsbcache-service.xml from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy
  11. Copy ejb3-entity-cache-service.xml from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy
  12. Copy ejb3-interceptors-aop.xml from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy
  13. Copy jboss-aop-jdk50.deployer from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy
  14. Copy jboss-remoting.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib
  15. Copy jboss-serialization.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib
  16. Copy jboss-j2ee.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib
  17. Copy hibernate3.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib
  18. Copy hibernate-annotations.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib
  19. Copy hibernate-entitymanager.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib
  20. Copy ejb3-persistence.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib
  21. Copy javassist.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib
  22. 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

WARNINGS with an 4.0.3SP1 install

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

WEB SERVICE INTEGRATION WILL NOT WORK WITH 4.0.3SP1, upgrade to 4.0.4CR2!