Restarting the JVM vs. Restarting the Application

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,

The instrumentation buffer was enabled in J2SE 1.4.2 so you need to be running 1.4.2 or 5.0 for the jvmstat tools to work.

Similar Messages

  • I cant open Photos om my mac. Just upgraded to Yosemite. The message I get is: An unexpected error has occurred. Please quit and restart the application. I have done this several times but nothing seems to work. iPhoto is gone. What do I do?

    I just upgraded to Yosemite on my mac from 2010. Everything seems to work, accept Photos. When I try to open it i push the "Get started" button, then the picture with "Preparing Library" comes up. Then a message appears with the text "An unexpected error has occurred. Please quit and restart the application." I have done this several times, but nothing happens. What do I do?

    I just upgraded to Yosemite on my mac from 2010. Everything seems to work, accept Photos. When I try to open it i push the "Get started" button, then the picture with "Preparing Library" comes up. Then a message appears with the text "An unexpected error has occurred. Please quit and restart the application." I have done this several times, but nothing happens. What do I do?

  • I have a Mac Pro using OSX 10.7.4.  When using apple mail I click on the address icon to obtain email address and nothing happens.  I've restarted both the application and the Mac but still won't open address book.  Any ideas please.

    I have a Mac Pro using OSX 10.7.4.  When using apple mail I click on the address icon to obtain email address and nothing happens.  I've restarted both the application and the Mac but still won't open address book.  Any ideas please.

    Assuming you have these accounts set up in Mail, open preferences and under Accounts tab, edit the SMTP outgoing server list. Do you have a .mac address in the list? If so, delete it.
    Are you using iCloud?
    For the troubled account, select the correct SMTP server for that account in the box and check the box to use only that server with that account.

  • I have Lightroom 6 (not CC) on a Windows machine.  I'm prompted to log into Creative Cloud when I restart my computer (I don't have, use, or pay for Creative Cloud), and then when I launch Lightroom, it tells me to use the application I have to log into m

    I have Lightroom 6 (not CC) on a Windows machine.  I'm prompted to log into Creative Cloud when I restart my computer (I don't have, use, or pay for Creative Cloud), and then when I launch Lightroom, it tells me to use the application I have to log into my Adobe account...AGAIN!  And then to further add insult to injury, I'm prompted to enter in the license number of my product.  I've gone through this process a dozen times now...SCREAM!!!

    Paulou12 what type of a Creative Cloud Membership do you have?  You can find details on how to update Lightroom using the Creative Cloud Desktop application at Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html.
    Finally if you are in a managed environment then please work with your I.T. department to apply the update.

  • Can a subVI tell when the application it is part of has been stopped and restarted?

    Can a subVI tell when the application it is part of has been stopped and restarted?
    It is easy enough for a subVI to tell when it has been run for the first time after having been loaded into memory. But is there a way for a subVI to tell when the application it is part of has been stopped and restarted? Is there some property or application-invocation-specific refnum that when queried multiple times during the same run of the application would return the same value yet when queried during different runs of the application would return different values?
    I don�t want to depend on anything that happens when a run is exited.
    I don�t want to require code to be included in the main V
    I to accomplish the solution.
    (Otherwise I could, in the main VI create an un-named semaphore tied to a global; the subVI could then check the global to see if the value changed, which it would between runs of the application.)
    Any ideas?

    Have you tried the First Call? function? It's on the Advanced>Synchronization palette.

  • The application does not start automatically on restart

    SPO web apps fail to start correctly when Netweaver is restarted.  I have to manually stop and restart the SPO web apps via the Visual Administrator.  This seems to be a timing issue with the JDBC connection pool.  During the attempted automatic, spo.log reports these errors:
    2008-02-04 12:48:41,752  INFO [SAPEngine_Application_Thread[impl:3]_63]  - =================================================================
    2008-02-04 12:48:41,752 ERROR [SAPEngine_Application_Thread[impl:3]_63]  - Failed to set up connection pool: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at java:comp, the whole lookup name is java:comp/env/jdbc/qaht6114.
    2008-02-04 12:48:41,752  WARN [SAPEngine_Application_Thread[impl:3]_63]  - database schema for (unknown) might not yet be fully created
    2008-02-04 12:56:55,245 ERROR [SAPEngine_Application_Thread[impl:3]_63]  - Failed to set up connection pool: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at java:comp, the whole lookup name is java:comp/env/jdbc/qaht6114.
    2008-02-04 12:56:55,245  WARN [SAPEngine_Application_Thread[impl:3]_63]  - Could not obtain connection metadata
    java.sql.SQLException: Failed to set up connection pool
          at com.mcasolutions.util.JdbcUtil.getDataSource(JdbcUtil.java:139)
          at com.mcasolutions.util.JdbcUtil.getDefaultDataSource(JdbcUtil.java:101)
          at com.mcasolutions.util.JdbcUtil.getConnection(JdbcUtil.java:61)
          at com.mcasolutions.util.McaHibernateConnectionProvider.getConnection(McaHibernateConnectionProvider.java:23)
          at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)
          at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1463)
          at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1004)
          at com.mcasolutions.util.HibernateUtil.refresh(HibernateUtil.java:34)
          at com.mcasolutions.util.HibernateUtil.<clinit>(HibernateUtil.java:28)
          at com.mcasolutions.application.web.util.HibernateFilter.init(HibernateFilter.java:23)
          at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addFilter(WebComponents.java:198)
          at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadFilters(ApplicationThreadInitializer.java:292)
          at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:107)
          at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
          at java.security.AccessController.doPrivileged(Native Method)
          at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
          at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    2008-02-04 12:56:55,245 ERROR [SAPEngine_Application_Thread[impl:3]_63]  - Initial SessionFactory creation failed.
    org.hibernate.HibernateException: database product name cannot be null
          at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57)
          at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)
          at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:374)
          at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:110)
          at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1463)
          at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1004)
          at com.mcasolutions.util.HibernateUtil.refresh(HibernateUtil.java:34)
          at com.mcasolutions.util.HibernateUtil.<clinit>(HibernateUtil.java:28)
          at com.mcasolutions.application.web.util.HibernateFilter.init(HibernateFilter.java:23)
          at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addFilter(WebComponents.java:198)
          at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadFilters(ApplicationThreadInitializer.java:292)
          at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:107)
          at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
          at java.security.AccessController.doPrivileged(Native Method)
          at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
          at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    2008-02-04 12:56:55,949 ERROR [SAPEngine_Application_Thread[impl:3]_63]  - Failed to set up connection pool: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at java:comp, the whole lookup name is java:comp/env/jdbc/qaht6114.
    2008-02-04 12:56:55,949  INFO [SAPEngine_Application_Thread[impl:3]_63]  - =================================================================

    Hi Andi,
    Thanks for your reply.
    Yes, I have waited for a while and the result doesn't change.
    The Porblem here is the application is seen started in visual administrator.Only restart brings up the page back.
    Can you please suggest anything.
    Thanks and regards
    Nagaraj

  • Restart the application on air

    Hello,
    I'm doing a game on air 2.5 for Android and I would like to know how can I restart the whole application in action script 3. I was looking for that information but I just found that:
    var urlRequest:URLRequest = new URLRequest(Application.application.url);
    navigateToURL(urlRequest,"_self");
    But it does not work on Android. I want to restart from scratch the game. Does anyone know a way?
    Thanks in advance.

    I want to restart the whole application when the user tries to login on Facebook in order to load all the information about Friends and other.
    I was just wondering if it is possible to load again the application from itself.
    Thank you very much.

  • Hey, I recently purchased the creative cloud and installed photoshop but now when I go to open the application it tells me theres a configuration error. It suggests restarting or contacting customer support but I thought I'd try this first. the error code

    I recently purchased the creative cloud and installed photoshop but now when I go to open the application it tells me theres a configuration error. It suggests restarting or contacting customer support but I thought I'd try this first. the error code is error: 213:19. Does anyone seeing this please have any advice on what to do?

    This is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"
    or
    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • I have been using Lightroom 4.4 successfully for over 2 years.  Just tried to import some new photos after a vacation and the application crashes when I click "import" every time.  Tried restarting computer.  Version says it is up to date.

    I have been using Lightroom 4.4 successfully for over 2 years.  Just tried to import some new photos after a vacation and the application crashes when I click "import" every time.  Tried restarting computer.  Version says it is up to date.
    How do I get formal support for this from Adobe?

    Thanks for the response.  The application was crashing.  A Windows message was displayed showing "Lightroom.exe has stopped working", "Windows can check online for a solution the problem.". Etc.
    I just launched Lightroom to check the exact message for this reply - and the Import worked.  It had failed dozens of times before. 

  • My ipod 5th gen crashed unexpectedly while i was using my facebook app and then i turned it off thinking it would restart and be alright but when i turned it on like ***?! some of the applications were gone and the setting and appstore and photos are gone

    my ipod 5th gen crashed unexpectedly while i was using my facebook app and then i turned it off thinking it would restart and be alright but when i turned it on like ***?! some of the applications were gone and the setting and appstore and photos and camera are gone like everything that is on it already .. please help me

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                                     
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                      

  • A fatal error has occurred and the application is being terminated. Adobe Captivate has tried to save all your work in the respective project folders as ".cpbackup" files.   Please restart Adobe Captivate.

    I was trying to capture a simulation when a pop-up window came with this error:
    "A fatal error has occurred and the application is being terminated. Adobe Captivate has tried to save all your work in the respective project folders as ".cpbackup" files.Please restart Adobe Captivate."
    I tried every possible solution but i am getting the same error. Even now, i am not able to open a blank project. I cleared Preferences and Cache, Restarted the system, uninstalled and re-installed captivate but the error occurs.
    Please help.

    Having admin rights is not the same as 'Run Captivate as administrator'. For the last, right-click on the start icon for Captivate and check 'Run as administrator'. Or click on Advanced, where you can check the option to always run as administrator.
    Another possibility could be a corrupt font somewhere. I forgot to ask which version you are using (exact number).

  • The engine failed to start before timeout. Restart the application (HDB 10005)

    Hi everyone,
    I experienced many times this type of error starting a SAP Lumira Document (version is 1.17, but even trying with the new version 1.19, right after the installation):
    "An Error Occured: Data Source creation failed .The engine failed to start before timeout. Restart the application. (HDB 10005)".
    I've already found (also in this community) some solutions, but they seems to me like temporary fixing, because sometimes I have to deal with this problem again. Can someone please explain me why this problem happens, and if a definitive fixing is in the works?
    Thank You.

    I am working on Lenovo Helix with Intel i5 processor and 4 GB of fixed memory. And before setting the virtual memory size (paging size) on my laptop it was switched off (no paging). So maybe this was the root cause of the issue for me.
    /Marcin

  • PCI-GPIB does not like returning from computer power-save mode. I need to restart the application. Uggh! Customer not happy.

    It seems volatile memory is lost on the PCI GPIB Card. When the system returns from power-save, I cannot get to my GPIB instruments. I have to close the application and restart it. I've tried unregistering and reregistering the gpib globals and resetting the device interfaces (reissuing the ibdev command) without luck. I am using Visual Basic 6, but I also get the Measurement and Automation Explorer to fail in the same way, so I don't think it is my development environment.

    On Sat, 15 May 2004 20:23:58 -0500 (CDT), SQP Products wrote:
    >PCI-GPIB does not like returning from computer power-save mode. I
    >need to restart the application. Uggh! Customer not happy.
    >
    >It seems volatile memory is lost on the PCI GPIB Card. When the
    >system returns from power-save, I cannot get to my GPIB instruments.
    >I have to close the application and restart it. I've tried
    >unregistering and reregistering the gpib globals and resetting the
    >device interfaces (reissuing the ibdev command) without luck. I am
    >using Visual Basic 6, but I also get the Measurement and Automation
    >Explorer to fail in the same way, so I don't think it is my
    >development environment.
    Can you change your power save settings? What operating system
    are you running?
    Also, some BIOS's have options for power save. For example, recent
    IBM's can be set to maintain power to all peripherals, or only to main
    memory. Of course, you would want it to maintain power.
    I suspect the GPIB board and its driver are completely unable to
    handle power save operation. It probably was never considered while
    it was being designed.
    Aidan Grey

  • Solver error: Solver quit unexpectedly. Click reopen to open the application again. This report will be sent to Apple automatically. I've tried restarting, reopening. Ideas?

    Tried opening up Solver for the first time on my new macair book. I'm getting the error: Solver quit unexpectedly. Clieck reopen to open the application again. This report will be sent to Apple automatically. I've tried restarting, reopening. Ideas?

    Just found the answer to my own question!

  • I downloaded the OS X on my air and I can't use my keyboard and it won't let me restart my computer because it says that the application assistant canceled the shut down, I don't know what to do

    I downloaded the OS X on my air and I can't use my keyboard and it won't let me restart my computer because it says that the application assistant canceled the shut down, I don't know what to do

    When all else fails (it sounds like it has) hold the power button for about 10 seconds. This shuts down the computer. Then tap it to restart. Since it sounds like the OS upgrade began but then failed to perform a restart you may find that the Install Mavericks file is still in the Applications folder and you can try again. Or you might find that you have to redownload. I don't think the installation is going to proceed as if the computer had successfully restarted but I could be wrong (and in this case gladly so for your sake.)

Maybe you are looking for

  • I have no sound on youtube?

    the sound indicator has an x  when viewing youtube next to it and there is no sound using both safari and chrome. I did upgrade flash player

  • Is there a lead to connect the Ipad 4 to latest ipod

    I need a lead to connect the latest ipod to latest ipad, think its ipad4 to ipod5

  • Printing report at top of the page.

    Hi I have a problem in printing my report.I am using report 3.0 version.When i am printing my report.I want to print to print at position (0,0) i.e means I want to print almost top of the page.For me what's happeing is it leaving quarter inch top of

  • Restriction of No. of Sales Orders

    Dear Gurus, How  can we restrict the no. of sales orders for a customer ie. if we want to only allow the system to create say 3 orders for the particular customer in a particular month, and the system should not allow  to create the fourth order for

  • Import utility IMP-00009: abnormal end of export file.

    IMP-00009: abnormal end of export file. I have received a 34 GB dmp file exported using exp utility 9.2. and i am importing it into 10.2.0.1.0 1) Not sure wheher its exported from Unix or windows.. how to make out? 2)I imported using ...BIN>imp user1