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.
- Download EJB 3.0 RC4 - PFD.
- Unzip this file.
- Copy ejb3.deployer from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy
- Copy ejb3-clustered-sfsbcache-service.xml from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy
- Copy ejb3-entity-cache-service.xml from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy
- Copy ejb3-interceptors-aop.xml from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy
- Copy jboss-aop-jdk50.deployer from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy
- Copy jboss-remoting.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib
- Copy jboss-serialization.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib
- Copy jboss-j2ee.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib
- Remove ejb3-persistence.jar from jboss-4.0.x/server/all/lib
- Remove hibernate3.jar from jboss-4.0.x/server/all/lib
- Remove hibernate-annotations.jar from jboss-4.0.x/server/all/lib
- Remove hibernate-entitymanager.jar from jboss-4.0.x/server/all/lib
- Remove jboss-aop.deployer/ from jboss-4.0.x/server/all/deploy
- 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:
- jboss-4.0.3SP1/lib
- jboss-4.0.3SP1/server/all/lib
- jboss-4.0.3SP1/server/all/deploy/ejb3.deployer
- jboss-4.0.3SP1/server/all/deploy/jboss-aop-jdk50.deployer