Portal Upgrades (Win): Tomcat and Apache > Upgrading to Tomcat 7 (Windows)
  
Version 10.0.01
Upgrading to Tomcat 7 (Windows)
1. Stop Apache and Tomcat services.
2. Rename /opt/tomcat as tomcat_old. Extract the new tomcat 7 binaries from bins3rdparty\Tomcat\windows\apache-tomcat-7.0.50_x64.zip to C:\opt.
3. Run the script to delete old portal and agent Tomcat services.
C:\opt\aptare\utils\removePortalServices.bat
4. Run the scripts to set up portal and agent Tomcat services which now point to the new tomcat7.exe
C:\opt\aptare\utils\setupAgentTomcatService.bat
C:\opt\aptare\utils\setupPortalTomcatService.bat
5. Unzip aptare-instances.zip from attachment aptare-instances.zip to C:\opt\tomcat.
6. Copy server-portal.xml and server-agent.xml from tomcat_old\conf to your folder for editing:
a Open server-agent.xml and server-portal.xml.
b Search for "ServerLifecycleListener", and then delete the definition of ServerLifecycleListener:
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
debug="0"/>
c Save server-portal.xml and server-agent.xml
7. Copy server-portal.xml from you folder to Tomcat:
a Copy server-portal.xml to C:\opt\tomcat\conf
b Copy server-portal.xml to C:\opt\tomcat\aptare-instances\portal\conf\server.xml
8. Copy server-agent.xml from your folder to Tomcat:
a Copy server-agent.xml from your folder to C:\opt\tomcat/conf
b Copy server-agent.xml from your folder to C:\opt\tomcat\aptare-instances\agent\conf\server.xml
9. Restart Apache and Tomcat services.