I need to peek inside the JVM for thrown exceptions but how?

I have recently inherited 5 petabytes of Java code with other 86 quadrillion lines of code.
There is an exception being thrown somewhere while this is running (under tomcat in a big loop) and I need to find out exactly where.
The exception being thrown is not being displayed in any log file.
Because of the multi-threaded nature of the running code, I have difficulty tracing through it with the most advanced and technically superior Java IDE on the planet.
I was wondering if there is a way to attach some sort of monitor or debug tool to the running JVM and see if exceptions are being thrown anywhere at all during runtime and to capture them or log them - or at least see them.
I will not be able to discover this through the code. If there is any product or utility that will allow me to debug the problem, please let me know.
your help is greatly appreciated
PurpleTek

If an uncaught exception occurs, the jdk normally stops and prints out a stack trace on stderr, eg:
    Exception in thread "main" java.lang.NullPointerException
     at exception.blow(exception.java:11)
     at exception.main(exception.java:6)It sounds like this doesn't happen for you. If not, and the exception isn't displayed in any log file,
how do you know an exception occurred? Does your app just stop? Maybe the output shown above is
lost because of the way your app is started - ie, stderr is lost.
Can you just run your app under jdb? jdb automatically catches uncaught exceptions. You can also use the jdb 'catch' command to catch caught exceptions. If you catch 'caught' exceptions, you will probably find that your app generates lots of them. You might want to specify which exceptions to catch and which to ignore.
- jjh

Similar Messages

  • A previous and unrelated text always appears when I need to send a new text. This prevents forwarding texts also, which I need to do all the time for my business. How can I fix? Please help!

    A previous and unrelated text always appears when I need to send a new text. This prevens forwarding texts also, which I need to do all the time for my businss. How can I fix? Please help?

    Hi,
    This sounds like it is about Window positions.
    iChat has Default places for Incoming Invites.
    Video is always top Center of your Screen
    Audio and Text chats are Upper right with the Audio slightly lower than Text Chats.
    Secondary invites are sort of Stacked like when you open multiple files from the same App.
    Your outgoing Windows are "Remembered" as to where the last one was when you used it.
    This can be an issue if you use your Mac with a second display and turn Off Mirroring.
    You windows can get "left" on the other screen.
    Go to System Preferences > Displays and turn On Mirroring and the windows should come back to one Screen/display.
    If this does not help go to your Home Folder/Library/Preferences and delete (Drag to Trash) com.apple.ichat.plist and restart iChat.
    Unfortunately you will need to reset any iChat Preferences you have changed from defaults.
    10:42 PM      Tuesday; April 26, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.7)
    , Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • I have the code for this project, but how do I add this user-defined exception that I want?

    For a final VB.NET project, I have to write a project that ascends and descends a word or number chosen by the user. 
    This is what I want to do:
    I want to add a user defined error that will stop the program and tell the user to input a value into the program if they did not. I do not know how to do this. I think I would use a Null Reference exception. 
    Here is the code for the project:
    Module Module1 'VB.NET Final Project 12/30/14 . Option 3: Write a program to run two separate threads printing numbers or words (It can do both) in ascending and descending orders. The words have to be given by the user.
        Dim Ascending As System.Threading.Thread = New Threading.Thread(AddressOf PrintAscend) 'Two threads are declared,
        Dim Descending As System.Threading.Thread = New Threading.Thread(AddressOf PrintDescend) 'ascending and descending 
        Sub Main()
            Console.WriteLine("VB.NET Final Project 12/30/14 . Option 3: Write a program to run two separate threads printing numbers or words (It can do both) in ascending and descending orders. The words have to be given by the user.")
            Ascending.Start() 'starts first thread
        End Sub
        Sub PrintAscend()
            Console.WriteLine("Please type in a word to print in ascending order.") 'the program asks for users to input a word
            Dim input As String 'as a string
            input = Console.ReadLine()
            For i As Integer = 0 To input.Length - 1
                Console.WriteLine(input.Chars(i)) 'prints the letters of the word in ascending order 
            Next
            If Ascending.ThreadState = Threading.ThreadState.Running Then Descending.Start() 'starts second thread
        End Sub
        Sub PrintDescend()
            Console.WriteLine("Please type in a word or number to print in descending order.")
            Dim input As String
            input = Console.ReadLine() 'user inputs the word that he wants
            For i As Integer = input.Length - 1 To 0 Step -1
                Console.WriteLine(input.Chars(i)) 'prints the letters of the word in descending order 
            Next
            Console.WriteLine("Please press enter key to close the program, and thanks for your time.")
            Console.ReadKey()
        End Sub
    End Module

    Dejavu again?
    Is your teacher instructing you to use a User Defined
    error or do you just want to accept the user input, check it, give a message, and repeat?
    It seems to me you are missing the basic program loop? This example checks the user input and then performs an action, then repeats. If the user enters Quit execution stops. Is that what you want to do?
    Module Module1
    Sub Main()
    Console.Title = "Make a Decision"
    Dim theline As String = ""
    Do While theline <> "Quit"
    Console.WriteLine(vbLf & "Enter a or b." & vbLf)
    theline = Console.ReadLine()
    Select Case theline
    Case "a", "A"
    Console.WriteLine(vbLf & ">> Result: You entered A.")
    Console.WriteLine(vbLf & " ** Output Complete **" & vbLf)
    Case "b", "B"
    Console.WriteLine(vbLf & ">> Result: You entered B.")
    Console.WriteLine(vbLf & " ** Output Complete **" & vbLf)
    Case Else
    Console.WriteLine(vbLf & """" & theline & """ is invalid.")
    End Select
    Loop
    End Sub

  • Need Help regarding the JVM for the ARM926EJS Processor

    I Want to develop an application in java for the IMX.27 board which has ARM926EJS Procesor. This processor is jazelle enabled hardware.
    My questiion is that how to get the JVM for this. So that i will use my Java appliaction. I am using linux OS.
    Thanks in advance.

    Hi Narendra,
    Sun actually has a VM for the ARM ... well, actually 2 VMs for the ARM. Depending on your needs, there's a solution for JavaME CLDC, JavaME CDC, or JavaSE. There's also the open source implementations for CLDC and CDC. Here's how to get more info:
    JavaME: http://java.sun.com/javame/index.jsp
    CLDC open source project: phoneME Feature: https://phoneme.dev.java.net/content/phoneme_platforms.html#phonemefeature
    CDC open source project: phoneME Advanced: https://phoneme.dev.java.net/content/phoneme_platforms.html#phonemeadvanced
    Embedded SE: http://java.sun.com/j2se/embedded/offerings.html
    email inquiry to: [email protected]
    Regards,
    Mark

  • I've installed Visual Studio Enterprise 6.0, Which edition of Visual Studio 2013 does the i need to purchase as the legalization for Visual Studio Enterprise 6.0?

    I've installed Visual Studio Enterprise 6.0, Which
    edition of Visual Studio 2013 does the i need to purchase as the legalization for Visual Studio Enterprise 6.0? 

    Hi,
    Here is a topic for MS Visio forum, you'd better post your question to Visual Studio forum.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=visualstudiogeneral&filter=alltypes&sort=lastpostdesc
    Thanks for your understanding.
    Regards,
    George Zhao
    TechNet Community Support

  • Need to install only the query for fi account receivables standard data ?

    Hi all,
    I need to insall only the query for the standard business content for fi_ar in bw 3.5 ?
    i have selected the cube and then in grouping i have selected data flow afterwards only.
    And i have selected the queries only. but the cube is selected again. Should i uncheck the cube and install only the queries and transport it?
    Pls guide me on this!!
    Thanks
    Pooja

    Hi,
    If the required cube is already avaialble and continue with the existing design, you can uncheck the cube and install only queries. Check all the prerequisites before installing queries like used infoobjects, other targets if any.
    Hope this helps,
    Regards,
    Rama Murthy.

  • I'm trying to find the plugin for camera raw, but all I can find is the page with the cameras that are supported. But I don't find how to find and install the actual plugin. The end name is ARW

    I'm trying to find the plugin for camera raw, but all I can find is the page with the cameras that are supported. But I don't find how to find and install the actual plugin. The end name is ARW, and all I need is to find WHERE I can download it. Thanks.

    cr is installed by updating your app.  use help>update, or update manually
    pre cc updates:  http://www.adobe.com/downloads/updates/
    cc updates:  http://prodesigntools.com/adobe-cc-updates-direct-links-windows.html
    cc 2104 updates:  http://prodesigntools.com/adobe-cc-2014-updates-links-windows.html

  • I already have creative cloud Photography plan and just want to add dreamweaver, is this possible?  Alternatively, I have tried purchasing the Complete - For CS Customers but it asks me to contact customer support and then sends me through to the forums!!

    I already have creative cloud Photography plan and just want to add dreamweaver, is this possible?  Alternatively, I have tried purchasing the Complete — For CS Customers but it asks me to contact customer support and then sends me through to the forums!!

    yes.
    contact adobe support by clicking here and, when available, click 'still need help', https://helpx.adobe.com/contact.html

  • HT201363 I forgot the answers for my security questions , how can I get them back ?

    I forgot the answers for my security questions , how can I get them back ?

    You need to ask Apple to reset your security questions; this can be done by phoning AppleCare and asking for the Account Security team, or clicking here and picking a method, or if your country isn't listed in either article, filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (106187)

  • Hi .after up dating my iphon5 to ios 8.1 and 8.1.1 my main cam dot wrong.dosnt work correctly.the cam frizing at the start for 10 sec.but second cam working normaly.

    hi .after up dating my iphon5 to ios 8.1 and 8.1.1 my main cam dot wrong.dost not  work correctly.the cam frizzing at the start for 10 sec.but second cam working normally.

    I hate being the bearer of bad news, but from what I have read on the Forum and FAQ, you will need to un-install Network Magic from all of your computers making sure that no NM settings folders are left behind under users.  Then unplug all wired computers and rebuild your network by re-installing NM  in each computer before connecting it to your router.  After you have added all of your wired computers, set up your wireless network and install NM and add each wireless computer.
    That is a lot of work.  I hope this helps.
    Gary

  • Hi, I'm living in the US for a while but I just have french credit cards, how can I buy App from the App Store US??

    Hi, I'm living in the US for a while but I just have french credit cards, how can I buy App from the App Store US??

    You need a payment method associated with the country you are in.  I would purchases an iTunes Gift card in the USA and use that as your payment method and then delete the card from the account.  You may also have the change the addess in your iTunes aaccount t a USA account.

  • I need to have my authorizations reset for Digital Editions, but cannot contact anyone at Adobe.

    I need to have my authorizations reset for Digital Editions, but cannot contact anyone at Adobe. Would like to purchase new devices for my reading, ubt need reset before I can.  How do I get in touch with someone at Adobe.  Everything on web site just goes in circles. 

    Adobe Live Chat: http://www.adobe.com/support/chat/ivrchat.html,
    or as a slight short cut try http://helpx.adobe.com/contact.html?product=digital-editions&topic=using-my-product-or-ser vice
    Click on 'I still need help' and then you should see 'Chat with an Agent' at the bottom of the page.
    'Ask our experts' will indeed just lead you back to this forum.
    Sometimes you will get ‘Sorry! All agents are busy— please check back soon.’
    Don’t refresh the page, just hang on and it should eventually go to ‘Chat Now, an agent is available’.
    They can reset your authorizations, and then you must reauthorize any devices you still need.
    (Unfortunately, Adobe haven’t got round to an admin website for viewing and editing authorizations.)
    Some of the representatives haven't been properly trained and don't know what to do (and claim there is nothing they can do);
    in that case the only way seems to be to give up that chat and try another session hoping for a properly trained representative.
    If your problem is with another device using Overdrive, Bluefire, Aldiko or similar third party app, it is recommended not to mention that app when on the chat, just mention that you have run out of authorizations  (E_ACT_TOO_MANY_ACTIVATIONS) .  Thanks to AJP_Bear for that tip.
     

  • So, I have created my home sharing from my base computer to my laptop. On my lap top I see the tab for home sharing but it will not let me connect to my computer to share my music over. I have done everything iTunes has told me to but it still won't work.

    So, I have created my home sharing from my base computer to my laptop. On my lap top I see the tab for home sharing but it will not let me connect to my computer to share my music over. I have done everything iTunes has told me to but it still won't work. Any help would make my day...

    I got some more info that may help.
    I put a cd on my laptop, and was able to share it to my computer... So the problem is only from my computer to my laptop. I tried the firewall thing and it did not help. I read the rest of the trouble shooting page, and nothing else applies. iTunes is an execption and already was. I can not think of anything else being my problem. Do you think I should re-install iTunes or would that be a waste of time? At this point I am about to just call Apple for some help because I am getting to stressed over this.
    Thanks

  • I cannot get itunes to sync all of my songs to my iphone.  Itunes tells me that it cannot locate the files for these songs.  How do I fix this?

    When I attempt to sync my i phone with itunes on my computer not all of the songs make it to my phone.  Itunes is telling me that it cannot find the files for these songs.  How do I fix this?

    Hi fishonfoot,
    Thanks for visiting Apple Support Communities.
    You may want to use this article as a guide to determine if the songs are on your computer:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    If the missing songs were purchased from the iTunes Store, see this article for the steps to download them again:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/HT2519
    Best Regards,
    Jeremy

  • Once I create a html5 animation using the 'Toolkit for CreateJS' in flash, how do I then insert it..

    Once I create a html5 animation using the 'Toolkit for CreateJS' in flash, how do I then insert it into a webpage via Dreamweaver:
    This has been sending me round in circles for over a week - can anyone let me know how I do this or can they point me in the direction of a tutorial?  Thank you in advance - d;-)

    There are some tutorials on Adobe site:
    <http://www.adobe.com/devnet/createjs/articles/getting-started.html>
    <http://tv.adobe.com/watch/adc-presents/toolkit-for-createjs-part-1-designing-game-assets/>
    <http://tv.adobe.com/watch/adc-presents/toolkit-for-createjs-part-2-adding-game-interactivi ty/>
    The parts 1 and 2 are videos about 10 minutes each while the first link is a detailed article that you can print and practice on your machine.
    Hope this helps.

Maybe you are looking for

  • How do I reenter the set up mode in os 6 install?

    I got all the way through the os 6 install process, and began the set up process on the iphone itself.  It prompted me to select a wifi network, which I did, but it kept timing out.  I figured out that it wasn't connecting because with this particula

  • Error message and black scrren when I try to load new game.

    Hi Recently I purchased Restaurant Empire 2 for my pc and I downloaded and installed the game but everytime I try to play it, the first screen loads then a black screen comes up with error message " error opening file SHADER/shadowmi/cubemap+shadow.p

  • ITunes refuses to sync apps due to lack of authorization, when it *is* authorized?

    Hey all, Just tried to sync my iPhone today, and received an error that 64/66 of my apps on my phone would be deleted unless I authorized my computer for them. Thought it was weird, since I'm already authorized, but figured I'd reenter my stuff anywa

  • Excise invoice printing

    Hi All, What are the settings for printing of excise invoice. If I select "print document" tab in J1IV transaction, I am not able to get print out. Pl tell me the settings. Regards,

  • Database structure in the SAP B1

    hi all can you tell me where i got the table structure, database informatiln and knowedge about the SAP B1 database.. plz give me the information or link that i can refer and know about the databases.......