Deploying Web Author in WebSphere (Traditional)
Oxygen XML Web Author should be deployed on its own server so that it does not share the same JVM with other web applications.
Configuring the JVM
- In the WebSphere web console, select and choose the server that will run Web Author.
- Under Server Infrastructure, expand Java and Process Management and click Process definition.
- Under the Additional Properties section (right), select Java Virtual Machine.
- In the General Properties section, enter 256 for Initial heap size and 1536 for Maximum heap size.
- In Generic JVM arguments, add:
-Dcom.ibm.websphere.jaxrs.server.DisableIBMJAXRSEngine=true
. This will disable the built-in JAX-RS support ( https://www-01.ibm.com/support/knowledgecenter/SSAW57_8.0.0/com.ibm.websphere.nd.doc/info/ae/ae/twbs_jaxrs_disable_runtime.html). - Click the Apply button and then the Save link that appears on the top of the page.
Configuring the Cookie Handling
You can use the v0CookieDateRFC1123compat property to allow cookie expiry dates to be specified in the four-digit year format instead of the two-digit year format. By default, they have the millennium problem. For example, 2084 is represented as '84, which is the same as 1984. More details about the configuration can be found here: https://www-01.ibm.com/support/knowledgecenter/SS7K4U_8.5.5/com.ibm.websphere.nd.doc/ae/rrun_chain_httpcustom.html
- Select the server as in the previous section.
- Under the Container Settings section (right), expand Web Container Settings and select Web container transport chains.
- Select the HttpQueueInboundDefaultSecure entry and then HTTP inbound channel (HTTP_4).
- Under the Additional Properties section (right), select Custom properties and click the New button.
- Add the v0CookieDateRFC1123compat property name with the value
true
. - Click the Save link that appears at the top of the page.
- Restart Oxygen XML Web Author.
Installing Web Author
Now the application can be deployed:
- In the WebSphere web console, expand the Applications section and Application Types under it.
- Select Websphere enterprise applications and uninstall any previous Web Author installations.
- Under the Applications section, select New Application.
- Click on New Enterprise Application.
- Choose the .war file, click Next, and wait until the next screen appears.
- Choose Fast Path and click Next until the 4th step.
- Set the Context Root to
/oxygenxml-web-author/
. - Click Next at every step and then Finish.
- After the processing is done, click the Save link that appears at the bottom of the page.
Configuring Web Author
Set the application class-loader to be
parent-last
:- Go to .
- Choose the Web Author application.
- Under the Modules section (right), click Manage Modules.
- Click on the oxygenxml-web-author module.
- Set the Class loader order option to classes loaded with the
local class-loader first (
parent-last
). - Click Apply and then the Save link when it appears.
- Restart Oxygen XML Web Author.