To begin, download the WebSphere Liberty installer package from IBM's official support page:
IBM Website for WebSphere Liberty for Developers
For Windows: WebSphere Liberty Jakarta EE 8, Network Deployment Version 25.0.0.11
For Linux or Unix:
WebSphere Liberty Network Deployment
wlp-nd-all-25.0.0.11.jar
To install WebSphere Liberty, unzip the downloaded installer package.
Server configuration
To create and manage a new server:
Key locations for server files
-
Server Log: Located in the logs folder
within the created server directory. It is named as
messages.log. - server.xml: Contains all the configurations required for application installation.
-
bootstrap.properties: Holds property values to be used in
server.xmland other server-level configurations, such as formatting server logs and enabling trace logging.
Liberty feature installation
The Liberty server does not come pre-packaged with features for
installation. Instead, each feature required by an application must be added to the
server.xml file and installed before it can be used.
To install individual features, execute the following command:
-
For Windows OS:
installUtility install <featureName> -
For Linux or Unix:
./installUtility install <featureName>For example:
installUtility install jdbc-4.1
To install all features specified in server.xml at once, execute the following command:
-
In Windows OS:
installUtility install <serverName> -
In Linux or Unix:
./installUtility install <serverName>
For example:
installUtility install server1
server.xml.Application deployment on WebSphere Liberty
- Extract the downloaded build product builds. Run the following script to extract
the files to the installation folder:
- For Windows:
infogixextract.bat - For UNIX or Linux:
./infogixextract.sh
- For Windows:
- Execute
Init-configand choose option 2 (websphereLiberty) for appserver. - If required, create a new SQL/Oracle Server database to verify the
populate-dbcommand. Skip this step if the database is already created and populated. - Manually configure the installer properties (located in
Infogix/config).
- Update the
appserverandappserver.advancefiles with the necessary changes such as port, host, liberty home, and other required settings.
- Update the
- Execute the
cleancommand. - Execute
Validate-config-values. - Optionally, execute
populate-db. - Execute
deploy. - Execute
config-websphere-libertywith the product name as an argument.For example:
config-websphere-liberty.bat IA - Start the server and review the server log to confirm successful deployment.
- Launch the application.
The config-websphere-liberty command will create these items:
- server.xml (Product specific server.xml will replace default server.xml)
- bootstrap.properties
- jvm.options
- Configuration folder which will hold the application specific
configuration like
IA_Server.xml
config-websphere-liberty command, as shown
below.Default configuration (IA_Server.xml):
<httpSession cookieName="AssureJSESSIONID" cookiePath="/infogixassure" invalidateOnUnauthorizedSessionRequestException="true"/>
<webAppSecurity includePathInWASReqURL="true" ssoCookieName="AssureLTPATOKEN"/>
Modified value (IA_Server):
<httpSession cookieName="AssureJSESSIONID" invalidateOnUnauthorizedSessionRequestException="true"/>
Default configuration (II_Server.xml):
<httpSession cookieName="InsightJSESSIONID" cookiePath="/infogixinsight" invalidateOnUnauthorizedSessionRequestException="true"/>
<webAppSecurity includePathInWASReqURL="true" ssoCookieName="InsightLTPATOKEN"/>
Modified value (II_Server):
<httpSession cookieName="InsightJSESSIONID" invalidateOnUnauthorizedSessionRequestException="true"/>