
Apache Tomcat is an open-source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and WebSocket technologies. Apache Tomcat is the world’s most widely used web application server and is used to power everything from simple one server sites to large enterprise networks.
Furthermore, Navigate to the path in Windows where Tomcat is installed
C:Program FilesApache Software FoundationTomcat 7.0bin
Here we will find the Tomcat executable as shown below
Tomcat7w.exe
Double Click on the Tab and take note of all existing settings such as the
- LogOn (Local System Account or Administrator)
- Java Options (Path and Initial Memory and Maximum Memory Pool)
- Tab "General" set the Startup type to "Automatic"
These parameters will be restored manually after the upgrade is performed.
Next, back up the entire Apache Software Foundation in a different path (location). However, The reason for this is to be able to restore in case of any issue such as Tomcat not stating, etc.
– Note: You will have to stop the service before performing this task.
Download the version of Tomcat you want and also download the service.bat.
Open command line interface and navigate to Tomcat bin directory. Within “Apache Tomcat 7” folder. You will see some this like C:..bin>
.
Enter above command to start the service:
C:..bin>service.bat remove
Moreover, They will remove the old Tomcat installation, and this is only needed to uninstall the old Tomcat Service).
– Next: Nonetheless, Delete the old Tomcat installation folder: C:Program FilesApache Software FoundationTomcat 7.0
– Now download Tomcat.exe to this path below and
note: It has to be executed from this path
C:Program FilesApache Software FoundationTomcat 7.0bin
Note: Consequently, Tomcat service must be stopped. (from run, type services.msc) and the above command must be run as an administrator.
– Now, run the newly downloaded Tomcat executable below
apache-tomcat-7.0.8x.exe
Similarly, Follow the prompts
– Nevertheless, After installation has been completed, replace these folders from the old Tomcat backup to the new installation path
- conf
- webapps
- work
Navigate to the path
C:Program FilesApache Software FoundationTomcat 7.0bin
Therefore, Open the executable shown below by double clicking or right click on it and select properties.
Tomcat7w.exe
Now replace all content with the parameters noted above in the green marked area
We are done with the update. Navigate to services.msc, and have Tomcat service started. wee these two references link1 and link2.
I hope you found this blog post helpful. Please let me know in the comment session if you have any questions. I welcome you to follow me on Twitter and Facebook.