Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Quick JVM recycle question

Posted on 2014-02-18
2
Medium Priority
?
2,216 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 28

Accepted Solution

by:
dpearson earned 2000 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

Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

Question has a verified solution.

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

There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

618 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