JConsole Heap and Non Heap Objects viewing

Hi,
I am looking for a good tutorial on how to view what are the objects (specially their toString() value) which exists in different heap (eden, survivor,tenure ) and non heap spaces (permgen (ro,rw), code cache) ).
Are there any good tutorials out there to view these objects live..
I am assuming there jconsole in support with other jdk tools these details could be seen.
Regards,
Raja Nagendra Kumar,
C.T.O

Hi,
I am looking for a good tutorial on how to view what are the objects (specially their toString() value) which exists in different heap (eden, survivor,tenure ) and non heap spaces (permgen (ro,rw), code cache) ).
Are there any good tutorials out there to view these objects live..
I am assuming there jconsole in support with other jdk tools these details could be seen.
Regards,
Raja Nagendra Kumar,
C.T.O

Similar Messages

  • Oracle forms and reports with object views in oracle 9i

    Can We use oracle 9i Object Views in oracle forms and reports. If yes, then which version?

    MichaelFerrante,Thank you for your help.
    I have already used the HS services to connecto to external databases from our main Oracle database, and the solution works fine.
    But unfortunally for this particular client he cannont have installed a Oracle database due to internal policies restrictions.
    I can not migrate the full application to another technology like ADF in less than 6 or 8 months.
    Do you thifnk that there is any other solution?
    Mensagem editada por: user10660669

  • Example of Serialized objects and non-Serialized objects

    Hi,
    Can you please tell me some of eample of Serialized objects and nonserialized objects in java and j2ee.
    Thanks
    alex.

    sravan123 wrote:
    Serialised objects are File ,all Collection classes , subclasses of Throwable and subclasses of Number.
    Non-Serialised objects are Connection,DataSourrce,Resultset , Thread and MathYou forgot to log in as another user before answering your own question incorrectly for reasons I'm currently unable to fathom

  • SSL - Secure and non secure objects

    Hello to all!
    A box of donuts to anyone who knows how to handle this one! Using Portal 5.03 in an Internet setting (City home page) and we use the "Hosted Display Mode" to serve some of our vendor applications (such as online class registration) through the gateway so that it comes up inside the portal.This works fine until you get to a page being served via SSL. What happens is that many of the objects on the pages (images, javascript, etc) are being called via http instead of https. Some of the items come from the application itself, but a great number of these references come straight from the portal (things like helper javascript such as PTUtil.js)So my question becomes, is there anyway that the gateway can force every URL coming through to write out as https?
    ~Kevin.

    Hello to all!
    A box of donuts to anyone who knows how to handle this one! Using Portal 5.03 in an Internet setting (City home page) and we use the "Hosted Display Mode" to serve some of our vendor applications (such as online class registration) through the gateway so that it comes up inside the portal.This works fine until you get to a page being served via SSL. What happens is that many of the objects on the pages (images, javascript, etc) are being called via http instead of https. Some of the items come from the application itself, but a great number of these references come straight from the portal (things like helper javascript such as PTUtil.js)So my question becomes, is there anyway that the gateway can force every URL coming through to write out as https?
    ~Kevin.

  • Document number ranges in entry view and in General Ledger view

    What is the difference between Document number ranges in entry view and in General Ledger view ?
    We have new GL activated in our system , and  found that the  GL Document types ( SA) are assigned to document number ranges in entry view . What is the need to define document number ranges in General Ledger view ?

    Hi,
    Document Number Range in entry view is the document numbers which are posting in your leading ledger. You cant achieve the same document number range to the general ledger view. A General ledger view can have both Leading ledger view and non leading ledger view therefore document number range should not be kept same for both ledgers as your running document number gets skipped.
    That to some times you can only post documents to only Non Leading ledgers. Therefore a separate number ranges needs to be created for general ledger view
    Hope u understood.
    regards
    srikanth
    Edited by: boddupalli srikanth on May 21, 2009 9:28 PM

  • Oracle Object Views Jdeveloper compatibility

    Our application has been designed OOAD and documented in UML. We mapped the UML class diagrams to relational tables and created Oracle object views on top of these tables. From these views we can now generate C++ code with OTT. However, trying to access these views from JDeveloper gives us some problems. Specifically, if an object type defined by "CREATE TYPE xxx AS OBJECT" has a REF column somewhere inside it, there seems to be very little support for this in JDeveloper 10g. Our example is a country with numerous provinces. A provice type has a reference to the country type it falls in. Trying to make a GUI to maintain the provinces gives us no way to select a country to make the REF column from. In JDeveloper, when using the object view to create a maintenance GUI, we see the reference to the country in binary form. Typically we would want to select the country from a drop-down box containing country names instead of binary references. Can someone please point me to documentation describing how to do this or explain here. Thank you in advance.

    Not sure if this will be helpful for you, but maybe a better approach for your Java project will be to use TopLink to map your Java objects directly to the relational schema using TopLink's meet-in-the-middle capabilities.
    This way you won't need to work with the Object views in the database.
    More on TopLink here:
    http://www.oracle.com/technology/products/ias/toplink/index.html
    Some demos of the mapping capabilities are here:
    http://www.oracle.com/technology/products/ias/toplink/mwdemos/index.html
    TopLink is very well integrated with JDeveloper 10.1.2

  • InterMedia clipboard: cannot get object view

    Hi all.
    I'm trying to use clipboard against 8.1.6r2 on Linux.
    I've got a table with a primary key column and a BLOB column, and I created the necessary batch of procedures, modified to work with the BLOB column--I'm not using the ORDSYS types. This column will be storing PDFs and Word documents.
    I can see the table view, but I can't double-click on the object icon and get an object view. Am I barking up the wrong tree, trying to load Word/PDFs via the clipboard? If not, where I can start looking to fix this problem?
    Thanks for info.
    -John

    Hi,
    The interMedia Clipboard is able to recognize multimedia data in object columns only. Furthermore, by default, it recognizes only interMedia objects, like ORDImage, ORDAudio, etc. However, it is possible to use the interMedia Clipboard to handle any object type, providing one 'teaches' it how to handle types it knows nothing about. If you have a table with a simple BLOB column, then you can create a new type to represent the multimedia data in the BLOB column, then create a view on the base table and map the BLOB column into the user-defined type. I've illustrated how to do this in the following example; however, please be aware that this is an undocumented and unsupported feature.
    Hope this helps,
    Simon
    Here's an example of a simple table that holds documents in a BLOB column. If the table is used only to store documents of a single type, then you could skip the MIME type column. If you wanted, you could include a last-modified column and use it to return an appropriate HTTP status if a browser cache contains an up-to-date version.
    SQL> create table mydocs ( docid varchar2(32), doc blob, mimetype varchar2(100) );The object type MYDOCSTYPE created below will be used by the Clipboard to recognize the presence of a multimedia data column it can handle.
    create or replace type mydoctype as object ( doc blob, mimetype varchar2(100) );
    /The MYDOCSVIEW is a view of the base table that uses MYDOCSTYPE to view the document.
    create view mydocsview as
    select d.docid, mydoctype( d.doc, d.mimetype ) mydoc
    from mydocs d;The following 3 PL/SQL procedures are normally generated by the Clipboard Wizard; however, we have to do them by hand because the Clipboard recognizes only the interMedia types.
    The MYDOC_INSERT procedure is used by the Clipboard to insert a new row into the MYDOCS table.
    create or replace procedure mydocs_insert
    ( in_docid in varchar2, out_rowid out varchar2 ) as
    begin
    insert into mydocsview ( docid, mydoc ) values
    ( in_docid, mydoctype ( null, null ) )
    returning rowid into out_rowid;
    end;
    /The MYDOCS_GET and MYDOCS_PUT are the mediaget and mediaput procedures used by the Web Agent to access the document data.
    create or replace procedure mydocs_get
    ( ord_procedure_path in varchar2, ord_content_type out varchar2,
    ord_content_length out number, ord_content_blob out blob ) as
    begin
    select d.mydoc.mimetype, dbms_lob.getlength( d.mydoc.doc ), d.mydoc.doc
    into ord_content_type, ord_content_length, ord_content_blob
    from mydocsview d where d.docid = ord_procedure_path;
    end;
    create or replace procedure mydocs_put
    ( ord_procedure_path in varchar2,
    ord_content_type in varchar2,
    ord_content_blob out blob ) as
    begin
    update mydocsview d set d.mydoc.doc = empty_blob(),
    d.mydoc.mimetype = ord_content_type
    where docid = ord_procedure_path;
    select d.mydoc.doc into ord_content_blob from mydocsview d
    where docid = ord_procedure_path for update;
    end;
    /All the above happens in the user's schema. Now we have to update the Clipboard's metadata in the ORDSYS schema. As before, the Clipboard normally does this, but we have to do it because we're not dealing with an interMedia type.
    First tell the Clipboard about the new MYDOCTYPE object type: its in schema SCOTT, its names is MYDOCTYPE, it can hold ANY media data (contrast with IMAGE, AUDIO or VIDEO that are built-in media types the Clipboard knows how to handle), its stored as a BLOB and the BLOB is stored in the .DOC attribute (don't forget the .) of the MYDOCTYPE object type. Note that case is important here for all schema object names.
    connect ordsys/ordsys
    delete from mw$catalog_by_typ where type_name = 'MYDOCTYPE';
    insert into mw$catalog_by_typ values (
    'SCOTT', 'MYDOCTYPE', 'ANY', 'BLOB', '.DOC' );
    insert into mw$catalog_by_tab values (
    'SCOTT', 'MYDOCSVIEW', 'DOCID', 'MYDOCS_INSERT', NULL );
    insert into mw$catalog_by_col values (
    'SCOTT', 'MYDOCSVIEW', 'MY   DOC', 'MYDOCS_GET', 'MYDOCS_PUT', NULL );
    commit;Once that's done, you should be able to run the Clipboard, insert new rows into the table, upload new documents, and so forth. Remember to select the view, not the base table when you open the schema in the Clipboard.
    null

  • Can Designer generate ADF Entity Objects, View Objects and Apps Module ?

    Hi all,
    On what way can Designer integrate with JDeveloper (+ ADF) ?
    Can Designer generate ADF Entity Objects, View Objects and Apps Module ?
    Thank you for your help,
    xtanto

    Designer itself has no direct integration with JDeveloper. However, there are three options. First of all, you can get a JDeveloper extension (download this separately) that lets you create a Connection to a Designer repository. From that Connection you can find modules that you defined in Designer and generate Entity and View objects for the tables and columns that you used in those modules, and an Application Module. It does not create JSPs or other user interface objects.
    Another option is to buy JHeadstart from Oracle. This contains a set of code generators and ADF extensions that include an ability to get information from a Designer repository. JHeadstart works fine for non-Designer users too, but was built by the same people who wrote Designer Headstart - they know the repository API intimately.
    The third option is to download Oracle Designer Extension Builder (ODEB) which was just recently made available. This is a product of a collaboration between Designer users from the Oracle Development Tools Users Group (ODTUG) and Oracle to extend the capabilities of Designer with user written tools and utilities. You could use ODEB to write your own generators for ADF Business Components. Or you could wait and see if someone else in the user community does this. I hope that you or whoever does such a generator will be willing to share it with us all.

  • AWM Plugins and Object View

    I'm trying to create a java plugin for AWM that is only valid for items in Object view (eg Variables, Programs etc... all the primitive Express objects).
    According to the interface defined for AWMPlugin methods:
    void handle(Frame parent, Connection conn, String type, Object obj,
    AW aw, Map param);The 'type' and 'obj' represent either a String or an Object that is associated with the selected tree item, or null.
    My problem is that type and obj are always null when operating in Object view, but pass a non-null value in Model view .
    Has anyone encountered this? Does it mean the AWM plugin interface is only valid for the Model view?
    Does anyone know of a way to get a handle to something like a Variable or Program in Object view using the AWMPlugin interface?

    I am certainly not an expert on this but this would be my thoughts on this topic -
    AWM plugins are supposed to only work on model view since this view over the AW uses the public APIs called Standard Form. The Object view uses a non-public API which addresses the internal AW catalog (i.e. the NAME dimension). Therefore, it would not surprise me that the API you are calling returns NULL when you try to access non-Standard Form objects.
    I will try and contact one of the OLAP PM's this afternoon and get his opinion and let you know.
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • OCCI and Object Views

    Can you use OCCI with object views? Here is the problem that I am seeing:
    SCHEMA.SQL:
    CREATE TABLE EMP_TABLE
    empnumber NUMBER (5),
    job VARCHAR2 (20)
    CREATE TYPE EMPLOYEE_T as object
    empnumber NUMBER (5),
    job VARCHAR2 (20) )
    CREATE VIEW EMP_VIEW OF EMPLOYEE_T
    WITH OBJECT IDENTIFIER (empnumber) AS
    SELECT e.empnumber, e.job
    FROM EMP_TABLE e
    In the code, I try:
    env = Environment::createEnvironment(Environment::OBJECT);
    conn = env->createConnection(username, password, connection);
    RegisterMappings(env);
    Employee* e = new(conn,"EMP_VIEW")Employee(); //works
    Ref<Employee>e1=new(conn,"EMP_VIEW")Employee(); //fails
    Debugging the code, I get an access violation in the Ref constructor:
    template <class T>
    Ref<T>::Ref(const T *obj)
    rimplPtr = new RefImpl((PObject *)obj); // <==Access violation
    System specs:
    Windows 2000AS
    Oracle 9.2.0.4

    Sorry to be so long in replying, we decided to move back to objects without the views. Our DBAs were not happy, but sometimes that's how it goes. I did not want to have to go to using associative access for my object manipulation because it is not robust enough for real code, IMHO. So, I would rather do something that I can make work in the real world than have a database model that makes me write what I consider to be bad code. I do wish that OCCI would become more exception-safe as well as I wish that there were not cases where associative access worked but navigational access dod not.
    <rant>
    One observation about OCCI in general is that using associative access seems to be a bad idea in almost all real-world scenarios. Actually, most of the OCCI constructs seem to be less-than-optimally designed from a C++ perspective. Tossing raw pointers around is not the way toward robust software. And most of the constructs in OCCI do that and worse. None of the high level constructs like Environment, Connection, Statement, etc. are exception safe in any sense of the word. I have (like a lot of you, I'm sure) have had to write a layer on top of the base OCCI classes to enforce some level of exception safety. Not that its a big deal or anything, but just one more thing I would rather not have to do...
    </rant>

  • Storing XML using XSU, object VIEW and INSTEAD OF trigger

    Here is the point:
    I've got 2 tables which are linked:
    CREATE TABLE dept (
    deptno NUMBER PRIMARY KEY,
    deptname VARCHAR2(20)
    CREATE TABLE emp (
    empno NUMBER PRIMARY KEY,
    empname VARCHAR2(20),
    deptno NUMBER REFERENCES dept(deptno)
    I've got the following message, which I want to insert in the tables using XSU (I already have a PL/SQL stored procedure which work perfectly for insertion into 1 table, using DBMS_XMLSave.insertXML or xmlgen.insertXML):
    <DEPT>
    <DEPTNO>10</DEPTNO>
    <DEPTNAME>IT</DEPTNAME>
    <EMP>
         <EMPNO>1</EMPNO>
         <EMPNAME>John</EMPNAME>
    </EMP>
    <EMP>
         <EMPNO>1</EMPNO>
         <EMPNAME>Phil</EMPNAME>
    </EMP>
    </DEPT>
    So I've created the following object:
    CREATE TYPE emp_t AS OBJECT
    empno NUMBER,
    empname VARCHAR2(20)
    CREATE TYPE emplist_t AS TABLE OF emp_t;
    CREATE TYPE dept_t AS OBJECT
    deptno NUMBER,
    deptname VARCHAR2(20),
    emplist emplist_t
    Now I understand that I should create an object VIEW and an INSTEAD OF trigger (That's what I read many times),
    but I don't know how to structure the view and the trigger.
    Could you help? (Example of a similar context, piece of code)
    Thanks a lot
    Marion

    Hi John,
    I have exactly the same issue as you experienced back in January. I have a complex data modelling requirement which requires the need to pivot rows into columns using ROW_NUMBER() and PARTITION clauses. To hide the complexity from the middle tier, I have created a database view and appropriate INSTEAD OF triggers and mapped my EO to the view. I have overriden the lock() method on the EO implementation class (to avoid ORA-02014) and would like to try the same solution you used with the pl/sql call to lock the record.
    My question is, how did you manage the release of the lock if the transaction was not rolled back or committed by your application i.e. if the user closed the browser for instance.
    In my naivity, I would like to think that the BC4J framework would release any locks for the database session when it found the servlet session to be terminated however my concern is that the lock would persist and cause complications.
    Any assistance greatly appreciated (if you would be willing to supply your lock() method and pl/sql procedure logic I would be even more grateful!).
    Many thanks,
    Dave
    London

  • DB02 = Missing Tables and Indexes = Unknown objects in ABAP Dictionary = DB views

    Hi SAP Gurus,
    on our SAP NetWeaver 7.x BW (based on AIX/Oracle) I find via transaction DB02 (path = Diagnostics => Missing Tables and Indexes) under "Unknown objects in ABAP Dictionary" under DB views a BW object /BI0/.....
    When I make a double click on the object, I am getting the popup window "Display not possible for this object":
    How can I identify the object and clarify with the BW application expert, if needed, how to resolve this object?
    I searched already via RSA1 for the object, but I wasn't able to find anything so far ...
    Thanks for your help and ideas.
    Best regards
    Carlos

    Hello Carlos
    The database view in question is a temporary database object created during a query execution.
    Please read this SAP note 449891 - Temporary database objects in BW 3.x to understand what that view is all about and impact if those views are removed.
    The SAP notes 449891 and 1139396 suggests to run the report SAP_DROP_TMPTABLES to drop these temporary objects. Whether the objects are still required or not is a question to be put across to the BW team. If the temporary objects are removed when they are used by a query, then the query will fail.
    Have a nice day
    RB

  • Object view  with nested table and member functions????????????????

    HI frds:)
    I need some help regarding writeing soem queries..
    I have to use view in retreving data and by useing member functions of object.
    1) i have to create a nested table by useing type object.
    2) i have to create a object wtih member functions inorder to create view of taht nested table,.
    3) by useing this objectt view and by useing methods i have to write soem queries ...
    If any one know or any information regarding this please reply me... as i have searched in net alot but i was unable to figure out..
    Thanks....

    // first createing object
    create type emp_det as object
    (empname varcahr2(20),start_date date,end_date date);
    // creating table of that object
    create table emp_detai_table as table of emp_det;
    // creating nested table
    create table empl (emp_no number,emp_detail emp_detail_table,dep_no number)nested table emp_detail store as s;
    //now i want to create view.. inorder to create view i need to create object. in that object i want to create methods.. these methods should work with date attributes..
    after creating object view i need to select or write some queries by useing member methods..
    This is the tast i have to perform.,. i have no materials ...if u have any link ..forward me..
    i have to do it as soon as possible..
    waiting for your reply...

  • I'm now using iPhoto '11 (9.3.2), and none of the photos in my library will enlarge.  I can view them all as thumbprints, but when I click to enlarge just a black, blank space shows up.  Occasionally, one will enlarge for a second, then disappear.  Help!

    I'm now using iPhoto '11 (9.3.2), and none of the photos in my library will enlarge.  I can view them all as thumbprints, but when I click to enlarge just a black, blank space shows up.  Occasionally, one will enlarge for a second, then disappear.  Help!

    Just to clarify, I am not getting an "!" mark in a triangle, as I read others have experienced.  The screen is just blank except the grey flag in lefthand corner to flag the photo.

  • Defining non-Component objects with size and location using Swing

    I am attempting to write a program which will be able to manipulate (display, move, resize) objects in a Swing window which are not necessarily components. These "Window"s are defined by a Window interface which defines a Window as any object which has a size and a location (effectively a rectangular area). This would ideally allow me to perform operations such as drawing an arbitrary picture on a Jpanel, for example, wrap that drawing in a rectangular area, and then be able to resize it/move it about as a separate panel. In order to do this I believe I would have to override the paint() method, although I'm not completely sure. If anyone has any suggestions of a proper way to override the method or know a proper way to attack this problem, I would greatly appreciate it.
    Thanks,
    Adrian

    It's hard to say since it's not quite clear what you're doing but:
    1) if these objects are not necessarily components, that's fine, but you're not trying to add them to the basic GUI framework, are you? If you want to do something like this, then probably the best thing is to have a particular component that knows how to handle these objects, and then have a clean separation between components and non-components at that level. So this component would maintain and display a collection of those non-component objects, but no other component would be expected to know anything about them, and the non-component objects wouldn't know about any components at all.
    2) it might be helpful to give all the non-component objects a method that looks like this:
    void drawSelf(Graphics g);and that this method would tell the object to draw itself on that Graphics object. The object might also have an "offset" value, essentially an x,y position, and it would draw itself relative to that position.

Maybe you are looking for

  • Generic Object Services for a Z program

    Hello all! I need to create a Z application for displaying master material data, related batchs, associated QA, and PP data, all in one screen. I need to have the Object Services Toolbox in the top of my screen just like in Material Master appears, f

  • Numbers removed from all contacts

    I recently installed the 1.1.4 update on my iPhone, and after it was complete, I noticed the numbers and email addresses had been removed from all my contacts. The names and associated pictures are still there, but no numbers. I have tried syncing wi

  • Mac book aspect ration on Plasma TV

    Hi, I've just connected my mac book to my 42" plasma TV. It looks really good and I'm looking forward to watching films on it. However the entire desktop is ever so slightly squashed. I'm running in 1024x768. The TV can display 1280x1024 at the corre

  • Importing vhs via canopus 55

    I am in the process of importing old vhs tapes via the canopus 55. The problem I am encountering is it is only importing in monochrome. Is there any way I can capture the colour?

  • Compressor 4.1 Crashes When Changing Location

    Every time I click on a job to change the Location from Source to a specific folder, Compressor 4.1 crashes.  I've trashed preferences using Preference Manager but to no avail.  Suggestions?