Deploying Web Author in WebSphere Liberty
The following procedure is an example for a deployment ofOxygen XML Web Author in WebSphere Liberty:
- Download IBM WebSphere Liberty version 21.0.0.3. For information, see https://www.ibm.com/support/pages/21003-websphere-application-server-liberty-21003.
- Extract the contents of the downloaded archive into a folder.
- Open a command-line interface and go to that folder.
- Execute the following
command:
bin\server create
- Put the Oxygen XML Web Author .war file in: usr\servers\defaultServer\dropins.
- Modify usr\servers\defaultServer\server.xml with
the following
code:
<server description="new server"> <!-- Enable features --> <featureManager> <feature>javaee-8.0</feature> <feature>localConnector-1.0</feature> </featureManager> <!-- To access this server from a remote client add a host attribute to the following element, e.g. host="*" --> <httpEndpoint httpPort="9080" httpsPort="9443" id="defaultHttpEndpoint"/> <!-- Automatically expand WAR files and EAR files --> <applicationManager autoExpand="true"/> <classloading useJarUrls="true"/> <httpSession cookieName="WEBSPHERE_JESSIONID"/> <webContainer com.ibm.ws.webcontainer.initFilterBeforeInitServlet="true" com.ibm.ws.webcontainer.invokeFilterInitAtStartup="true" /> <applicationMonitor updateTrigger="mbean"/> <keyStore id="defaultKeyStore" password="[keystore password]"/> <basicRegistry id="basic" realm="BasicRealm"> </basicRegistry> </server>
- Create a jvm.options file in
[WEBSPHERE]\usr\servers\defaultServer\, with the following
content:
-Doxygen.data.dir=<path-to-wlp>\usr\servers\defaultServer\data
- Run the following command to install all the required
components
bin\installUtility install defaultServer
- The deployment will be made automatically by WebSphere (check [WEBSPHERE]\usr\servers\defaultServer\logs\console.log).
- In a command-line interface, execute the following
command:
bin\server start --clean
Additional Information:
- The application is deployed when the URL is first accessed (http://localhost:9080/oxygenxml-web-author/app/oxygen.html).
- The Web Author log can be found in: <path-to-wlp>\usr\servers\defaultServer\data\logs\oxygen.log.
- To view the status of the server, run:
bin\server status
. - To stop the server, run:
bin\server stop
.