There are two methods for upgrading a server that has been deployed to Apache Tomcat.
For instructions on new installations for Tomcat, see Apache Tomcat Example Deployment.
If you deployed the SOAtest and Virtualize Server using the method described in Apache Tomcat Deployment Example 1 (Recommended Method), use the following instructions to upgrade the WAR file.
<SOAVIRT_HOME>
directory.<SOAVIRT_HOME>/WEB-INF
directory to a temporary location.<SOAVIRT_HOME>
directory.working.dir
property in the config.properties file is not specified. See working.dir for details.<SOAVIRT_HOME>
directory. <SOAVIRT_HOME>
.<SOAVIRT_HOME>/WEB-INF
directory with the config.properties file from step 2.<SOAVIRT_HOME>
. <TOMCAT_HOME>/bin
).If you deployed the SOAtest and Virtualize Server using the method described in Apache Tomcat Deployment Example 2 (Shortcut Method), use the following instructions to upgrade the WAR file.
<TOMCAT_HOME>/webapps/ROOT
directory.ROOT
directory.working.dir
property in the config.properties file is not specified. See working.dir for details.<TOMCAT_HOME>/webapps/
ROOT
directory.<TOMCAT_HOME>/webapps/ROOT.
<TOMCAT_HOME>/webapps
and verify license configuration.ROOT
directory.<TOMCAT_HOME>/bin
).You can confirm that your server is ready and available a couple ways.
To confirm that your server is ready, browse to http://<HOST>:<PORT>/soavirt/api/v6/status
(for example, http://localhost:9080/soavirt/api/v6/status
) and check the "licensed" field under "soatest" and/or "virtualize" (as appropriate for your license) in the response. The "license" field should be set to true
and a list of licensed features (both active and inactive) will follow.
"soatest": { ... "licensed": true, ... "virtualize": { ... "licensed": true, |
Run the following command to check the health status of the server:
curl -X GET "http://<HOST>:<PORT>/soavirt/api/v6/healthcheck" -H "accept: */*" |
This command returns a 200
status code if the server is healthy and a 500
status code if there is an issue with the server.
If your server is healthy, you can validate your existing deployments with a command like the following:
curl -X GET "http://<HOST>:<PORT>/soavirt/api/v6/virtualAssets?fields=id%2Cname%2Cenabled" -H "accept: application/json" |
The output should show you available virtual assets.