TreeCell Factory causing leak

Hi,
I have read few articles related to memory leak on tree cell factory and also read their work around by using weak binders.
My question is that I am creating a tree on start up using custom cell factory which works perfectly fine without showing any tree cell growing but as soon as I start processing
my notifications in which I change graphics on the fly, the tree cell starts growing like crazy.
I am already taking care of multiple things, mentioned below\
1) Creating Cell factory at class level and assigning it to the root node one time.
2) Not changing the root node again during the time application is running.
3) Only thing which I change on treeItem is the graphics on basis of notification coming in.
4) Already using weak binder to bind the disable property.
My project is in very critical stage and with growing tree cells, the application dies after 2 to 3 hours.
So please help me out. Is there any dispose method on tree cell which get called during which I can clean up my references.
My main question is, why factory is creating multiple cells when there is any update on TreeItem.
Thanks in advance.
Regards,
Ash

Put a error handler and handle the errors by using Reply (with Failure or with Success) action. Then rollback wont happen.
Transaction Required checkmark is for treating non transactional inbound transports as transaction, for ex HTTP. JMS by default is transactional.
XA Required checkmark is only used to create transactional EJB while creating the Proxy. It does not change the behavior at run time.
Also, the request pipeline runs in the transaction of inbound transport while response pipeline runs in its own transaction by default (This can be changed by enabling Same Transaction For Response checkmark) that is the reason the errors in response pipeline wont cause a rollback by default.

Similar Messages

  • Using DTO Factory causes error in deploy

    I am trying to deploy a test application on Oracle9iAS 9.0.3 utilizing the Session Facade design pattern. I have been trying to implement the DTO Factory as a plain Java class in my EJB JAR file and think this might be causing the problem.
    First, when I read from "EJB Design Patterns", Floyd Marinescu, pg. 28 it says:
    "When used behind a session bean facade, the DTO factory can be implemented as a plain Java class that simply stores creation/consumption logic for different data transfer objects in its methods."
    As I am using the session bean facade, I was going to implement the DTO factory as the plain Java class as it states. Also, of course, the DTO classes themselves are plain Java classes.
    When I try to deploy the application I get the following error:
    Deployment failed: Nested exception Root Cause: Syntax error in source. Syntax error in source
    Now, my question is three-fold:
    1) Is it due to using plain Java classes in my EJB JAR that I am receiving this error?
    2) Can these plain Java classes located in my EJB JAR truly call the local interfaces for my entity beans?
    3) Does 9.0.3 not support any of the above?
    As I can't deploy my application, I am a touch confused by what is causing this error. I have seen it before in conjunction with 9.0.2 when my heap size was too small, but have adjusted this so this cannot be the cause. Besides, I am not trying to run anything else on this instance of the app server other than the example.
    I will tag this on...about every 4 of 5 times I try to restart the OC4J instance (using the EM website) I get this error:
    An error occurred while restarting. The opmn request has failed. From opmn: HTTP/1.1 204 No Content Content-Length: 0 Content-Type: text/html Response: 0 of 1 processes restarted. Check opmn log files such as ipm.log and ons.log for detailed.
    Any help would be truly appreciated. Thanks!

    Hi Alex,
    Now, my question is three-fold:
    1) Is it due to using plain Java classes in my EJB
    JAR that I am receiving this error?No, unless there is a problem in your POJOs (Plain Old Java Class)
    2) Can these plain Java classes located in my EJB JAR
    truly call the local interfaces for my entity beans?No. But the EJBs can call the POJOs
    3) Does 9.0.3 not support any of the above?No, 9.0.3 does support the above.
    It appears that there is a problem in your code somewhere. It may be due to a java compatibility mismatch. By default, OC4J supports java version 1.3.1. Perhaps your POJOs rely on java version 1.4.x?
    When you deploy, OC4J builds and compiles classes that implement the EJB interfaces. I think the error you describe is due to the fact that this part of the deploy process is failing (i.e. the compilation part). This implies that there may be a problem in one of your EJB interfaces.
    Perhaps if you posted the entire error message and stack trace you are getting, I may be able to offer more.
    Good Luck,
    Avi.

  • Audio capture filter reference count causing leak

    I have a purplexing problem.
    I have written my own audio and video capture filters and they work fine. I have tested with FMLE, graphedit and various other tools which i wrote myself. When i click "Stop" on the stream or close FMLE, the reference count on the audio capture filter is not release to 0, thus causing a memory leak. The leak is not a big problem, but my filters have to do some important processing in their destructors, which dont get called because its not being released.
    To purplex the problem further, my video capture filter is not having this problem, only my audio.
    I have written several more capture filters that literally do nothing other than register themselves to explore this problem and only the audio filters seem to be leaking. Anyone else seen such a bizare problem ?
    I am using FMLE 3.1.0.8703

    Thank you for your quick reply!
    However I cant manage to find the panic logs in the library/logs/ or any of its directorys. Ive looked for this logs before and my guess is that they dont get created if the panic occurs during boot.

  • HTTPService + XML Load + Memory Leak

    Hi all....
    I have noticed a memory leak in my application. This leak was
    not apparent when the application was completed some months back
    which is what left me a little confused as all I have done since
    was upgrade to Flex 3 and possibly updated / changed my Flash
    player.
    I think I have found the cause to this problem (below) but am
    not 100% sure that it is the "actual" problem or any reasons to
    back my thoughts up, so have listed what I have checked / tried
    along the way (maybe I have missed something)....
    My Discovery Process:
    I started profiling my application but did not find anything
    out of the ordinary. I did a code walk-through double checking I
    had cleaned up after myself, removing and even nulling all items
    etc but still to now success - the leak is still there.
    I have profiled the app in the profiler for reasonably long
    periods of time.
    All the classes etc being used within the app are consistent
    in size and instance amount and there is no sign of any apparent
    leak.
    I am using a HTTPService that is loading XML data which I am
    refreshing every 5 seconds. On this 5 second data refresh some
    class instances are incremented but are restored to the expected
    amount after a GC has occurred. The GC seems to take longer, the
    longer the app is running, therefore more and more instances are
    being added to the app, but when the GC eventually runs it "seems"
    to clear these instances to the expected amount.
    After scratching my head for a while I decided to make a copy
    of my application, rip everything out, and focus in my data load,
    where I found a problem!
    I have now just a HTTPService that loads an XML file every 5
    seconds, and this is all I currently have in the app (as I ripped
    the rest of the code out), e.g:
    Code:
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    ....... creationComplete="initApp()" >
    <mx:HTTPService
    id="httpServiceResults"
    url="
    http://myIP:myPort/myRoot/myXML.cfm"
    resultFormat="e4x"
    result="httpResultHandler(event)" />
    <script....... >
    private var timerPulse:Timer;
    private function initApp():void
    httpServiceResults.send();
    timerPulse = new Timer(5000, 0);
    private function httpResultHandler(event:ResultEvent):void
    timerPulse.start();
    timerPulse.addEventListener(TimerEvent.TIMER, timerRefresh);
    public function timerRefresh(eventObj:TimerEvent):void
    timerPulse.stop();
    timerPulse.removeEventListener(TimerEvent.TIMER,
    timerRefresh);
    timerPulse.reset();
    httpServiceResults.send();
    </script>
    </mx:Application>
    This is pretty much the code I am currently using and it
    leaks.
    I ran and monitored this in both the profiler and the
    activity / task manager, and after running the app for 1800 seconds
    (30 min) in the profiler, the memory size grew from 50mg to 165mg
    just sending the HTTPService.
    I tried loading the service in multiple ways including in AS
    rather than MXML creating new instances of it each time, resetting
    it, nulling it etc... but nothing prevented this memory increase.
    I then tried to load the XML using different methods such as
    using the URLRequest and URLLoader which again caused a memory
    leak.
    What still confuses me is that this leak did not exist in the
    previous version and not a great deal has changed since then apart
    from upgrading to Flex 3 and possibly upgrading my Flash payer
    (which I believe is a possible cause)
    After looking into this issue a bit more deeply, I read a few
    blogs / forums and other people are experiencing the same problems
    - even with a lot bigger leaks in some cases all when reloading
    large sets of XML data into Flex - however, I as of yet found no
    solution to this leak - people with a similar problem believe it is
    not due to a memory leak more a GC error, and others pointing
    towards the Flash Player itself that is leaking - I don't really
    know.
    Findings so far during investigation of this issue:
    * App leaks for both HTTPService and ULRRequest / URLLoader
    methods
    * App only leaks when calling a data loader
    * The size of the leak seems to depend on the size of the
    XML being loaded
    * The size of the leak also seems to be affected by the
    applications heaviness - the greater seems to enhance the leak
    An interesting factor I have noticed is that if I copy the
    XML from my "myXML.cfm" that I link to in my HTTPService and copy
    the contents of the file into my own XML file stored within the
    Flex project root itself: ""myXML.xml"" the leak disappears... like
    it seems to link when loading the XML over a network, however as my
    network knowledge is not great I am not sure what to make of this -
    any ideas???
    Could the connection to the XML document cause leaks??? is
    there anything else that could cause this leak??? have I something
    in my code sample that could cause this leak??? or could any of the
    other things I have mentioed cause this leak???
    Any help / ideas would be greatly appreciated.
    Thanks,
    Jon.

    I also observed heavy memory leak from using httpservice with
    XML data. I am using Flex3 builder under Linux. My Flex application
    polls httpservice every 10 seconds. The reply is a short XML
    message less than 100 bytes. This simple polling will consume 30+
    MB of memory every hour. I leave it idling for several hours and it
    took 200 MB of memory. No sign of garbage collection at all.

  • Has Lr 5 fixed the Export memory leak?

    Has anyone confirmed that the memory leak in Lr 5 Beta when exporting images has been fixed in the Lr 5 release? In the Beta all 16Gb of my machine's RAM could be quickly consumed if I exported a large number of images. I could release the memory by simply clicking an image in Grid view but it would be nice to have the export behave properly.

    No, still nothing. This is about halway in, and for good measure I threw in a second export on top.
    You can see the CPU getting a lot busier (confirming that breaking an export into two speeds it up) - but memory usage is still rock solid. Incidentally, this last one is exporting to TIFF, which seems to use a little less memory than exporting to PSD. No idea why that should be.
    Do you have any plugins that could cause leaks?
    Edit: OK, so that's cleared up then. I never tried the beta.

  • Tv card or sound chip the cause of static noise?

    My system has an MSI KT6V mainboard with an integrated AC97 soundchip. I
    also have a Hercules Smart TV mono tv tuner card, which audio output is
    connected into the line in jack of the mainboard. Every time, when I've
    started my system and the machine has been running for a while (appr. ½
    hours), a distinguishable static noise starts to hear from my loudspeakers.
    I've noticed that if you mute the line in, the static is muted. Also if you
    start up the tv viewing program, the static noise stops for good and will
    not return as long as you keep your system running.
    Now, is there something wrong with my tv tuner card, which causes "leak"
    into the line in or what? I've looked for newer drivers for my tuner but
    without success. At least Hercules doesn't provide any newer drivers for
    this card. I've updated my sound chip drivers but that has not helped. I've
    also tried a different cable between the cards. The funny thing is that I
    don't recall this kind of behavior to have occured in my former system that
    had a separate Hercules Muse LT sound card.
    Should I try to get a hold of a sound card or should I just ditch the tuner
    card and get an s-video connector box, since I really do not have any use
    for the tuner. I just use the card to connect external video sources.
    However, if there is any solution to rectify the problem without making
    changes into my system, I would be grateful.

    I'll make a collective reply.
    osnavi: My system is pretty stable temperature-wise. Well below 60 degrees celsius.
    Fredrik: I've tried couple of PCI slots, at the moment the card is as furthest away as possible from the audio connectors. The system is attached to a grounded AC jack. My system is WinXP home SP2.
    Stu: The card doesn't have FM radio. When looking from Hercules support pages, it seemed that newer drivers are (finally) available. Have to try those out. I'll report how it succeeded.

  • Best Practice when deploying a single mdb into a cluster

    At a high level, we are converting all of our components to Weblogic processes that use Stateless Session Beans and Message Driven Beans. All of the weblogic processes will be clustered, and all of the topic queues will be distributed (Uniform Distributed Topics / Queues).
              We have one component that is a single MDB reading from a single queue on 1 machine. It is a requirement that the JMS messages on that queue be processed in order, and the processing of messages frequently requires that the same row in the DB be updated. Does anyone have any thoughts on the best design for that in our clustered environment?
              One possible solution we have come up with (not working):
              Possible Solution 1: Use a distributed topic and enforce a single client via client-id on the connection factory, causing a single consumer.
              1.Deploy a uniform-distributed Topic to the cluster.
              2.Create a connection factory with a client-id.
              3.Deploy a single FooMDB to the cluster.
              Problem with Solution 1: WL allows multiple consumers on Topic with same client-id
              1.Start (2) servers in cluster
              2.FooMDB running on Server_A connects to Topic
              3.FooMDB running on Server_B fails with unique id exception (yeah).
              4.Send messages - Messages are processed only once by FooMDB on Server_A (yeah).
              5.Stop Server_A.
              6.FooMDB running on Server_B connects automatically to Topic.
              7.Send messages - Messages are processed by FooMDB on Server_B (yeah).
              8.Start Server_A
              9.FooMDB successfully connects to Topic, even though FooMDB on Server_B is already connected (bad). Is this a WL bug or our config bug??
              10.Send messages - Messages are processed by both FooMDB on Server_A and Server_B (bad). Is this a WL bug or our config bug??
              Conclusion: Does anyone have any thoughts on the best design for that in our clustered environment? and if the above solution is doable, what mistake might we have made?
              Thank you in advance for your help!
              kb

    Thanks for the helpful info Tom.
              Kevin - It seems that for both the MDB, and the JMS provider, there are (manual or scripted) actions to be taken during any failure event + failure probes possibly required to launch these actions...?
              In the case of the JMS provider, the JMS destination needs to be migrated in the event of managed-server or host failure; if this host is the one that also runs the Admin server then the Admin server also needs to be restarted on a new host too, in order that it can become available to receive the migration instructions and thus update the config of the managed server which is to be newly targetted to serve the JMS destination.
              In the case of the MDB, a deployment action of some sort would need to take place on another managed-server, in the event of a failure of the managed server or the host, where the original MDB had been initally deployed.
              The JMS Destination migration actions can be totally avoided by the use of another JMS implementation which has a design philosophy of "failover" built into it (for example, Tibco EMS has totally automatic JMS failover features) and could be accessed gracefully by using Weblogic foreign JMS. The sinlge MDB deployed on one of the Weblogic managed servers in the cluster would still need some kind of (possibly scripted) redeployment action, and on top of this, there would need to be some kind of health check process to establish if this re-deployment action was actually required to be launched. It is possible that the logic and actions required just to establish the true functional health of this MDB could themsevles be as difficult as the original design requirement :-)
              All of this suggests that for the given requirement; the BEA environment is not well suited; and if no other environment or JMS provider is available at your site, then a manipulation of process itself may be required to enable it to be handled in a highly-available way which can be gracefully administered in a Weblogic cluster.
              We have not discussed the message payload design and the reasons that message order must be respected - by changing the message payload design and possibly adding additional data, this requirement "can", "in certain circumstances", be avoided.
              If you can't do that, I suggest you buy a 2 node Sun Cluster with shared HA storage and use this to monitor a simple JMS client java program that periodically checks for items on the Queue. The Tibco EMS servers could also be configured on this platform and give totally automatic failover protection for both process and host failure scenarios. With the spare money we can go to the pub.
              P.S. I don't work for Tibco or Sun and am a BIG Weblogic fan :-)

  • When an employee is no longer with the company and their iPad is still linked to their iTunes account, how can we unlink it when we cannot contact the employee?

    I am the IT support for a big company and we use a lot of iPad's. The one problem we are running into is when an employee leaves the company and their i Pad is still link, we need to use this iPad for another employe but we are unable to wipe it and start from factory cause it wants us to log into their itunes account.  If they used their work email to set up their iTunes account this is not an issue as we can access their work email. But if they use their personal email and we do not have a way to contact them then this becomes a big issue. Is there any work around with this at all?

    Use iTunes to restore your iOS device to factory settings - http://support.apple.com/kb/HT1414  - "You can use iTunes to restore your iPhone, iPad, or iPod touch to factory settings and the latest version of iOS. Restoring iOS software deletes all your data and content from your device, including songs, videos, contacts, photos, and calendar info."
    You may encounter problems fully restoring if Activation Lock is active - http://support.apple.com/kb/HT5818
    iCloud: Find My iPhone Activation Lock in iOS 7 - With iOS 7, Find My iPhone includes a new feature called Activation Lock, which is designed to prevent anyone else from using your iPhone, iPad, or iPod touch if you ever lose it.  With Activation Lock, your Apple ID and password will be required before anyone can:
        Turn off Find My iPhone on your device
        Erase your device
        Reactivate and use your device

  • Mac on Snow Leopard keeps looping back to login screen

    Hi, Everyone,
    I have a MacBook, late 2008 It originally had 120 GB hard drive. Because I had less than 10 GB of space left, I replaced that with a 320 Western Digital Scorpio Blue HD (by myself, with an antistatic strap, etc). Everything seemed fine for a few days. Lots of space, immediate responsiveness with programmes, etc....nothing could be better. Then the system started getting sluggish, and I started getting spinning beach ball clicking between apps. Every time I ran verify disk permissions, there was a long list of permission repairs. Running repair disk never yielded a result other than everything being okay. I even created a flashdrive with the installation software. And I ran Onyx to try to clean things out.
    Then a few days ago, after restarting my computer (I may have done an update, but am not sure), my computer slowly booted up, came to the login screen, I entered my password, my desktop appeared and it "hung" for about 30 seconds, then the screen turned blue and went back to login screen. I made several attempts to login, but always got the same result.
    I used my bootable flashdrive (which I created with SuperDuper to contain the installation disk before I installed the new hard drive) to check and repair permissions. Each time I did that, I got the same permission errors. Again, nothing detected with disk verification/repair.
    When I start up the computer in safe mode, everything is fine except Safari kept crashing.
    Deleted and reinstalled safari to no avail. Still crashed. No problem in Firefox.
    In the regular mode (not safe mode), I reinstalled Flash, restarted, then back to the looping to the login screen.
    Still no problems in safe mode.
    At first I thought there would have been something with the new hard drive, but everything works fine in Safe Mode, so I'm wondering if there is something with Safari or Flash.
    I've updated ClamX and run a ClamX scan as well to check for viruses/Trojans.
    Please help.
    Help!

    Monique Mayer wrote:
    Okay, I reinstalled Safari under another admin account. No problems there, and --so far--no problems in my main account now. 
    What has happened is this.
    You installed a new hard drive, it came from the factory with some bad sectors on the drive.
    You laid your new OS X and data over these bad sectors and now having issues in various locations.
    The drive automatically maps off these bad sectors when it gets a read request from something your using, however it takes some time before it realizes such is the case, (thus the spinning beach ball as OS X is waiting) then it moves the data to a new sector and maps off the old one.
    Also as you use the computer, your writing data to new bad sectors on the drive, which haven't had their turn yet enough to be read and hopefully mapped off by the drive.  This is why your problem appears to be changing as it goes on.
    Look at your problem timeline:
    Then the system started getting sluggish, and I started getting spinning beach ball clicking between apps.
    This is likely a problem with the swap file which is stored on the hard drive when you run out of RAM memory with a lot of programs and files open.
    The swap file was stored across bad sectors, which the drive couldn't read well and thus you got the OS X spinning beach ball effect.
    This file location moves locations to free space on the drive, expands and contracts as you load things up to use.
    Then a few days ago, after restarting my computer (I may have done an update, but am not sure), my computer slowly booted up, came to the login screen, I entered my password, my desktop appeared and it "hung" for about 30 seconds, then the screen turned blue and went back to login screen. I made several attempts to login, but always got the same result.
    You  have done a update, which added more data to the drive and/or triggered a response from OS X data written on a bad sector which has hung your computer.
    When I start up the computer in safe mode, everything is fine except Safari kept crashing.
    Safe Mode disables  at boot software, video and other things so OS X is in a reduced state, the bad sectors are being avoided as their data is not being called.
    Safari is crashing because it too is corrupted, which your later post you reinstalled it and now it's fine, because it was written to a clear space on the drive without bad sectors issues.
    So your going about a "piece meal" restore method, next will be OS X, then all your programs, then a new user account because your User/Library will get screwed up etc., etc.
    Instead of this long pain, just follow my first post instructions and it will cure everything in one clean shot
    If the drive itself is bad and that's causing your bad sector problems, which you will soon find out and can get it replaced. The way your going it's going to keep giving you problems of various sorts for quite some time.
    I also tried the SMART check and it passed--no errors or bad sectors.
    That only provides a current bad sector count, which you say is zero, which is typical for a new drive as it hasn't read enough from the drive to find the bad sectors yet.
    In order to really find bad sectors on the drive, software would have to continously read data written to the entire drive over and over and over again so the drive will finally "trigger" the mapping off process. This would take days or even weeks to complete on large drive, so obviously the software isn't doing this.
    All drives come with a few bad sectors, the automatic mapping off process upon reads usually takes care of it, however you have more bad sectors than normal, which might have occured:
    1: Higher than normal amount of bad sectors from the factory.
    1: Bad drive from the factory causing bad sectors.
    2: Your moving the computer while the drive is in operation that the heads struck the platters causing the bad sectors.
    So a Zero Erase in Disk Utility, a fresh OS X install from the disk, fresh programs from original sources and vetted files from backup is the sure means to cure the whole mess. Bad sectors and data corruption.
    The DU Zero Erase proceedure does a pretty adequate job mapping off failing sectors, it takes hours to complete and not days.
    Bad sectors causes data corruption, so you really can't trust a previous clone or TimeMachine backup of this corrupted data to restore with (except vetted user files), some here have done that only to wonder why their problems returned after the zero erase was completed.
    If you restored the new drive with SuperD from the earlier drive, you also might have carried data corruption from that drive over too.
    So with a fresh install of everything, only thing that can be corrupted is your user files, which you restore from a clean backup and/or delete the ones causing problems.
    Take care and good luck.

  • Itunes can't connect with my Iphone

    Alright, well I got my first iPhone on Wednesday. Took it back because I thought the issue was factory caused, and when I tried to sync the new one, I get the same error. Screenshot of the error: http://s314.photobucket.com/albums/ll436/Reznerkk/?action=view&current=Iphone.pn g
    I've tried getting out of it, and downloading the rhapsody app, then downloading music that way. It says the download is being completed, but when I got to the iPod, it says there is no content. Tried different usb ports, disabling 3rd party interference, letting iTunes bypass my firewall, nothing's working.
    Message was edited by: Reznerk

    Welcome to the discussions,
    did you already restore your phone as the message said? Restoring: http://support.apple.com/kb/HT1414
    If your phone is not recognized, connect in recovery mode to restore: http://support.apple.com/kb/HT1808

  • Satellite P870-119 PSPLBE became quite slow

    Hi everybody and please forgive my poor english.
    My Laptop became quite slow for a few months now. I tried to repair this by myself, then with the help of a computer forum, virus search and cleaning has been made plus some other repairing actions, but nothing helped.
    Everything seems to work properly but the laptop is obviously slower. Especially in the launching of any application even win 7 ones, which take a longer time to start.
    The airfan launches (loudly) too showing that "effort" is necessary to process and my norton internet security"s app monitor says that processes (svhost) are consuming too much.
    Yesterday, my starting screen when i press F8, returned to the english version (my laptop is in french) and the "repair windows" line has disappeared from it. I only have the traditionnal start in safe mode etc!
    I reached a limit in what i can do to repair my laptop and i don't want to do a reset to factory, cause i don't want to reinstall and reconfigure my computer from scratch again.
    Please, help me!!!
    Thank you

    If you dont want to reinstall/recover the notebook, I think that your workaround options are very limited.
    I dont know how long you are using this system on your notebook but fact is that due to the application installation and the usage of different software the system performance may become slower
    The processes running simultaneously in the system background could slow down the system.
    Also the applications like Norton Anti Virus or Internet security application could affect the performance due to live virus scanning.
    Last but not least an HDD which does not work properly could slow down the notebook as well.
    What could be a possible workaround?
    I think first of all you should clean the system using some cleaning tools; i.e CCLeaner.
    CCleaner is a good freeware software in order to repair the registry and to remove some junk files
    Furthermore I would recommend you to switch to another Antivirus software. Norton is good but from my own experience its needs to much system resources and slow down the computer.
    In my case the notebook needed too much time for booting up the system Now I use Avast antivirus and Avira Antivir software. Both are freeware and work flawlessly.
    Last but not least you should check all background processes in the Startup tab in msconfig.
    You could disable background processes which are not very necessary. If you dont know the single processes, use google!

  • K7T Pro 2 thermal issue, other than cpu

    PLEASE EXCUSE NEW TO FORUM!!!
    TRYING TO HELP A FRIEND FROM TOTAL UPGRADE!!!
    SHE HAS A SYSTEMAX WITH THIS MB AND ATHLON 1000.
    NEVER BEEN TWEAKED FROM FACTORY SETTINGS, STARTED HAVING INTERMITTENT CRASH PROBLEM 5-6 MONTHS AGO. I DETERMINED IT TO BE A THERMAL PROBLEM, AS IT WOULD RUN LONGER WITH THE SIDE COVER OFF, AND AFTER CRASH, WOULD REBOOT AND SEEM TO RUN, BUT NOT AS LONG.
    I INSTALLED A NEW VOLCANO 7, USING ARTIC SILVER, BEING VERY CAREFUL, AND MAKING SURE OF PROPER INSTALLATION.
    ALL PROBLEMS SEEMED TO BE REPAIRED, AND BEEN RUNNING FINE FOR LAST 3-4 MONTHS. NOW THAT SUMMER IS ARRIVING AGAIN IN ARIZONA, AND AMBIENT TEMPS ARE 80+ , IT HAS STARTED TO CRASH AGAIN. I'VE DOUBLE CHECKED ALL CONNECTIONS, CPU FAN SEEMS TO BE REGULATING SPEED FINE(VARIABLE), BIOS CAN BURN ALL DAY AND NEVER GO OVER 40 DEG. CEL.
    AS BEFORE, REMOVING THE SIDE PANEL SEEMS TO ALLOW BETTER AIR FLOW, THEREFORE WILL SEEM TO BE OK, AT LEAST FOR A LONGER PERIOD.THE CPU FAN RUNS BETWEEN 3600-COLD TO ONLY ABOUT 4100 AT MOST HOT, AND CASE FAN AVERAGE 2700, NOT SURE ABOUT POWER SUPPLY FAN SPEED, BUT SEEMS TO BE DRAWING PLENTY OF AIR.
    WHEN I "FEEL AROUND INSIDE" WHILE RUNNING, THERE DOESN'T APPEAR TO BE ANY EXCESS HEAT BUILD UP IN PROCESSOR AREA.
    I NOTICE SYSTEMAX USES IT'S OWN VERSION OF AWARD BIOS, AND WONDER IF MSI AWARD BIOS FOR THIS BOARD CAN BE USED, AS MOST BIOS FEATURES ARE DISSABLED BY SYSTEMAX. I ALSO WONDER IS SYTEMAX MIGHT OVER CLOCK FROM FACTORY CAUSING THIS ISSUE.
    I ALSO WONDER IF SOME OTHER COMPONENT IN THE MB MIGHT BE HEATING UP EXCESSIVELY, TO CAUSE A SUDDEN CRASH.
    MB:K7T PRO 2 VER:1
    CPU:AMD ATHLON 1000
    GPU:TNT2 64
    RAM:128MB PC133
    SB:SOUND BLASTER LIVE
    OS:WINDOWS ME
    BIOS:AWARD 6.0
    PS:NO BLUE SCREENS, WINDOWS SEEMS OK, WHEN IT CRASHES, SCREEN JUST GOES BLACK, BOTH INDICATORS FOR CPU AND HARD DRIVE STAY LIT (FRONT OF CASE), ALMOST  ACTS LIKE IN STANDBY, BUT HAVE TO HIT POWER BUTTON TO RESTART

    THANX FOR RESPONSE, UNFORTUNATLY THIS IS A BTO FROM SYSTEMAX, AND IT'S ABOUT 6-8 MONTHS PAST THE 2 YEARS, AND SYSTEMAX WANTS A SMALL FORTUNE FOR SUPPORT AFTER THE FACT, AND WOULDN'T YA KNOW IT, MY FRIEND SAYS IT STARTED THIS ABOUT A WEEK PAST THE WARRANTY PERIOD!!!!
    I GUESS I KNOW WHAT NEEDS TO BE DONE, JUST FIGURED THIS TO BE A GOOD PLACE TO PICK SOME BRAINS, AND CONFIRM THAT I'M NOT JUST TOO HIGH TO FIGURE OUT THE PROBLEM!!!! I MIGHT BE AN OLD DOG, BUT I STILL LEARN A FEW NEW TRICKS, WHEN POSSIBLE. I HAVE PRETTY WELL DECIDED THE MB TO BE THE CULPRIT, IT JUST BOTHERS ME WHEN I CAN'T PINPOINT A PROBLEM LIKE THIS, AS NO MATTER WHAT PROBLEMS I MIGHT FIND, I LIKE TO FIND SOLUTIONS....JUST TOO DAMN CONVENIENT TO REPLACE PARTS, MORE FUN TO TRACK DOWN A SOLVE THESE PROBLEMS!!! :D

  • How to deal with Memory Leaks, that are caused by Binding

    Hi, I recently noticed (huge?) memory leaks in my application and suspect bindings to be the cause of all the evil.
    I made a little test case, which confirms my suspicion:
    import javafx.application.Application;
    import javafx.beans.property.SimpleStringProperty;
    import javafx.beans.property.StringProperty;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    public class TestAppMemoryLeak extends Application {
        public static void main(String[] args) {
            launch(args);
        @Override
        public void start(Stage stage) throws Exception {
            VBox root = new VBox();
            Button button = null;
            for (int i = 0; i < 100000; i++) {
                button = new Button();
                button.textProperty().bind(text);
                button.textProperty().unbind(); // if you don't call this, you can notice the increased memory of the java process.
            root.getChildren().add(button);
            Scene scene = new Scene(root);
            stage.setScene(scene);
            stage.show();
        private StringProperty text = new SimpleStringProperty("test");
    }Now the problem is, HOW can I know, when a variable is no longer needed or overwritten by a new instance.
    Just an example:
    I have a ListView with a Cell Factory. In the updateItem method, I add a ContextMenu. The textProperty of each MenuItem is bound to a kind of global property, like in the example above. I have to do it in the updateItem method, since the ContextMenu differs depending on the item.
    So every time the updateItem method is called a new ContextMenu is created, which binds some properties, but the old context menus remain in memory.
    I guess there could be many more example.
    How can I deal with it?

    I've dealt with this situation and created a Jira issue for it, but I also have a work-around that is a bit unwieldy but works. I'll share it with you.
    The bug that deals with this (in part atleast): http://javafx-jira.kenai.com/browse/RT-20616
    The solution is to use weak invalidation listeners, however they are a bit of a pain to use as you cannot do it with something simplistic as "bindWeakly"... and you need to keep a reference around to the wrapped listener otherwise it will just get garbage collected immediately (as it is only weakly referenced). Some very odd bugs can surface if weak listeners disappear randomly because you forgot to reference them :)
    Anyway, see this code below, it shows you some code that is called from a TreeCell's updateItem method (I've wrapped it in some more layers in my program, but it is essentially the same as an updateItem method):
    public class EpisodeCell extends DuoLineCell implements MediaNodeCell {
      private final WeakBinder binder = new WeakBinder();
      @Override
      public void configureCell(MediaNode mediaNode) {
        MediaItem item = mediaNode.getMediaItem();
        StringBinding episodeRange = MapBindings.selectString(mediaNode.dataMapProperty(), Episode.class, "episodeRange");
        binder.unbindAll();
        binder.bind(titleProperty(), MapBindings.selectString(mediaNode.dataMapProperty(), Media.class, "title"));
        binder.bind(ratingProperty(), MapBindings.selectDouble(mediaNode.dataMapProperty(), Media.class, "rating").divide(10));
        binder.bind(extraInfoProperty(), Bindings.when(episodeRange.isNull()).then(new SimpleStringProperty("Special")).otherwise(episodeRange));
        binder.bind(viewedProperty(), item.viewedProperty());
        subtitleProperty().set("");
    }This code makes use of a class called WeakBinder -- it is a helper class that can make Weak bindings and can keep track of them. When you call unbindAll() on it, all of the bindings it created before are released immediately (although they will also disappear when the Cell itself is garbage collected, which is possible because it only makes weak references).
    I've tested this extensively and it solves the problem of Cells keeping references to objects with much longer life cycles (in my case, the MediaNode passed in has a longer lifecycle than the cells and so it is important to bind weakly to it). Before this would create huge memory leaks (crashing my program within a minute if you kept refreshing the Tree)... now it survives hours atleast and the Heap usage stays in a fixed range which means it is correctly able to collect all garbage).
    The code for WeakBinder is below (you can consider it public domain, so use it as you see fit, or write your own):
    package hs.mediasystem.util;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import javafx.beans.InvalidationListener;
    import javafx.beans.Observable;
    import javafx.beans.WeakInvalidationListener;
    import javafx.beans.property.Property;
    import javafx.beans.value.ObservableValue;
    public class WeakBinder {
      private final List<Object> hardRefs = new ArrayList<>();
      private final Map<ObservableValue<?>, WeakInvalidationListener> listeners = new HashMap<>();
      public void unbindAll() {
        for(ObservableValue<?> observableValue : listeners.keySet()) {
          observableValue.removeListener(listeners.get(observableValue));
        hardRefs.clear();
        listeners.clear();
      public <T> void bind(final Property<T> property, final ObservableValue<? extends T> dest) {
        InvalidationListener invalidationListener = new InvalidationListener() {
          @Override
          public void invalidated(Observable observable) {
            property.setValue(dest.getValue());
        WeakInvalidationListener weakInvalidationListener = new WeakInvalidationListener(invalidationListener);
        listeners.put(dest, weakInvalidationListener);
        dest.addListener(weakInvalidationListener);
        property.setValue(dest.getValue());
        hardRefs.add(dest);
        hardRefs.add(invalidationListener);
    }Let me know if this solves your problem.

  • AppM File Passivation SQL92 Flavor for DB2 and causes Pool connection Leaks

    I am porting an ADF application to WebSphere and DB2 and noticed AM passivation goes from file to database. I have bc4j setup to use file passivation. When this happens I am noticing Connection are not being returned to pool. Has anyone experienced these 2 issues (Connection leaks and AM passivation to database)
    bc4j settings below are in place.
    -Djbo.doconnectionpooling=true
    -Djbo.txn.disconnect_level=1
    ADF Version: 11.1.1.59.23 ::: JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923
    Server Info: IBM WebSphere Application Server/7.0
    Host Operating System is AIX, version 7.1
    Java version = JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr9-20110624_85526 (JIT enabled, AOT enabled)
    J9VM - 20110624_085526
    JIT - r9_20101028_17488ifx17
    GC - 20101027_AA_CMPRSS, Java Compiler = j9jit24, Java VM name = IBM J9 VM
    BC4J is configured to perform file passivation instead of database. The temp files (BC59c10e3cBCD) are being created, but the application occasionally passivates to database.
    ConsoleDiagno C Establish database connection
    3 oracle.jbo.server.DBTransactionImpl establishNewConnection [15306] Before getNativeJdbcConnection='com.ibm.ws.rsadapter.jdbc.WSJccSQLJConnection
    3 oracle.jbo.server.DBTransactionImpl establishNewConnection [15307] After getNativeJdbcConnection='com.ibm.db2.jcc.am.gf
    3 oracle.jbo.pcoll.JDBCPersistManager handleControlTableExists [15308] **createControlTable** tabname=PCOLL_CONTROL already exists
    3 oracle.jbo.pcoll.JDBCPersistManager holdTableName [15309] **holdTableName** tabName=PS_IDMKRAppMod locked in controltab
    3 oracle.jbo.pcoll.PCollManager resolveName [15310] **PCollManager.resolveName** tabName=PS_IDMKRAppMod
    3 oracle.jbo.server.DBTransactionImpl closeTransaction [15311] *** closing jdbc connection now **** (com.ibm.db2.jcc.am.gf@4cb14cb1)

    Yes there are nested AMs in this case. I have a SQL92 flavor with Type Map set to Java, and running against a DB2 database. I have used reference site
    http://www.oracle.com/technetwork/developer-tools/jdev/multidatabaseapp-085183.html
    to properly configure my projects and setting and jbo options. What I am looking for is verification on the correct setting when this combination is used. I have dumped the runtime setting below. Are there any obvious problems below that may cause this behavior?
    [1135] {{ begin Loading BC4J properties
    [1136] -----------------------------------------------------------
    [1137] BC4J Property jbo.default.language='en' -->(MetaObjectManager) from System Default
    [1138] BC4J Property jbo.default.country='US' -->(MetaObjectManager) from System Default
    [1139] Skipping empty Property jbo.default.locale.variant from System Default
    [1140] BC4J Property DeployPlatform='LOCAL' -->(SessionImpl) from Client Environment
    [1141] Skipping empty Property ConnectionMode from System Default
    [1142] Skipping empty Property HostName from System Default
    [1143] Skipping empty Property ConnectionPort from System Default
    [1144] BC4J Property jbo.locking.mode='optimistic' -->(MetaObjectManager) from Client Environment
    [1145] BC4J Property jbo.txn.disconnect_level='1' -->(SessionImpl) from System Property
    [1146] Skipping empty Property ApplicationPath from System Default
    [1147] BC4J Property AppModuleJndiName='oracle.documaker.idocumaker.model.shared.app.IDMKRAppModuleAM' -->(SessionImpl) from Client Environment
    [1148] Skipping empty Property java.naming.security.principal from System Default
    [1149] Skipping empty Property java.naming.security.credentials from System Default
    [1150] Skipping empty Property jbo.user.principal from System Default
    [1151] BC4J Property jbo.simulate.remote='false' -->(SessionImpl) from System Default
    [1152] BC4J Property jbo.security.context='oracle.security.jazn' -->(MetaObjectManager) from System Default
    [1153] Skipping empty Property jbo.object.marshaller from System Default
    [1154] BC4J Property jbo.use.pers.coll='true' -->(SessionImpl) from Client Environment
    [1155] BC4J Property jbo.pers.max.rows.per.node='70' -->(SessionImpl) from System Default
    [1156] BC4J Property jbo.pers.max.active.nodes='30' -->(SessionImpl) from System Default
    [1157] BC4J Property jbo.validation.threshold='10' -->(SessionImpl) from System Default
    [1158] BC4J Property jbo.sparse.array.threshold='20' -->(SessionImpl) from System Default
    [1159] BC4J Property jbo.pcoll.mgr='oracle.jbo.pcoll.pmgr.DB2PersistManager' -->(SessionImpl) from System Property
    [1160] BC4J Property jbo.txn_table_name='PS_TXN' -->(SessionImpl) from System Default
    [1161] BC4J Property jbo.txn_seq_name='PS_TXN_seq' -->(SessionImpl) from System Default
    [1162] BC4J Property jbo.txn_seq_inc='50' -->(SessionImpl) from System Default
    [1163] BC4J Property jbo.control_table_name='PCOLL_CONTROL' -->(MetaObjectManager) from System Default
    [1164] BC4J Property jbo.stringmanager.factory.class='use_default' -->(SessionImpl) from System Default
    [1165] BC4J Property jbo.domain.date.suppress_zero_time='true' -->(MetaObjectManager) from System Default
    [1166] BC4J Property jbo.domain.bind_sql_date='true' -->(MetaObjectManager) from System Default
    [1167] BC4J Property jbo.domain.string.as.bytes.for.raw='false' -->(MetaObjectManager) from System Default
    [1168] BC4J Property jbo.fetch.mode='AS.NEEDED' -->(MetaObjectManager) from System Default
    [1169] BC4J Property jbo.323.compatible='false' -->(MetaObjectManager) from System Default
    [1170] BC4J Property jbo.903.compatible='false' -->(MetaObjectManager) from System Default
    [1171] Skipping empty Property JBODynamicObjectsPackage from System Default
    [1172] BC4J Property MetaObjectContextFactory='oracle.jbo.mom.xml.DefaultMomContextFactory' -->(MetaObjectManager) from System Default
    [1173] BC4J Property jbo.load.components.lazily='false' -->(MetaObjectManager) from System Default
    [1174] BC4J Property MetaObjectContext='oracle.jbo.mom.xml.XMLContextImpl' -->(MetaObjectManager) from System Default
    [1175] BC4J Property java.naming.factory.initial='oracle.jbo.common.JboInitialContextFactory' -->(SessionImpl) from Client Environment
    [1176] BC4J Property IsLazyLoadingTrue='true' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [1177] BC4J Property oracle.jbo.usemds='true' -->(MetaObjectManager) from System Default
    [1178] BC4J Property oracle.adfm.usemds='true' -->(MetaObjectManager) from System Default
    [1179] BC4J Property ActivateSharedDataHandle='false' -->(MetaObjectManager) from System Default
    [1180] Skipping empty Property HandleName from System Default
    [1181] Skipping empty Property Factory-Substitution-List from System Default
    [1182] BC4J Property jbo.project='oracle.documaker.idocumaker.model.SQL92Model' -->(Configuration) from Client Environment
    [1183] BC4J Property jbo.max.cursors='50' -->(MetaObjectManager) from System Default
    [1184] WARNING: Property jbo.dofailoverset to null
    [1185] Skipping empty Property jbo.dofailover from null
    [1186] WARNING: Property jbo.envinfoproviderset to null
    [1187] Skipping empty Property jbo.envinfoprovider from null
    [1188] Skipping empty Property jbo.rowid_am_conn_name from System Default
    [1189] BC4J Property jbo.rowid_am_datasource_name='jdbc/xxxxxxx' -->(MetaObjectManager) from Client Environment
    [1190] WARNING: Property jbo.ampool.writecookietoclientset to null
    [1191] Skipping empty Property jbo.ampool.writecookietoclient from null
    [1192] BC4J Property jbo.doconnectionpooling='true' -->(Configuration) from System Property
    [1193] WARNING: Property jbo.recyclethresholdset to null
    [1194] Skipping empty Property jbo.recyclethreshold from null
    [1195] WARNING: Property jbo.ampool.dynamicjdbccredentialsset to null
    [1196] Skipping empty Property jbo.ampool.dynamicjdbccredentials from null
    [1197] BC4J Property jbo.ampool.resetnontransactionalstate='true' -->(SessionImpl) from System Default
    [1198] WARNING: Property jbo.ampool.sessioncookiefactoryclassset to null
    [1199] Skipping empty Property jbo.ampool.sessioncookiefactoryclass from null
    [1200] WARNING: Property jbo.ampool.connectionstrategyclassset to null
    [1201] Skipping empty Property jbo.ampool.connectionstrategyclass from null
    [1202] WARNING: Property jbo.ampool.maxpoolsizeset to null
    [1203] Skipping empty Property jbo.ampool.maxpoolsize from null
    [1204] WARNING: Property jbo.ampool.initpoolsizeset to null
    [1205] Skipping empty Property jbo.ampool.initpoolsize from null
    [1206] WARNING: Property jbo.ampool.monitorsleepintervalset to null
    [1207] Skipping empty Property jbo.ampool.monitorsleepinterval from null
    [1208] WARNING: Property jbo.ampool.minavailablesizeset to null
    [1209] Skipping empty Property jbo.ampool.minavailablesize from null
    [1210] WARNING: Property jbo.ampool.maxavailablesizeset to null
    [1211] Skipping empty Property jbo.ampool.maxavailablesize from null
    [1212] WARNING: Property jbo.ampool.maxinactiveageset to null
    [1213] Skipping empty Property jbo.ampool.maxinactiveage from null
    [1214] WARNING: Property jbo.ampool.timetoliveset to null
    [1215] Skipping empty Property jbo.ampool.timetolive from null
    [1216] WARNING: Property jbo.ampool.doampoolingset to null
    [1217] Skipping empty Property jbo.ampool.doampooling from null
    [1218] WARNING: Property jbo.ampool.issupportspassivationset to null
    [1219] Skipping empty Property jbo.ampool.issupportspassivation from null
    [1220] BC4J Property jbo.ampool.isuseexclusive='true' -->(SessionImpl) from System Default
    [1221] BC4J Property jbo.passivationstore='file' -->(MetaObjectManager) from Client Environment
    [1222] BC4J Property jbo.saveforlater='false' -->(SessionImpl) from System Default
    [1223] BC4J Property jbo.snapshotstore.undo='persistent' -->(SessionImpl) from System Default
    [1224] BC4J Property jbo.maxpassivationstacksize='10' -->(SessionImpl) from System Default
    [1225] BC4J Property jbo.txn.handleafterpostexc='false' -->(SessionImpl) from System Default
    [1226] BC4J Property jbo.connectfailover='true' -->(SessionImpl) from System Default
    [1227] BC4J Property jbo.datasource_naming_factory='oracle.jbo.server.DataSourceContextFactory' -->(MetaObjectManager) from System Default
    [1228] WARNING: Property jbo.maxpoolcookieageset to null
    [1229] Skipping empty Property jbo.maxpoolcookieage from null
    [1230] WARNING: Property PoolClassNameset to null
    [1231] Skipping empty Property PoolClassName from null
    [1232] BC4J Property jbo.maxpoolsize='4096' -->(MetaObjectManager) from System Default
    [1233] BC4J Property jbo.initpoolsize='0' -->(MetaObjectManager) from System Default
    [1234] BC4J Property jbo.poolrequesttimeout='30000' -->(MetaObjectManager) from System Default
    [1235] BC4J Property jbo.poolmonitorsleepinterval='600000' -->(MetaObjectManager) from System Default
    [1236] BC4J Property jbo.poolminavailablesize='5' -->(MetaObjectManager) from System Default
    [1237] BC4J Property jbo.poolmaxavailablesize='25' -->(MetaObjectManager) from System Default
    [1238] BC4J Property jbo.poolmaxinactiveage='600000' -->(MetaObjectManager) from System Default
    [1239] BC4J Property jbo.pooltimetolive='-1' -->(MetaObjectManager) from System Default
    [1240] BC4J Property jbo.qcpool.monitorsleepinterval='1800000' -->(SessionImpl) from System Default
    [1241] BC4J Property jbo.qcpool.maxinactiveage='900000' -->(SessionImpl) from System Default
    [1242] BC4J Property RELEASE_MODE='Stateful' -->(MetaObjectManager) from System Default
    [1243] BC4J Property jbo.assoc.consistent='true' -->(MetaObjectManager) from System Default
    [1244] BC4J Property jbo.viewlink.consistent='DEFAULT' -->(MetaObjectManager) from System Default
    [1245] BC4J Property jbo.finder.range.size='DEFAULT' -->(MetaObjectManager) from System Default
    [1246] BC4J Property jbo.passivation.TrackInsert='true' -->(MetaObjectManager) from System Default
    [1247] Skipping empty Property jbo.ViewCriteriaAdapter from System Default
    [1248] BC4J Property jbo.SQLBuilder='SQL92' -->(MetaObjectManager) from Client Environment
    [1249] BC4J Property jbo.ConnectionPoolManager='oracle.jbo.server.ConnectionPoolManagerImpl' -->(MetaObjectManager) from System Default
    [1250] BC4J Property jbo.TypeMapEntries='Java' -->(MetaObjectManager) from Client Environment
    [1251] Skipping empty Property jbo.sql92.JdbcDriverClass from System Default
    [1252] BC4J Property jbo.sql92.LockTrailer='FOR UPDATE' -->(MetaObjectManager) from System Default
    [1253] BC4J Property jbo.jdbc.trace='false' -->(MetaObjectManager) from System Default
    [1254] BC4J Property jbo.abstract.base.check='true' -->(MetaObjectManager) from System Default
    [1255] BC4J Property jbo.assoc.where.early.set='false' -->(MetaObjectManager) from System Default
    [1256] BC4J Property jbo.use.findbykey.for.assoc='true' -->(MetaObjectManager) from System Default
    [1257] BC4J Property jbo.sql92.DbTimeQuery='select sysdate from dual' -->(MetaObjectManager) from System Default
    [1258] BC4J Property oracle.jbo.defineColumnLength='skipDefines' -->(MetaObjectManager) from System Default
    [1259] BC4J Property jbo.jdbc_bytes_conversion='jdbc' -->(MetaObjectManager) from System Default
    [1260] BC4J Property jbo.tmpdir='./' -->(MetaObjectManager) from Client Environment
    [1261] Skipping empty Property jbo.server.internal_connection from System Default
    [1262] BC4J Property SessionClass='oracle.jbo.server.SessionImpl' -->(SessionImpl) from System Default
    [1263] Skipping empty Property TransactionFactory from System Default
    [1264] Skipping empty Property jbo.def.mgr.listener from System Default
    [1265] Skipping empty Property jbo.use.global.sub.map from System Default
    [1266] BC4J Property jbo.debugoutput='console' -->(Diagnostic) from System Property
    [1267] BC4J Property jbo.debug.prefix='DBG: ' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1268] BC4J Property jbo.logging.show.timing='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1269] BC4J Property jbo.logging.show.function='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1270] BC4J Property jbo.logging.show.level='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1271] BC4J Property jbo.logging.show.linecount='true' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1272] BC4J Property jbo.logging.trace.threshold='6' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1273] BC4J Property jbo.jdbc.driver.verbose='false' -->(Diagnostic) from System Default
    [1274] Skipping empty Property oracle.home from System Default
    [1275] Skipping empty Property oc4j.name from System Default
    [1276] Skipping empty Property jbo.shared.txn from System Default
    [1277] BC4J Property jbo.ejb.txntimeout='1830' -->(SessionImpl) from System Default
    [1278] BC4J Property jbo.ejb.txntype='global' -->(SessionImpl) from System Default
    [1279] BC4J Property jbo.ejb.txn.disconnect_on_completion='false' -->(SessionImpl) from System Default
    [1280] BC4J Property jbo.ejb.useampool='false' -->(SessionImpl) from Client Environment
    [1281] Skipping empty Property oracle.jbo.schema from System Default
    [1282] BC4J Property jbo.xml.validation='false' -->(MetaObjectManager) from System Default
    [1283] BC4J Property ord.RetrievePath='ordDeliverMedia' -->(MetaObjectManager) from System Default
    [1284] BC4J Property ord.HttpMaxMemory='102400' -->(MetaObjectManager) from System Default
    [1285] Skipping empty Property ord.HttpTempDir from System Default
    [1286] BC4J Property ord.wmp.classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' -->(MetaObjectManager) from System Default
    [1287] BC4J Property ord.qp.classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' -->(MetaObjectManager) from System Default
    [1288] BC4J Property ord.rp.classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' -->(MetaObjectManager) from System Default
    [1289] BC4J Property ord.wmp.codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' -->(MetaObjectManager) from System Default
    [1290] BC4J Property ord.qp.codebase='http://www.apple.com/qtactivex/qtplugin.cab' -->(MetaObjectManager) from System Default
    [1291] Skipping empty Property ord.rp.codebase from System Default
    [1292] BC4J Property ord.wmp.plugins.page='http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&' -->(MetaObjectManager) from System Default
    [1293] BC4J Property ord.qp.plugins.page='http://www.apple.com/quicktime/download/' -->(MetaObjectManager) from System Default
    [1294] BC4J Property ord.rp.plugins.page='http://www.real.com/player/' -->(MetaObjectManager) from System Default
    [1295] BC4J Property jbo.security.enforce='None' -->(SessionImpl) from System Default
    [1296] BC4J Property jbo.security.loginmodule='oracle.security.jazn.oc4j.JAZNUserManager' -->(SessionImpl) from System Default
    [1297] Skipping empty Property jbo.security.config from System Default
    [1298] BC4J Property jbo.server.useNullDbTransaction='false' -->(SessionImpl) from System Default
    [1299] BC4J Property jbo.domain.reopenblobstream='false' -->(MetaObjectManager) from System Default
    [1300] BC4J Property jbo.server.retainAssocAccessor='false' -->(SessionImpl) from System Default
    [1301] BC4J Property jbo.groovy.debug='false' -->(MetaObjectManager) from System Default
    [1302] BC4J Property oracle.adfm.DefaultEventPolicy='NONE' -->(MetaObjectManager) from System Default
    [1303] BC4J Property oracle.adfm.useRootFrameOnly='false' -->(MetaObjectManager) from System Default
    [1304] Copying unknown Client property (java.naming.factory.url.pkgs='com.ibm.ws.naming:com.ibm.ws.runtime:weblogic.corba.j2ee.naming.url:weblogic.corba.client.naming:com.ibm.ws.naming') to session
    [1305] Copying unknown Client property (jbo.applicationmoduleclassname='oracle.documaker.idocumaker.model.shared.app.IDMKRAppModuleAM') to session
    [1306] Copying unknown Client property (name='IDMKRAppModuleAMLocal') to session
    [1307] Copying unknown Client property (ApplicationName='oracle.documaker.idocumaker.model.shared.app.IDMKRAppModuleAM') to session
    [1308] Copying unknown Client property (JDBCDataSource='jdbc/xxxxxxx') to session
    [1309] Copying unknown Client property (java.naming.provider.url='corbaloc:rir:/NameServiceServerRoot') to session
    [1310] Copying unknown Client property (DBconnection='jdbc/xxxxxx') to session
    [1311] }} finished loading BC4J properties

  • IAccessible on Windows 8.1 and uiautomation reference leaks causing crashes in our applications.

    We have started crashing on Windows 8.1 and I have traced the problem to uiautomation.dll and combase.dll. The root cause of the problem is reference counting. It appears that on Windows 8.1 uiautomation is using keyboard hooks and other means to constantly
    query for interfaces leading to reference leaks on UI objects. We use MFC and have code that has relied on reference couting to to lead to calls to DestroyWindow. However on Windows 8.1, in cases where we expect, and historically have had, the window get destroyed,
    we have windows now hanging around due to elevated reference counts. I can set breaks in the MFC oleunk.cpp and monitor the reference count going up in CCmdTarget::ExternalAddRef for say, a command bar (menu) and after constantly clicking the menu, the reference
    count just keeps increasing and increasing. I can quite quickly cause the reference count to zoom into the hundreds. We started getting reports of crashes on Windows 8.1 from customers and at first I didn't duplicate the issue. Then my Windows 8.1 box rebooted
    on me (that's another issue as it did so on its own even though I said to defer the restart and I lost data thanks to that nasty Win 8 feature) and after updates installed, I could easily duplicate the crash.
     The version now installed for uiautomation is "7.2.9600.17415 (winblue_r4.141028-1500)" and "6.3.9600.17415 (winblue_r4.141028-1500)" as seen from the Visual Studio debugger's modules window. I do see some release calls coming from
    a function named "AccessibleObjectFromWindowTimeOut" and wonder what the "TimeOut" implies. That is because the easiest way for a user to crash our app on Windows 8.1 is to use GoToMeeting on Windows 8.1 and invite a participant to take
    control of the application. I can also crash on Windows 8.1 simply by setting various break points and trace points to print messages as I track what is going on. That is, the crashes appear to be dependent on some sort of race condition and the debugger interferes
    with the proper functioning of whatever is occurring inside uiautomation and combase. I have never seen the debugger "interfere" with a process in this way. I can run the same app and perform the same tasks on Windows 7 and these calls that cause
    the ref count to constantly increase simply are not made (and combase.dll doesn't get injected into our process on Windows 7). I think Microsoft needs to look into what they are doing on Windows 8 and start releasing interfaces they are leaking when obtaining
    the IAccessible interface from windows that implement it.
    R.D. Holland

    A dump file doesn't show the cause of the crash - an ever increasing reference count. I changed an implementation of OnGetObject (MFC API) and and didn't return the IAccessible interface and the reference count remained the same on Windows 8.1 as it does
    on Windows 7. I did that after tracing the ever increasing reference count to calls to get IAccessible coming from those MS DLLs. Eventually I made sure we destroy the window when we think it should be destroyed instead of relying on the MFC reference counting
    mechanism. We have testing code that relies on UI automation so just refusing to give out IAccessible isn't an option as I don't know the context of the request.
    R.D. Holland

Maybe you are looking for

  • Reverse a Tranastion for a closed AR Invoice?

    Hi, We have a document chain that is Delivery Note to AR invoice, and they are both closed but we need to reverse the transaction. The AR Invoice was closed when it should not have been. It was not based on a SO so cannot use the Credit Memo method i

  • No utube in my apple tv

    I'm in Hong Kong, I don't have any utube icon or something like that in my apple tv3, please help!

  • Issues with vision box and not being able to get "...

    Hi all, i've upgraded my package to essentials extra, and that gone through ok, but my Vision + box is still using WinCE firmware and not the firmware required to watch fox ect, when ever I try doing a master reset (OK + Down) it forrages off for new

  • Q_CAT:1494: ERROR: xa_open() - failed to get shared memory

    I am getting this error while booting tuxedo. My question is how do I calculate shared memory on solaris and then which parameter to increase in /etc/system file. Thanks

  • Dreamweaver CS4 and CS5 required.

    Hi all,  my course requires me to download Dreamweaver CS4 and CS5. I understand that CS4 has recently been removed fromm Adobe. Please advise what icons/links I need to download both of these in adobe, or safely elsewhere? Thanks TJ