ORB does not perform clean up after destroy() is called.

hi,
the HelloClient example (POA model) which is provided in the Java IDL tutorials, does not perform clean up after the execution is complete.
i.e. i can still find the Socket descriptors in the file system under the path (/proc/p_id/fd). Do we need to explicitly destroy the sockets inorder to perform the required clean up??the OS i'm using is Linux.
if yes, then how do i do that.... the following are the steps to reproduce the problem:
1)start HelloServer
2)start HelloClient
3)check file count in /proc/process_id/fd before calling init.
4)invoke ORB.destroy() method.
5)check file count in /proc/process-id/fd after destroy completes.I have included Thread.sleep(25000) inorder to check the file count dynamically at each stage of execution.
Any help in this regard is welcome....!!
thanks in advance

Hello:
This reply may be long after the time that you need it ... but the problem
that you are experiencing sounds very much like a bug that was fixed in the J2SE 1.5.0_10 release.
It is bug 6354718 ....
In the evaluation section of that bug they note:
Yes. It's a known bug in ORB connection management. What's happening here is, the connectionCache that maintains both inbound and outbound connections does not reclaim connections, upon ORB destroy() call. There is a connection reclaim() logic in place, but does not kick in, until it reaches certain watermark levels. Since, a single client can have a multiple ORBs and thereby multiple outbound connections (in the reported case) , with each cache having exactly one connection which leaks up on ORB exit. This leak multiplies based on the number of ORBs and time period over which client stays live, up and running.
The solution is, to walk through the connection cache and close each connection,
no matter what the watermark levels are. This can be done at the corba transport manager close() call.
Note: In the above evaluation they tell you how to fix it yourself but I believe (I haven't tested it yet ....) that if you upgrade to JDK 1.5.0_10, you should find that it has been fixed for you.
I hope that I'm not steering you wrong, but that's my take on your situation.
John

Similar Messages

  • Mail does not load the mail after opening with 10.10.3 on macbook air

    Mail does not load the mail after opening with 10.10.3 on macbook air

    Under Window in the Menu bar select Connection doctor. You will see green to indicate a connection and red to show there is a problem. Except for iCloud account you'll see two entries for each account 1) receiving and 2 SMTP for sending.
    If it's red, this usually means it's missing the password.
    For Incoming messages, set in the account window, under Account Information tab.
    For Outgoing (SMTP) messages, follow these steps:
    EDIT SMTP SETTINGS
    In Accounts window > Outgoing Mail Server SMTP:  select to Edit SMTP Server list... from popup.
    Select account in the list.(It's not uncommon to find extra SMTP servers listed. When you remove account, Mail does not delete the smtp info. You might need to do some clean up in the list to remove the extras.)
    Under Advanced Tab:
    Apple defaults to the default ports (25,465, 587) but some servers prefer a custom port. Check to see what port they recommend. Gmail for example likes 465, Outlook.com 587.
    Verify if your server require SSL.
    User Name. Enter full email address  eg.  [email protected]
    Add password if it is blank.(If you have two step authentication setup, you'll need to get an app specific password  more info)
    Open Connection Doctor under Window in the Menu bar.
    Do you see green light now for your account SMTP?

  • I can't rate or write a review for app on the app store. It allows me to write out the review but does not diplay my review after sending it. Can anyone point me in the right direction to get answer as apply refuse to reply or solve my problem. Thanks

    I can't rate or write a review for app on the app store. It allows me to write out the review but does not diplay my review after sending it. Can anyone point me in the right direction to get answer as apply refuse to reply or solve my problem. Ps thanks apple for ur ignorance

    I have the same problem with another TeamLava app, Fashion Story.

  • IPod shuffle does not recognized by iTunes after restore

    Hello
    I have a iPod shuffle (4th gen) and a windows laptop.
    After restoring my iPod shuffle (as directed by iTunes), iTunes does not recognized my iPod anymore.
    The data in the iPod has been deleted (ie return to the factory settings), but iTunes does not proceed to prompt me to name my iPod and set up sync options etc, it simply does nothing and does not recognize my iPod. 
    I went on My Computer, and reformatted the iPod shuffle again. As a result of the reformatting, iTunes recognizes my iPod but it requires me to restore my iPod back to factory settings again. It became a cycle of either recognizing the iPod but asking me to restore it; or does not recognize my iPod after restoration.
    Please kindly assist me with this situation as it is rather frustrating.
    iTunes is in the latest version as I have attempted the trouble shooting support on the webpage.
    Many thanks.

    Hi priscillayeung,
    If you are having issues with your iPod being recognized by your Windows computer but not by iTunes (or being recognized but requiring a restore, which then causes it to not be recognized again), you may find the troubleshooting steps outlined in the following article helpful:
    iPod: Appears in Windows but not in iTunes
    http://support.apple.com/kb/TS1363
    Regards,
    - Brenden

  • Canon Pixma MP 540 does not scan any longer after update mountain lion. printer works normally. Who can help.

    My Canon Pixma MP 540 does not scan any longer after update mountain lion. MP Navigator EX 2.0 starts and immediatley stops and comes with this message:
    Application Specific Information:
    *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSImageCell loadingState]: unrecognized selector sent to instance 0x825c0f0'
    Printer works normally. Who can help.
    Thank you
    PeterPan52

    Hi
    Did you find a solution to this ? I amhaving same problem
    Thanks

  • HT2404 how do you get your money back for software that does not perform as advertised?

    how do you get your money back for software that does not perform as advertised?  I purchased the batch coverter to watch .swf video which it states it supports, but it will not open the files and I want my money back!!!!!

    tell Apple.  http://www.apple.com/feedback/
    iTunes Store Terms and Conditions specifically states: All sales and rentals of products are final.

  • My iPad does not automatically shut off after several minutes of non use. I can shut it off with the on/off switch. What can I do to get the auto sut off feature back?

    My IPad does not automatically shut off after several minutes of non use as it had been doing a few days ago  How can I restore this auto feature?

    Settings>General>Auto-Lock and select an Auto-Lock time (the "Never" setting will of course never auto-lock the device)

  • Scroll bar does not retain its position after or before pack

    Hi
    My Scroll bar does not retain its position after pack in my application.
    But i need to retain its state.
    My code snippet is :
    System.out.println("VAlue--->" + getHXValue());
    scrollPane.getHorizontalScrollBar().setValue(getHXValue());
    pack();
    My VAlue printed is 100.
    But my positon of scroll bar is at 0 th location.
    Can any one help me.....

    Swing related questions should be posted in the Swing forum.
    My code snippet is :Snippets don't help.
    If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)",
    see http://homepage1.nifty.com/algafield/sscce.html,
    that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
    Don't forget to use the "Code Formatting Tags",
    see http://forum.java.sun.com/help.jspa?sec=formatting,
    so the posted code retains its original formatting.

  • Photo library does not sync in iOS4 after upgrade in 3GS

    Hi all,
    Photo library does not sync in iOS4 after upgrade in 3GS.
    Anyone having such problems?

    Just did. Uncheck sync photo check box and sync. Then check sync photo check box and sync. Solved.

  • Process does not perform an update.

    I have this PL/SQL process in my page:
    UPDATE tag_order
    SET order_date = SYSDATE
    WHERE order_number = :P16_Order_Number;
    COMMIT;
    Unfortunately, it does not perform the update. What could be wrong?
    FYI: In order to get to the page where this process is located, you first go to a page that contains an Interactive Report region (Page 15). When you click on one of the rows in that report region, page 16 is loaded and the :P16_Order_Number item is loaded with the order number from the report page. I'm not sure if that has anything to do with the problem, but I mention it because :P16_Order_Number is referenced in the update statement. Could it be that its session state is not set?
    Any advice would be appreciated. Thanks.

    Thanks for your responses. Your answer seems perfectly logical, unfortunately, it did not work.
    I made a copy of P16_Order_Number and called it P16_Order_Number_Visible and made it a 'Display as Text'.
    Then I changed P16_Order_Number to 'Hidden' The report was already set up to set P16_Order_Number to Order_Number, so nothing had to be changed there, or in the Process that referenced P16_Order_Number, since it is now referencing the Hidden item.
    But when I ran it, loaded page 16 and clicked Session, P16_Order_Number had the correct value 172, but P16_Order_Number_Visible had no value, even though its Source has been set to P16_Order_Number and the value 172 was actually displayed from P16_Order_Number_Visible on page 16.
    Furthermore, the update did not work. So what is wrong here?
    Thanks.

  • Firefox does not stop loading even after the site is loaded and continues as if it is still loading. I have clocked it to 15 minutes, why?

    Firefox does not stop loading even after the site is loaded and continues as if it is still loading. I have clocked it to 15 minutes, why? edit
    Details

    Sorry, I should distinguish between slow loading and manual reloading.
    I understood your problem to be that Firefox never finished loading the page, i.e., some part of the page was loading too slowly.
    By reloading, I meant Ctrl+r (or the reload button), to manually reload the page. You can disregard any cached files and reload all content fresh from the server by adding the Shift key, i.e., Ctrl+Shift+r (helpful when specific sites do not load correctly).
    If the page is automatically reloading itself over and over, that sounds like a completely different problem.

  • TS4080 apple thunderbolt display image on display intermittently goes dark, does not wake from sleep after clicking mouse or keyboard, but there is "bonk" sound after clicking mouse or pressing keys. Rebooting by pressing the power button resolves issue.

    My apple thunderbolt display (which I purchased 1.5 years ago; OS 10.7.5 Mac Mini) intermittently goes dark, does not wake from sleep after clicking mouse or keyboard, but there is "bonk" sound after clicking mouse or pressing keys, so am thinking it is a hardware problem with the display. Rebooting by pressing the power button turns the screen back on, but the same phenomenon has occurred several times. Could this be a software issue, or do I need to have my display repaired? Your feedback would be appreciated.

    Hi ED, tough to tell, but it does sound like it's waking with the bonk, just not displaying.
    Long shot but...
    I wonder if it's a variation of this, of which I've seen many different symptoms...
    Resolution
    Move the mouse or trackpad cursor over the center area of the login window so you can see the user icons. Click on the icon of the user that you would like to login as, type in the user's password, and press Return.
    If the login window is configured to show only the name and password fields, type in the user's name and password into the fields, and press Return (even if you cannot see the rest of the login window).
    Additional Information
    This issue will not occur if the display is not sleeping when the account is logged out. Use the steps below to confirm that the account is not configured to log out automatically while the display is sleeping:
        1.    Open System Preferences > Security & Privacy > General.  Click the padlock to unlock the preference pane and enter your admin password. Click the Advanced button at the bottom, then see if the option "Log out after N minutes of inactivity" (where N is the number of minutes) is enabled.
        2.    Open System Preferences > Energy Saver and configure Display Sleep to occur after the account is logged out, by dragging the slider to a number of minutes that is greater than N was set to in the previous step.
    Important: If automatic log out is not needed, disable "Log out after Nminutes of inactivity" in System Preferences > Security & Privacy > General. This will also prevent the issue.
    http://support.apple.com/kb/TS4135?viewlocale=en_US

  • HT2417 my ihone 4s does not have good reception after i downloaded the new ios 6

    my iphone does not have good reception after i upgrade the new ios6 version

    no, and i have spent my entire spring break with a dead iphone 4s, no access to my iphone mail accounts, can't get into my text service app, and can't get into notes. oh yeah, all of my music is gone. thanks a bunch for this wonderful upgrade.
    i am never upgrading again until i am sure all the bugs are out. this is a waste of my time and what's the use of having a cellphone if it only stays charged for two hours?
    one of the apple forums said that iox is "expanvie" and gave us tips on how to lengthen battery life. i was already doing all that stuff. so it seemed to me that apple was just taking the stand that  ios is just more "expansive." this is lipservice hogwash. if that is the case, then we need to get new phones with batteries strong enough to accommodate running these power apps and updates.
    my iphone makes a **** good coaster though. right now i am just ready to start sending smoke signals!

  • My iphone 5 does not show callid when there is a call, i used to get it but after my trip to China, the cller id is always unknown, how can I get it back? thanks

    Hi
    My iphone 5 does not show callid when there is a call, i used to get it earlier but after my recent trip to China, the cller id is always shows unknown, how can I get it back? thanks

    Thanks Malcom,  I was able to restablish the caller id feature through the carrier as you suggested

  • Exfat drive does not free up space after deleting files

    My external exfat formatted drive does not free up space after deleting files using a mac....however if I delete files using a PC, it will free up space.
    I've even tried the *erase free space* using Disk Utility, but nothing.....
    Thoughts/Suggestions??

    Thanks for the suggestion.
    I ran WhatSize and here is the result. Oddly, it says there is 40.2 GB used (in the top-left) which conflicts with the information directly below it: "Capacity 108 GB, Used 103GB, Available 4.27 GB". Not so helpful.
    Disk Inventory X solved the problem, however. Much thanks! I wasted most of my weekend troubleshooting this sad issue. Anyway, Disk Inventory X revealed a bug where my external hard drive for photos was still appearing as a mounted volume, even though the HD was no longer connected. Freaky.
    After moving it to the trash and deleting it, I've recovered the space.
    Again, thanks! Contact me if you're curious about the details, as this might help you diagnose similar problems in the future.
    - Mike

Maybe you are looking for