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.working.dir
property in the config.properties file is not specified. See working.dir for details.<SOAVIRT_HOME>
: <SOAVIRT_HOME>
.working.dir
property in your config.properties file is specified.<SOAVIRT_HOME>/WEB-INF
directory with the config.properties file from step 2.<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.working.dir
property in the config.properties file is not specified. See working.dir for details.<TOMCAT_HOME>/webapps/
directory.<TOMCAT_HOME>/webapps
and verify license configuration.<TOMCAT_HOME>/bin
).Browse to http://<HOST>:<PORT>
and verify that the following message is displayed:
There are no deployments on this server. Cannot respond to this request: /. |
working.dir
property in your config.properties file is specified.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>
(for example, http://localhost:8080/
). One of the following messages should appear.
No virtual asset or proxy found at this path: / Enabled virtual assets: ... |
There are no deployments on this server. Cannot respond to this request: /. |
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.