DIP causing Event ID 566 in AD

Hi everyone,
We've been seeing numerous Failure Audits of Event ID 566 in Active Directory. They are being generated by our OID bind account. We are using DIP Synchronization, but what is confusing us is that the AD Audit Logs are saying that the oid bind account is hitting OUs that are not included in our DIP mapping file's Domain Rules. Why would DIP be looking at OUs that aren't specified there?
DIP shouldn't have access to those OUs, but we're not even sure why it cares to look there in the first place. Is there a standard out of the box action that DIP does to the whole domain regardless of what is specified in the Domain Rules?
Thanks

Oracle confirmed (via SR) that the DIP Synchronization polls the whole directory for the latest USN Change #'s and then keeps or throws out the results based upon domain rules provided in the mapping file. Seems strange since one of the advantages of pulling by USN Change # is that it can be localized to specific areas of the directory (as opposed to using DirSync via ActiveImport).
Thanks for your help.

Similar Messages

  • Incorrect dates on events causing events to be not in chronological order

    I have had all kinds of trouble with the dates and order of events in 08. When I click on Reveal in Finder and hit the Info button I can see the correct recorded date in the info box but in 08 under the heading of the Event it shows up as a completely different strange date like 01/01/1904. I am using the international date system in my video cameras: day / month/ year. I couldn't find anywhere to confirm that 08 preferences were set to that date system and that is the only thing I can think of that may be causing the problem.
    Can anyone give me some advice on how to correct the dates and get my events to go into the correct chronological order?
    Thanks....Kevin

    Hi Karsten
    Thanks for taking the time to reply. As I mentioned in my previous posting, it is not a date stamp problem because when I click get info it shows the correct recorded date in the info box. That's what I can't understand. I have imported things from different cameras including digital photo cameras and even when I open my iphoto videos they are always jumbled in a mess with videos from the same event ending up scattered everywhere in iMovie 08. That's why I thought maybe it was set up to read the US date system and not the international date system. One more problem with 08 is when you import DV video. If you import PAL it always says 'You have successfully imported about 52 minutes of video' when in fact you have imported about 62 minutes. When you import NTSC it tells you have imported about 62 minutes. I surprised they haven't addressed this basic mistake considering 08 has been out for some time now and half the world uses PAL. That's what made me think it may have been an oversight and they design it to only read the US date system which is only used in the US. I live in Japan and Japanese products use the Japanese date system which is Year, Month, Day which adds even more confusion with all the stuff I use. Anyway as I mentioned I have all my equipment set with the International date system which is Day, Month, Year, so I wonder if that has anything to do with the problem?
    Thanks...Kevin

  • Find field that caused event

    I have a number of fields that will run some script in their mouseDown event. The containing subform has a calculate event, which needs to know which one of its children caused its event to fire. It appears that the mouseDown event fires first, then the calculate event.
    Subform
         Field1
         Field2

    hi Sudheer Junnuthula 
    thanks
    i follow the guide and i think that the second example is
    good for my requirement but i don't understand where i push F4 because when i push f1 and and technical info i don't have F4 button
    what i mis?
    regards

  • Remote Sqlps causing Event: 18456

    I've been running in circles trying to use sqlps to remotely connect to a SQL Database.  My errors start when I'm trying to setup a new drive using which follows these instructions:  http://msdn.microsoft.com/en-us/library/hh231287.aspx
    I get several E_ACCESSDENIED and then the command fails.  Originally I suspected I missed yet another port on the firewall, but I've completely eliminated that as the cause now.
    Now I realize I have a bunch of events with the id 18456, which look like this:
    Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors. [CLIENT: XXX.XXX.XXX.XXX]
    I've read a lot about this being a KERBEROS issue, but I'm running mix-mode authentication and the account I'd like to use is SQL Authentication.
    Any help would be appreciated.
    -Daniel

    Hi,
    1. Check the SQL error log, you will see some entries like Error: 18456, Severity: 14, State: XX.
    The key to the message is the 'State' which the server will accurately set to reflect the source of the problem. More information, see:
    MSSQLSERVER_18456
    2. Per
    Understanding Kerberos and NTLM authentication in SQL Server Connections:
    "Login Failed for user 'NT Authority\ANONYMOUS' LOGON"
    In this scenario, client make tcp connection, and it is most likely running under LocalSystem account, and there is no SPN registered for SQL instance, hence, NTLM is used, however, LocalSystem account inherits from System Context instead of a
    true user-based context, thus, failed as 'ANONYMOUS LOGON'. See http://support.microsoft.com/kb/132679.
    The workaround here is
    a. ask your domain administrator to manually register SPN if your SQL Server running under a domain user account.
    b. use NP connection.
    c. change your sql server to run under either localsystem account or networkservice account.
    3. Additional, if it is in a double-hop scenario, the connection needs to go through KERBEROS authentication and you need to set up the delegation for the SQL Server service account.
    Register a Service Principal Name for Kerberos Connections
    http://msdn.microsoft.com/en-us/library/ms191153.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Filter manager causing event 41 restarts?

    On both Win 7 RC and Win 7 home premium 64 bit, I have been "enjoying" the sensation of sporadic black screen shut down/restarts.
    I ran the RC on my previous system with no probs, but since upgrading my mobo to a Gigabyte X58 udr3, 6gb Corsair ddr 3 and Intel i7 920 processor, I seem to have joined that happy band of people who experience this frustrating occurance.
    As I dont get a bsod, I dont even get proper error details, and the bugcheck (which apparantly causes these events?) is 0.
    The only link I can make, after rummaging in the event logs, is that exactly 5 secs before every critical kernel power shutdown, the filter manager is up to something.
    Any MS boffins out there like to add their thoughts - love Win 7, but this is a tad frustrating!

    Hi Swtrains,
    I don’t think filter manager is the cause. If it is, you may run System File Checker or reinstall Windows 7 to fix the issue.
    If it really works fine in Safe Mode, the possible cause can be the hardware drivers. Because in Safe Mode, only the basic hardware drivers are loaded.
    The following steps can narrow down the cause, but it is time consuming.
    Device Clean Boot
    ===========
    Please unplug all unnecessary devices to test your computer's performance. In this situation, your system will only have the basic hardware devices and it should be more stable.
    If it is inconvenient to unplug the devices, we can disable them in Device Manager. Please refer to the following steps:
    1. Click "Start", type "DEVMGMT.MSC" in the Search textbox and press Enter. Please click “Allow” if the User Account Control window is prompted.
    2. Expand "Sound, video and game controllers".
    3. Right click on your Sound Card, select "Properties"
    4. Click "Driver" tab, click Disable (Disable the selected device). Click OK
    5. Please use the same method to disable other hardware such as: Modem, network card, CD-R drive. Please note some devices such as video adapter are not available to be disabled.
    Then, restart your computer. Does it still crash now?
    If the system is stable, we can re-enable the devices one by one to narrow down the root cause.
    If the issue still persists, the motherboard or CPU may have problems. If that is the case, I recommend asking the computer vendor to examine it.
    Regards,
    Arthur Li - MSFT

  • Splitting events after batch date change causes event to disappear

    Hi all,
    The basic (repeatable) scenario is this:
    o I scan in a bunch of old pictures I want to keep in iPhoto (lets say 10)
    o I import them into iphoto (no problems with import) 1 event with 10 pictures is created.
    o I then take a specific set of 4 photos and split them out of the main event into a new event (everything still ok) - 2 events, 4 and 6 events respectively.
    o I open the new event and do a batch date change on the 4 pictures, changing the date to the correct date of the picture
    o I exit the event expecting it to move up in the list of events (I sort by date). It's gone! iPhoto lists the 1 new event and its 6 photos
    o I change my sort (by time, by name, etc) and still not there.
    o I find my library in finder, open the package, and the files are still there.
    o I go back to iPhoto and click on "Photos". Walla! 10 pictures!
    o I undo the data change and they show up again in events - 2 new events, 10 total pictures.
    I've already done all the obvious checks (are you sorting by date, look up by even name, search by file name through all events etc.) I've talked with a product specialist and they said the standard "rebuild the library" which did not resolve the issue.
    I can repeat this until the cows come home in the existing library. I've created a brand new library and it does not repeat, do there is something in my library not right. But I don't buy the standard "redo your library from scratch" (36K pictures, 50 faces and hundreds of places). Just like with faces, you can discard the db files, there must be something besides "rebuild automatically and if that doesn't work sorry start over". Was iPhoto coded in Redmond?
    Has anyone had anything similar to this? I looked through the forums and couldn't see anything. If I have to rebuild this, I am done with iPhoto after having to rebuild due to faces too many times, and my question changes to what are folks recommendations for a more stable photo management software suite?
    Thanks!
    HOTG

    If the problem doesn't repeat in another Library then obviously the issue is with that library.
    As you've tried the basic rebuild: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    The obvious solution is to restore a good version from your back up and, er, Walla! as you say yourself.
    Next least destructive option: Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD

  • Save as previous version causes events to disappear in event structure

    I am using 2009 and I am trying to save a VI as previous version...saved it in 8.6, 8.5,8.2 and 8.0.
    I mass compiled the Main VI in 8.6 and tried to open it.  I get about 30 errors one for each event case and the event structure has no events added. 
     "Event Data Node:Contains unwired or bad terminal"
    I am attaching a zip file containing my 8.6 source code which I down converted from LabVIEW 2009.  I am trying to open it in 8.6
    Is this a bug or am I doing something wrong?
    Brian
    Attachments:
    8.6.zip ‏556 KB

    Hey Brian,
    This was reported to R&D (# 194525) for further investigation. A possible workaround for this issue is to save the VI to LabVIEW 8.6 and then save it to the various versions you wish to save the VI to. Also, another workaround is to manually re-enter the event specifiers to your cases.
    When I saved the VI from LabVIEW 2009 to 8.2, the only thing that seemed to be out of place was the event specifiers. You can re-configure these by right-clicking on the event structure and selecting "Edit Events Handled by This Case...". Also, when I first saved the VI to LabVIEW 8.6 and then to LabVIEW 8.2, everything seemed to be in order.
    Thanks for your feedback. Let me know if I can clarify any of my proposed workarounds.
    Hope this helps.
    -Ben
    WaterlooLabs

  • Using a textfield for input from keyboard to cause events

    Ok I know very little about java and even less about handling events... I am reciving conflicting information from different sources like webpages and the JDK docs but I so far have this code which compiles but doesn't work. I want it to draw an oval if the user inputs an a.
    public boolean Action(Graphics g, Event evt, Object arg){
              boolean a = true;
              if (evt.target instanceof TextField){
                   if (evt.target.equals(movement)) {
                        direction = direction();
                        System.out.println(direction);
                        clear();
                        if(direction == "a"){
                             g.setColor(Color.decode(randomHex.Colour()));
                             g.fillOval(10,10,10,10);     
                        }//end if direction
                   }//end if target
                   else {
                        a = false;
                   }//end else
              }//end event target textarea
              return(a);
         }//end action
    This of course is only my action method. I look forward to posts that'll help me out. Thx a lot guys.

    Assuming that "direction" is a String variable, don't do this:if (direction == "a")Instead, do this:if (direction.equals("a"))Your code tests whether the direction variable and the "a" constant refer to the same String object, which they won't. The revised code tests whether the direction variable contains the same characters as the constant "a".

  • What is the diffrence between sap events and application events

    Hi all,
    what is the diffrence between sap events and application events.Can any one tell me with examples.
    regards,

    Hi,
    Look at this,
    <b>System Events (Default)</b>
    The event is passed to the application server, but does not trigger the PAI. If you have registered an event handler method in your ABAP program for the event (using the SET HANDLER statement), this method is executed on the application server.
    Within the event handler method, you can use the static method SET_NEW_OK_CODE of the global class CL_GUI_CFW to set a function code and trigger the PAI event yourself. After the PAI has been processed, the PBO event of the next screen is triggered.
    The advantage of using this technique is that the event handler method is executed automatically and there are no conflicts with the automatic input checks associated with the screen. The disadvantage is that the contents of the screen fields are not transported to the program, which means that obsolete values could appear on the next screen. You can work around this by using the SET_NEW_OK_CODE method to trigger field transport and the PAI event after the event handler has finished.
    <b>Application Events</b>
    The event is passed to the application server, and triggers the PAI. The function code that you pass contains an internal identifier. You do not have to evaluate this in your ABAP program. Instead, if you want to handle the event, you must include a method call in a PAI dialog module for the static method DISPATCH of the global class CL_GUI_CFW. If you have defined an event handler method in your ABAP program for the event (using the SET HANDLER statement), the DISPATCH method calls it. After the event handler has been processed, control returns to the PAI event after the DISPATCH statement and PAI processing continues.
    The advantage of this is that you can specify yourself the point at which the event is handled, and the contents of the screen fields are transported to the application server beforehand. The disadvantage is that this kind of event handling can lead to conflicts with the automatic input checks on the screen, causing events to be lost.
    Hope u understood.
    Thanks&Regards,
    Ruthra.R

  • How to improve the event log read performance under intensive event writing

    We are collecting etw events from customer machines. In our perf test, the event read rate can reach 5000/sec when there is no heavy event writing. However, the customer machine has very intensive event writing and our read rate dropped a lot (to 300/sec).
    I understand there is IO bound since event write and read will race for the log file, which is also confirmed by the fact that whenever there is a burst of event write, a dip of event read happens at the same time. Therefore, the event read cannot catch up
    the event write and the customer gets lagging behind logs.
    Note that most of the events are security events generated by windows (instead of customers).
    Is there a way to improve the event read performance under intensive event write? I know it is a hard question given the theory blocker just mentioned. But we will lose customers if there is no solution. Appreciate any clue very much!

    Hi Leonjl,
    Thank you for posting on MSDN forum.
    I am trying to invite someone who familiar with this to come into this thread.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • OID :: DIP Installation is failing

    Hi Techies,
    We are trying to install DIP and ODSM on a solaris 11 box and trying to point the installation to a freshly installed OID (11.1.1.6) running on separate solaris 11 box. The ODSM is getting successfully installed but when the installer is trying to execute the steps specific to DIP, the installation get stopped after throwing the following error -
    [info] Ignoring Error: javax.naming.ServiceUnavailableException: <OID HOST>:<OID SSL PORT>; socket closed; remaining name 'cn=subschemasubentry'
    [info]
    oracle.ldap.util.CommunicationErrorException: Unable to establish connection to directory. Please verify the input parameters: host, port, dn & password connection closed
    at oracle.ldap.util.LDIFLoader.loadOneLdifFile(LDIFLoader.java:237)
    at oracle.ldap.util.LDIFLoader.load(LDIFLoader.java:96)
    at oracle.ldap.util.LDIFLoader.load(LDIFLoader.java:116)
    at oracle.ldap.odip.install.DIPInstaller.loadSchemaLdif(DIPInstaller.java:236)
    at oracle.ldap.odip.install.DIPMetadataConfigItem.configureOracleSchema(DIPMetadataConfigItem.java:67)
    at oracle.ldap.odip.install.DIPMetadataConfigItem.configure(DIPMetadataConfigItem.java:47)
    at oracle.ldap.odip.install.DIPInstaller.executePostDistribute(DIPInstaller.java:203)
    at oracle.as.provisioning.weblogic.ASDomain._executeJ2EEConfigAssistant(ASDomain.java:822)
    at oracle.as.provisioning.weblogic.ASDomain.executeJ2EEConfigAssistant(ASDomain.java:678)
    at oracle.as.provisioning.engine.WorkFlowExecutor._runJ2EEAssistant(WorkFlowExecutor.java:1140)
    at oracle.as.provisioning.engine.WorkFlowExecutor._deployApps(WorkFlowExecutor.java:911)
    at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:470)
    at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
    at oracle.as.idm.install.config.IdMDirectoryServicesManager.doExecute(IdMDirectoryServicesManager.java:1304)
    at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371)
    at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
    at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
    at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
    at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64)
    at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160)
    at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
    at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
    at java.lang.Thread.run(Thread.java:662)
    oracle.as.provisioning.util.ConfigException:
    Error while deploying the Application oracle.ldap.odip.install.DIPInstaller .
    Cause:
    An internal operation has failed: Error in configuring DIP caused by: DIP-00006: Error while DIP schema creation.
    Action:
    See logs for more details.
    Our OID service is up and running and we can connect it successfully from another server. We even tried to install these components on the OID server and encountered the same issue. Please let me know in any idea. Thanks

    Hi,
    Configure OID without DIP,just uncheck the checkbox of DIP.After configuring OID go to WLS_HOME/bin/config.sh and extend the domain in which you have configured OID. On the select component window select Oracle Directory integration platfore[oracle_IDM] and extend the domain. It will do it for you.
    Thanks,
    SUnil

  • How to validate enries in Maintenance Views with the help of Events?

    Hello,
    I have a Maint. View. I would like to apply a validation for a specific field of the table. And if there is an entry which is not proper, than I'd need an error message to be issue, and the fields should be open for correction.
    I know this should be managed by Events. I tried many of them, but there was allways some different kind of issuses. E.g. When I used Event 21, the problem was that:  table "total" was not updated with the values I entered, when the Event triggered. More over, when I ussed a simple error message, that appeared on the screen, but when I hit Enter, I got an infinite LOOP, cause Event 21 was again triggered.
    When I tried Event 01, the total table was already updated. But with the program went back to the sceen from where I called the maintenance of the table. And Issues the error message there. When I hit Enter it took me back to maintenance screen. But this is not very nice.
    A bunch of hints would make me very happy, or a good example, which is priceless!
    Thanks and regards,
    Gyula

    Hi priyaranjan,
    Check the data in debug mode whether the record_tab is getting filled or not. If it is not filled use FM 'F4UT_RESULTS_MAP' to fill the data.
    Refer the link F4UT_RESULTS_MAP Standard Search Help Exit for Filling Hit List - Function - ABAP - SAP to know how to use FM.
    Once You get result from FM in to record_tab then sort the table as per your requirement.
    Regards,
    Ravikiran.K

  • Windows Storage Server 2008 R2 Essentials SP1 64 bit Event 55 NTFS and shadowcopy failure

    Windows Storage Server 2008 R2 Essentials SP1 64 bit Event 55 NTFS and shadow copy failure.
    I have tried deleting shadow copy volumes and chkdsk /f /r, but I always get the following when trying to backup the server:
    Event 55 NTFS
    The file system structure on the disk is corrupt and unusable. Please run the chkdsk utility on the volume \Device\HarddiskVolumeShadowCopy1.
    - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
      <Provider Name="Ntfs" /> 
      <EventID Qualifiers="49156">55</EventID> 
      <Level>2</Level> 
      <Task>2</Task> 
      <Keywords>0x80000000000000</Keywords> 
      <TimeCreated SystemTime="2014-11-20T09:28:52.255947800Z" /> 
      <EventRecordID>158182</EventRecordID> 
      <Channel>System</Channel> 
      <Computer>SERVER1</Computer> 
      <Security /> 
      </System>
    - <EventData>
      <Data /> 
      <Data>\Device\HarddiskVolumeShadowCopy1</Data> 
      <Binary>0D000C000200380002000000370004C000000000020100C000000000000000000000000000000000804503000900000000000900</Binary> 
      </EventData>
      </Event>
    3/20/2014 9:00 PM,EFI System Partition, Local disk (C:), Local disk (D:),SERVER1 2013_06_12 21:24 DISK_01 
    (\\?\Volume{02c22814-d3a1-11e2-84f4-0090a9ba53a1})
    Faulting application name: wbengine.exe, version: 6.1.7601.17514, time stamp: 0x4ce79951
    Faulting module name: ntdll.dll, version: 6.1.7601.18247, time stamp: 0x521eaf24
    Exception code: 0xc0000374
    Fault offset: 0x00000000000c4102
    Faulting process id: 0x1c90
    Faulting application start time: 0x01d004e8c00b9d9e
    Faulting application path: C:\Windows\system32\wbengine.exe
    Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
    Report Id: cb4c54ab-70dd-11e4-bbe2-0090a9b7bb8d
    The Block Level Backup Engine Service service terminated unexpectedly.  It has done this 1 time(s).  
    Additional Server Information:
    OS Name Microsoft Windows Storage Server 2008 R2 Essentials
    Version 6.1.7601 Service Pack 1 Build 7601
    Other OS Description  Not Available
    OS Manufacturer Microsoft Corporation
    System Name SERVER1
    System Manufacturer To be filled by O.E.M.
    System Model WDBLGT0040KBK-21
    System Type x64-based PC
    Processor Intel(R) Atom(TM) CPU D525   @ 1.80GHz, 1795 Mhz, 2 Core(s), 4 Logical Processor(s)
    BIOS Version/Date American Megatrends Inc. 4.6.4, 10/18/2011
    SMBIOS Version 2.7
    Windows Directory C:\Windows
    System Directory C:\Windows\system32
    Boot Device \Device\HarddiskVolume1
    Locale United States
    Hardware Abstraction Layer Version = "6.1.7601.17514"
    User Name Not Available
    Time Zone Eastern Standard Time
    Installed Physical Memory (RAM) 2.00 GB
    Total Physical Memory 1.99 GB
    Available Physical Memory 537 MB
    Total Virtual Memory 5.96 GB
    Available Virtual Memory 2.95 GB
    Page File Space 3.97 GB
    Page File C:\pagefile.sys
     I thought this might apply to my server: KB2754784
    But my event 55 alerts only happen when windows backup attempts to create a shadow copy on a drive volume created for backups.
    We use to be able to backup the EFI, C, and D partitions in the past. After a hardware failure and Motherboard replacement and a system restore, we can no longer backup the volumes without the Windows Block Level Backup Engine Service service terminated
    unexpectedly and Event 55 NTFS.
    How can I fix this issue?

    Hi,
    The issue could be due to the shadow copies on the backup volumes are corrupt. You could try to delete these shadow copies to check if the issue still exist.
    For more detailed information, please see:
    2008R2 Backup causing Event 55 NTFS Errors
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/5cbed1b1-63e3-4c15-8fff-b48746d5ba44/2008r2-backup-causing-event-55-ntfs-errors
    You could refer to the article below to delete shadow copies:
    Backup Version and Space Management in Windows Server Backup
    http://blogs.technet.com/b/filecab/archive/2009/06/22/backup-version-and-space-management-in-windows-server-backup.aspx
    Best Regards,
    Mandy 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Keyboard Event Listener doesn't work in Browser

    Is there a reason why a keyboard event listener would not work if the flash is embedded in an HTML? The rest of my game is running fine in the background, but I can't launch the movieClip "nextCar." My code is below, if that makes any difference...
    function goNow (event:KeyboardEvent): void {
        thisOtherKey = event.keyCode;
        if (thisOtherKey == 32) {
            nextCar.gotoAndPlay(2);
            parkingQue.play();
            tries++;
    stage.addEventListener(KeyboardEvent.KEY_DOWN, goNow);

    This may be a silly question, but have you tryed clicking on your swf after it opens up in the browser, and then trying the keyboard controls?
    I don't know of any issues that cause event listeners to workwhen debugging, but not in a browser.  So, I'm thinking maybe your just not focused on the swf.

  • Handling EDT issues when listening to model events with ModelViewPresenter

    I'm planning on using model-view-presenter (passive screen/humble dialog variant) http://martinfowler.com/eaaDev/PassiveScreen.html as the basis for my Swing application.
    view <-> presenter <-> model
    The view is very thin and dumb and only shows what presenter tells it to. Presenter listens to UI events from the view, updates the model based on them, listens to model update events, and reads view state and updates view state.
    I'm now searching for a good practise for handling EDT-threading problem. The model is inherently multithreaded in the sense that we have several threads running concurrently. They for example fetch data from different sources and update the model accordingly. An event is created, presenter listens to it and updates the view.
    There's also operations that the user initiates. Those start in EDT, presenter does some actions on the model and possibly updates the view state as a result. If the action is fast, the whole thing can be done in EDT. If the operation takes a long time, the processing needs to jump out of EDT at some point to not block the UI.
    When thinking about the events that are created from model due to some background thread, where should we jump back to EDT? There's options:
    a) jump to EDT when presenter updates the view
    view (EDT) <- presenter (either EDT or other thread) <- model (either EDT or other thread)
    b) jump to EDT when moving to presenter layer
    view (EDT) <- presenter (EDT) <- model (either EDT or other thread)
    a)
    - could be implemented by creating an AOP aspect for all View interfaces(?) The aspect would jump to EDT if not there yet always when any method of the interface is called
    - if one ModelEvent is received in non-EDT thread in Presenter, and 15 different View setters need to be called to update the view state, causes 15 separate SwingUtilities.invokeLater() calls...problem?
    - model events and eventlisteners are straight forward to implement. Presenter and model do not need to be aware of Swing (existence of event dispatch thread)
    - Presenter is multithreaded and presenter objects need to be implemented so that threading problems do not occur
    b)
    - could be implemented for example by creating special model EventListener implementations that jump back to EDT when event is received
    - model events and eventlisteners are not as straightforward to do as with a). Somewhere the events need to jump to EDT (event source or listener) and you cannot code just "simple plain" listeners and event sources
    - Presenter needs to be aware of Swing (existence of event dispatch thread and need to jump back to it when events come from model) at least in the sense that it uses the correct EventListener implementations
    - View interface could still check that thread = EDT when methods are called (using similar AOP) to ensure threading rules are not broken
    - Presenter can be single threaded (always in EDT) and presenter implementer does not need to worry as much about threading
    - note that above point requires that user-initiated long running operations, that can't be run in EDT, need to jump from EDT the model layer. If view initiates new non-EDT threads (for example using SwingWorker), Presenter still does have multiple threads running on it (although only "one way", from view to model) and needs to be made threadsafe. This is starting to sound bad, but even if Presenter is single threaded only "one way", it may still be easier to implement than presenter that is completely multithreaded?
    I think major point in deciding is the difficulty of creating thread safe Presenters. Thread safe code is notoriously difficult to implement and even things that seem trivial at first sight can cause big problems. I can't help thinking that since the application's core is already multithreaded by nature, how much more difficult can it be to make the Presenters thread safe as well? Presenters should be quite simple in any case, can receiving events from model and calling a few setters on the view cause threading problems?
    Note that this problem is not limited to programs where background threads update the data....any program where some long running operations are run outside of EDT, and may cause events that are listened to in some presenter, has to solve this issue.
    Any views or ideas?

    RickyT wrote:
    Hello Helpful Nokia Users,
    When I am using my BH 103 blue tooth stereo earphones to listen to music on my N900, the sound drops out for about half a second (or less) then the music sounds slower (like a record player that has been slowed down) for about 4 seconds, then goes back to normal. This sometimes happens on each song, one after the other, sometimes it is just @ random times.
    This NEVER happens when using plug in head phones or when I hook it up to my stereo.
    The BH 103 are about 2 years old.... would the battery be failing? Causing them to run out of power super quickly? My N95 8GB used to beep when the battery in the earphones was low, would the N900 be "pausing" instead?
    Are the BH 103 not compatiable with the N900.... even though Nokia store lists them as accessories. Would I be better off with a newer model of ear phones?
    Cheers for your help!
    i think its the battery issue .
    Reality is wrong....dreams are for real... 2pac .
    don't forget to hit that green kudos

Maybe you are looking for