How to get out program information from JVM?

I want to develop a program, in which a listener listen to JVM's operations. When a property of an object had changed, the listener can get out the property's name and value from JVM. That means I would like to monitor what JVM had done using some API.
I kown that JDI can do this, but I don't know how to code it. I would like to get a piece of example code!
thanks.

have a look here:
http://robocode.alphaworks.ibm.com/docs/jdk1.3/guide/jpda/jvmdi-spec.html
you need to write a native application (a shared object or a dll) in order to listen to the VM

Similar Messages

  • How to get RMAN catalog information from Target database?

    Hi,
    How to get RMAN catalog information from Target database because i don't know about catalog database? is it possible?
    Thanks

    If you run RMAN backups of a target database using a Catalog schema in another database, the target is not aware of the catalog.
    The RMAN backup script would have the connection identifier for the Catalog.
    Hemant K Chitale

  • How to get the program name from transformation id.

    Dear Folks,
    Could you kindly share to me how to make it please .. ? :-).
    As we know that every update rules/transfer rules has it's own program.
    Do you know how to find the program for particular update/transfer rules .. ? If i'm not mistaken there is particular comprising about this information.
    Could you share to me what table is that and how to find it .. ?
    Tks a lot ..
    Regards,
    Niel.

    Hi Sumit,
    Tks a lot for your quick response, why i can't fetch the data from that table... ?
    What i did is like this ..
    1. tcode rsa1.
    2. expand the tree for info-provider.
    3. ctrl+c, in tech. names for update rules.
    4. Open rstran table, and input for that tech. id.
    5. Execute it.
    But no data i get.
    Does this happen only for business content ? Or Could I fetch the data even this is for customized object ..
    Still need your guidance.
    Btw, i'm now running BI 7
    Regards,
    Niel.

  • How to get font's information from PDF of page item?

    The PDF file is placed in a document of InDesign.How to get the list of font's name from the PDF.I would like to know the font which is used in the PDF file.

    Thanks, Michael 2 James
    I try it.The IFontNames interface's "FontsSupplied" Function can't got the name of fonts from PDF file. This PDF file was created by InDesign.
    If the PDF file had be created by Adobe Acrobat and some fonts had be embedded,the "FontsSupplied" Function would have gotten the name of fonts.
    There other ways?Thanks

  • IPhone SDK: UIWebView - How to get the anchor information from  URLRequs

    I was planning to use the UIWebView but i am stumped now.
    When the user clicks on a hyperlink, the web view delegate shouldStartLoadWithRequest is called and it does not contain the anchor information.
    For e.g. if the href is say #01_02. This to a normal browser is a local anchor. The URL in the NSURLRequest contains just the file name information not the anchor.
    In my particular case a anchor can be some other view of the topic which i will generate and keep it ready for the browser at this point. But since i don't get the anchor information it just shows the current page.
    Is there a way to get the original value encoded in the HREF?
    Thanks in advance,
    -TRS

    I may not have understood your question but if you want to pull out the anchor information out of a request, have you tried the fragment property of the NSURL object?
    // request is type (NSURLRequest *); within shouldStartLoadWithRequest
    NSString *fragment = \[\[request URL\] fragment\];
    Usually this will have the anchor without the #, in your case 01_02.

  • How to get more, accurate, information from BT re ...

    I am getting confused and bored with BT Infinity.
    I registered interest last year on the Infinity web-site. The only contact I had was a suggestion to get all the neighbours to sign up to “justify” BT putting in the fibre etc…  Not heard a thing since.
    When I renewed by BT broadband contract in December (Option 3), I was told by the sales agent that we would be getting double the line speed within six months (current speed is 2-2.5mb).  I assume this was by BT putting in ADSL MAX.
    On Thursday and Friday last week there were a number of BT Openreach vans parked at the end of our small close, and up and down the main road.  I walked out and asked them what they were doing and they told me they were “putting in the fibre” and we should have Infinity within a month.
    I realise that BT Broadband and Openreach are not the same company, one is retail and one is wholesale  - but I am quite excited about the possible of faster speeds.
    I have been on to the Infinity web-site and entered my details – it tells me Infinity is not in my area, but I will be able to have 6mb (ADSL MAX??) but December 2012.
    If I look on SamKnows – it shows my exchange as being 1700 metres away, with BT FTTC enabled, 21CN from next week etc..
    O2 and Talk Talk are both offering me double the BT speed NOW !! And Virgin have surveyed and offered much higher speeds.
    I would not move to TalkTalk as another family member has not enjoyed best experience, but my son has been using Virgin broadband for two years and loves it.  I have been with BT since 1990, so would prefer not to move
    Do I have to cancel my BT service to get them to react?

    Thanks Brian,
    Juts checked that, it says;
    Your exchange is ADSL enabled, and our initial test on your line indicates that your line should be able to have an ADSL broadband service that provides a fixed line speed up to 2Mbps.
    Our test also indicates that your line currently supports an estimated ADSL Max broadband line speed of 3.5Mbps; typically the line speed would range between 2.5Mbps and 4.5Mbps.
    Your exchange is planned to have ADSL2+ by 30th September 2012. Our test also indicates that your line currently supports an estimated ADSL2+ broadband line speed of 6Mbps; typically the line speed would range between 4Mbps and 8Mbps. Our test also indicates that your line could support an estimated ADSL 2+ Annex-M broadband upstream line speed of 1Mbps and downstream line speed of 6Mbps; typically the downstream speed would range between 4Mbps and 8Mbps.

  • How to get job status information from printer without using printer's web interface

    Hi, all!
    I need to resolve problem with logging my printer hp lj 700 m712.  
    I configure syslog on it, but it sending only status messages ("peripheral low-power state" - for exapmle), I need to register the job status of printer's job on my server.
    How can I do that?
    Can you help me? 

    Hi Lexabb,
    I suspect your question would be better answered in the HP Enterprise Business Community,  as the HP LaserJet Enterprise 700 M712 printer series is a commercial model.
    My technical expertise is with consumer products and software, I am sure the commercial folks would be happy to help if you re-post your question for them to answer. The HP Enterprise Business Community is an HP Forum designed for the Commercial and Enterprise customers to help one another. I am sure you will find some HP folks there to help too.
    Click here to view the Printing and Digital Imaging.  When the page opens you will see the option to 'Log in' or 'Register Now' on the right. The commercial forums are separate from the consumer boards, thus you will need to register if you don't already have a commercial account.
    You may find the HP LaserJet Enterprise 700 Printer M712dnpage helpful while you wait for somebody in the commercial Forum to respond to your inquiry.
    Best of luck.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • How to get out the E+ from the axis in Diadem Report?

    Hallo
    on the photo you can see numbers written like 10E+5 etc.  Like I have done the 10^5 shall be written in front of the unit and not after the numbers.
    The channel is created with Diadem Analysis
    Thank You

    Hi,
    You can sclae the channel by 10^-5 if you're already considering that portion in the unit. You can do this in a script using the following. Otherwise it's in the basic mathematics portion of Analysis.
    Call ChnLinScale("Group/Channel","/LinearScaled",1E-05,0)
    Hope that helps!

  • How to get auto proxy configuration from plugin?

    I need to retrieve the name of the client's proxy server to pass it along to my signed applet (because it doesn't seem to be getting the information automatically despite the fact that the java plugin is set to the use the browser settings for proxies).
    The Java Plugin loads the proxy server information based on the browser preferences, but I haven't figured out how to retrieve that proxy information from the Plugin itself. Sometimes the javaplugin.proxy.auto.url system property is null, even if the browser (MSIE) is configured to use an auto-configuration script/url for the proxy server configuration. I can see in the Java Console that the plugin knows the auto-config url, so how can I access that property from within my applet?
    Even if javaplugin.proxy.auto.url is not null, I don't know how to call the javascript function at that URL from within the applet to get the proxy server host name and port.
    Does anyone know how to get the proxy information from the plugin?

    Thank you! Indeed, the answer was there, but I hadn't been able to find it earlier (I guess I was searching on the wrong forums). For those who might be interested, here's the thread that helped:
    http://forum.java.sun.com/thread.jsp?forum=30&thread=281981

  • How can I get CDP neighbor information from access point reports in Cisco Prime 2.0

    How can I get CDP neighbor information from access point reports in Cisco Prime 2.0?  I have looked through all the reports and I cannot find a report that gives me the CDP neighbor information of an access point.  I thought that information was in there, however I cannot seem to find it.
    Thanks in advance!

    Hi
    You can get this from an inventory report in PI (Select Report Type AP). Here is an example of PI 2.1 works for me. Once you export this into excel you can sort based on controllers & filter the single controller connected AP you want.
    Regards
    Rasika
    **** Pls rate all useful responses ****

  • How to get standard program ,script,smartforms all from sap

    hi friends
    how to get standard program ,script,smartforms all from sap.
    thanks&regards
    Babasish

    Hi,
    reports:
    goto se38
    all programs not starting with y or z will be sap std programs only
    same for se71 scripts
    samse for smartforms
    but the use of those will be known when you see the documentation
    for each programme
    for std programs there will be documentation available so that you can understand
    why they have developed that object
    thanks & regards,
    Venkatesh

  • Received new mac how do you get all your information from old mac?

    Received a new mac for my daughter.  How do you get all the information from old mac?

    Your best bet, by far, is to use Setup Assistant when your shiny new Mac first starts up (not Migration Assistant later).
    See How do I set up a new Mac from my old Mac or its backups?

  • I have 2 imac computers and here are my questions: first, how to I transfer the information from my contact directory from my old imac into my new imac and once the information is transfered how can I print it? Second: I have a large music collection in m

    have 2 imac computers and here are my questions: first, how to I transfer the information from my contact directory from my old imac into my new imac?  Once the information is transfered how can I print it? Second: I have a large music collection in my old Imac computer how do I transfer this information to my new computer? Also how can I share this information with other computers at home?

    I think you may find helpful information here:
    A Basic Guide for Migrating to Intel-Macs
    The Knowledgebase article Intel-based Mac: Some migrated applications may need to be updated refers to methods of dealing with migrating from PowerPC chips to Intel with the Migration Assistant safely. The authors of this tip have not had a chance to verify this works in all instances, or that it avoids the 10.6.1 and earlier Guest Account bug that caused account information to get deleted upon use of the Migration/Setup Assistant. However, a well backed up source that includes at least two backups of all the data that are not connected to your machine will help you avoid potential issues, should they arise. In event it does not work, follow the steps below.
    If you are migrating a PowerPC system (G3, G4, or G5) to an Intel-Mac be careful what you migrate.  Keep in mind that some items that may get transferred will not work on Intel machines and may end up causing your computer's operating system to malfunction.
    Rosetta supports "software that runs on the PowerPC G3, G4, or G5 processor that are built for Mac OS X". This excludes the items that are not universal binaries or simply will not work in Rosetta:
    Classic Environment, and subsequently any Mac OS 9 or earlier applications
    Screensavers written for the PowerPC System Preference add-ons
    All Unsanity Haxies Browser and other plug-ins
    Contextual Menu Items
    Applications which specifically require the PowerPC G5 Kernel extensions
    Java applications with JNI (PowerPC) libraries
    See also What Can Be Translated by Rosetta.
    In addition to the above you could also have problems with migrated cache files and/or cache files containing code that is incompatible.
    If you migrate a user folder that contains any of these items, you may find that your Intel-Mac is malfunctioning. It would be wise to take care when migrating your systems from a PowerPC platform to an Intel-Mac platform to assure that you do not migrate these incompatible items.
    If you have problems with applications not working, then completely uninstall said application and reinstall it from scratch. Take great care with Java applications and Java-based Peer-to-Peer applications. Many Java apps will not work on Intel-Macs as they are currently compiled. As of this time Limewire, Cabos, and Acquisition are available as universal binaries. Do not install browser plug-ins such as Flash or Shockwave from downloaded installers unless they are universal binaries. The version of OS X installed on your Intel-Mac comes with special compatible versions of Flash and Shockwave plug-ins for use with your browser.
    The same problem will exist for any hardware drivers such as mouse software unless the drivers have been compiled as universal binaries. For third-party mice the current choices are USB Overdrive or SteerMouse. Contact the developer or manufacturer of your third-party mouse software to find out when a universal binary version will be available.
    Also be careful with some backup utilities and third-party disk repair utilities. Disk Warrior, TechTool Pro , SuperDuper , and Drive Genius  work properly on Intel-Macs with Leopard.  The same caution may apply to the many "maintenance" utilities that have not yet been converted to universal binaries.  Leopard Cache Cleaner, Onyx, TinkerTool System, and Cocktail are now compatible with Leopard.
    Before migrating or installing software on your Intel-Mac check MacFixit's Rosetta Compatibility Index.
    Additional links that will be helpful to new Intel-Mac users:
    Intel In Macs
    Apple Guide to Universal Applications
    MacInTouch List of Compatible Universal Binaries
    MacInTouch List of Rosetta Compatible Applications
    MacUpdate List of Intel-Compatible Software
    Transferring data with Setup Assistant - Migration Assistant FAQ
    Because Migration Assistant isn't the ideal way to migrate from PowerPC to Intel Macs, using Target Disk Mode, copying the critical contents to CD and DVD, an external hard drive, or networking will work better when moving from PowerPC to Intel Macs.  The initial section below discusses Target Disk Mode.  It is then followed by a section which discusses networking with Macs that lack Firewire.
    If both computers support the use of Firewire then you can use the following instructions:
    1. Repair the hard drive and permissions using Disk Utility.
    2. Backup your data.  This is vitally important in case you make a mistake or there's some other problem.
    3. Connect a Firewire cable between your old Mac and your new Intel Mac.
    4. Startup your old Mac in Transferring files between two computers using FireWire.
    5. Startup your new Mac for the first time, go through the setup and registration screens, but do NOT migrate data over. Get to your desktop on the new Mac without migrating any new data over.
    If you are not able to use a Firewire connection (for example you have a Late 2008 MacBook that only supports USB:)
    1. Set up a local home network: Creating a small Ethernet Network.
    2. If you have a MacBook Air or Late 2008 MacBook see the following:
    MacBook (13-inch, Aluminum, Late 2008) and MacBook Pro (15-inch, Late 2008)- What to do if migration is unsuccessful;
    MacBook Air- Migration Tips and Tricks;
    MacBook Air- Remote Disc, Migration, or Remote Install Mac OS X and wireless 802.11n networks.
    Copy the following items from your old Mac to the new Mac:
    In your /Home/ folder: Documents, Movies, Music, Pictures, and Sites folders.
    In your /Home/Library/ folder:
    /Home/Library/Application Support/AddressBook (copy the whole folder) /Home/Library/Application Support/iCal (copy the whole folder)
    Also in /Home/Library/Application Support (copy whatever else you need including folders for any third-party applications)
    /Home/Library/Keychains (copy the whole folder) /Home/Library/Mail (copy the whole folder) /Home/Library/Preferences/ (copy the whole folder) /Home /Library/Calendars (copy the whole folder) /Home /Library/iTunes (copy the whole folder) /Home /Library/Safari (copy the whole folder)
    If you want cookies:
    /Home/Library/Cookies/Cookies.plist /Home/Library/Application Support/WebFoundation/HTTPCookies.plist
    For Entourage users:
    Entourage is in /Home/Documents/Microsoft User Data Also in /Home/Library/Preferences/Microsoft.
    Credit goes to Macjack for this information.
    If you need to transfer data for other applications please ask the vendor or ask in the  Discussions where specific applications store their data.
    5. Once you have transferred what you need restart the new Mac and test to make sure the contents are there for each of the applications.
    Written by Kappy with additional contributions from a brody.Revised 5/21/2011

  • How to find out company code from a plant ?

    Hello friends,
    I have to modify a program that uses FM "BAPI_COMPANYCODE_GET_PERIOD".   For that, we have to export company code ID.  Currently it is hard coded with one company code.  Now we want to make this program usable by all company codes.  So instead of hard coding, I would like to dynamically find out company code based on the plant.   So I want to know - how to find out company code from a plant ?  Is there any table that has plant to company-code assignment data, or any other FM/BAPI to get this info ?
    Thanks,
    - Chetan

    hi
    u can find this from table T001K
    or just goto EC01
    here click on STRUCTURE>NAVIGATION
    double click on co code u will get the list
    u can slo try this in EC02
    regards
    kunal

  • How to get the log information when using a class?

    Hi All,
    I have a simple question, which I don't know how to solve. I am using org.apache.commons.logging.Log and LogFactory to do some logging. A typical situation is exemplified in the following code snippet.
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    class LogClass {
        private static final Log LOG = LogFactory.getLog(AClass.class);
        public void logit(){
            LOG.debug("This is the debugging log.");
    public class AClass{
        public static void main(String[] args) {
            LogClass l=new LogClass();
            l.logit();
    }But this way, I do not get the log information from the class LogClass. Could anybody please help?
    Many thanks.

    jschell wrote:
    jverd wrote:
    ...configuration in log4j.xml or log4j.properties.And far as I recall you need one of those two also. If there is no config then there is no output.I thought it used some default config if no file is present, but I could be mistaken. Either way, it adds to the possible problems that the OP could be having, any of which are consistent with his rather vague question.
    1) He's passing the wrong class to the LogFactory, and hence getting a logger with the wrong name, so he's seeing a different name than he expects in the output that's being produced.
    2) His config file does not contain the proper format to include the actual classname, independent of the logger's name, so he's missing a piece of desired information in each line of the output that's being produced.
    3) His config file indicates a threshold that's less verbose than the level at which his code is logging, so no output is present when he wants it.
    4) His config file is missing (or not where it's expected to be), so no output is being produced at all.
    5) His config file is missing (or not where it's expected to be), so a default level or format is being produced, effectively the equivalent of one of the misconfigurations described in #2 and #3.
    Since the OP seems to have vanished, we may never know.

Maybe you are looking for

  • DDIC Activation error during SAP_HR component upgrade in ECC 6.0

    Hi All, We were upgrading the SAP_HR component in ECC 6.00 to SP 10 (SAPKE60009 - SAPKE60010).Upgrade is failed in DDIC_ACTIVATION step. Below is the error message Relationship T5FPBS4G-OFFGC for table T5FPBS4GO does not exist Message no. MC683 Diagn

  • Indesign CC problem with rules

    I am used to work with paragraph rules when I have to to highlight text in documents. Now, in InDesign CC, I have to deal with a strange problem – trying to select the characters in text, the selection is visible in another place. The characters, how

  • How to create a form on a table with 3 columns for a PK

    Hi All, We have a table that has 3 Columns that form the Primary Key and I would like to create a form based on that table; unfortuanately on the 'Create Form Page' there's only 2 options that identifies the first and second PK columns. Is there a wa

  • Forms Server configuring problem

    Hi, I've installed Oracle Forms Server 6i on Windows platform and installed Apache 2.2. The virtuals folders are configured correctly in Apache and file permission settings are all done correctly. All the environment variables appears to be okay in r

  • Jagged edges in vector in Illustrator cs6

    Hello, I am new to Illustrator and I just atempted my first vector drawing.  The problem I have is that I finished all of the lines using the pen tool on all the outlines.  I saved it as an svgz file and then I selected all of the lines and converted