Jdev11g CPU profile and Memory Profile doesn't work for Mac

I'm running Jdev11g on Mac OSX 10.5.5,
CPU Profile and Memory Profile doesn't work. I got following message:
Error occurred during initialization of VM
Could not find agent library in absolute path: /Shared/jdevjavabase11110/jdeveloper/jdev/lib/profiler16.so
The file actually is there. I don't understand why they looking for .so file, it supposed to be mapped as .jnilib on Mac.
This is broken on TP4 as well.

I'm still seeing this issue. Here is what I get:
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java -client "-agentpath:/Users/kamleshnanda/Downloads/jdeveloper/jdev/lib/profiler16.so=port=60950,jarpath=/Users/kamleshnanda/Downloads/jdeveloper/jdev/lib/profiler-agent.jar,enable=t,depth=1000,startup=connect,time" -classpath /Users/kamleshnanda/jdeveloper/mywork/MyJavaApplication/Project1/classes project1.Class1 Hello
Error occurred during initialization of VM
Could not find agent library in absolute path: /Users/kamleshnanda/Downloads/jdeveloper/jdev/lib/profiler16.so
Process exited with exit code 1.
I'm using the following build:
About
Oracle JDeveloper 11g Release 1 11.1.1.2.0
Java Edition Version 11.1.1.2.0
Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536
Copyright © 1997, 2009 Oracle and/or its affiliates. All rights reserved.
IDE Version: 11.1.1.2.36.55.36
Product ID: oracle.jdeveloper
Product Version: 11.1.1.2.36.55.36
Version
Component     Version
=========     =======
CVS Version (External)     (CVS) 1.12.13 (client/server)
Java(TM) Platform     1.6.0_17
Oracle IDE     11.1.1.2.36.55.36
PMD     JDeveloper Extension 4.2.5.3.0
Team Productivity Center     11.1.1.2.36.55.36
Versioning Support     11.1.1.2.36.55.36
Here are the JVM properties:
java.runtime.name     Java(TM) SE Runtime Environment
java.runtime.version     1.6.0_17-b04-248-10M3025
java.specification.name     Java Platform API Specification
java.specification.vendor     Sun Microsystems Inc.
java.specification.version     1.6
java.vendor     Apple Inc.
java.vendor.url     http://www.apple.com/
java.vendor.url.bug     http://bugreport.apple.com/
java.version     1.6.0_17
java.vm.info     mixed mode
java.vm.name     Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name     Java Virtual Machine Specification
java.vm.specification.vendor     Sun Microsystems Inc.
java.vm.specification.version     1.0
java.vm.vendor     Apple Inc.
java.vm.version     14.3-b01-101
Here is the OS information:
os.arch     x86_64
os.name     Mac OS X
os.version     10.6.2

Similar Messages

  • HT201263 Unable to update, restore or recover. Slider doesn't slide and number pad doesn't work for passcode. What next? Worked last night . Battery charged. When I push Home button I get my backgroung but can't slide slider. Device is recognized by iTune

    Unable to update, restore or recover. Slider doesn't slide and number pad doesn't work for passcode. What next? Worked last night . Battery charged. When I push Home button I get my backgroung but can't slide slider. Device is recognized by iTunes.Help! Thank you.

    Besweet, I'm having the very same problem with 60GB colour which was bought new and worked for 6 months before suddenly just not being recognised by PC. I hadn't changed anything at all.
    I've followed all troubleshooting advice and reinstalled and updated iTunes and iPod updater software but all troubleshooting routes seem to hit the dead end of either the need to access the iPod via the PC (which isn't possible as it's not showing up at all) or the iPod in disc mode stuck at "ok to disconnect".
    It's still under 1yr warranty so will have to take to a dealer.
    I'm sorry that's not much help for you but at least you know it's not a unique problem.
    PC   Windows XP  

  • HT4527 How on earth do you get Home Sharing to work properly?  We have tried multiple times and it simply doesn't work for us!

    How on earth do you get Home SHaring to work?  We have tried numerous times and it simply doesn't work for us!

    Turn it on.
    Honestly, if you want help it is generally a good idea to ask a specific question and give some details of what problem is occurring.
    If trying to move media, using home sharing is simply a bad idea.  Follow some of the other instructions in the article from which the question was posted to move media.

  • Application Restart and Recovery APIs doesn't work for windows services

    I am using the Application Restart and Recovery mechanism (provided in Windows API Code Pack for Microsoft.NET Framework) to collect some information (i.e. stack information when there's an unhandledexception)  before my windows service crash down.
    It works well for windows form applications, but the callback method wouldn't be called if the host is a windows service. 
    I have checked the article: https://msdn.microsoft.com/zh-cn/subscriptions/downloads/cc303708
    But it doesn't specify clearly whether it works for a windows service. It seems that the recovery will only be activated when the user interacts with the error dialog of Windows Error Reporting (clicking "close" on the dialog, for example).
    So I am wondering is my guess right that the Application Restart and Recovery mechanism doesn't work for windows services. Or is there a better way to meet my requirement? 

    I would suggest trying ARR if that's what you want to use.  The restart portion won't work, but it doesn't need to as if you fail out of your service, the Windows service controller will handle recovery (up to and including restarting your service).
     You configure those recovery actions either through code or one of the built in administrative tools for services such as services.msc.  
    DebugDiag/ADplus and similar tools ultimately do use built-in APIs; you don't need to add anything external to collect debugging information.  You do however have to write a good deal of code to do somethings.  It's pretty simple to use the unmanaged
    function that I pointed out before and
    MiniDumpWriteDump to write a minidump when you hit an unexpected error(the dbghelp.dll that comes installed with Windows has it so you don't need anything additional installed).  You can even write a basic debugger that literally debugs a process using
    only kernel32 functions (see
    https://msdn.microsoft.com/en-us/library/windows/desktop/ms679301(v=vs.85).aspx if you're interested).  
    WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/

  • [BUG]: MakeWritable doesn't work for mac

    I'm trying to use oracle.jdeveloper.refactoring.util.MakeWritableHelper in my plugin, and I found it doesn't work for MAC. The byte code shows it only check the osname for "Windows" and "Linux".
    and some Jdeveloper refactoring feature failed due to can't make file writable, they may also related to this class.

    My MAC version is OSX 10.5.4.
    I don't have a stacktrace. It just fails silently.
    You can easily reproduce this bug by reformat a readonly file.
    Here is the code I reverse engineered from oracle.jdeveloper.refactoring.util.Util.java:
    public static boolean setReadOnly(java.net.URL url, boolean readOnly)
    boolean ret = false;
    java.lang.String cmdarray[] = null;
    java.lang.String platformPathName = oracle.ide.net.URLFileSystem.getPlatformPathName(url);
    java.lang.String osName = java.lang.System.getProperty("os.name", "");
    if(osName.startsWith("Windows"))
    cmdarray = (new java.lang.String[] {
    "ATTRIB", readOnly ? "+R" : "-R", (new StringBuilder()).append('"').append(platformPathName).append('"').toString()
    else
    if(platformPathName.equalsIgnoreCase("Linux"))
    cmdarray = (new java.lang.String[] {
    "chmod", readOnly ? "u-w" : "u+w", (new StringBuilder()).append('"').append(platformPathName).append('"').toString()
    if(cmdarray != null)
    java.lang.Runtime runtime = java.lang.Runtime.getRuntime();
    try
    java.lang.Process process = runtime.exec(cmdarray);
    if(process.waitFor() == 0)
    ret = (new File(platformPathName)).canWrite();
    if(ret)
    oracle.ide.model.Node node = oracle.ide.model.NodeFactory.find(url);
    if(node instanceof oracle.ide.model.TextNode)
    oracle.ide.model.TextNode textNode = (oracle.ide.model.TextNode)node;
    textNode.isReadOnly();
    catch(java.io.IOException e)
    e.printStackTrace();
    catch(java.lang.InterruptedException e)
    e.printStackTrace();
    return ret;
    }

  • SafeSleep doesn't work for Mac mini

    I use Mac mini (Mid 2011)  with  hibernatemode=3.
    But my Mac doesn't reboot from sleepimage afer I unplug the power cord. I mean SafeSleep doesn't work for my Mac. It boots normally but every program is initialized.
    It is strange that I very rarely watch the very moment that my Mac's progress bar when rebooting from SafeSleep successfully.
    Please help me to use SafeSleep and to save energy.
    I am sure settings are correct and sleepimage is made by the following commands.
    $ ls -l /private/var/vm
    total 8519680
    -rw------T  1 root  wheel  4294967296  9  9 18:01 sleepimage
    -rw-------  1 root  wheel    67108864  9  9 18:02 swapfile0
    $ pmset -g
    Active Profiles:
    AC Power        -1*
    Currently in use:
    hibernatemode        3
    womp                 0
    networkoversleep     0
    sleep                10
    powerbutton          1
    ttyskeepawake        1
    hibernatefile        /var/vm/sleepimage
    autorestart          0
    disksleep            10
    displaysleep         10

    Don't be too dismayed that you can't take advantage of Hibernate the way you did in the past on your PCs.  See this chart:
    (from here: http://images.apple.com/environment/reports/docs/macmini_per_july2011.pdf)
    At most, you're drawing 1.16W in Sleep.  For me, that amounts to a cost of about 10p every fortnight.  If it's the environmental effects that concern you, further reading of the PDF should show you've got one of the most environmentally-friendly home computers money can buy.
    I hope that puts your mind at ease.

  • TP4[BUG]: Memory profile and CPU profile doesn't work for MAC

    I'm using Mac OSX 10.5.4.
    When I try to use Memory profile and CPU profile, I got following error:
    Error occurred during initialization of VM
    Could not find agent library in absolute path: /Shared/jdevstudiobase1111/jdev/lib/profiler15.so
    But the file actually exists.

    My MAC version is OSX 10.5.4.
    I don't have a stacktrace. It just fails silently.
    You can easily reproduce this bug by reformat a readonly file.
    Here is the code I reverse engineered from oracle.jdeveloper.refactoring.util.Util.java:
    public static boolean setReadOnly(java.net.URL url, boolean readOnly)
    boolean ret = false;
    java.lang.String cmdarray[] = null;
    java.lang.String platformPathName = oracle.ide.net.URLFileSystem.getPlatformPathName(url);
    java.lang.String osName = java.lang.System.getProperty("os.name", "");
    if(osName.startsWith("Windows"))
    cmdarray = (new java.lang.String[] {
    "ATTRIB", readOnly ? "+R" : "-R", (new StringBuilder()).append('"').append(platformPathName).append('"').toString()
    else
    if(platformPathName.equalsIgnoreCase("Linux"))
    cmdarray = (new java.lang.String[] {
    "chmod", readOnly ? "u-w" : "u+w", (new StringBuilder()).append('"').append(platformPathName).append('"').toString()
    if(cmdarray != null)
    java.lang.Runtime runtime = java.lang.Runtime.getRuntime();
    try
    java.lang.Process process = runtime.exec(cmdarray);
    if(process.waitFor() == 0)
    ret = (new File(platformPathName)).canWrite();
    if(ret)
    oracle.ide.model.Node node = oracle.ide.model.NodeFactory.find(url);
    if(node instanceof oracle.ide.model.TextNode)
    oracle.ide.model.TextNode textNode = (oracle.ide.model.TextNode)node;
    textNode.isReadOnly();
    catch(java.io.IOException e)
    e.printStackTrace();
    catch(java.lang.InterruptedException e)
    e.printStackTrace();
    return ret;
    }

  • Release build and standard packaging doesn't work for iOS mobile project.

    Hi,
    We are trying to port our web application on iOS(iPad). Made some minor changes and package ipa with fast packaging method. It works great.
    Now we are try to package application for AppStore and use Standard method. But error occurs.
         Error occurred while packaging the application:
         Exception in thread "main" java.lang.Error: Unable to find named traits: spark.components::Application
             at adobe.abc.Domain.resolveTypeName(Domain.java:225)
             at adobe.abc.Domain.resolveTypeName(Domain.java:142)
             at adobe.abc.GlobalOptimizer$InputAbc.resolveTypeName(GlobalOptimizer.java:272)
             at adobe.abc.GlobalOptimizer$InputAbc.readInstance(GlobalOptimizer.java:994)
             at adobe.abc.GlobalOptimizer$InputAbc.readAbc(GlobalOptimizer.java:390)
    Distribution certificate and provisioning profile are used for compilation.
    Restarting FB and OS doesn't help. Packaging via command line also throws same error.
    Exporting Release build shows other error. After opening Export Release build window and click next error occur:
         Encountered errors or warnings while building project XXXX.mxml.
         configuration variable 'runtime-shared-library-path' requires a value 'rsl-url'.
    All the libraries are merged into code, not RSL.
    OS: Windows XP SP3, Windows 7.
    Flash Builder: 4.5.1.
    Flex SDK: 4.5.1 build 21328.
    AIR: 2.7.1(2.7 shows erros also).
    Thanks in advance for your answers.

    Hi,
    Please send your swf and app-xml to [email protected] so that we can try it at our end.
    Thanks,
    Amish.

  • ¿Why sms and cell calls doesn't work on mac?

    I downloaded iOS 8.1 and have yosemite OS installed in my mac. i have tried to use the calls and sms feature but none of this works.
    In the calls when i try to call someone a message pops up saying that i must have an iphone and a mac with the same iCloud and FaceTime account. But the devices that i'm using do have the same accounts and still does't work!!
    I have noticed that my phone number does't appear with a check and that in the FaceTime of my iphone a message down the switch to activates says "waiting for activation", but i can still make normal FaceTime calls.  does this have something to do? how do i fix it? i have tried to reset the settings but everything is still the same.
    In the sms feature the same message "waiting for activation" is down the iMessage title, i can send iMessages but when i try to activate sms a message says "enter the code displayed on the other device" but the code in my mac never shows up. What's the problem here? i have also tried to reset the settings and rebooting the devices but it's the same.   Does this has to do with my phone number being unchecked? the problem is that i can't check it, the opti
    Please help me.

    Hello...
    The SMS Relay and Phone Calls only work with a Mac device with Bluetooth 4.0 and later. If you want to see if your device has this, click on the Apple menu in the Menu Bar and choose About this Mac. A window then comes up with device information. Click System Report. On the sidebar, choose Bluetooth. At the top of the window it says Apple Bluetooth Software Version. If the number next to it is less than 4.0, your Mac device is too old. If it is above 4.0, your internet connection may have problems. Also if it says No next to Handoff supported, one of the devices is too old.
    Good luck

  • Problem with my touch screen. It works for 1 or 2 minutes and then it doesn't work for 2 or 3 minutes !!

    hi everybody
    I have a problem with my touch screen. It works for 1 or 2 minutes and then it stops working for 2 or 3 minutes, this is a loop ! if I don't use for a couple of hours it will work more, about 15 minutes and then stops working !!! whats wrong with may iphone, which part is damaged ?:(
    ( when touch screen stops working, all keys work correctly, home key & others )
    please help me

    oh
    finally problem solved
    the finger touch part was damaged, they replaced it with a new one and now I have my iphone 4g as it was at first, brilliant like always

  • Media Sync Doesn't Work for Mac

    "Whether it's a specific iTunes® playlist or a random mix of tunes, it's easy to sync the music from your Mac computer to your BlackBerry smartphone."
    That's how Blackberry describes Media Sync. Unfortunately, it doesn't see any of my iTunes playlists and always gives me the error "Exceeded Memory Limit" regardless of the free space available.
    My Mac OS is 10.6.4 (Snow Leopard) and I have the latest version of BB Desktop Manager which has Media Sync integrated.  I've seen this complaint on virtually every BB forum - has anyone managed to make it work?
    I really think that this is a serious misrepresentation of the software's capabilities and I shouldn't have to resort to third-party apps after what I'm paying for the phone and the service contract.

    Hey ARM77,
    Welcome to the BlackBerry Support Community Forums.
    There is a few things I will suggest to hopefully fix this issue for you.
    1. Is mass storage mode currently enabled when you hook your BlackBerry to the Mac?  If not please read KB13564.
    2. Is your iTunes updated to the very latest version?
    3. Verify that your media card has a sufficient amount of memory available for the playlists. To check this, perform the following:
    In BlackBerry® Desktop Manager, click Device Options. On the Media tab, decrease the amount of memory that is kept free for files other than your music files.
    than your music files.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • Syslogd makes high CPU Load and standby mode doesn´t work.

    After updating to Leopard I see high CPU Load caused by syslogd daemon(40%-80%) and my MacBook has problems with standby mode. After stopping the white LED lights and CPU fan speeds up. Is there any chance to fix these problems?

    OK.. here's where I'm at with troubleshooting this. As I said before, for ME it occurred simultaneous to a low or out of memory situation. I don't know if syslogd was using my the ram, or if the low ram was a symptom of an issue that syslogd was getting caught up in reporting... but the system log file had tens of THOUSANDS of out of memory errors listed. Almost all were from dashboard.
    So... I've done the following. In dashboard I closed ALL open widgets. I disabled spaces (since in another thread someone indicated it used a lot of memory). I ran Leopard Cache Cleaner and used it to perform maintenances, run the os scripts and rebuild caches and so on. Rebooted.
    Now its working fine! Since then its been over 24 hrs and I STILL have over 300megs of ram reported free on a 1 gig system. I've used everything else like normal (safari, mail, ichat, itunes, etc..). Where the problem used to happen after a couple of hours after a reboot every time, now it seems normal. No out of mem, and syslogd is running normally (apparently).
    I will run a few apps that I havent run in a while and see if those create an issue. If not, later today I will enable spaces and see how that does after a few hours. Finally I'll add in the dashboard widgets one at a time to see if the issue lies there. I'll report back here if I discover anything.

  • I was given a used iPod, and the battery doesn't work for that long.

    I want to take it to the Apple Store and see if they can exchange it or give me a new battery, but the iPod isn't registered under my name. My brother said that I have to give the registered name, but I'm unsure what it is, because who I got it from had gotten it from another person. Is it necissary to change the registered name, and if so how do I do this?

    What apps are you using when your Macbook is running on batteries?
    What do you have loading in your login items?
    Open Activity monitor and see what's running under All Processes.
    Were you playing games when your Macbook is running on batteries?
    Did you turn off your bluetooth?
    Do you have anything hooked up to your usb ports?
    The above comments or questions factor in the way your battery last when using your Macbook under it's own power.

  • I can't open any new windows from File [New Tab] and from clicking on [+] , as I usually did. And [Ctrl+T] doesn't work for me.How I can make it to work for me again, please?

    I have to open the next window by right clicking on some link from previous site, who gives, '''''from drop down menu''''', option to [Open link in new tab] and then I can use that "fresh" tab.
    It is my desktop, if it's important to know for help.
    Please, some ideas, how to fix it, will be welcome.
    Thank you.

    Hi, were you able to resolve your problem? If so, please mark this question as '''Solved'''. Thanks !

  • Drag and Drop Apps to and from Dock, doesn't work for one account?

    Hi there,
    I have 2 accounts on my Macbook, one of them is my main account which is admin and nothing is wrong with it. The second account though is also admin but I cannot drag and drop applications to and from the dock. I can open the program, hold left click down till it pops up with options and in which you can untick Keep in Dock. Which would be fine but as soon as the computer restarts or I log out then in again, the application reappears. Any help or ideas would be much appreciated.
    Note that I have deleted both plist files from library/preferences and I have also enabled parental controls and ticked the allow users to modify the dock option. I also tried downloading Onyx and setting it up through there but it was a no go. Anyway, if anyone has any idea then that would be awesome.
    Cheers

    TheArtieChoke wrote:
     The second account though is also admin but I cannot drag and drop applications to and from the dock.
    Ok, you can drag applications from your Applications and Utilities Folders to make a "alias" (aka shortcut) in the Dock, but if you drag the icon off and drop it, it "poof's" away as your deleting the alias. The program itself isn't in the Dock at all at any time.
    TheArtieChoke wrote:
    I can open the program, hold left click down till it pops up with options and in which you can untick Keep in Dock. Which would be fine but as soon as the computer restarts or I log out then in again, the application reappears.
    Right, when you run a program from where ever, it places a alias icon in the Dock, which you then right click and choose to keep the alias in the Dock which survives reboots and logouts/in as normal.
    If you right click and choose "open at log-in" the program will automatically run when you restart or log back into the account.
    TheArtieChoke wrote:
    Note that I have deleted both plist files from library/preferences and I have also enabled parental controls and ticked the allow users to modify the dock option. I also tried downloading Onyx and setting it up through there but it was a no go. Anyway, if anyone has any idea then that would be awesome.
    I don't see any problem, other than your not knowing the icons in the Dock are aliases.
    You should set the same user controls and preferences on the second admin as the first and your problems should disappear.
    OnyX is a great program, I recommend it highly, but I don't see it fixing your problem in this case. Unless there is something your not being clear on.

Maybe you are looking for

  • PI soap receiver cannot transform attachments in WSDL response message

    Hi, Need a solution for this, urgently? In synchronous proxy to webservice scenario, the response message payload has <multiref> tag in it. After going through sdn, help, etc got to know that PI doesn’t support multiref in soap-messages. Then whats t

  • Customer Notes using abap Query

    HI Experts, Can any body suggest me abap query for extracting customer notes?? I have to go thru only this option. the text i am supposed to extract is here.......VA42 > goto>header>texts> completion notes .. READ_TEXT is not a solution for me...i ne

  • No Sound at the beginning after rendering (Adobe Media Encorder)

    At the beginning like 30 sec. there is always no sound whats the problem?

  • How can I control the workflow in the award the Rfx response

    HI,Experts :    I work in SRM 7.0 ,RFx scenario .   In  my case ,the supplier submit his RFX response according the RFX ,and the purchaser awards this response . There are  3 steps workflow for one type RFX response,and 4 steps workflow for another R

  • Transport Request for Jump Queries

    Hi, When i try to create a transport request for the jump queries using the transport connection button in rsbbs tcode i am able to create only for the sender query but my jump query has one sender and two receiver queries. Could anyone of you tell m