3.2.2. Enterprise installation

Move to the Nova Bonita installation directory and:

3.2.2.1. EasyBeans EJB3 Installation and deployment

Here after you will find steps required to deploy Nova Bonita (JEE version) in EasyBeans EJB3 container:

  • Download easybeans RC3 jar file at http://maven.objectweb.org/maven2/org/ow2/easybeans/easybeans-uberjar-toplink-essentials/1.0.0.RC3/easybeans-uberjar-toplink-essentials-1.0.0.RC3.jar Easybeans is using a directory called 'easybeans-deploy' in the basedir to deploy new archives

  • Create a directory with this name in the folder from where you will start easybeans container and copy the bonita.ear file in to the created 'easybeans-deploy' directory

  • Be sure to have all security permissions in your java.policy file: permission java.security.AllPermission

  • Then start easybeans :

    java $JAVA_OPTS -Dorg.ow2.bonita.environment="name of the envrinoment file to use" -Djava.security.manager -Djava.security.policy="path to your java.policy" -jar "easybeans RC3 jar file"

  • Then start easybeans :

    WARNING : if you want to use another DB than HSQL, you should start your EE container with the appropriate driver in the classpath. In that case, instead of starting easybeans with -jar option, you have to start it like : -cp "path to driver or $CLASSPATH...":"easybeans RC3 jar file":"easybeans main class" Easybeans main class can be found in the MANIFEST file of Easybeans jar file (org.ow2.easybeans.server.EasyBeans)