This chapter describes a quick installation example of TIBCO EBX® on the WebSphere Application Server.
It does not replace the documentation of this application server.
These are not general installation recommendations, as the installation process is determined by architectural decisions such as the technical environment, application mutualization, delivery process, and organizational decisions.
The complete description of the components required by EBX® is given in the following chapter: Java EE deployment.
In order to avoid unpredictable behavior, the guideline to follow is to avoid any duplicates of ebx.jar
or other libraries in the class-loading system.
Install the WebSphere Application Server
Create the EBX_HOME
directory: copy ebx.properties
Create a new profile by using the 'WebSphere Customization Toolbox'
Create a data source and JDBC provider
Configure the Java Virtual Machine
Install the EBX.ear application
Start the EBX® application
WebSphere Application Server 9
Database and JDBC driver
EBX® CD
No CDI features in EBX®'s additional modules (since CDI will be automatically disabled)
This quick installation example is performed for a Linux operating system.
To download WebSphere AS 9, please first download the latest 'Installation Manager' from
Run the 'Installation Manager' and add the following repositories:
WebSphere Application Server V9.0:
http://www.ibm.com/software/repositorymanager/V9WASBase
WebSphere Application Server Network Deployment V9.0:
http://www.ibm.com/software/repositorymanager/V9WASND
Install the 'WebSphere Application Server Network Deployment'
For further installation details, please refer to the documentation.
Run the 'WebSphere Customization Toolbox' and perform a standard installation with default options:
Create profile: click 'Create' then select 'Application Server', and click 'Next'
Profile Creation Options: select 'Advanced profile creation' and click 'Next'
Optional Application Deployment: select those options:
Deploy the 'Administrative Console'
Deploy the 'Installation Verification Tool' application
Then click 'Next'
Profile Name and Location: enter a profile name (example: 'EbxAppSrvProfile') and directory
/opt/IBM/WebSphere/AppServer/profiles/EbxAppSrvProfile
further correspond to PROFILE_HOME
and click 'Next'
Node and Host Names: enter the node name (example: 'Node1'), the server name (example: 'EbxServer'), the host name (example: 'localhost'), and then click 'Next'
Administrative Security: check 'Enable administrative security' option, enter the user name, the password, and click 'Next'
Security Certificate (part 1): select 'Create a new default personnal certificate' and 'Create a new root signing certificate', and click 'Next'
Security Certificate (part 2): keep as default and click 'Next'
Port Value Assignment: keep as default and click 'Next'
Linux Service Definition: check 'Run the application server process as a Linux service' option, enter the user name (example: 'ebx'), and click 'Next'
Web Server Definition: keep as default and click 'Next'
Profile Creation Summary: keep as default and click 'Create'
Profile Creation Complete: uncheck 'Launch the First steps console' option, and click 'Finish'
Create the EBX_HOME directory, for example /opt/ebx/home
Copy from the EBX® CD the ebx.software\files\ebx.properties
file to EBX_HOME. In our example, we will then have the following text file:
/opt/ebx/home/ebx.properties
.
Edit the ebx.properties
file to override the default database if needed. By default, the standalone H2 database is defined. The property key ebx.persistence.factory
must be uncommented for other supported database and it is required to comment the h2.standalone
one
Create the EBX_LIB
directory, for example /opt/ebx/lib
Copy third-party library files from the EBX® CD, or from other sources, to the <EBX_LIB>
directory. In our example, for a PostgreSQL database, we will have:
postgresql-X.X.X-driver.jar
(coming from another source than the EBX® CD).
xml-apis-1.4.01.jar
(coming from the EBX® CD directory ebx.software/lib/lib-xml-apis/
).
The exact description of these components is given in the chapter Components. If those components are already deployed on the class-loading system, they do not have to be duplicated (ex: javax.mail-1.5.6.jar is already present on the WebSphere Application Server, and the database driver is configured at the data source level).
Start the server (for example 'EbxServer'),
sudo <PROFILE_HOME>/bin/startServer.sh <serverName>
cd /opt/IBM/WebSphere/AppServer/profiles/EbxAppSrvProfile
sudo bin/startServer.sh EbxServer
.
Connect into the 'WebSphere Integrated Solutions Console' using the user name and password typed during the profile creation (Administrative Security step), enter the following url in the browser:
Create a data source and JDBC provider
On the left menu, go to 'Resources > JDBC > Data Sources', to configure your database access. Choose the jdbc 'Scope' (for example use 'Cell'), and click 'New'
Enter basic data source information:
Data source name: EBX_REPOSITORY
JNDI name: jdbc/EBX_REPOSITORY
click on 'Next'
Select the JDBC provider: select 'Create new JDBC provider', and click 'Next'
Create a new JDBC provider: (example with a PostgreSQL database)
Database type: User-defined
Implementation class name: org.postgresql.ds.PGConnectionPoolDataSource
Name: PostgreSQL
and click 'Next'
Enter database class path information: (example with a PostgreSQL database)
Class path: /opt/ebx/lib/postgresql-X.X.X-driver.jar
and click 'Next'
Enter database specific properties for the data source: keep as default and click 'Next'
Setup security aliases: keep as default and click 'Next'
Summary: click 'Finish'
Save the master configuration
Configure the data source: jdbc/EBX_REPOSITORY
Click on 'Data Sources > EBX_REPOSITORY
'
On the right in the 'Configure additional properties' section, click on 'Additional Properties' and define the database account access:
Define user
value to the according user
Define password
value to the according password
Save the master configuration
Test the connection
Configure the Java Virtual Machine
Click on 'Application Servers'
Click on the server name (for example: 'EbxServer')
Click on 'Process definition' under 'Server infrastructure > Java Process Management'
Click on 'Java Virtual Machine' under 'Additional Properties'
Enter in 'Generic JVM arguments' the value:
-Debx.properties=/opt/ebx/home/ebx.properties -Debx.home=/opt/ebx/home
Enter in 'Classpath' the paths to the third-party library files placed in the <EBX_LIB>
directory except for the JDBC driver
click 'Ok'
Save the master configuration
Copy from the EBX® CD the ebx.software/webapps/ear-packaging/EBX.ear
to the EBX_HOME directory. In our example, we will have:
/opt/ebx/ear/EBX.ear
Connect into the 'WebSphere Integrated Solutions Console' using the user name and password typed during the profile creation (Administrative Security step), enter the following url in the browser:
Click on 'WebSphere enterprise applications' under 'Applications > Application Types'
Install the EBX® application
New Application: On the right panel, click on 'New Enterprise Application'
Preparing for the application installation: Browse your EBX.ear file, located under /opt/ebx/ear/EBX.ear
, then click 'Next'
How do you want to install the application?: Select 'Fast Path...', then click 'Next'
Select installation options: keep as default, then click 'Next'
Map modules to servers: select all modules, then click 'Next'
Map resource references to resources: copy the 'Resource Reference' value and paste it in the 'Target Resource JNDI Name' field, for all modules, then click 'Next'
Warnings will appear related to JNDI:mail/EBX_MAIL_SESSION
and JNDI:jms/EBX_JMSConnectorFactory
. This behavior is normal since we had not configured these resources. Click 'Continue'
Map resource environment references to resources: Copy the 'Resource Reference' value and paste it to the 'Target Resource JNDI Name' value, for all modules, then click 'Next'
Warnings will appear related to non-available resources. This behavior is normal since we had not configured these resources, then click 'Continue'
Map virtual hosts for Web modules: select all modules and click 'Next'
Summary: keep as default, click 'Finish'
If installation succeeds, it logs 'Application EBX® installed successfully', then click 'Save'
On the left menu, go to 'Applications > Enterprise Applications'
Change EBX® application's class loader policy
Click on EBX® resource’s name
On the 'configuration' pane, under 'Detail Properties', select 'Class loading and update detection'
Under 'General Properties', change 'Class loader order' to 'Classes loaded with local class loader first (parent last)'
Return to 'Applications > Enterprise Applications'
Enterprise Applications: select EBX®, and then click 'Start'
The EBX® 'Application status' will be changed into a green arrow
After the launch of the WebSphere Server, run the EBX® web application: http://localhost:9080/ebx/
At first launch, EBX® Wizard helps you to configure the default properties of your initial repository