What happens to the server if I put a System.exit(0) in my servlet...

deployed and running it?
M

Normally, my Servlet container uses whatever JVM I have installed. For example, Tomcat does not normally come bundled with a special, Servlet-based JVM. So, when I use 1.4.2 (or whatever), System.exit() should be honored immediately. Or do you believe that the ClassLoader detects when a Servlet has loaded and alters the behavior of the JVM?
Now, maybe there is some bizarre command-line switch you can specify in your JVM startup command to cause it not to honor System.exit(), but other than that possibility, it seems to me that Java is Java. If System.exit() halts my application, it should also halt a Servlet container, which, in turn, is also a Java application.
- Saish

Similar Messages

  • Executing Sql -  whats happening on the server

    Hi, I am using Oracle 8.17 on a AIX box.
    When i run queries that have to do full table scans of a large table it virtually cripples my system. (nmon shows lots of disk activity / paging) .
    Even when running
    Select count(col1) from large_tab;
    Im trying to understand whats happening behind the scenes here. Why is there lots of paging. what is oracle doing?
    Our database is set to rule based optimiser as the vendor providing the software does not allow for use of cost base optimizer / or compute statistics. :-0 :-(
    Why would this be do you think?
    thanks for any advice you could provide me.

    have you set minperc & maxperc aix parameter ?No , please can you let me know what these are for? I
    cant seem to find much on the web relating to them?sorry :
    minfree / maxfree
    you can monitor this param with vmtune
    minperm maxperm minpgahead maxpgahead minfree maxfree pd_npages maxrandwrt
    157079 628316 2 8 120 128 524288 0
    One simple basic setting for minfree and maxfree is to calculate a starting point as follows:
    " minfree = ( 120 * # of CPUs )
    " maxfree to ( ( maxpageahead * # of CPUs ) + minfree )
    on metalink you read this values :)
    others request ?
    sga ram swap ?
    felice_pago

  • What happens when the multiply effect is applied to both the object and the graphic within?

    Hi everyone,
    I could really use some help with this...
    I'm getting a booklet ready to be printed. Originally, half of the pages were to be printed on paper with a (physical) colour. For budget reasons however, I've now decided to print the paper colour, and have the content of the pages overprinted on the tint in the background, which I've applied to the pages in the background of an additional master page.
    When I set the objects to multiply, they blend with the background colour, which is the effect I'm looking for, as there would be no 'paper white' on the pages that I want to appear as though printed on coloured paper.
    There's something confusing me though; you can also set the graphic within the object frame to multiply. This makes the graphic appear darker, which I don't really understand, since there is no extra colour within the graphic that accounts for this. I've looked at the output in the resulting pdf, and it looks like it's not just an on-screen effect, but the extra amount of (in this case) yellow would also be visible in the printed result.
    Does anyone have an explanation for this? Please see the graphic for a visual example.
    Thanks in advance, kind regards
    Robbin

    Hi.
              Yes. There is a heartbeat mechanism between all cluster members so they detect when a
              member has left the cluster. The primary server recognizes when it's secondary server
              has failed, and then proceeds to search for another member of the cluster to make as
              it's new secondary.
              Regards,
              Michael
              David Whitehouse wrote:
              > I'm trying to figure out what happens when the server holding the replicated state
              > for an object fails.
              > Does the server with the primary object (or the replica-aware stub) recognize
              > the failure and select a new
              > server to hold the replicated state?
              >
              > For instance, Assume I have a cluster defined with three servers - 1,2,3 - with
              > an instance of object A on server 1
              > and the replicated state ino on server 2. What happens if server 2 fails? Is the
              > state now replicated to server 3?
              >
              > Thanks, David
              Michael Young
              Developer Relations Engineer
              BEA Support
              

  • What happened to the recently purchased icon on the left side of the playlist?  I used to could purchase songs from one of my computers and then put them on the second authorized computer by selecting recently purchased.  Is there another way?

    What happened to the recently purchased icon on the left side of the playlist?  I used to could purchase songs from one of my computers and then put them on the second authorized computer by selecting recently purchased.  Is there another way?

    Well in order to keep all the ratings, playcounts ect ect of songs in iTUnes, place the songs back into there original folders/places on the "Old harddrive" by cutting (Not copying) them from the new Harddrive. Now iTunes should report the songs has being there and have ! marks beside the imported folder from your external Harddrive.
    Now you will delet the dead/broken links (Or missing music from the new drive)in iTUnes. Goto Ottos site for a script that will remove dead links and other things here
    Just download, unzip, and run the program.
    http://ottodestruct.com/iTunes/QuickScripts.zip
    Now with everything in place and the dead links removed you will either consolidate the library or set it to copy to another Folder. If you consolidate it moves ALL your music listed in iTunes to the "iTunes Music" folder and can not be reversed. If you set it to copy, it will just copy music from its current folder to the iTunes music folder. You will have to pick the best option for you but consolidating will work best if your trying to free up space. To consolidate goto "Advanced" and select "Consolidate Library". To copy goto Edit>preferenses>Advanced tab>general sub tab and check "Copy FIles to iTunes music Folder when added to library". THis location is also where you will change the location of iTunes Music folder from your old harddrive to the new one by hitting the "Change" button above the reset button

  • VDI3: what happens when the Primary VDI core fails?

    A potential customer asked me this and I did not really know how to answer the question ... sorry if this was asked before. So here we go:
    What happens when and if the Primary VDI core fails? Will the entire VDI3 setup go down? Will running sessions be lost? And how do you fix that?
    I found this page:
    http://wikis.sun.com/display/VDI3/MySQL+Cluster+Reconfiguration+Scenarios
    So I assume the "Non-VDI host ==> Primary Management Host" scenario is what would need to be done?
    http://wikis.sun.com/display/VDI3/MySQL+Cluster+Reconfiguration+Scenarios#MySQLClusterReconfigurationScenarios-NonVdiToPrimary
    If this is correct then this would answer the "how do you fix that?" part. OK then.
    But still I'd welcome if anyone could explain what exactly would happen when and if a Primary VDI core fails. The customer's opinion on this is that they are a "single point of failure" because the Primary VDI host is not redundant (as opposed to the 2 x Secondary VDI cores) ... So, is this assumption correct or not?
    Thanks in advance.

    Hi,
    Assuming you have 3 VDI core hosts. One of them is the primary. And the primary goes down. So what happens then:
    * The underlying database is still running on the remaining hosts
    * All desktop sessions are still running on the remaining hosts
    * New session requests will be handled by the remaining hosts.
    * All desktops are still running on the virtualization hosts.
    So in essence, your VDI cluster is still healthy. The operation is just impacted in this way:
    * You can't add new VDI core hosts
    * You can't change the configuration of the Sun Ray server failover group
    * A failure of another VDI core host (data node) will result into a complete outage of the underlying database
    You should bring up the primary again as soon as possible in order to gain failover capabilities again.
    -Dirk

  • What happens when the CC trial ends? What happens when offline?

    I need Lightroom to work offline on my laptop. What happens if I need to sign in to CC when there is no interned connection and what happens when the CC trial ends on both my laptop and desktop?

    Thanks for answering. I have the standalone version of Lightroom 6 on my Windows 7 64 bit desktop. A number of times when have tried to open the program, the Adobe Application Manager has popped up requiring me to sign in even though I had not knowingly signed out. Lightroom will not launch unless I am signed in. Frequently when Lightroom launches, I see a "Server Busy" message telling me to "switch to the other program" without telling me which program to switch to. I have pinned the AAM to my notification area and have unchecked the "Show OS Notifications box" to see if the "Server Busy" message goes away. So far everything seems to be okay
    Again, thanks for answering me

  • Load balancing - what happens if a server goes down?

    Hi, Just an academic question.
    Assume I have 2 DA servers behind a BIG-IP load balancer, named DA1 and DA2.
    If I enable Load Balancing (BIG-IP in my case), what happens to the clients already Connected to DA1 when IP-HTTPS is used?
    For example:
    Client1 is connected to BIG-IP, which in turn redirect this client to DA1-Server. Assume that DA1-server goes down, what happens with the client then? I assume the Client will be redirected to DA2-server by BIG-IP after some time, meaning it will have to establish
    the connection from scratch. Is this correct and roughly how long does it take for the clients to connect to the DA2-Server?
    Since IP-HTTPS is using it's own pool and IPv6 prefix per DA server, I assume this will happen? And the DA client1 will receive a new IPv6 address from DA2 ?
    Thanks!

    Hi,
    It depends of the way your Big-IP is checking the servers in your pool.
    The client will try to reconnect to the HTTPS interface and still be redirected to server1 until your Big-IP validate that the server1 is not responding and disable it.
    And yes, you'll receive a new IPv6 address because each server in a DirectAccess NLB cluster has a specific IPv6 range for the clients.
    Gerald

  • Changing up what happens at the 'select resource - queued' step

    Greetings!
    So, I'm curious .. we'd like to change how we do things regarding what happens at the select resource - queued step. Our current state is a series of business checks, place the call on hold, play CUCM MOH, take the call off hold, go back to the queue loop and repeat.
    To change things up I'd like to play some royalty-free music as a prompt instead of putting the call on hold. I would use boolean flags to keep track of what prompts have played so callers do not hear the same wav file over and over and over.  So, I'm thinking of doing something like this ...
    At the queued step ..
    play a prompt
    begin the queue loop
         business check
         agent check
         play royalty-free (RF) music clip 1 (45 sec)
         play informational prompt 1 (15 sec)
         opt-out check
    go back to the queue loop
    2nd time through ..
         business check
         agent check
         play RF 2 (45 sec)
         play info 2 (15 sec
         opt-out check
    3rd time ...
         business check
         agent check
         play RF 3 (45 sec)
         play info 3 (6 sec)
         opt-out check
    4th time ...
         business check
         agent check
         play RF 4 (45 sec)
         play info 4 (6 sec)
         opt-out check
    And maybe one more time playing these types of prompts before we switch to placing the call on hold and playing CUCM MOH. Generally, most calls are answered before the five minute mark, however, we do have outliers who wait a very long time. Playing CUCM MOH might be the appropriate thing to do for those rare instances?
    I'm curious if anyone else has tried this and am hoping for some feedback?
    Thanks!
    Keith

    Hi
    There's nothing wrong with doing it that way. I've seen a few customers play music from prompts rather than holding; it's easier to maintain/change that way.
    Aaron

  • Value mapping replication - What happens to the cache at restart?

    Hi!
    Does anybody know what happens with the value mapping infos in the runtime cache of the integration server after a restart of XI?
    Are the mapping infos still available or do we need to send mapping values via outbound interface ValueMappingReplicationOut once again?
    kr,
    Ronald

    Hi Ronald,
    as far as i know, the cache is being emptied, so you'll need to send the values again.
    Unfortunately i can't find any reference to this in any of the documentation, but you can easily test that by replicating data, checking it with the cache monitoring than restarting XI and checking it again.
    Regards
    Christine

  • HT201317 What happened to the ADVANCED option on iCloud?

    Does anyone know what happened to the ADVANCED option on iCloud.com? I cannot delete my photo stream since Apple has removed that option and replaced it with NOTIFICATIONS.

    Jerome.Serpenti wrote:
    @Winston Churchill:  I hope you will not consider this a breach of your privacy, it was not so intended; but I had to smile at the 'bathroom Apple TV'.  I never considered an AppleTV might serve a function there!
    It's not a problem, indeed it's helpful, I'm aware it looks as though I'm here to argue, I just don't want others to get wrong information, it helps when others give their opinion.
    The bathroom TV, is a TV manufactured for a bathroom, it's a sealed unit, it meets all regulations and sits in the wall where it can be easily viewed while soaking in the tub. The Apple TV is also in the wall and is controlled by our phones, it's connected to an amplifier which is situated in the garage which in turn is connected to waterproof speakers in the bathroom ceiling. I did it all myself and am quite pleased with it.

  • My mac disk is full and i cant transfer files from Mac to USB. saying the format is not good, how can i change the format and what happened to the files i have on USB?

    my mac disk is full and i cant transfer files from Mac to USB. saying the format is not good, how can i change the format and what happened to the files i have on USB?

    Once something similar happened to me. The external drives I had set up for FCP to use for some reason were not mounted, and FCP put all its render files on the main drive and I couldn't find them anywhere.
    Go to applications, and control-click (and hold down) on your FCP icon; you should get a pop up menu that says "show package contents". Select that, select the "contents" folder, then the "mac OS" folder. See if your quicktime file is in there, or if you've got render files in the "render" folder or audio render files in the "audio render" folder that don't belong there.
    That's where FCP sticks stuff when your documents FCP project folders are not available or when external drives you've selected aren't available.

  • What happened to the Xraid?

    What happened to the Xraid? its no longer on the apple website? Are they still in production?

    oh. well, the promise, might sound promising at the moment, but im sure there's gonna be some compatibility issues with leopard server and the Xserve soon......
    o well. I didnt REALLY need a server and a RAID in the first place.

  • What happened to the Leopard on Powerbooks so far thread ???

    What happened to the Leopard on Powerbooks so far thread ???
    Where did it go ? Even my post is missing.

    Well, I can tell you what happened with my neighbors - a complete and utter disaster. It just won't install. I went so far as to reinstall Panther for her (so she can have a working computer) and then try to archive and install. Failed. There's a post about it in the 10.5 forum/installation and set up. It really *****. I don't know what else to do. She's supposed to pay for a license and now, if she doesn't, I'm left holding one with nowhere to put it. Maybe I can just sell it.
    This is not cool for Apple. I don't know what they didn't do right, but it ***** and is very disappointing. It's worse because I'm up and running with it on my MacBook so I feel bad for her.

  • After upgrading what happens to the apps on my 3G?

    I just received my iPhone 4 and put my backup from my iPhone 3G on. It works fine, and there is no more AT&T service on my iPhone 3G. I intend to use the 3G as an iPod Touch. I understand the SIM card needs to stay in the phone for this, even though it is not activated with AT&T.
    What happens to the apps that are still on my 3G? They are still working. I assume they will stay there until I need to sync. Then I will have to set up a new iTunes account, under a unique computer user name, for the 3G and buy the apps all over again for the 3G.

    Nope, the apps stay there until you delete them.
    I currently sync 2 iPhones and 2 iPod Touch units all to one iTunes store account, and per the Apple licensing, they all can run apps I have purchased. I had a similar question as you when I first started using multiple devices, so I sent an email to the app author for the app I wanted most to do this with. His response was that this is Apple's terms, so if I didn't want to purchase a second license to use his app on a second device, then I didn't need to (but he wouldn't stop me if I wanted to either). In the end, I found this app author to be very dedicated to his app, and very responsive to my comments/requests, so I did purchase a second copy of his app (yes, I had my wife create an iTunes account and purchase it under her account).

  • What happens if the exception occurs in a thread when it has a lock

    what happens if the exception occurs in a thread when it has a lock
    on object. Is the lock released ?

    Rastogha wrote:
    ok so lock is released if we are putting code in try-catch block. . right ?
    1) But suppose what abt runtime exceptions which i am not catching. It doesn't matter what kind of exception it is. The lock is released when control is transferred outside the sync block.
    2)Also the thread will be suspended in both the cases or not ( both cases mean for runtime exception and checked exception)Again, the kind of exception doesn't matter. Whether you're in a sync block or not doesn't matter: When an exception occurs, control transfers to the nearest catch block that can handle it. If you don't provide a handler for it, the thread terminates.
    If something is not clear, post code that shows the specific situations you're curious about. Make sure you use the CODE button or [code] and [/code] tags.

Maybe you are looking for

  • Is there a way to reset all of the images in my library

    Hello All. I am New to Lightroom and accidentally imported every image on my hard drive. This includes photo's and CGI images that I created in my rendering programs. Now everything is a mess and unorganized. also, some new images do not show up in t

  • Using Leopard with iCal, Apple Remote Desktop, and Quicktime/Keynote

    Hi, I need to create the following 'synergy' or workflow or 'automation' between these softwares: - iCal - Apple Remote Desktop - Quicktime/Keynote This is the application: Remotely controlling (ARD) and scheduling (iCal) several quicktime/keynote fi

  • Best practice for invoice posting inSRM

    Dear expert, what is the best practice for posting an invoice? Is it in SRM system or MM system? In SRM, the system allows one to use approval procedure for invoice posting; wheras in MM, one cannot use the apporval procedure to post an invoice. simi

  • Albums, Events & Photos in iPhoto not showing in iTune to Sync

    I have been syncing photos between my macbook and all my apple devises without problems until about 2 weeks ago. Basically every photo I have imported into iPhoto or creating new albums and any organising of these photos in iPhoto is now not shown in

  • Checks for payment, huge overflow error

    Hello, We are having an error when doing a check in checks for payment.  Any check done is coming up using over 600 check #'s/pages.  This error just started, we have done checks for payment in the past without error.  If we do a check via the Outgoi