Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Apache Tomcat 7 Essentials

You're reading from   Apache Tomcat 7 Essentials This book takes you from beginner to expert in logical stages, covering all the essentials of Tomcat 7 from trouble-free installation to building your own middleware servers. Packed with examples and illustrations.

Arrow left icon
Product type Paperback
Published in Mar 2012
Publisher Packt
ISBN-13 9781849516624
Length 294 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Tanuj Khare Tanuj Khare
Author Profile Icon Tanuj Khare
Tanuj Khare
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Apache Tomcat 7 Essentials
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
1. Preface
1. Installation of Tomcat 7 FREE CHAPTER 2. Configuration and Deployment 3. Performance Tuning 4. Integration of Tomcat with the Apache Web Server 5. Securing Tomcat 7 6. Logging in Tomcat 7 7. Troubleshooting in Tomcat 8. Monitoring and Management of Tomcat 7 9. Clustering in Tomcat 7 10. Tomcat Upgrade 11. Advanced Configuration for Apache Tomcat 7

Common issues in deployment, configuration, and their troubleshooting


There are multiple issues which may arise after the deployment and configuration on Tomcat. Let's discuss the different issues:

Scenario 1:

Issue: Users complain that after the deployment, they can still view the old code.

Troubleshooting steps:

  • Check if the latest file is present on the doc base.

  • Check the catalina.out in the logs directory of Tomcat 7 and whether the WAR filename is deployed or not.

  • If both are checked and the issue still persists, then stop the Tomcat service and clear the content of the temp directory under the work/Catalina/localhost using the following command:

cd /opt/apache-tomcat-7.0.12/temp/ rm -rf ../temp/*
cd /opt/apache-tomcat-7.0.12/work/Catalina/localhost/ rm -rf ../localhost/*
  • Restart the Tomcat service and ask the user to test the application.

Scenario 2:

Issue: Users complaining that they can view the current deployed code on one node and the other node still displays the previous version...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image