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.
- Download EJB 3.0 RC6 - PFD.
- Unzip this file.
- 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
- Remove ejb3.deployer from jboss-4.0.x/server/all/deploy if there is one
- 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
- Copy hibernate3.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib
- Copy hibernate-annotations.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib
- Copy hibernate-entitymanager.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib
- Copy ejb3-persistence.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib
- Copy javassist.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib
- 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:
- 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
WEB SERVICE INTEGRATION WILL NOT WORK WITH 4.0.3SP1, upgrade to 4.0.4CR2!