Step 1. Stop the Tomcat server
...
Make sure that you have downloaded the latest version of the agent and unzip it into a temporary location (for example, /u01/software), so it can be accessed during the upgrade process. You can get download links from http://support.flexagon.com . Do not unzip the distribution directly into the AGENT_HOME directory so we can prevent unwanted file(s) or folder(s) from being overwritten.
Linux
Code Block | ||
---|---|---|
| ||
mkdir /u01/software/agent cd /u01/software/agent unzip <download location path>/HttpsAgentTomcatComplete-6.5.x.x.zip |
...
You will need to apply the old configuration from the backup.
Linux
Code Block |
---|
cd $AGENT_HOME
cp apache-tomcat-flexdeploy-https-agent-old/conf/server.xml apache-tomcat-flexdeploy-https-agent/conf/server.xml
cp apache-tomcat-flexdeploy-https-agent-old/conf/tomcat-users.xml apache-tomcat-flexdeploy-https-agent/conf/tomcat-users.xml |
Windows
Code Block |
---|
cd %AGENT_HOME%
copy apache-tomcat-flexdeploy-https-agent-old/conf/server.xml apache-tomcat-flexdeploy-https-agent/conf/server.xml
copy apache-tomcat-flexdeploy-https-agent-old/conf/tomcat-users.xml apache-tomcat-flexdeploy-https-agent/conf/tomcat-users.xml |
Step 6. Start server
Linux
Code Block |
---|
cd $AGENT_HOME ./StartFlexDeployHttpsAgent.sh |
Windows
Code Block |
---|
cd %AGENT_HOME%
StartFlexDeployHttpsAgent.bat |