Strange behaviour of "And array Elements"

If u connect an empty boolean array to "And Array Elements" function, The output is "True" !. Is this correct?. Is there something wrong ?. Please Help.

Hi J.A.C
This is correct.This is an explanation I've found: "This behavior is intentiional, and stems from elementary Boolean logic. The Boolean algebra primitives are analogous to numeric operations are integers. Just as the identity element for addition is 0, and for multiplication, 1; the identity for Boolean OR is FALSE, and for AND, TRUE. For example, x^0 == 1; that is, x times itself zero times is by definition 1. For the same reason boolean x ANDed with itself zero times is TRUE."
If this is not acceptable for your application, then just use the "Array Size" VI first to check if you've an empty Array (Array size=0) and then you can pass or not the array to the "And Array Elements" function.
Hope this helps.
Luca
Regards,
Luca

Similar Messages

  • PS Report : Strange behaviour S_ALR_87013542  and CJI5

    The bottom line total figure In CJI5 ("Val/CO Area") for All PO's assigned to a WBS and S_ALR_87013542 ("Commitments") on a WBS match exactly - in same period.
    But strangely the bottom line total figure In CJI5 ("Plan val. Currency" )  DO NOT MATCH with the bottom line total figure of "Total" of S_ALR_87013542 . Infact the value is showing more in CJI5.
    Can someone explain the reason for this behaviour.
    Thank you.

    Hii Ravi,
    Thanks for your quick response....
    I'm not using the valuated stock, and yes all the configuration already checked.
    First, in the PO, we key the date and invoicing plan (depends on the termijn), If we want to do
    invoice (MIRO), we need to do the unblocking the invoicing plan in the PO (invoice tab in po)
    after that, create invoice reference to PO. if this steps are followed.. we still can see the outstanding amount of PO in the report. (_ALR_87013558 and CJI5).
    If user didn't do the unblocking the invoicing plan in the PO,.. and directly do the invoice (MIRO)
    reference to PO, Invoice still can be created.. However, we cannot see the outstanding amount of the
    PO, if user do the invoice without unblocking the invoicing plan.
    Please any advice wiil be helpful..
    Best regards
    -Spribadi-

  • Strange Behaviour-- Ep and BEX

    Hello ALl,
    I am facing a very strange issue.Our organisation uses bex as a reporting tool for various departments.
    We have developed some bex reports and have successfully integraded with EP 5.0 SP4.
    The problem now is that one of the users wanted a name change on one of the iviews (BEX report), we( as a developement team ) did the change and imported the iview once again in the portal.
    Now the user who wanted the name to be changed is unable to view the changed name, every other user can see the changed name.We even cleared the cache of that particular users IE,but still he was unable to see the changes.
    We have the same role assigned to all the users.
    Can any one suggest as to why this is happening?
    One of the probable reason could be cache related but the client cache has already been cleared, had it been an issue of server cache then all the other users would have been affected, but this is either not the case.
    Would appreciate a quicker response,since the issue is getting on our nerves.
    Thanks and Regards
    Pradeep Bhojak

    hello Frank,
    To answer first, the user uses the same setting as the one used by all the other users. So no question of language settings being a problem or a hindrance.
    Toanswer second:
    we created a query in bex.
    created a template fro the same in Web Application Designer.
    published the same template as an iview file.
    Imported the iview file in the portal (EP 5.0 SP4)
    Then assigned the iview to page and the page to a workset and then workset to a role.
    let me know where we are doing the wron step, if at all we are?
    Thanks and Regards
    Pradeep Bhojak
    iview

  • AXI VDMA strange behaviour tvalid and tready

    Hello everybody
    I'm working very hard to use AXI VDMA but there's something I can't understand. the m_axis_mm2s_tvalid and the s_axis_s2mm_tready works totally random.
    I'm using Vivado 2014.4 and VDMA v6.2. I'm implementing this on a zedboard.
    This is my design:
    I have 2 VDMAs, one for writing and another one for reading.
    I use the Test Pattern Generator of xilinx to generate a tartan bars, and I connect it directly to the s_axis_s2mm of VDMA_0.
    Then I created a controller for sending the output of the TPG (through th VDMAs) to a VGA screen.
    The m_axis_mm2s of VDMA_1 is connected to my IP (the controller of VGA).
    The VGA_ctrl sends the outputs to the screen and controls the stream of the data from VDMA_1 setting the tready to 1 only when it needs the data to send the data to the VGA screen..
    The VGA_ctrl works perfectly if connected directly to the TPG, so there are not problem with it.
    theese are the the configurations of the VDMAs
    this is the addressing of the VDMAs and of the processor
    this is what I wrote in the SDK. the size of the video is 1280x1024, so I counted 5120 of stride and hsize (1280*32/8). and 1024 for the vsize.
    #include <xil_printf.h>
    #include <xil_types.h>
    #include <stdio.h>
    #include "platform.h"
    #include "xil_io.h"
    int main()
    //S2MM config
    Xil_Out32((0x43000000) + (0x30) , 0x8B); //S2MM_VDMACR : 8Bh
    Xil_Out32((0x43000000) + (0xAC) , 0x00100000); //S2MM_START_ADDRESS of first frame: 0
    Xil_Out32((0x43000000) + (0xA8) , 0x00001400); //S2MM_FRMDLY_STRIDE to 5120 byte per line
    Xil_Out32((0x43000000) + (0xA4) , 0x00001400); //S2MM HSIZE: to 5120 bytes per line
    Xil_Out32((0x43000000) + (0xA0) , 0x00000400); //S2MM VSIZE: 1024 lines
    //MM2S config
    Xil_Out32((0x43010000) + (0x00) , 0x8B); //MM2S_VDMACR: 8Bh
    Xil_Out32((0x43010000) + (0x5C) , 0x00100000); //MM2S_Start_Address of first frame: 0
    Xil_Out32((0x43010000) + (0x58) , 0x00001400); //MM2S_FRMDLY_STRIDE to 5120 byte per line
    Xil_Out32((0x43010000) + (0x54) , 0x00001400); //MM2S HSIZE: 5120 bytes per line
    Xil_Out32((0x43010000) + (0x50) , 0x00000400); //MM2S VSIZE: 1024
    return 0;
    I use 1 frame buffer stored since he location 0x00100000 as I checked here:
    but in the end this is what I get for ILA core:
    How can you see the axi_vdma_1_m_axis_mm2s_tvalid that should be always 1, goes between 1 and 0 totally random.
    The same is for axi_vdma_0_m_axis_mm2s_tready.
    This obviously stop the streaming and nothing works.
    How is it possible that theese 2 signals of streaming change so randomly?
    Could be a problem of the axi protocol which sees the channel busy and stop the streaming? 
    I'm a newbie with FPGA and hardware world, so I can have done a very stupid mistake. please help me finding the problem.
    Thanks in advance
    Edoardo
     

    Hello Edoardo
    I'm a beginner and I'm also learing VDMA IP and trying to use it to transport Image data. I want to use your project as a tutorial because it shows the whole process in detail.
    this is  made in vivado 2014.4 ,which just like yours. The xlconstants all set to high,and TPG sets like
    And the Address map shows as below
    and the SDK C code
    #include <xil_printf.h>
    #include <xil_types.h>
    #include <stdio.h>
    #include "platform.h"
    #include "xil_io.h"
    int main()
    //S2MM config
    //u32 temp;
    int i;
    init_platform();
    xil_printf("\r\n--- Entering main() --- \r\n");
    xil_printf("0x00100000 %x\r\n",Xil_In32(0x00100000));
    xil_printf("0x00000000 %x\r\n",Xil_In32(0x00000000));
    Xil_Out32((0x43000000) + (0x30) , 0x8B); //S2MM_VDMACR : 8Bh
    Xil_Out32((0x43000000) + (0xAC) , 0x00100000); //S2MM_START_ADDRESS of first frame: 0
    Xil_Out32((0x43000000) + (0xA8) , 0x00001400); //S2MM_FRMDLY_STRIDE to 5120 byte per line
    Xil_Out32((0x43000000) + (0xA4) , 0x00001400); //S2MM HSIZE: to 5120 bytes per line
    Xil_Out32((0x43000000) + (0xA0) , 0x00000400); //S2MM VSIZE: 1024 lines
    //MM2S config
    Xil_Out32((0x43010000) + (0x00) , 0x8B); //MM2S_VDMACR: 8Bh
    Xil_Out32((0x43010000) + (0x5C) , 0x00100000); //MM2S_Start_Address of first frame: 0
    Xil_Out32((0x43010000) + (0x58) , 0x00001400); //MM2S_FRMDLY_STRIDE to 5120 byte per line
    Xil_Out32((0x43010000) + (0x54) , 0x00001400); //MM2S HSIZE: 5120 bytes per line
    Xil_Out32((0x43010000) + (0x50) , 0x00000400); //MM2S VSIZE: 1024
    for(i=0;i<10000;i++);//delay
    xil_printf("0x00100000 %x\r\n",Xil_In32(0x00100000));
    xil_printf("0x00000000 %x\r\n",Xil_In32(0x00000000));
    return 0;
    However, I cannot get the expected result. I think the number will change after DMA configuration, but it does not change.
    I'm wondering where I was wrong. Could you help me point out my problems?
    Best Regards,
       32100004

  • Strange behaviour softproof and Gamut warning

    When I have a softproof selected (using Relative Colormetric ; Blackpoint Compensation and Simulated paper color)  I am seeing a difference in the soft proof when I toggle the gamut warning on and off.
    This is not due to out of gamut colors which I have set to show up as a 100% medium gray.
    What I am seeing is a difference in the shadow detail on the softproof, when I have the gamut warning on or off. More detail with it off and less with it on.  I have tried different printer profiles and see the same effect.
    I had not noticed this before, but today I was printing some sunset pictures and having trouble getting the shadow detail to match on screen and in print. My expectation of toggling the gamut warning is that it would only highlight (in gray) the out of gamut colors and have no impact on other parts of the picture. Incidentaly - the view with gamut warning "on" appears to match the print correctly.
    I am using CS5 on Windows 32bit. Am I doing something wrong, or have I misunderstood the gamut warning?
    Dave

    Noel,
    Thank you - you are spot on - that did get round the issue.
    I read through your thread and can see how the banding issue you described would impact. The dark areas in my pictures tended to be shades of gray and when softproofing using simulate Paper Color went a slightly lighter shade (with banding in those areas). I tried this on a gray ramp and the problem is very visible (as it was in your thread).
    It is puzzling as to why turning gamut warning on and off altered the banding but hopefully if Chris or his colleagues see this thread it may help them locate the root cause of the problem.
    Thanks again
    Dave

  • Finder Strange behaviour: folder and file icons not showing, then they disa

    Yesterday I was trying to install the postgresql package from (http://web.mac.com/dru_satori/iWeb/PostgreSQLforMac/Welcome.html). Actually I had an older version of their package, i uninstalled it, tried installing the new package, but kept receiving errors that the installation was not correct.
    Now the point of this question, as I was doing the above, i started to notice that some files (either on my desktop or in a folder window) are not showing the icon. Only the label is showing! when I click on such a file, the file disappear (i mean even the label is gone).
    I have completed permission repairs, disk repairs. I also noticed that this is only happening in my account, but not that of other accounts on this computer, which indicates that this is a problem in my home directory. I have also re-lunched the finder using the force quit window. I have also trashed the com.apple.finder.plist and logged out and then logged in again. I have just noticed that (pages) is asking for the serial number! I have this program installed months ago! It seems that some other files are also getting damaged!
    Is there something that I am missing? Is this a bug? is there any solution, because this is very annoying and it might indicate a bigger problem that I am not aware of.
    thank you for your help
    PowerMac G5 Dual   Mac OS X (10.4.4)   4.5 GB RAM

    I also noticed that this is only happening in my account, but not that of other accounts on this computer, which indicates that this is a problem in my home directory.
    Good first troubleshooting step!
    Now log back into your normal user account: (In your case I would try preferences first)
    1. Navigate to ~(yourhome/library/fonts - drag this folder to the desktop.
    • Restart and test your applications.
    • If they work start adding the fonts back few at a time.
    ( Likely suspects are Times RO & Helvetica Fractions, also if you do not use Classic you can trash the classic fonts.)
    2. Check Preferences Thoroughly;
    • Navigate to ~(yourhome/library/preferences drag this folder to the desktop.
    • Restart and test your applications.
    • If this works, save the old preferences folder somewhere else or on disk, name it "old prefs" .
    ** Note: A very important file is the "com.apple.Mail.plist" preference file located in the Preferences folder which contains all email account settings and general mail preferences (hold this one and replace if your problem is not with Mail).
    You'll have to go through some of your System Preferences and apps to set the preferences back to how you like them. (Or if you have the time and inclination, "cherry pick" through until you find the problem one or two.)
    3. Check Permissions Inside Home Folder
       • Navigate to yourhome/library.
       • Get Info (Command - i) on folders for apps you are having problems with.
       • Open the "Ownership & permissions" disclosure triangle.
       • Make sure you are the owner, with "read and write" access.
    • Click on "apply to all"
       • If this is correct, open the "Applications Support" folder and do the same procedure (Command+I) for the folders with the names of the applications you are having trouble with.
    Note:
    The reason to check this is because repairing permissions with Disk Utility doesn't touch permissions inside your home folder.
    If the issue persists navigate to yourhome/library/caches and drag this folder to the trash, then log out and back or restart. There is no need to replace this folder.
    -mj
    [email protected]

  • Strange behaviour of data element  object

    Dear Gurus,
    I have incremented the field length of a z table's field from 5 (type DEC)  to 8 by increasing the corresponding domain length . But the internal tables that refer to this field still refer to the old value 5, though the table is accepting values for this field with 8 length through 'Create Entries' in SE11.
    The problem seems to be in the runtime object of the corresponding data element which shows
    database length = 5 
    abap length = 5
    BUT dictionary length = 8.
    Could anyone pls help diagnose this strange behaviour as even if I create new domains with new data elements for this table field ,it gives the SAME RUNTIME OBJECT STATUS as mentioned above.
    Rewards are awaiting the right answer.
    Thanks in advance.
    Shweta.

    Hi,
    For these kind of problems, you can use the Database utility tool (SE14), give the table name press enter, click Adjust and Activate Database table also select save data radiobutton. After this Re-Run the Program, it works fine, also cross-check in the Debugging screen.
    Cheers...
    Santosh.
    Mark Usefull Answers.

  • APEX Listener and EPG - strange behaviour

    Hi
    For some years, I've used EPG for APEX but have struggled with performance particularly as I can have up to 150 student developers using at any one time.
    I do a fair amount of work using ORDImage and have successfully developed APEX applications to upload image files and display full-size and thumbnail images.
    After upgrading to APEX 4.1 (from 4.0), I decided to install APEX Listener standalone.
    Before I did so I checked that my applications still worked in 4.1 and they did.
    However, just installing APEX Listener but not configuring it (yet) has meant that my image display in a report using a procedure based on wpg_docload.download_file( l_ordimage_image.source.localData ) no longer works in EPG - the images are not displayed.
    Configuring APEX Listener and running the same application through that DOES display the images.
    So this part of the application works under APEX Listener but not under EPG.
    My application also allows users to upload images from APEX_APPLICATION_FILES using standard code. Under APEX Listener after uploading, I'm left with a blank page with a wwv_flow.accept URL although the image does indeed upload. Under EPG it works as expected and I get a success confirmation.
    So this part of the application works under EPG but not under APEX Listener.
    Has anyone else come across different behaviour depending on the mode of connection?
    Thanks
    Brian
    [Oracle EE 11gR2, Windows Server 2008R2, APEX 4.1, APEX Listener 1.1.3]

    Hi Brian,
    it sounds like you have both EPG and APEX Listener running on the same machine, so your problem might result from a port conflict. Note that both services use TCP port 8080 as default.
    At least a port conflict would explain the strange behaviour in your case, some things working on one web server and some on the other.
    Some parts of your initial post hint to that direction, e.g.
    However, just installing APEX Listener but not configuring it (yet) has meant that my image display in a report using a procedure based on >wpg_docload.download_file( l_ordimage_image.source.localData ) no longer works in EPG - the images are not displayed.... because the APEX Listener only interfere with the EPG if it is at least running on the same machine as your database and furthermore, if it is unconfigured in terms of ist database connection, a port conflict might be the only way it could cause anything like that.
    However, if you are sure that's not the issue, please check if you see any error in the APEX Listener's log for the following action you performed:
    My application also allows users to upload images from APEX_APPLICATION_FILES using standard code. Under APEX Listener after uploading, I'm left with a blank >page with a wwv_flow.accept URL although the image does indeed uploadIf you actually see just a blank screen, something very bad must have happened and you should see some kind of stack trace there.
    For further investigations, if necessary, it would be helpful to know how you deployed or started your APEX Listener and which JDK version you use.
    For the moment, I still think the port conflict is my best guess.
    You could avoid it by either changing the port for EPG (I'd not recommend that if you have other users still using it) or by changing the port for your APEX Listener.
    -Udo

  • Dynamically create empty mcs and asign elements from array and loadmovie

    I'm creating an educational game for my school students.
    A little boy is flying through the city when he encounters objects flying from left to right.
    He hears a SOUND eg: Dog - he must go and click the dog image with the flying cursor. There are at least 5 DIFFERENT objects that should be flying on the screen. There could be various of them at any one time.
    I have the roots of the images in an xml file. And the actual swf are in a file called IMAGE and the sounds in SOUND.
    My problem is that most tutorials I see use the attachmovie method but I don't want to put all the swf's in the library as there are hundreds.
    I have to use the loadmovie method.
    I take it I have to loop through the array and assign each element to an empty movieclip which in turn is in the loop so you get 5 empty clips - I will use i (index). It doesn't seem to be working. I shall keep trying and post back here if I get any luck but I'm running out of ideas.
    Then the objects have to float across the screen. Don't know whether to use tween object or onEnterFrame handler or other. AND someone has mentioned using setinterval to "spit out" the objects.
    BUT if I have five flying across the screen I'm left without clips to stick in any more.
    Oh my head hurts but I will keep going.
    CHEERS if any help is around. This should be quite a standard thng for game developpers. Code at the moment
    function loadEnemies():Void {
    enemy_xml = new XML();
    enemy_xml.ignoreWhite = true;
    enemy_xml.onLoad = function(success:Boolean) {
    if (success) {
    _root.parseEnemyXML();
    //enemy_xml.load("level_"+level+".xml");
    enemy_xml.load("data/animal_catch.xml");
    function parseEnemyXML():Void {
    rows = enemy_xml.firstChild.childNodes.length;
    for (var i:Number = 0; i<rows; i++) {
    var row_string:String = String(enemy_xml.firstChild.childNodes[i].firstChild.firstChild);
    _root["row_"+i+"_array"] = row_string; //MAIN ARRAY holds an array images/dog_a.swf/ images/cat_a.swf etc... all five
    _root.createEmptyMovieClip("enemyObjects", 1);
    enemyObjects.createEmptyMovieClip("holder_"+i, i);
    _root["object"+i] = new Sound(enemyObjects["holder_"+i]);
    trace(row_string);
    loadMovie["row_"+i+"_array"], ["holder_"+i]
    if (level == 1) {
    alerts_mc.play();
    } else {
    currRow = 0;
    rowCounter = 0;
    OK got to about here BUT
    a. I started to get confused around the createEmptyMovieClip part
    b. I KNOW I shouldn't have Sound(enemyObjetcs etc... BUT I copied the code from a tutorial and I don't know what to replace it with.
    I'm close but I need a little polishing.

    It doesn't do you much good to work with borrowed code that you do not understand.  Your best bet will be to start small, creating one functional piece of the puzzle at a time, and work your way up.  Start with making sure you are loading and parsing the xml properly, then set about loading the external content, then see about making that content move around, etc...
    In the code you show, your loadMovie line of code does not resemble anything I have seen before, looking more like (but not quite like) a multi-dimensional array element than a loadMovie() function call.  If you find you need to have control of the items as soon as they load, then you should consider using MovieClipLoader.loadClip instead of loadMovie.  The MovieClipLoader class provides features, such as to be able to determine when items have fully loaded.

  • Bug or Feature? Array Custom Contextual Menu Destroys "Delete" and "Insert" Element!

    Step to Reproduce:
    - Create an Array (doesn't matter of what type).
    - Ctrl-M (to switch to Run Mode)
    - Notice that:
           - when you Right-Click on the Array borders, you have access to an "Empty Array" menu item among other things
           - when you Right-Click in an Array element, you have access to an "Insert Element Before" and a "Delete Element" menu item among other things
    - Now switch back to Edit Mode and modify the contextual menu in the following way:
            - Advanced>>Run-Time Shortcut Menu>>Edit...
            - Edit>>Copy Entire Menu
            - Switch to "Custom" menu (instead of "Default"): the menu disappears and is replaced by a single ??? item
            - Edit>>Paste: The default menu reappears with the ??? on top
            - Create you favorite custom menu item by editing the ??? item (say: Do Nothing)
    - Save the menu with the control and switch to Run Mode (Ctrl-M).
    - Now try the first 3 steps above: wherever you right-click, you have access to the Custom Menu, but the Array Element contextual menu is GONE.
    In other words, you cannot (it seems) define a custom contextual menu for an array without destroying the default contextual menu for its elements.
    Therefore, if you want to preserve the ability to Insert and Delete Elements in an array, you have to add these two items to the Array contextual menu and juggle with the position of the right-click to figure out whether or not to display them...

    Well, I created in LabVIEW 2012 such a control and added part of the default menu in the way you described with copy-paste as a submenu to an Edit entry in my custom menu and it did not disappear:
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Strange behaviour when setting client_info and module in v$session

    Hello,
    I've tried to set the CLIENT_INFO field in V$SESSION using DBMS_APPLICATION_INFO.SET_CLIENT_INFO but found a strange behaviour.
    Normally the forms modules seems to set the field MODULE in V$SESSION to its name. If I use DBMS_APPLICATION_INFO.SET_CLIENT_INFO the CLIENT_INFO field is set correctly but the MODULE field is set to 'frmweb.exe' instead of the forms modules name.
    I also tried to set the MODULE using DBMS_APPLICATION_INFO.SET_MODULE but then strangely the MODULE and MODULE_HASH field of the original frmweb.exe (the main applet?) entry and the entry for the forms module were the same (set to the new module name). From now on every newly opened module had 'frmweb.exe' as the module entry until I closed the forms application.
    Example:
    Entries in V$SESSION:
    -- After start of forms application there is only one entry for the process:
    PROCESS           MODULE            MODULE_HASH            CLIENT_INFO
    1596:7204         frmweb.exe        854945150
    -- When a new forms module is opened it looks like this:
    PROCESS           MODULE            MODULE_HASH            CLIENT_INFO
    1596:7204         frmweb.exe        854945150
    1596:7204         my_module         1929284615
    -- When the modified forms module that sets the client_info/module is opened this happens:
    PROCESS           MODULE            MODULE_HASH            CLIENT_INFO
    1596:7204         mod_module        3097977240
    1596:7204         mod_module        3097977240             my client info
    1596:7204         my_module         1929284615As one can see the entry of the forms application seems to be overriden (at least the MODULE and MODULE_HASH fields) but the CLIENT_INFO only changes for one of the entries?
    The following code is responsible for the changes of CLIENT_INFO and MODULE:
        -- get client info
        client_info :=
            webutil_clientinfo.get_ip_address
            || ' (' ||
            webutil_clientinfo.get_user_name
            || ')'
        -- set client info
        DBMS_APPLICATION_INFO.SET_CLIENT_INFO(client_info);
        -- get module (set action to '')
        DBMS_APPLICATION_INFO.SET_MODULE(name_in('system.current_form'),''); I really don't understand, why it does not work properly.
    Any help is appreciated!
    Thanks in advance.

    This was an application module pooling, activation / passivation issue.
    After view objects had been set-up correctly, the problem disappeared.

  • FIM Load Balancing and SPN's - Strange behaviour

    I have a FIM setup in a domain
    I have mycorp.com and a domain in the same forest contractor.mycorp.com (fictional setup)
    I have 2 servers built in the contractors.mycorp.com domain
    Id1
    Id2
    Id1 has the Service and portal on wss3 in SharePoint farm mode, Sp central admin is on this as well
    Id2 has the service and is a load balanced SharePoint farm.
    I have NLB setup and working the service name is identity.mycorp.com pointing at the IP of the NLB
    I have a CNAME identity pointing at identity.mycorp.com
    Identity.mycorp.com is used as the name of the Service and the Portal.
    In the ApplicationHost.config I have
    <system.webServer>
       <security>
          <authentication>
             <windowsAuthentication enabled="true" useKernelMode="true"
    useAppPoolCredentials="true" />
          </authentication>
       </security>
    </system.webServer>
    I have kernel mode enabled, and I have Windows authentication enabled in the IIS console on id1 and id2.
    The app pool credentials are a domain account SPService for SharePoint Service, the app pool is set on both id1 and id2 servers. The root domain account mycorp\SPService us used.
    In
    c:\inetpub\wwwroot\wss\VirtualDirectories
    I have set
    <resourceManagementClient
    requireKerberos="true"
    I have registered the alternate URL mappings for SharePoint as
    Identity
    Identity.myCorp.com
    I have registered SPN's for
    Setspn –S FIMService/identity.myCorp.com myCorp\FIMService
    Setspn –S FIMService/identity  myCorp\FIMService
    Setspn –S HTTP/identity.myCorp.com myCorp\SPService
    Setspn –S HTTP/identity myCorp\SPService
    I have configured delegation for both accounts in ADUC for the identity.mycorp.com
    So all is well and I installed everything fine.
    Now my problem is that if I go to id1 and browse to http://identity/identitymanagement I get redirected , and authenticated with my admin account to
    http://id1/IdentityManagement/default.aspx
    On id1 if I go to http://identity.myCorp.com/identitymanagement I get prompted for credentials, when I enter myCorp\FIMAdmin and my password I get redirected to the portal at
    http://id1/IdentityManagement/default.aspx
    If I try and authenticate to any of the previous URL's from other machines in my domain, including the load balanced box id2 I get "HTTP Error 401. The requested resource requires user authentication."
    Even if I try and browse to
    http://id1/identitymanagement from another machine I am getting 401. Only on
    http://id1 am I getting a result, even if there is a prompt.
    I am sure my SPN's are fine, there are no duplicate SPN's , I checked with the -x switch
    So my load balanced portal and service are not working as I would have thought , I have looked at
    http://blogs.msdn.com/b/webtopics/archive/2009/01/19/service-principal-name-spn-checklist-for-kerberos-authentication-with-iis-7-0.aspx
    http://social.technet.microsoft.com/Forums/en-US/484faae8-4df6-4b81-8b2d-9d75d5258e4f/fim-portal-http-error-401-the-requested-resource-requires-user-authentication?forum=ilm2
    http://social.technet.microsoft.com/wiki/contents/articles/4473.fim-http-error-401-the-requested-resource-requires-user-authentication.aspx
    http://setspn.blogspot.ie/2010/06/kerberos-basic-troubleshooting-tip-3.html
    The only thing that I can think of is that the machine is in the contractors.myCorp.com domain which makes the machine  
    unique from where the SPN's are registered, but if that was the case then browsing to the portal from
    http://id1 would certainly fail.
    Can anyone see anything wrong with my approach ?
    Normally I find SharePoint a pain, but this week it seems to be this.
    When I ran the fim service install I specified identity.myCorp.com as the name of the server
    Rob

    In my Load Balanced setup it helped a lot (on some strange behaviours) when I set up Load Balancer to keep session on one server.
    Borys Majewski, Identity Management Solutions Architect (Blog: IDArchitect.NET)

  • Strange behaviour whit custom JTextField and JToolTip

    Hello everyone. I hope I'm writing in the right section and sorry if I did not search for this issue but I really don't know which keywords I should use.
    I'm using NetBeans 6.1 on WinXP and JDK 1.6.0_07, I have a custom JTextField with regex validation: when you type something that don't mach regex it shows a JToolTip. This JToolTip should disappear when the text typed is finally correct, or when the textfield loses focus (see code below).
    import java.awt.Component;
    import java.awt.Dimension;
    import java.awt.Point;
    import javax.swing.JToolTip;
    import javax.swing.Popup;
    import javax.swing.PopupFactory;
    public class MyJTextField extends javax.swing.JTextField implements FormComponent
    private static Popup popUpToolTip;
    private static PopupFactory popUpFactory = PopupFactory.getSharedInstance();
    private boolean isValidated = false;
    private String regEx = "a regex";
    public MyJTextField()
    this.addKeyListener(new java.awt.event.KeyAdapter()
    public void keyReleased(java.awt.event.KeyEvent evt)
    if(evt.getKeyCode()!=java.awt.event.KeyEvent.VK_ENTER)
    validateComponent();
    else if(evt.getKeyCode()==java.awt.event.KeyEvent.VK_ENTER)
    if(isValidated)
    ((Component)evt.getSource()).transferFocus();
    this.addFocusListener(new java.awt.event.FocusAdapter()
    public void focusLost(java.awt.event.FocusEvent evt)
    if(popUpToolTip!=null){popUpToolTip.hide();}
    public void validateComponent()
    if(text.matches(regex))
    isValidated = true;
    if(popUpToolTip!=null){popUpToolTip.hide();}
    else
    isValidated = false;
    if(popUpToolTip!=null){popUpToolTip.hide();}
    String error = "C'&egrave; un errore nella validazione di questo campo";
    JToolTip toolTip = createToolTip();
    toolTip.setTipText(error);
    popUpToolTip = null;
    popUpToolTip = popUpFactory.getPopup(
    this,
    toolTip,
    getLocationOnScreen().x,
    getLocationOnScreen().y - this.getPreferredSize().height -1
    popUpToolTip.show();
    }(I've cut it a bit, here's only the lines that involve JToolTip use)
    I have many of them in a form, and when the first tooltip appears (on the first textfield I type in) it never disappears, while nex textfields work just fine.It seems the first tooltip appearing can't be overwritten or something similar. If I use this same component on any other NetBeans project, everithing works without issues.
    I have some other custom components working the same way (JComboBox, JXDatePicker), and they had this "not disappearing tooltip" issue since I changed this
    popUpToolTip = popUpFactory.getPopup(this, toolTip, getLocationOnScreen().x, getLocationOnScreen().y - this.getPreferredSize().height -1);
    whit this
    popUpToolTip = popUpFactory.getPopup(null, toolTip, getLocationOnScreen().x, getLocationOnScreen().y - this.getPreferredSize().height -1);
    but if I try it on the JTextField all textfield's tooltips stay stuck there, not only the first one appeared (while other components still works fine).
    This thing is really driving me crazy. Someone has an hint (or a link to another thread) which could explain this strange behaviour?
    Thanks in advance.

    BoBear2681 wrote:
    Note that an SSCCE wouldn't require you to post any proprietary code.Hmmm... well, I'll try again to reproduce the issue and post an SSCCE.
    BoBear2681 wrote:
    That probably indicates that the problem is somewhere other than where you're currently looking.Yes, I suppose so. Maybe it's some interference between all the custom components I created, or maybe something else that apparently doesn't conern at all. If I cannot reproduce it in an SSCCE and I'll figure out what's the cause of this mess I'll post it here for future knowledge.
    Many thanks for your advices. :)

  • LR 1.3.1 strange behaviour: L key adds keywords and removes pictures from collection

    After updating to LR 1.3.1 yesterday I found a very strange behaviour that I cannot explain: While in the Library module and looking at a picture from a collection (in loupe mode) I cycle through the different light modes using the L key. Then suddenly (after several hits of the L key) a keyword is added (not always the same keyword) and at the same time an unknown number of pictures is removed from the collection. The keyword is not added to the picture I was currently viewing, but to another one from the same collection. This has not happened before and I have no idea what is going on. I can restore the collection by relaunching an older catalog but of course this does not solve the problem. Can anybody help?
    (PC, Win XP prof SP 2, 4 Gig RAM)

    It is possible that instead of hitting the l key, or perhaps within the same sequence of hits your are in fact accidentally hitting the k key.
    K is the shortcut for "Add shortcut keyword"
    Of course you would have had to set that particular keyword at some point and it does not explain the different keywords being assigned.
    Unless the alt key was involved somehow and you were rating the images with 1-9 numbers. That would account for different keywords being assigned and would seem arbitrary.
    To check: look at one or two of the images that you may have rated using a number key and then look at the keyword set the keyword came from. Press the alt key and a number from 1-9 will appear next to the keyword. If they match then thats the answer.
    If you weren't rating the images this way then.....??
    Perhaps there is a fault with the keyboard itself rather than the program.
    David

  • Strange behaviour of Mouse-Events and Range size

    Hello,
    i found a strange behaviour of the Paragraph-Ranges in Word and can't explain this myself.
    I have a add-in with a Custom Task Pane "UserControl1" and a button "Button1":
    dropbox.com/s/zz2m0out5rvds0m/word.jpg
    This is the Code for the user control:
    public partial class UserControl1 : UserControl
    public UserControl1()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    showRanges();
    private void button1_MouseEnter(object sender, EventArgs e)
    showRanges();
    private void showRanges()
    Debug.WriteLine("-------------------------------------");
    foreach (Microsoft.Office.Interop.Word.Paragraph para in Globals.ThisAddIn.Application.ActiveDocument.Paragraphs)
    Debug.WriteLine(para.Range.Start.ToString() + " - " + para.Range.End.ToString() + " | " + para.Range.Text.ToString());
    The mouse-enter and mouse-click events of the button, prints out the ranges of the current paragraphs. In this example it outputs:
    0 - 15 | The first line
    15 - 32 | And a second one
    Thats fine!
    And now the strange stuff starts: When i change something in the first line in the document like "The VERY first line" and use the button again, i got different range outputs for mouse-enter and mouse-click events.
    mouse-enter event (wrong ranges):
    -------------------------------------0 - 143 | The VERY first line
    143 - 160 | And a second one
    mouse-click event (correct ranges):
    0 - 20 | The VERY first line
    20 - 37 | And a second one
    Why the hell I get wrong Ranges when I use the mouse-enter event??? (When I enter the button with mouse a second time, it shows the correct ranges again).

    Hi Torben,
    What is Word version?
    According to my test in Word 2013, the code you provided works fine for me.
    I changed the code as below:
    private void showRanges(string eventname)
    Debug.WriteLine(eventname + "-------------------------------------");
    foreach (Microsoft.Office.Interop.Word.Paragraph para in Globals.ThisAddIn.Application.ActiveDocument.Paragraphs)
    Debug.WriteLine(para.Range.Start.ToString() + " - " + para.Range.End.ToString() + " | " + para.Range.Text.ToString());
    private void button1_MouseEnter(object sender, EventArgs e)
    showRanges("Button MouseEnter");
    private void button1_Click(object sender, EventArgs e)
    showRanges("Button Click");
    The document:
    The output:
    The result is same.
    There might be something else at the end of the first line.
    If you change current document to .zip and find document.xml, what does it look like?
    Here is my document.xml:
    <w:body>
    <w:p w:rsidR="001347D9" w:rsidRPr="001511D8" w:rsidRDefault="001511D8">
    <w:pPr>
    <w:rPr>
    <w:sz w:val="72"/><w:szCs w:val="72"/>
    </w:rPr>
    </w:pPr>
    <w:r w:rsidRPr="001511D8">
    <w:rPr>
    <w:sz w:val="72"/>
    <w:szCs w:val="72"/>
    </w:rPr>
    <w:t>The VERY first line</w:t>
    </w:r>
    </w:p>
    <w:p w:rsidR="001511D8" w:rsidRPr="001511D8" w:rsidRDefault="001511D8" w:rsidP="001511D8">
    <w:pPr>
    <w:rPr>
    <w:sz w:val="72"/><w:szCs w:val="72"/>
    </w:rPr>
    </w:pPr>
    <w:r w:rsidRPr="001511D8">
    <w:rPr>
    <w:sz w:val="72"/>
    <w:szCs w:val="72"/>
    </w:rPr>
    <w:t>And a second one</w:t>
    </w:r>
    <w:bookmarkStart w:id="0" w:name="_GoBack"/>
    <w:bookmarkEnd w:id="0"/>
    </w:p>
    <w:sectPr w:rsidR="001511D8" w:rsidRPr="001511D8">
    <w:pgSz w:w="12240" w:h="15840"/>
    <w:pgMar w:top="1440" w:right="1440" w:bottom="1440" w:left="1440" w:header="720" w:footer="720" w:gutter="0"/>
    <w:cols w:space="720"/>
    <w:docGrid w:linePitch="360"/>
    </w:sectPr>
    </w:body>
    Is there anything different?
    I have uploaded the sample document for your test, please check:
    https://onedrive.live.com/redir?resid=AD77AE76D657E280!166&authkey=!AFfIP0eVTDQdMAc&ithint=file%2cdocx
    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.

Maybe you are looking for

  • Freezing while opening Indesign CS5.5 files

    I'm having difficulty opening CS5.5 files. I designed them in CS3. Then I got CS5.5 and opened them in that and saved them. Every time I try to reopen them they freeze up. More specifically, if I double click a CS5.5 Indesign file, it freezes up EVER

  • HELP: Artwork on Nano

    i've added artwork to all of the songs on my nano but only one of the pictures for a song shows up. yes the "Manually manage songs and playlists" and "Display artwork.." option was checked. any help? thanks.

  • Running slow, running slow

    I thought that MAC's aren't supposed to get viruses.  Mine sure is acting like it has one.  It's running extremely slow.  What can I do to correct this?

  • Inheritable instance counter variable

    Here's a problem that's been bugging me for a while, and i'm sure there's a simple solution to it that is just escaping me. I'm developing a pluggable module based system, so i have my base class module with a reference counter counter += 1 in the co

  • What is the best and fastest browser to use, I have Windows 7 Home Premium, 32 bit version...

    if firefox is best, how do I UNinstall internet explorer 8? on my computer