How to track beans which are destroyed, but no exception log?

According to the WLS console, we have two out of about 30 entity beans
which have instances which are being destroyed. However, I cannot find
the exception which is causing them to be destroyed. I see nothing in
the WLS logs, nothing in our own logs, nothing, nothing, nothing.
I am wondering if this might be because for those two beans, there are
finder methods which are being invoked, and which may not find anything,
in which case the exception is caught and processing continues
appropriately. Is this a scenario where a bean instance might be created
and then destroyed?
Any ideas on how I can determine why these beans on being destroyed, if
the above scenario does not apply?
Thanks!

Well, there are only 2 paths to 'does not exist' in the spec.
unsetEntityContext or system exception. If unsetEntityContext isn't being
called, then it must be a system exception. If that isn't being logged, the
container isn't obeying the spec. If a FinderException is causing the
destruction of the instance, that isn't spec compliant, either. A
reproducible test case and a support call may be your best course of action.
Bill
"Jay Schmidgall" <no@spam> wrote in message news:41dd5bd9$1@mail...
Well, I put logging in the unsetEntityContext method and it is
apparently not being called; max-beans-in-cache is not explicity set, so
it defaults to 1000, I believe, and the console tells me the cached
beans current count is under 50 for both.
On the other hand, the scenario I suggested does seem to cooincide well
with the destroyed count; that is, after the bean is not found by the
finder, the destroyed count goes up. From your description, that seems
like it is just coincidence, but it is definitely there.
bill kemp wrote:
Finder methods are called on a pooled instance of the bean. If the
finder
doesn't find the entity, a FinderException(which is just an application
exception) should be thrown, which is reported to the client, but the
instance is not destroyed. If a system exception is thrown, thecontainer is
supposed to log it before it destroys the instance. The only other pathto
destruction in the state diagram is when the bean goes from 'pooled' to
'does not exist' when the container calls the unsetEntityContext method.So,
maybe put some output code in the unsetEntityContext method to see ifthe
container is removing beans because of cache size considerations. Just a
guess. Do you have <max-beans-in-cache> set to anything in particular?

Similar Messages

  • How can I fetch the deliveries which are PGIed but not invoiced.

    Hi
    I want to search for the deliveries for which post goods issue has been done but are not invoiced.
    Kindly guide with you valuable comments.
    Regards,
    Satish.

    Hi,
    Use the T.Code:VF04.
    Goto T.Code:VF04
    Enter the Sold-to-party.
    Select Delivery related tick mark and uncheck all.
    Execute.
    It will give all the deliveries which are PGIed but not invoice.
    Regards,
    Krishna.

  • How the system know which are Inventory cubes?while compres in ProcessChain

    Hi,Experts
    When I create a Cube compress in ProcessChain ,under the page there is a checkbox called No Maker for Inventory Cube,and I also know the Non-cumulative key figure can not be compress,
    My question is how the system know which are Inventory cubes? and many cube create from ourself.

    Hi,
    I think,
    - in the sap tables there are no information.
    - the program reads the infocube definition and check: is there a non-***. value?
    Sven

  • How to get services which are running currently

    How to get services which are running currently in the system by a java program. And also how to write a service so that i can start/stop the service from the control panel -> services.

    triple post
    http://forum.java.sun.com/thread.jsp?forum=31&thread=364090&start=0&range=15#1532232
    http://forum.java.sun.com/thread.jsp?forum=31&thread=364088&tstart=0&trange=15

  • How to find reports which are using sales tables

    Hi Guys,
    we are using OBIEE 10g version.Here i need to identify the the reports which are using sales tables.
    Table names are given but how to find which report is using these tables.Is there any method to find
    or we have to check all reports manually?
    Could any one pls suggest me here!
    Regards,
    sk
    Edited by: 912736 on Jun 8, 2012 1:24 PM

    Hi SK,
    You can run a report from catalog manager that willl give you all answers requests and the subject area columns in use, you can map these back to the sales tables either manually or by linking (vlookup) to an RPD report that you can run from the Admin tool.
    The Usage Tracking method is pretty good but you will have to match up the reports using the Logical SQL.
    I'd do both methods and cross ref your results to ensure nothing slips the net.
    Regards
    Alastair

  • My iTunes has multiple phones and computers with similar names associated with it. How do I know which are the right ones?

    I'm trying to clean up my iTunes account and I see several of the same phone or computer listed as authorized users. How do I figure out which are the correct phones/computers?

    Alvin777 wrote:
    Hi. I'd like to delete the Snow Leopard Snapshots in my Time Machine backup drive because it won't work with Lion
    I'm not sure what you mean . . . what won't work with Lion?  It sounds like it did do some backups.
    Is there a way or an app to know which are Lion snapshots? 
    There is a way, but it's rather cumbersome.  You have to start selecting a full system restore; there's a window showing all of the backups and the version of OSX. 
    Is there an app I could use to manage the snapshots if manually deleting them will cause problems and side effects later.
    It's best to use the Time Machine "Star Wars" display to delete backups, but you really shouldn't have to.  Let's figure out what's wrong first.

  • Safari how do i know which are my open Safari tabs in several windows?

    Hi and good day,
    It happens frequently that I have several windows open in Safari and in Chrome.
    … and with a few tabs windows each.
    My question:
    How can I find a specific open page, which is somewhere on a tabbed window beneath other windows?
    Is there an app to help?
    It’s easier of course no problem with 'non-tabbed' windows, as the title will be displayed by the browser.
    Hope this makes sense,  and it is not unimportant for the workflow :-)
    with best regards, 
    Omar K N
    Stockholm, Sweden

    Alvin777 wrote:
    Hi. I'd like to delete the Snow Leopard Snapshots in my Time Machine backup drive because it won't work with Lion
    I'm not sure what you mean . . . what won't work with Lion?  It sounds like it did do some backups.
    Is there a way or an app to know which are Lion snapshots? 
    There is a way, but it's rather cumbersome.  You have to start selecting a full system restore; there's a window showing all of the backups and the version of OSX. 
    Is there an app I could use to manage the snapshots if manually deleting them will cause problems and side effects later.
    It's best to use the Time Machine "Star Wars" display to delete backups, but you really shouldn't have to.  Let's figure out what's wrong first.

  • DB Tool List Table: How to access tables which are in different SQL database ?

    Hi, All,
    I'm working on a database application (SQL server) and is evaluating the NI DB Tool kit for this project.
    One of the requirement is that I need to access tables which are in two different database
    (say Table A in DB 1 and Table B in DB 2).
    Our IT guys has linked Table A in DB1 to DB 2 and I verfied this when I use the SQL server managment studio.
    When DB 2 tables are populated, Table A from DB1 is also there. I can also do the same thing using MS Access.
    Table A in DB1 is avalaible to me enven though I only connect to DB 2.
    Here comes the problem.
    When I use DB Tool List Table.vi to access DB2, it does NOT list Table A in DB1. It only list the tables in
    the database (DB2) which I make connection to (using DB Tool Open Connection.vi with a file DSN)
    So my work around right now is to open two seperate connection to DB1 and DB2. However, this approach
    obviously creates a problem when I have to access seperate database constantly in my application.
    What would be a solution to this ? I've search the forum but only see one post that's somewhat related to
    my question. (And it was posted on 2004) Perhaps I need to alter the code in the orignial VI (DB Tool List Table.vi)??
    My IT guy told me he has not encountered this scenario since he writes codes in other enviroment such as
    VB and others, and he's always been successful by linking tables to different database. 
    I hope my question is sound and clear since I really don't know much about database terminology.
    Any comment/suggestion is much appreciated !!!
    Thanks
    Chad
    Solved!
    Go to Solution.

    To josborne:
    To answer your question:
    - Are the two databases contained on the same SQL Server instance? 
    Or are the databases on separate instances?  I assume they are on
    separate servers, otherwise this wouldn't really be an issue.  But its
    good to know because it will affect how you build your SQL statements.
    Yes they are on separate instances. 
    - Ask your IT people specifically how they "linked Table A in DB1 to
    DB 2".  I assume they used "linked servers". 
    Maybe I used the wrong terminology "linked." They created a "View of Table A (DB1)" in DB2 using the management studio.
    Here is a screen shot of that. As you can see, dbo.VISUAL_WORK_ORDER is seen under LABVIEW database in the management studio.
    I also see the same table when I make connection to database using MS Access.
    Could you elaborate on "configure your SQL statement correctly" =) ? The purpose of using LabView's took kit is so that I can do
    minimum SQL statements. Are you talking about modifying LabView's native VI (DB Tool List Table.vi) ?
    Thanks for the information. SQL is just something new to me.

  • How to find documents which are not linked to a project?

    Hi all,
    i'm just looking for a variant to search for documents which are not linked to a project within ta SOLAR_EVAL.
    I need a way to report how much documents are not linked to a project; just stored in KW.
    Can anyone give a hint?
    Thanks a lot!
    Jan

    Hi Jan,
    This report SOLMAN_UNUSED_DOCUMENTS will help you identify the documents which are not linked to the project.
    (OR) Use Tcode: SI80 to find any document in SAP Solution Manager KW.
    Regards,
    Sanjai

  • How to monitor targets which are controlled by LOAD BALANCING mechanism

    Hi,
    I have installed Enterprise Manager 10.1.0.3 and upgraded it to 10.1.0.5. Then i have applied the Application plug-in patch for managing Oracle Applications.In my environment, we have two concurrent managers and four forms servers which are using Load Balancer.Please let me how to manage these concurrent managers and forms servers in that scenario.Would highly appreciate your suggestions regarding the same.Thanks in advance.
    Regards,
    Vamsi Manyam

    This note shows how to configure OEM behind a load balancer.
    The question was how to use OEM, not behind a load balancer, to monitor other targets which are behind one or different load balancers.
    For example, to monitor :
    Forms on server A and B behind load balancer LB1.
    Forms on server C and D behind load balancer LB1.
    Forms on server E and F behind load balancer LB2.
    Gary

  • How to findout rows which are not null ?

    Hi friends,
    Can anyone tell me how to find out the no of rows which is having full data in each column (not null) ?
    Ex:- TEST_TABLE having 1000 columns and lakes of rows.
    myQuestion:- I need to find the no of rows which are filled with 1000 columns filled with not null data.
    Thanks in Advacne.
    Kishore.

    Hello
    You're just going to have to write the query with IS NOT NULL on each column. This will help generate the predicates for the WHERE clause to save quite a bit of typing...
    SELECT
        ' AND '||column_name||' IS NOT NULL'
    FROM
        all_tab_columns
    WHERE
        table_name = 'TEST_TABLE'You can take the output and add that to
    SELECT COUNT(*) FROM test_table WHERE 1=1 HTH
    David

  • How to find aggregates which are not used.

    Hi ,
    There are lot of aggregates in my system , so i should deactivate the aggregates which  are not used from long back. so how to find out all those , can u plz guide me ,

    You can also check the usage column of the aggregates. If usage value is high then the aggregate is used very frequently.
    If there is no value at the last used then the aggreagete is not used at all.
    Hope it helps
    Regards
    Sadeesh

  • How to export fields which are rendered false from a page?

    Hi ,
    I have a requirement to export the data to excel, i am able to do it using export button.
    but the problem is i need to export the all the fields which are there in the VO query but some of them are not renderd on the page.
    Please suggest some solution for this.
    Thanks

    Hi,
    Can you add them in the page to formValueBeans and check the issue.
    Thanks.
    With Regards,
    Kali.
    OSSi.

  • Australian.  How do locate apps which are suitable for Australian use,

    How do I locate applications which are relevant for Australian use, for example a shopping application; a travel application;
    Do I have to do a search in itunes for the category I want, and then go and read about that application (if a website is offered).
    Are the only forums for specific applications, attached to each individual application? That is, there is no one forum which deals with queries/features of applications in itunes?

    Apps aren't an iTunes issue, per se, since iTunes only downloads and transfers them. Try:
    Installing and using iPhone applications
    Installing and Using iPod touch Applications

  • How to push apps which are not available in the App Store?

    Hi :-)
    I've got one question: I would like to push apps via profile manager to different devices, which are not available in the App Store, so I can not buy them via VPP.
    Example: TeamViewer for OS X.

    You can't. Use something like Apple Remote Desktop.

Maybe you are looking for