Help Determining Which Methods/Classes Are Being Used

Hello,
I'm having issues with my company's Java application and because I've luckily narrowed the classes down to a meager 30+ I need some help pinpointing my problem.
I realize there are a lot of Java monitoring applets/applications and some are deployment-specific but I need something very detailed-- I haven't found the features I need.
Specs:
Jrun4, Java 1.4, Windows Server 2003
I would like to have a monitor that tells me exactly (real-time) what classes, methods, variables, etc. are being called in real-time. Looking at the JRun launcher console for one process gives me this:
Generating report:quadbase.reportdesigner.ReportAPI.QbReport with export type:PDF
01/16 14:05:33 error Software caused connection abort: socket write error
java.net.SocketException: Software caused connection abort: socket write error
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
        at jrun.servlet.io.MetricsOutputStream.write(MetricsOutputStream.java:75)
        at java.io.BufferedOutputStream.write(BufferedOutputStream.java:106)
        at jrun.servlet.http.WebOutputStream.write(WebOutputStream.java:64)
        at jrun.servlet.file.FileServlet.pipeData(FileServlet.java:419)
        at jrun.servlet.file.FileServlet.service(FileServlet.java:254)
        at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
        at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)This is cute, but not really helpful. I would like to determine what was passed to the process, from where and what went wrong.
For example,
Instead of this:
Generating report:quadbase.reportdesigner.ReportAPI.QbReport with export type:PDF
01/16 14:05:33 error Software caused connection abort: socket write errorI would get something like this:
Generating report:quadbase.reportdesigner.ReportAPI.QbReport with export type:PDF
        Page variables: test.jsp ($var1= "I'm"; $var2= "Going"; $var3="To"; $var4="Break"; $var5 = null)
        Calling: test2.jsp
        With: jrun.bin.db.foo.Bar();
01/16 14:05:33 error Software caused connection abort: socket write error
        Problem: $var5 = null;Sorry if I'm rambling, I just want to know what is where and who it's calling when it breaks. Then I could deduce which class, what variable, what page, etc. My application is very complicated and seemingly mundane changes can throw it all off.
Any ideas?

We'll look into usage tracking. We're on the standard edition, so I'm not sure if it's available. Also, some of these reports may be quarterly -- so there may be a long wait to see if the view is used and I need to know fairly soon. (If it's not used, it saves us some work in a project transition going on.)
I certainly don't understand the underlying structure of the product, but it seems like there should be some way to determine if a view is used by a report. I apologize if I'm not using the correct terminology. Thanks for your help -- we'll keep looking into it.

Similar Messages

  • Is there a way to find out which CSS rules are being used by the different html files?

    Is there a way in Dreamweaver CS3 to find out which CSS rules are being used by the different html files, sitewide?
    Thanks - Dave

    Firefox add-on "Web Developer Toolbar" is a must have.  Information > Display Div & Class details.
    https://addons.mozilla.org/en-US/firefox/addon/60
    Another  handy Firefox Add-on  to add to your tool chest is called "Dust-Me Selectors."
    http://www.sitepoint.com/dustmeselectors/
    "It extracts all the selectors from all the stylesheets on the page you're viewing, then analyzes that page to see which of those selectors are not used. The data is then stored so that when testing subsequent pages, selectors can be crossed off the list as they're encountered.
    You can test pages individually, or spider an entire site, and you'll end up with a profile of which selectors are not used anywhere."
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Which develop tools are being used most widely

    Which develop tools are being used most widely?
    Who are using JCreator, could you tell me if it is good.

    there's another thread that should answer this for you. Actually, several other threads. Even one earlier today, that I just responded to.

  • Can you see which timeline clips are being used in Media Browser?

    I'm a relatively new user and may not be familiar enough with cs5.5 but
    is there a way to see what clips are being used on the editing timeline in the media browser.
    I open premiere pro - Project is loaded. I edit the scene until it is finished.
    When I look over at the media browser, all my raw clips (some of which I'm
    using on the editing timeline) look the same - I can't tell which ones I using on the timeline.
    The reason I ask - when I fiinish editing a scene it would be nice to glance over at the
    media brower folder where my raw clips are located - easily see which ones I'm using because they
    are highlighted or checked and then delete the ones I no longer need.
    Is there a way to do this now?
    Thanks
    Jeff

    I dont think so  but a better way is to look in the top of the Project Window and there is a drop down that will show you all the useage instances of the clip.  You can click on them to go to them in the timeline.

  • How to see which methods/classes are important?

    Hi Everyone,
    I am a beginner writing one of my first applications and I have a very newby question. How do I organize and manage many methods (and classes) to see which are the important ones and which are not?
    The questions arised for me because I noticed that I am a bit reluctant to introduce new helper private methods in a class, because I fear there would be too many methods and I couldn’t handle/oversee them... I know it’s probably very wrong and stupid. That’s why I would really like to put it right in me.
    So for example I create a class with a few public methods that are of course the most important part of the class. Those public methods need some more private methods that still do something important and maybe complex thing. But then I stilll need more methods to make clear code in the previous methods. Finally I end up with 20-30 methods in a supposed to be simple class. If I just look into it in Eclipse I have to scroll up and down a lot and even in the package explorer I can’t tell the importants methods apart from the rest. Is this normal?* (Please confirm it is; it would bring relief to me :))
    I thought some kind of method hierarchy shown in the package explorer and expressed in the indentation of the code would help. It would be based on the call hierarchy, but I realize that may be ambiguous. Still, do you know if there is any tool, plugin, solution for this?
    I mean something like this:
    SomeClass:
    ..-veryImportantMethod
    ....-importantMethod
    ....-imprtantMehtod2
    ........-method
    ........-method2
    ........-method3
    ............-reallyNotImportanMethod
    The same thing goes for classes. I start with a few important ones and introduce many less important later. I guess I can’t organize them into different packages based on importance because packages are not for that. It’s just looks strange for me to see a small unimportant helper class opened in the tab next to my main delagator class. (I'm not sure I know correclty what delegator means but that's not important at the moment :))
    I am really just a beginner (needless to say probably :)) but I think it would be easier to intellectually manage the code if there would be some importance hierarchy. It doesn’t even have to be unambiguous as it would only be a way to display the code by the IDE; it wouldn’t affect the program in any way.
    If you have any comments about why this whole thing is not important “because when you write your code..... “ or why I am totally lost and wrong here; I would really appreciate that as well :)
    Thanks in advance,
    lemonboston

    lemonboston wrote:
    Hi Everyone,
    I am a beginner writing one of my first applications and I have a very newby question. How do I organize and manage many methods (and classes) to see which are the important ones and which are not?
    The questions arised for me because I noticed that I am a bit reluctant to introduce new helper private methods in a class, because I fear there would be too many methods and I couldn’t handle/oversee them... I know it’s probably very wrong and stupid. That’s why I would really like to put it right in me.
    So for example I create a class with a few public methods that are of course the most important part of the class. Those public methods need some more private methods that still do something important and maybe complex thing. But then I stilll need more methods to make clear code in the previous methods. Finally I end up with 20-30 methods in a supposed to be simple class. If I just look into it in Eclipse I have to scroll up and down a lot and even in the package explorer I can’t tell the importants methods apart from the rest. Is this normal?* (Please confirm it is; it would bring relief to me :))
    I thought some kind of method hierarchy shown in the package explorer and expressed in the indentation of the code would help. It would be based on the call hierarchy, but I realize that may be ambiguous. Still, do you know if there is any tool, plugin, solution for this?
    I mean something like this:
    SomeClass:
    ..-veryImportantMethod
    ....-importantMethod
    ....-imprtantMehtod2
    ........-method
    ........-method2
    ........-method3
    ............-reallyNotImportanMethod
    The same thing goes for classes. I start with a few important ones and introduce many less important later. I guess I can’t organize them into different packages based on importance because packages are not for that. It’s just looks strange for me to see a small unimportant helper class opened in the tab next to my main delagator class. (I'm not sure I know correclty what delegator means but that's not important at the moment :))
    I am really just a beginner (needless to say probably :)) but I think it would be easier to intellectually manage the code if there would be some importance hierarchy. It doesn’t even have to be unambiguous as it would only be a way to display the code by the IDE; it wouldn’t affect the program in any way.
    If you have any comments about why this whole thing is not important “because when you write your code..... “ or why I am totally lost and wrong here; I would really appreciate that as well :)
    Thanks in advance,
    lemonbostonI think you would benefit from this http://en.wikipedia.org/wiki/Domain-driven_design

  • Help determining if a view is being used in Answers.

    Could someone tell me how to determine if any reports depend on a specific view? My admin for Answers says that she can't see into users private folders in order to determine dependencies.
    We are using Oracle Business Intelligence 10.1.3.4.1 against an 11g R1 database.
    Thanks for any help you might be able to provide ---

    We'll look into usage tracking. We're on the standard edition, so I'm not sure if it's available. Also, some of these reports may be quarterly -- so there may be a long wait to see if the view is used and I need to know fairly soon. (If it's not used, it saves us some work in a project transition going on.)
    I certainly don't understand the underlying structure of the product, but it seems like there should be some way to determine if a view is used by a report. I apologize if I'm not using the correct terminology. Thanks for your help -- we'll keep looking into it.

  • SharePoint Databases - How to determine which ones are being used and which ones aren't

    I am not sure where to exactly post this question.  On the SQL Server side or on a SharePoint side.
    I am a SQL Server Database Administrator who is monitoring some SharePoint databases.  On a daily basis it seems that they are creating new databases but don't delete the databases that they are no longer using.  For example, they might be testing
    on a development server and if things aren't working properly instead of asking that the databases be deleted they just go ahead and create new databases to do what ever they need to do.  Is there a way on the SQL Server side to determine which SharePoint
    databases are being used and which ones aren't being used?  Or does one determine this information through the SharePoint Central Administration console?
    lcerni

    Hello,
    The following query gives you the databases now in use.
    SELECT
    DISTINCT d.name
    FROM
    sys.dm_tran_locks
    tl INNER
    JOIN sys.databases
    d
    ON
    tl.resource_database_id
    = d.database_id
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How could I find which i-views/pages are being used

    Hello
    I am pritty new in portal area. I have to administrate an ESS/MSS portal during hollydays. I am trying to find everywhere the way.
    How could I find which i-views/pages are being used. Let say I can see which group I belong and which roles are behind.
    How could I know in which PCD folder they are taken into account (to e.g give permission to someone not in the group)

    HI,
    the user administration (UME) gives you the information about the user <-> group <-> role assignment.
    When you know the role, search in the PCS for it, open the role and you will see all the pages / iviews assigned to the role.
    SAP Help: Role Assignment: http://help.sap.com/saphelp_nw04s/helpdata/en/59/bf2287b3cb5e48af94f99929ad15b9/content.htm
    SAP Help: Content Administration: http://help.sap.com/saphelp_nw04s/helpdata/en/5a/0339000c0b11d7b84800047582c9f7/content.htm
    br,
    Tobias

  • How to find out which queries are being used ?

    We have a number of InfoSet Queries which the users are calling from SQ00. Some of them are very old.
    I would like to find out which queries are being used, so we can have the idle queries decommissioned.
    How can this be done ?
    Best regards,
    Peter

    Hi,
    It's been a while since I've done this but one method is to use ST03N & look for the execution of programs with an AQ* prefix.  The general structure is AQZZ/<query user group><query name>.
    You could probably get the same info from the audit log but I've not checked that.
    Cheers,

  • Ever thought of making an Ad in which all Apple Products(or at least the greatest 1s) are being used by a person in his or her day in different situations ?...those products in 1 ad ?

    Was just thinking a few days ago...Apple never made an ad in which all their products or at least some of their most renowned products are being used by 1 person in a day in different situations he faces...from using an iPod for jogging n then the guy just goes back home sits on his iMac then goes somewhere with his iPad then attending an important call from his iPhone n wanting to watch a movie from his Apple TV or doing something with Macbook Air or Macbook Pro....just a thought

    You're only addressing other users here - you might want to try feedback:
    http://www.apple.com/feedback/

  • My HD TV has two HDMI inputs which are being used by a home theater system and my RCN cable box. i want to be able to use my appleTV as well as those but do not have another HDMI input. How can i connect it so that i can use any 1 of the 3 at any time?

    My HD TV has two HDMI inputs which are being used by a home theater system and my RCN cable box. i want to be able to use my appleTV as well as those but do not have another HDMI input. How can i connect it so that i can use any 1 of the 3 at any time?

    Get an HDMI switcher. Plug in the ATV directly to the TV and then use the switcher on the other input.
    Example
    http://www.amazon.com/Ultra-High-Performance-Switcher-Switch/dp/B0015YWKYY/ref=s r_1_1?ie=UTF8&qid=1316918064&sr=8-1

  • Which Enteprise Edition features are being used ?

    Hello,
    Due to licensing requirements I have been asked to check if a database is using any enterprise edition features so that we can downgrade our binaries to Standard Edition.
    I know that I can query
    DBA_FEATURE_USAGE_STATISTICS
    to find out what features are being used , my question is how would I know if a feature that is being used in part of Enterprise Edition ?*
    Thanks,
    C.

    my question is how would I know if a feature that is being used in part of Enterprise Edition ?As far as I knows, there is no such view/sql/dbms which specifically differentiate the uses of features based upon as a part of that specific edition. If you are using X edition, then the query output of DBA_FEATURE_USAGE_STATISTICS and DBA_HIGH_WATER_MARK_STATISTICS will be based upon the edition. Suppose ABC feature exists in enterprise edition and DBA_FEATURE_USAGE_STATISTICS is saying that ABC feature has been used, so it means that ABC feature has been used as a part of enterprise edition. If there is no ABC feature in installed edition, you will never find the uses of ABC feature in that edition. So very simple is any feature has been reported by DBA_FEATURE_USAGE_STATISTICS view; it means that feature has been used in part of said edition.
    Couple of Good scripts at : http://kerryosborne.oracle-guy.com/2008/10/oracle-management-packs/
    Regards
    Girish Sharma

  • HT1339 My nano won't restore, it says  it can't because "files are being used"  Please help me get the "chipmunk's and Beiber" off my ipod!!!

    I am trying to restore my nano to get my kids' chipmunk and beiber music off and it replys that it cant because files are being used.....what do i need to do???

    First and foremost, just say no to Beiber
    First, close all open apps on your computer and restart your computer. Open only iTunes when it restarts.
    Then, I would reset your iPod, probably not needed but I would do it  any way. Hold the sleep/wake button and the volume down button until the Apple logo appears. Wait for it to completely start  up to where it is ready to use.
    Now try and restore. If the iPod was synced with your own computer to put the music on, you can use it to remove it. Usually that is preferred instead of restoring.

  • Determining which method to call from an array of Objects

    Hi All,
    Lets suppose I have an interface, a string method name, and an array of Objects indicating the parameters which should be passed to the method.
    What Im trying to work out is a way to quickly determine which method should be invoked.
    I can see that Class has getDeclaredMethod(String, Class[]), but that wont help me as I dont know the formal class types (the method may take X, but I might get passed Y which extends X in the array of objects).
    Does anyone know of a quick way I can determine this?
    All I can think of at the moment is going thru each method of the class one by one, and seeing if the arg is assignable, then, after getting all my matched methods, determining if there are any more 'specific' matches.
    Any ideas?
    Much appreciated,
    Dave

    you might want to take a look at the dynamic proxy apiCheers for the suggestion, but Im actually already using the dynamic proxy API.
    What I have is a MockObjectValidator which allows mock objects to be configuered with expected calls, exceptions to throw etc etc.
    I thought developers on my project would get tired using an interface like this:
    myValidator.setExpectedCall("someMethod", new Class[] { typeA, typeB }, new Object[] { valueA, valueB} );
    I.e, I wanted to cut out having to pass the class array, so they could just use:
    myValidator.setExpectedCall("someMethod", new Object[] { valueA, valueB} );
    The problem there is that I then need to pick the best Method from the class given the object arguments.
    When the mock object is in use, its no problem as the InvocationHandler interface provides the Method. The problem I have is selecting what method a user is talking about from an array of Objects.
    Ive written a simple one now, it just does primitive type class -> wrapper substitution, and then finds ** A ** match. If there is more than one match (ie, all params are assignable to a class' method params), I dont let that method be used.
    Shortly I'll update it to actually make the correct selection in those cases.
    cheers
    Dave

  • How do I find what jars are being used...?

    Hi all,
    I'm wondering if any of you could help me. I am looking for a method or tool that helps to find what library jars are being used within an application to try and help me erradicate unneccesary files since I find myself in a scenario similar to below. . .
    Obviously over time an application grows and you may being in a lot of libraries to provide functionality as you go. You may then find a better way of doing something or that part of code may be redundant, so the referencing class is removed, BUT the jar isn't removed from the application at the same time.
    Several years down the line your lib directory looks like it contains nearly every jar created sits in there, and you application is now being shipped out on DVD to cope with all the libraries!
    So, is there a tool or way (except removing them to see it anything breaks!) to check what jars are actually being referenced within an application?
    Any help would be appreciated,
    Cheers,

    Start java with the -verbose option and grep the output for lines starting with "[Opened". This will give you a list of all opened jar files.
    Bear in mind, that classes are loaded lazy, that is: only when they are referenced for the first time.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Extra row in data grid

    after I load a object into data grid created from a web service it will always seem to create a new blank row. When I get a error after clicking on it, it always says "-1" for the rows count. when I shrink the size of the datagrid it elminates some o

  • Best compression for video with a lot of static text and graphics

    Hello! I am producing an instructional DVD and am getting ready to output the files and was wondering what the best compression format would be for me to use. About 1/3 of the clips consist of video shot in SD with very little movement (guy sitting a

  • Applet started in a seperate JSP

    Hi all, Can anyone help me out of this problem... I have 2 JSP files. say 1.jsp and 2.jsp. In 1.jsp I initiate an applet using the <jsp:plugin> tag and doesnt want to start the applet running there... so what I do is I suspend the applet untill my 2.

  • Leopard 10.5.4 and Appleworks Starting Points

    I am a teacher and love using Appleworks 6.2.9 Starting Points Calendars but with my new Imac/Intel I can't seem to get it to work. I keep getting that file cannot be converted to an Appleworks document. Can anyone give me information as to how to ge

  • Data display slow because I have too many DAQs displaying or poor coding?

    Attached is my VI, and I have 3 NI daqs running and giving me voltages for all the channels (32 total by the end of this, this is only the start). I want to display and record this information in real time. and still have options for recoding time ev