Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Restarting the JVM vs. Restarting the Application

805828Oct 15 2010
I am in a disagreement with someone as to whether or not the JVM should be restarted every time a java web application is installed on a server.
I say for the sake of better safe than sorry just restart the JVM and be done with it.
additionally there are issues concerning the way the class loaders are handled inside the application(parent last) and the caching of the external configuration files at application startup.

Can anyone tell me why I would not want to restart the JVM every time? (assuming my application is the only one running on that JVM)

Thanks,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 12 2010
Added on Oct 15 2010
0 comments
465 views