Home > Installation
Install Note for WebSphere 5.1
Warnings
This chapter describes a quick installation example of EBX.Platform on IBM WebSphere 5.1 Application Server.
It does not replace the documentation of this application server.
It is not a general installation recommendation, since actual installation process is fixed by architecture choices (technical environment, applications mutualization, delivery process, company choices, etc.).
The complete description of the components needed by EBX.Platform is given in chapter Components.
In this document, we do not deploy an additional EBX.Platform module. For that, a good practice would be to rebuild an EAR with the EBX.Platform module as a Web application at the same level as other EBX.Platform Web applications. In this case, the web application must declare its class-path dependency in the standard manner specified by Java™ 2 Platform Enterprise Edition Specification, v1.4:
J2EE.8.2 Optional Package Support
(...)
A JAR format file (such as a .jar file, .war file, or .rar file) can reference a .jar file by naming the referenced .jar file in a Class-Path header in the referencing JAR file’s Manifest file. The referenced .jar file is named using a URL relative to the URL of the referencing JAR file. The Manifest file is named META-INF/MANIFEST.MF in the JAR file. The Class-Path entry in the Manifest file is of the form
Class-Path: list-of-jar-files-separated-by-spacesIn an "industrialized" process, we strongly recommend to develop a script that automatically builds the EAR, with the specific EBX.Platform module(s), the EBX.Platform Web applications and also all the shared libraries needed.
In order to avoid unpredictable behavior, the minimal rule to follow is to avoid any duplication of
ebx.jaror other libraries on the class-loading system.
Installation Example Overview
Create the EBX_HOME directory: Copy
ebx.propertiesInstall EBX.Platform library: Websphere Server Application - First steps, Environment, Shared Libraries
Configure JVM arguments (Java system properties): Servers, Application servers, server1, Process Definition, Java Virtual Machine, Generic JVM arguments
Deploy EBX.Platform application: Applications, Install New Application
Installation Example Detail
Create a EBX_HOME directory, for example C:\EBX\home
Create a EBX_LIB directory, for example C:\EBX\lib
Create a EBX_EAR directory, for example C:\EBX\ear
Copy
ebx.software\files\ebx.propertiesfile to EBX_HOME. In our example, we will then have the following file:C:\EBX\home\ebx.properties, a text file
Copy third-party library files to EBX_LIB directory. In our example, we will have:
C:\EBX.software\lib\activation.jar
C:\EBX.software\lib\mail.jar
C:\EBX.software\lib\hsqldb.jar
The exact description of these components is given in chapter Components. Obviously, if those components are already deployed on the class-loading system, they don't have to be duplicated.
Copy the file EBX.software/webapps/ear-packaging/ebxPlatform.ear to EBX_EAR. In our example, we will have:
C:\EBX\ear\ebxPlatform.ear
Launch "Websphere Server Application - First Steps " console
Start the server
Launch the administration console and login
Specify the EBX.Platform library:
In the menu on the left, click on "Environment "
Click on "Shared Libraries "
In the "Shared Libraries " page, click on the button "New ". The "Shared Librarie > New " page is then displayed.
In the field *Name, enter the library name. In our example, it is lib_of_ebx
In the field *Classpath, enter the EBX_LIB path. In our example, it is C:\EBX\lib
Click on the button "OK"
Save modifications by clicking on "Save" in the "Messages" panel on top of the "Shared Libraries" page
Click on the button "Save "
In the menu on the left, click on "Servers"
Click on "Application servers"
In the "Application servers" page, click on the server name. In our example, the server name is server1.
In the configuration page of "Application servers > server1", click on "Process Definition"
Click on "Java Virtual Machine", which is a sub-menu of "Additional Properties"
In the field "Generic JVM arguments", enter:
-Debx.home=C:\EBX\home -Debx.properties=C:\EBX\home\ebx.propertiesHere, ebx.home is the directory of EBX_HOME, ebx.properties is the configuration file of EBX. In our example, they are respectively C:\EBX\home and C:\EBX\home\ebx.properties
Click on the button "OK", at the bottom of the page
Save modifications by click on "Save" in the "Messages" panel at the top of the page, then click on the button "Save"
In the menu on the left, click on "Applications"
Click on "Install New Application"
In the page "Preparing for the application installation", in the field "Local path", select ebxPlatform.ear file. In our example, it is C:\EBX\ear\ebxPlatform.ear
Click on the button "Next" at the bottom of the page "Preparing for the application installation"
Select "Default virtual host name for Web modules"
Click on the button "Next"
Click on the button "Continue"
In the page "Install new Application, Step 1: Provide options to perform the installation", the field "Directory to install application" is the installation directory of EBX.Platform. In our example, it is "C:\EBX\ear"
Click on the button "Next"
In the page "Install new Application, Step 2: Map virtual hosts for web modules", click on the button "Next"
In the page "Install new Application, Step 3: Map resource references to resources", as we don't use JNDI resource in this example, input "
DefaultDatasource", then click on the button "Next"In the page "Install new Application, Step 4: Map modules to application servers", select all modules: ebx.war, ebx-root-1.0.war, ebx-manager-1.0.war
Click on the button "Next"
Click on the button "Finish"
The page "Installing… " is displayed. The message "Application EBX.Platform installed successfully" will be displayed at the bottom of the page
In the menu on the left, click on "Applications"
Click on "Enterprise Applications"
In the page "Enterprise Applications", click on EBX.Platform
In the page "Enterprise Applications > EBX.Platform", click on "Libraries", below "Additional Properties"
Click on the button "Add"
Select the library we added in step 10.4: lib_of_ebx
Click on the button "OK"
Save modifications by clicking on "Save" in the "Messages" panel at the top of the "Enterprise Applications" page
Click on the button "Save"
In the "Websphere Server Application - First steps" console, stop the server
In the "Websphere Server Application - First steps", start the server
Restart the administration console, in the menu on the left, click on "Applications"
Click on "Enterprise Applications"
In the page "Enterprise Applications", select EBX.Platform
Click on the button "Start".
Run EBX.Platform.
Run EBX.Manager Web application: http://localhost:9080/ebx/.
At first launch, EBX.Platform Wizard helps you to configure the default properties of your initial repository.
Home > Installation