Solved

Quick JVM recycle question

Posted on 2014-02-18
2
1,966 Views
Last Modified: 2014-02-18
Hello,

Quick question on a JVM recycle / restart.  If I have a  single JVM with a single application on it.  Would recyling just the application piece accomplish the same thing as recycling the whole JVM itself?  Or does a full restart / recycle of the JVM involve other pieces as well?

Thanks
0
Comment
Question by:blinkme323
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

Accepted Solution

by:
dpearson earned 500 total points
ID: 39867924
Each Java process has its own JVM.

If you have a container (like e.g. Tomcat) it can contain multiple applications that together form a single process.  Generally restarting a web application does not imply restarting the entire container, so it's a subset of restarting the entire JVM even if there is only one web application present.

If you want a complete, clean restart you should restart the JVM.

If you want a logical restart of just a part of the process, you can do a web application restart, which will solve most issues but is less complete them restarting the entire JVM.

Hope that helps,

Doug
0
 

Author Closing Comment

by:blinkme323
ID: 39868183
Thanks!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question