|
Guidelines, Patterns, and code for end-to-end Java applications.Java Adventure Builder Demo 1.0 Early Access > Installing the Demo Installing the DemoThis section describes how to install the Java Adventure Builder Demo, version 1.0 Early Access 3.1 System RequirementsBefore installing the demo, you need to download and install the following software:
2. Java 2 SDK, Enterprise Edition (J2EETM SDK), v 1.4 Beta2 Release: download here Note 1 : When downloading J2EE v1.4Beta2, you have the choice to download and install a bundle that comes with J2SE v1.4.1_02. If you choose this approach, you need not install J2SE 1.4.1_02 seprately. Note 2 : You also have the choice to download
and install J2EE v1.4Beta2 without any J2SE version bundled with it. If you
choose this approach, ensure that the J2SE version you use is J2SE v1.4.1_02.
There are known problems when J2EE v1.4Beta2 is used with J2SE v1.4.2 which
are currently getting fixed. Required Environment VariablesYou must set the environment variables JAVA_HOME and J2EE_HOME , which you do as follows:
J2EE_HOME must point to the root directory of your J2EE SDK installation. For example, if you installed the J2EE SDK in /usr/local/java/j2sdkee1.4 , then set the value of J2EE_HOME to that path. For Unix: $JAVA_HOME/bin $J2EE_HOME/bin For Windows: %JAVA_HOME%\bin %J2EE_HOME%\bin Also your CLASSPATH must include the following . For Unix: $J2EE_HOME/lib/j2ee.jar For Windows: %J2EE_HOME%\lib\j2ee.jar Installing the DemoNOTE : If you are using this application on an already installed instance of the J2EE 1.4 Beta2 server and you had already deployed the version of adventure builder application that is present as part of the samples bundle of the J2EE 1.4 Beta2 server, you have to undeploy all the adventure builder application components completely before performing the instruction listed below. For instruction on uninstalling the adventure builder application components, see the next section of this document.To install the demo, follow these steps:
Unzipping the distribution bundle creates a directory called adventure1.0ea3.1 . The rest of this documentation refers to this directory as <adventure.home> . 2. Start Pointbase database and wait till it is up and running.
cd <adventure.home>If you are using Windows, open a command prompt and enter these commands: cd <adventure.home>
If you are using Unix, open a shell prompt and enter these commands: cd <adventure.home>If you are using Windows, open a command prompt and enter these commands: cd <adventure.home> Uninstalling the DemoFirst check if you have already deployed versions of adventure builder application in your server by entering the following command and ensure that no application with name adventure or opc is present : asadmin list-componentsIf either or both applications adventure, opc are present in the server, undeploy them using the following command : asadmin undeploy <application name>
| ||||||||||||||||||
|
| ||||||||||||