VLOOKUP on INFOPATH EQUAL MATCH

Hi,
I am executing a Vlookup in Infopath which I need to operate on a sharepoint.
I have a data connection list contianing different codes, e.g.
LIST 1, account 1, Codes: 27098, 8556, 0976
LIST 2, account 2, Codes: 2709, 6789, 6543.
In the main list, I am trying to get the correct account Name for those Main List-codes which match the Data connection List codes.
To do that, I set up the Vlookup on the main list as retriving datas from the column "Account" in the Data connection list, filtering by Code in data Connection List
containing the code entered in the Main List.
Nevertheless, what happens is that if the code I enter in the Main List is 2709 (as in the above example), the Vlookup gives me as a result "Account 1", in fact, the code 27098 does contain the code 2709.
I tried to filter the 2 codes to be equal, but at that stage the Vlooup doesn't work at all.
Can you please help?
Many thansk

Hi martinaalg, how do you have your Vlookup set up? Are you using EXACT or true to validate?
cameron rautmann

Similar Messages

  • VLOOKUP finds only one match

    Hi,
    I can successfully find a match using VLOOKUP:
    =IFERROR(VLOOKUP(KLARTEXT(F5);'table1'::sheet1::A:B;2;0);"")
    (I don`t know the English term for KLARTEXT = it turns a formulabased value into a string as 'table1'::sheet1::A contains strings)
    But there can be more more than just one matching cell and I need a way to find them all. LOOKUP does not work as I need exact matches.
    Any ideas ??
    Michael

    Hi Wayne,
    I managed to achieve my goal by using quite a lot of helping cells (rows and columns). Now I´m trying to get some of these extras put together in a hopefully not too long formula. One of the intermediate steps is to have all nonblank cells of a column range display in one cell - but I only came up with this really long way:
    =TRIM(E$3&" "&E$4&" "&E$5&" "&E$6&" "&E$7&" "&E$8&" "&E$9&" "&E$10&" "&E$11&" "&E$12&" "&E$13&" "&E$14&" "&E$15&" "&E$16&" "&E$17&" "&E$18&" "&E$19&" "&E$20&" "&E$21&" "&E$22&" "&E$23&" "&E$24&" "&E$25&" "&E$26&" "&E$27&" "&E$28&" "&E$29&" "&E$30&" "&E$31&" "&E$32&" "&E$33&" "&E$34)
    Would you know of a short and easier way to do this? It would be even better if the formula would not only look in the range but the whole column. I think I saw something like this been done by the footerrow - but cant find it anymore.
    Thanks, Michael

  • String equals, matches,, startsWith..endsWith...

    I got some problem and it is very weird for me ...
    For example:
    call method: toCompare("hello");
    method: toCompare(String s) {
    String sa [] = //get all the filename from a file ...// for examle sa contain hello
    // loop
    if (sa.equals(s) ...){ // it actually return true // others matches ..startsWiths .....
    however ...
    when I call method: toCompare(s[0]);
    in the method is actaully return false ...
    I am passing the same value ...
    Please help..
    I don't understand why ...
    Thanks

    >>>
    "if (sa.equals(s) ...){ // it actually return true // others matches ..startsWiths .....
    however ...
    when I call method: toCompare(s[0]);
    in the method is actaully return false ...
    I am passing the same value ..."
    >>>
    I'm assuming that by toCompare you mean compareTo...?
    if so, compareTo() returns an int, not a boolean. If it returns 0, then the two Objects being compared are equal.

  • Can VLOOKUP, OFFSET, INDEX and MATCH be used to SUM the value of cells from multiple tables?

    I have a problem thats needs a sulution. I have a Spreadsheet with multiple sheets and tables. The (Truck ) Sheets each represent a "Site" and the tables within from 1-31 show inventory counts for each day of the month.
    Shown below are Edited example's of a "Site" sheet and the Day tables contained within it.
    The Spreadsheet expands as a new "Site" (Truck ) is added regularly. Currently there are 30 "Sites" (Trucks).
    Also within the spreadsheet is a sheet (Checkpoint) which contains tables used to show summary data for each "Site" sheet. There is one table used to review one site, so currently there are 30 tables identical in format and structure reviewing 30 sites.
    An edited example of the summary table for Truck 1 is shown below.
    The table's in CP reference data within cells from other sheets. A LEN INDIRECT formula
    =IF(LEN(INDIRECT("Truck 1::Day "&COLUMN(cell)−3&"::K53",addr-style))<1,"",INDIRECT("Truck 1::Day "&COLUMN(cell)−3&"::k53",addr-style))
    was used to retrieve the values within certain cells. This formula works perfectly because when I add another "Site" I simply need to Dupicate a "Site" Template Sheet and then Copy Paste the LEN INDIRECT formula in to the newly created Summary table. 
    There is another sheet (Command Central) which contains a Master summary table. The Master Summary sheet is identical in structure to the CP Summary Tables. Its purpose is to show the combined data from the tables within Checkpoint (Truck 1-30). for instance MS::D5=Checkpoint::Truck 1:Truck 30::D5. I realize that Numbers cannot calculate cells within a range of table so I am hoping for a workaround. 
    Could someone please help me with a formula something like the LEN INDIRECT formula mentioned above or possible a something else that could work beside
    D5=Truck 1::D5,Truck 2::D5,Truck 3::D5...?
    When I use that formula type I will have to edit the formula every time I add a new site.
    Anothe issue Im having is getting D3:AH3 to show the correct count of names. I am using the following formula:
    D3=SUM(COUNTA(Truck 1::D3,Truck 2::D3,Truck 3::D3,Truck 4::D3))−SUM(COUNT(UNION.RANGES(Truck 1::D3,Truck 2::D3,Truck 3::D3,Truck 4::D3)))
    The cells it is counting are either blank (the refenced cell contains a LEN INDIRECT formula that places "" if needed) or contain a name. This formula works when I and addressing cells without the LEN INDIRECT formula. What am I doing wrong?

    Hello Wayne,
    Here are screenshots of the tables in question. The first on is the Master summary table.
    Cell D5 shows the value pulled from Checkpoint::Truck 1::D5
    Cell E5 shows the value pulled from Checkpoint::Truck 2::D5
    Cell F5 shows the value pulled from Checkpoint::Truck 3::D5
    Cell G5 shows the value pulled from Checkpoint::Truck 4::D5

  • 9@ Route Pattern Matched Issues

    Unfortunately I have to deal with a lot of 9@ route patterns in our deployment.  I understand weird things happen when 9@ is used, but even this one is boggling my mind.  So I was hoping someone could help me understand why it's doing what it's doing.
    I have a CSS with a collection of partitions.   I'll call the 3 I'm interested in the following: One-PT, Two-PT, Three-PT.
    One-PT has a route pattern of 9@ with the Local filter applied going to Gateway 1.
    Two-PT has a route pattern of 9@ with the Local filter applied going to Gateway 2.
    Three-PT has a route pattern of 9.XXXXXXXXXX with no filter applied (those are 10 Xs) going to Gateway 3.
    My phone is assigned to the CSS with these 3 partitions.  When I dial 9 981 xxx xxxx DNA says that 9@ from One-PT is always matched.  If I remove One-PT from the CSS, then 9@ in Two-PT is matched.  Only if I remove those 2 partitions does Three-PT get matched.
    Now, as I said above I understand 9@ can introduce weird routing issues, but I thought that the route pattern with 9 and 10 Xs would be more specific and it would be matched.  Obviously I was wrong, but I'm trying to understand why I was wrong. Is this because the 10 digit number dialed matches the NANP and the Local filter matches a NANP area code?  Thus it's the more exact match?
    Thanks!

    Hi,
    As per the following link
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/admin/5_0_4/ccmsys/ccmsys/a03rp.html#wp1050657
    "Using the @ Wildcard Character in Route Patterns
    Using the @ wildcard character in a route pattern provides a single route pattern to match all NANP numbers, and requires additional consideration.
    The number 92578912 matches both of the following route patterns: 9.@ and 9.XXXXXXX. Even though both these route patterns seem to equally match the address, the 9.@ route pattern actually provides the closest match. The @ wildcard character encompasses many different route patterns, and one of those route patterns is [2-9][02-9]XXXXX. Because the number 2578912 more closely matches [2-9][02-9]XXXXX than it does XXXXXXX, the 9.@ route pattern provides the closest match for routing."
    Also, check the following post
    https://supportforums.cisco.com/discussion/10698966/9-route-pattern
    HTH
    Manish

  • VBA Macro Vlook Up & highlight the matching amounts

    Hi Experts,
    I have spreadsheet in which 3 columns are in use A,B and C
    Requirements
    1. If there is an amount in column A and the count for the amount is more than 1 than all the similar amounts should be colored Pink.
    2. VLookUp : Perform a Vlookup  for finding the matching amounts of column A in Column B for whatever amounts a match is found those records should be copied in column c in the row where we have the column A amount and whatever amount are not found
    should be marked with #N/A
    Please find a sample below .
    Data-A
    DATA-B
    VLOOKUP
    15001
    15002
    15001
    15002
    15001
    #N/A
    15003
    15003
    15003
    15004
    15004
    15004
    15005
    15005
    15005
    15006
    15006
    15006
    15007
    15007
    15007
    15008
    15008
    15008
    15009
    15009
    15009
    15010
    15010
    15010
    15011
    15011
    15011
    15012
    15012
    15012
    15013
    15008
    15013
    15014
    15009
    15014
    15015
    15010
    15015
    15016
    15011
    15016
    15017
    15012
    15017
    15018
    15013
    15018
    15018
    15014
    15018
    15019
    15015
    #N/A
    15020
    15016
    #N/A
    15021
    15017
    #N/A
    15022
    15018
    #N/A
    Thanks
    Priya

    1. Select the data in column A.
    On the Home tab of the ribbon, click Conditional Formatting > Highlight Cells Rules > Duplicate Values...
    Click OK.
    As a macro:
    Sub Macro1()
    Dim rng As Range
    Set rng = Range(Range("A1"), Range("A" & Rows.Count).End(xlUp))
    With rng.FormatConditions
    .Delete
    With .AddUniqueValues
    .DupeUnique = xlDuplicate
    .Interior.Color = 13551615
    .Font.Color = -16383844
    End With
    End With
    End Sub
    2. I don't understand why C2 should contain #N/A - the 15002 in A2 matches the 15002 in B1.
    Apart from that: enter the following formula in C1:C23 and confirm it with Ctrl+Shift+Enter to make it an array formula:
    =VLOOKUP(A1:A23,B1:B23,1,FALSE)
    As a macro:
    Sub Macro2()
    Dim rng As Range
    Set rng = Range(Range("A1"), Range("A" & Rows.Count).End(xlUp))
    With rng.Offset(0, 2)
    .FormulaArray = "=VLOOKUP(" & rng.Address & "," & _
    rng.Offset(0, 1).Address & ",1,FALSE)"
    .Value = .Value
    End With
    End Sub
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • How to create combobox to display more than one columns

    I need kind help with the following question. As the combobox includes two pieces--textbox and the combobox list. Then how to create a combo box bean, which is based on table EMP(empno number(6), ename varchar2(40)) records for example, to achieve these features:
    1) allow more than one columns to be displayed in its records list--e.g., I need to show these records:
    empno (value) ename (label)
    103 David M Baker
    104 David M Baker
    105 Kelly J Volpe
    106 Krista F Carpenter
    107 Michelle P Silverman
    The two 'David M Baker's are different employees, but unfortunately, with the same name.
    2) allow combo box list to return the column value 'empno' even though it shows both columns as above. i.e., if user picks the second record above, then the combobox list returns 104 to the textbox in the background, but the 'David M Baker' is displayed on the textbox. Of course the combobox list may return 'David M Baker' if needed when there is only one column in the list as the current standard feature.
    3)allow partial match search by typing in some letters. i.e., if user types in the textbox of the combobox letter 'K' or 'k' then the partially matched records
    105 Kelly J Volpe
    106 Krista F Carpenter
    should be automatically displayed in the combobox list, not the whole list as above; then user may double click to choose one of the two or if user continues to type in 'R' or 'r', then the uniquely matched record 'Krista F Carpenter' is displayed in the textbox and the 106 is returned to the textbox.
    4) as a bonus if it's doable, allow combobox to return values to different textboxes when its records list has more than one columns.
    The reason I need these features is that I am working on the project migrated from Microsoft Access applications to centralized Java version web application. We at beginning promised to users community that Java swing will provide all the GUI user friendly features Microsoft Access has, but now we got stucked--we ate our words and got tons of complains from our users community. This is just the most needed component I posted here. I really hope that Java would add all the default GUI user-friendly features to compete with MS since its Win95 GUI has been accepted as industry standard. And most users are used to it. They claimed that they don't know and don't care what tool you use the newly created application should be more user friendly, not the opposite.
    I would be very much appreciated if any one would help me with this item.

    Thanks for your comments. I think nobody expects Sun to write everything including special features for its components. But I do think Sun should provide at least those standard user-friendly features for the GUI components because most users have been used to the GUI user-friendly features provided by Win95 and Access/Excel applications. Then this will help us to productively create applications to beat MS applications.
    Other wise like me, to get the existing GUI features, existed in old MS Access application, for our migrated Java application, I must re-create the GUI components library first which is a big burden to me at least, for others it might be fun for coding on their own from scratch, but I have to focus on the timing of project.
    If you really can pass the request to Sun and push them move a bit, please pass these words: before Sun starts to revise them, please play around window GUI, e.g., Access/Excel applications, then plan what to do, the bottom line is to equally match or better than them in FUNCTIONALITY(Look and feel is not my focus here). Don't ignore the influence of Windows regardless of you hate it or love it, the reality is most users are so familiar with windows GUI features which are accepted as industry standard. Thus the choice is to match or better to beat them. Don't make your car by closing your door, don't assume users will like what you come out in a closed room.

  • Select-options in flex

    I'm having a problem, I made a web dynpro application with select-options (using component reuse). But now I need to change the whole lay-out to a flex application. Is there a way to get the select-options in flex?
    Regards,
    Geert-Jan

    Hi Geert-Jan,
    There is no such equally matched control component in Flex to replace as is SELECT-OPTION.
    But you can give user ComboBox/TextInput controls to specify Operator (e.g. BT,EQ,GT etc as combobox entries), Low and High Values (simple text input fields or Combobox as per requirement).
    Then passing parameters to your query according to Operator selected.
    switch(Operator)
        case 'BT':
            // use where clause as between Low and high
            break;
        case 'EQ':
            // use where clause as equals Low only
            break;
        default:
            Alert.show("Error in input");
            break;
    It's easy to implement such logic.
    Hope this will help..
    Regards,
    Vivek

  • Regular expressions and input streams

    Hello,
    I am trying to find a way to read characters from a stream and find matches in them with regular expressions. The problem is that the stream may contain a big amount of characters, so I can't read all of them, keep them in a big string, and then perform the searches. Is there a way to perform searches while I read the characters? I scanned the documentation of Pattern and Matcher and found nothing that can help.
    Any ideas?
    Thanks.

    Looking at the method
    public Matcher Pattern.matcher(CharSequence input);
    one could be excused for assuming that one could turn an InputStream into a CharSequence object since a 'stream' implies sequencial access and CharSequence sounds like it provides sequential access.
    This would just require the implementation of 4 method of which two (toString() and subSequence()) could probably be ignored BUT the method you wouild have to implement are charAt() and length() which imply random access rather than sequencial access!
    Using the built in regex your problem looks difficult. If you are just looking for 'equality' matches (simple searching) then you could use Knuth-Morris-Pratt algorithm or the Boyer-Moore algorithm.

  • How can I make a Extras Casting check-in spreadsheet?

    I do extras casting for movies and was looking to make a spreadsheet for it. I have a .csv list of information (last name, first name, role, email, etc) and was looking for the spreadsheet to something kinda basic, when i type the last name in the spreadsheet that it will either automatically fill in the other blanks with the rest of the person's info or for it to have a pop-up window that would have all of the names and when i chose the one i want, then it would automatically populate the rest. I am extremely dumb when it comes to Numbers or Excel and I'm not sure how to do it...if anyone has any suggestions of a template to use or how to make one i would GREATLY appreciate it...Thanks

    What you're looing for is a Lookup table, containing the data for all cast members, and a calling table ("Main") to retrieve the data for named players.
    That's easily handled using one of the Lookup functions. My preference is for VLOOKUP, which allows you to specify an exact match:
    The complete data set is kept on the table "lookup", on the right.
    On the "main" table, each last name is entered in column A, and the information matching that name on the lookup table is returned to the cells to the right of that name using the formula below:
    main::B2: =IFERROR(VLOOKUP($A,lookup :: $A:$E,COLUMN(),FALSE),"NF")
    fill the formula down to row 10, and right to column E.
    VLOOKUP searches for the value in column A, looking in the first column of the lookup table (A), and returns the value in the nth column of that table. The FALSE argument makes VLOOKUP reject a 'close match', and accept only an exact match. 'nth' is set by the COLUMN() function, which returns the column number ofthe column containing that iteration of the formula.
    IF VLOOKUP does not find an exact match for the search value (see main::row 8 — Ell, and the rows below it where no value has yet been entered in column A), the error is caught by IFERROR, and the formula returns the text NF (Not Found).
    More detail on VLOOKUP, COLUMN and IFERROR can be found in the iWork Formulas and Functions User Guide, which can be downloaded via the Help menu in Numbers '09.
    Regards,
    Barry

  • Sinlge-thread program in multiple Java VM.

    I have a program that spawns two threads: one reads text line by line from a file, and places it in a LinkedBlockingQueue; The other takes stuff off the LinkedBlockingQueue, and processs it (no output to other file). Therefore this is a typical Producer and Consumer setup. I use two threads for one each. The program is run from Windows XP command window.
    It runs fine. Processes big text files as expected, even though the CPU % is kind of high. Then, just for fun, I started five command windows to run one instance in each, but with different files. CPU % in task manager spikes to 100%, and the processing in each window slows down dramatically, to only about 2000 rows in every 30 or 40 seconds.
    The code posted below is actul code of the program. Runs fine in single command window but terribly slow in multiple windows (with different data file.). The getAnswer() is a bad stuff. I should have had used Callable instead but it is not important.
    Can anyone review the code and let me know what is the cause of slowdown, or I just should run it in mulitple instances in multiple command windows?
    import java.io.*;
    import java.util.*;
    import java.util.concurrent.*;
    // --------- file reading thread ----------------------
    class fReader implements Runnable {
    private LinkedBlockingQueue<ArrayList<String>> q=null;
    private String input_f=null;
    private BufferedReader br=null;
    private int total=0;
    public fReader(LinkedBlockingQueue<ArrayList<String>> q, String filename) throws IOException {
    q=_q;
    input_f=file_name;
    br=new BufferedReader(new FileReader(input_f));
    public int getAnswer(){return total;}
    public void run(){
    ArrayList<String> tb=new ArrayList<String>();
    String s=null;
    try {
    while(true){
         for (int z=0; z<200; z++) {
              s=br.readLine();
              if (s==null) break;
              total++;
              tb.add(s.trim());
         if (s==null) break;
         q.put(tb);
         tb=new ArrayList<String>();
         Thread.yield();
    tb.add(s);
    q.put(tb);
    br.close();
    catch(IOException e1){}
    catch(InterruptedException e2){}
    // ----- file processing thread ----------
    class fProc implements Runnable {
    private LinkedBlockingQueue<ArrayList<String>> q=null;
    private String output_f=null;
    private PrintWriter pw=null;
    private String match=null;
    private int total=0;
    public fProc(LinkedBlockingQueue<ArrayList<String>> q, String filename, String match_s) throws IOException {
    output_f=file_name;
    q=_q;
    pw=new PrintWriter(new BufferedWriter(new FileWriter(output_f)));
    match=match_s;
    public int getAnswer(){return total;}
    public void run(){
    ArrayList<String> p=null;
    boolean busy=true;
    while(busy){
         p=q.poll();
         if (p==null) {
              Thread.yield();
              continue;
    // loop, count, and print at the end of the processing
         Iterator ir=p.iterator();
         while(ir.hasNext()){
              String x=(String)ir.next();
              ir.remove();
              if (x==null){
                   busy=false; break;
              else {
                   String[] m=x.split("[,]");
                   String[] n=m[2].split("[\"]"); // null(0), something(1), null(0)
                   if (n[1].equals(match))
                        total++;
              Thread.yield();
         p=null;
         System.out.println("Processing");
    if (pw!=null) pw.close();
    // end of run()     
    // end of class
    public class pf2 {
    private String date_value=null, fn_ext=null;
    private File _file=null;
    private File _dest=null;
    public pf2(){_file=null;_dest=null;}
    // -------------- application start point ----------------
    public static void main(String[] args) throws IOException{
    if (args.length!=1){
         System.out.println("Usage: java pf2 <filename.ext>");
         System.out.println("Example: java pf2 vwo.2011-01-18.csv");
         return;
    String inputf=".\\original\\"+args[0];// args[0] is the filename with extension.
    String outputf=".\\data\\"+args[0];// args[0] is the filename with extension.
    // split the date string in input file name.
    String[] date_s=args[0].split("[.]+")[1].split("[-]+");
    String date2=String.format(
         "%s/%s/%s",
         Integer.toString(Integer.parseInt(date_s[1])),
         Integer.toString(Integer.parseInt(date_s[2])),
         Integer.toString(Integer.parseInt(date_s[0]))
    ExecutorService es=Executors.newFixedThreadPool(4);
    LinkedBlockingQueue<ArrayList<String>> q=new LinkedBlockingQueue<ArrayList<String>>();
    fReader input=null;
    fProc output=null;
    try {
         input=new fReader(q, inputf);
         output=new fProc(q, outputf, date2);
    catch(IOException e3){
         System.out.println(e3.getMessage());
         return;
    // starts the program here
    System.out.println("Running ....");
    es.execute(input);
    es.execute(output);
    es.shutdown();
    while(!es.isTerminated());
    System.out.printf("Read %d row(s), %d of them are good.\n", input.getAnswer(), output.getAnswer());
    float v=new Integer(output.getAnswer()).floatValue()/new Integer(input.getAnswer()).floatValue();
    System.out.printf("Bad rate=%.2f%%.\n", (1-v)*100);
    System.out.print("Press a key to continue.");
    while(System.in.read()==-1);
    // end of main()
    // end of class pf
    }

    As @EJP suggests, disk work best when read serially. When the OS detects you are reading a file serially it will prefetch the next data you need. You may find that removing the reader thread is faster as you are doubling up what the OS does for you.
    However, when you read multiple files from the same disk the head has to move around more, slowing it down significantly. I would suggest only using multiple readers when you have multiple independent disks. (Though I have never seen this work well on Windows, only on Unix)

  • JSSE 1.0.2 : Unsupported keyword OID.2.5.4.5 (id-at-serialNumber)

    Hi,
    I am encountering the following exception when opening an SSL connection to an
    HTTPS web server (running apache + mod_ssl ) :
    java.io.IOException: unsupported keyword OID.2.5.4.5
    at com.sun.net.ssl.internal.ssl.AVA.<init>([DashoPro-V1.2-120198])
    at com.sun.net.ssl.internal.ssl.RDN.<init>([DashoPro-V1.2-120198])
    at com.sun.net.ssl.internal.ssl.X500Name.a([DashoPro-V1.2-120198])
    at com.sun.net.ssl.internal.ssl.X500Name.<init>([DashoPro-V1.2-120198])
    at
    com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V1.2-120198])
    at
    com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V1.2-120198])
    at
    com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V1.2-120198])
    at
    com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connect([DashoPro-V
    1.2-120198])
    at
    com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getInputStream([Das
    hoPro-V1.2-120198])
    at [...]The web server's X.509 V3 certificate was acquired from Certinomis (a
    french company - www.certinomis.com), and I have imported its root CA and
    intermediate CA into my client JVM's keystore using keytool.
    After a short investigation, it looks like it is a bug of JSSE 1.0.2
    implementation which doesn't recognize the Object Id 2.5.4.5 which
    according to the following page, is a standard X.500 attribute :
    http://www.alvestrand.no/objectid/2.5.4.5.html
    Here is an excerpt of this page :
    2.5.4.5 - id-at-serialNumber
    OID value: 2.5.4.5
    OID description: The Serial Number attribute type specifies an identifier, the
    serial number of a device.
    An attribute value for Serial Number is a printable string.
    serialNumber ATTRIBUTE ::= {
    WITH SYNTAX PrintableString (SIZE (1..ub-serialNumber))
    EQUALITY MATCHING RULE caseIgnoreMatch
    SUBSTRINGS MATCHING RULE caseIgnoreSubstringsMatch
    ID id-at-serialNumber
    }The very same code works when accessing web sites using Verisign certificates
    which do not contain such a 2.5.4.5 OID in the certificate subject, so it may
    well be dued to a malformation of the Certinomis certificate.
    Any help appreciated,
    Patrick DECAT.
    Following is the trace printed out when running the JVM with
    -Djavax.net.debug=all (binary blocks replaced by [...]) :
    C:\java\jdk1.3.1\bin\javaw -classpath
    C:\Development\HttpsReader\classes;
    C:\java\jsse1.0.2\lib\jsse.jar;C:\java\jsse1.0.2\lib\jnet.jar;
    C:\java\jsse1.0.2\lib\jcert.jar;C:\java\jdk1.3.1\jre\lib\i18n.jar;
    C:\java\jdk1.3.1\jre\lib\jaws.jar;C:\java\jdk1.3.1\jre\lib\rt.jar;
    C:\java\jdk1.3.1\jre\lib\sunrsasign.jar;C:\java\jdk1.3.1\lib\dt.jar;
    C:\java\jdk1.3.1\lib\tools.jar
    -Djavax.net.debug=all HttpsReader
    keyStore is :
    keyStore type is : jks
    init keystore
    init keymanager of type SunX509
    trustStore is: C:\java\jdk1.3.1\jre\lib\security\jssecacerts
    trustStore type is : jks
    init truststore
    adding as trusted cert: [
      Version: V3
      Subject: CN=CertiNomis, OU=AC Racine - Root CA, O=CertiNomis, C=FR
      Signature Algorithm: SHA1withRSA, OID = 1.2.840.113549.1.1.5
      Key:  com.sun.rsajca.JSA_RSAPublicKey@19681b
      Validity: [From: Thu Nov 09 01:00:00 CET 2000,
                   To: Fri Nov 09 01:00:00 CET 2012]
      Issuer: CN=CertiNomis, OU=AC Racine - Root CA, O=CertiNomis, C=FR
      SerialNumber: [    30303030 39373337 35373338 36303030 ]
    Certificate Extensions: 3
    [1]: ObjectId: 2.5.29.14 Criticality=false
    SubjectKeyIdentifier [
    KeyIdentifier [
    0000: [...]
    [2]: ObjectId: 2.5.29.15 Criticality=false
    KeyUsage [
      DigitalSignature
      Key_CertSign
      Crl_Sign
    [3]: ObjectId: 2.5.29.19 Criticality=true
    BasicConstraints:[
    CA:true
    PathLen:2147483647
      Algorithm: [SHA1withRSA]
      Signature:
    0000: [...]
    adding as trusted cert: [
      Version: V3
      Subject: CN=CertiNomis Classe 2, O=CertiNomis, C=FR
      Signature Algorithm: SHA1withRSA, OID = 1.2.840.113549.1.1.5
      Key:  com.sun.rsajca.JSA_RSAPublicKey@bc49d
      Validity: [From: Wed Nov 29 01:00:00 CET 2000,
                   To: Mon Nov 29 01:00:00 CET 2004]
      Issuer: CN=CertiNomis, OU=AC Racine - Root CA, O=CertiNomis, C=FR
      SerialNumber: [    30303030 39373534 38383434 39303030 ]
    Certificate Extensions: 6
    [1]: ObjectId: 2.16.840.1.113730.1.1 Criticality=false
    NetscapeCertType [
       SSL CA
       S/MIME CA
       Object Signing CA]
    [2]: ObjectId: 2.5.29.14 Criticality=false
    SubjectKeyIdentifier [
    KeyIdentifier [
    0000: [...]
    [3]: ObjectId: 2.5.29.35 Criticality=false
    AuthorityKeyIdentifier [
    KeyIdentifier [
    0000: [...]
    [4]: ObjectId: 2.5.29.31 Criticality=false
    Extension unknown: DER encoded OCTET string =
    0000: [...]
    [5]: ObjectId: 2.5.29.15 Criticality=false
    KeyUsage [
      DigitalSignature
      Key_CertSign
      Crl_Sign
    [6]: ObjectId: 2.5.29.19 Criticality=true
    BasicConstraints:[
    CA:true
    PathLen:2147483647
      Algorithm: [SHA1withRSA]
      Signature:
    0000: [...]
    init context
    trigger seeding of SecureRandom
    done seeding SecureRandom
    %% No cached client session
    *** ClientHello, v3.1
    RandomCookie:  GMT: 993394508 bytes = { 24, 22, 81, 16, 235, 187, 118, 86, 45,
    138, 98, 195,
    155, 110, 203, 166, 77, 227, 57, 128, 191, 247, 109, 154, 243, 212, 78, 25 }
    Session ID:  {}
    Cipher Suites:  { 0, 5, 0, 4, 0, 9, 0, 10, 0, 18, 0, 19, 0, 3, 0, 17 }
    Compression Methods:  { 0 }
    [write] MD5 and SHA1 hashes:  len = 59
    0000: [...]
    AWT-EventQueue-0, WRITE:  SSL v3.1 Handshake, length = 59
    [write] MD5 and SHA1 hashes:  len = 77
    0000: [...]
    AWT-EventQueue-0, WRITE:  SSL v2, contentType = 22, translated length = 16310
    AWT-EventQueue-0, READ:  SSL v3.1 Handshake, length = 74
    *** ServerHello, v3.1
    RandomCookie:  GMT: 993394166 bytes = { 7, 124, 93, 170, 159, 46, 253, 150, 76,
    123, 239,
    155, 27, 14, 132, 20, 203, 83, 219, 221, 217, 201, 21, 212, 79, 18, 122, 73 }
    Session ID:  {179, 250, 40, 17, 25, 73, 235, 228, 229, 141, 93, 207, 137, 204, 71,
    144, 235,
    210, 99, 135, 15, 169, 170, 141, 156, 3, 58, 135, 178, 196, 112, 222}
    Cipher Suite:  { 0, 5 }
    Compression Method: 0
    %% Created:  [Session-1, SSL_RSA_WITH_RC4_128_SHA]
    ** SSL_RSA_WITH_RC4_128_SHA
    [read] MD5 and SHA1 hashes:  len = 74
    0000: [...]
    AWT-EventQueue-0, READ:  SSL v3.1 Handshake, length = 1088
    *** Certificate chain
    chain [0] = [
      Version: V3
      Subject: OID.2.5.4.5=10052821, OU=Certificat Mercatis,
    [email protected], CN=xxxxxx.xxxxxxxx.com, OU=FC,
    O=XXXXXXXXX-XXXXXXXXX, L=Paris, ST=Paris, C=FR
      Signature Algorithm: SHA1withRSA, OID = 1.2.840.113549.1.1.5
      Key:  com.sun.rsajca.JSA_RSAPublicKey@4a0115
      Validity: [From: Fri Mar 23 11:54:32 CET 2001,
                   To: Sun Mar 24 11:54:32 CET 2002]
      Issuer: CN=CertiNomis Classe 2, O=CertiNomis, C=FR
      SerialNumber: [    39383533 34313237 32353633 ]
    Certificate Extensions: 8
    [1]: ObjectId: 2.16.840.1.113730.1.1 Criticality=false
    NetscapeCertType [
       SSL server
       S/MIME
       Object Signing
    [2]: ObjectId: 2.5.29.14 Criticality=false
    SubjectKeyIdentifier [
    KeyIdentifier [
    0000: [...]
    [3]: ObjectId: 2.5.29.32 Criticality=false
    Extension unknown: DER encoded OCTET string =
    0000: [...]
    [4]: ObjectId: 2.5.29.35 Criticality=false
    AuthorityKeyIdentifier [
    KeyIdentifier [
    0000: [...]
    [5]: ObjectId: 2.5.29.31 Criticality=false
    Extension unknown: DER encoded OCTET string =
    0000: [...]
    [6]: ObjectId: 2.5.29.17 Criticality=false
    SubjectAlternativeName [
    [RFC822Name: [email protected]]]
    [7]: ObjectId: 2.5.29.15 Criticality=false
    KeyUsage [
      DigitalSignature
      Non_repudiation
      Key_Encipherment
      Data_Encipherment
    [8]: ObjectId: 2.5.29.19 Criticality=true
    BasicConstraints:[
    CA:false
    PathLen: undefined
      Algorithm: [SHA1withRSA]
      Signature:
    0000: [...]
    add missing root cert: [
      Version: V3
      Subject: CN=CertiNomis Classe 2, O=CertiNomis, C=FR
      Signature Algorithm: SHA1withRSA, OID = 1.2.840.113549.1.1.5
      Key:  com.sun.rsajca.JSA_RSAPublicKey@bc49d
      Validity: [From: Wed Nov 29 01:00:00 CET 2000,
                   To: Mon Nov 29 01:00:00 CET 2004]
      Issuer: CN=CertiNomis, OU=AC Racine - Root CA, O=CertiNomis, C=FR
      SerialNumber: [    30303030 39373534 38383434 39303030 ]
    Certificate Extensions: 6
    [1]: ObjectId: 2.16.840.1.113730.1.1 Criticality=false
    NetscapeCertType [
       SSL CA
       S/MIME CA
       Object Signing CA]
    [2]: ObjectId: 2.5.29.14 Criticality=false
    SubjectKeyIdentifier [
    KeyIdentifier [
    0000: [...]
    [3]: ObjectId: 2.5.29.35 Criticality=false
    AuthorityKeyIdentifier [
    KeyIdentifier [
    0000: [...]
    [4]: ObjectId: 2.5.29.31 Criticality=false
    Extension unknown: DER encoded OCTET string =
    0000: [...]
    [5]: ObjectId: 2.5.29.15 Criticality=false
    KeyUsage [
      DigitalSignature
      Key_CertSign
      Crl_Sign
    [6]: ObjectId: 2.5.29.19 Criticality=true
    BasicConstraints:[
    CA:true
    PathLen:2147483647
      Algorithm: [SHA1withRSA]
      Signature:
    0000: [...]
    stop on trusted cert: [
      Version: V3
      Subject: CN=CertiNomis Classe 2, O=CertiNomis, C=FR
      Signature Algorithm: SHA1withRSA, OID = 1.2.840.113549.1.1.5
      Key:  com.sun.rsajca.JSA_RSAPublicKey@bc49d
      Validity: [From: Wed Nov 29 01:00:00 CET 2000,
                   To: Mon Nov 29 01:00:00 CET 2004]
      Issuer: CN=CertiNomis, OU=AC Racine - Root CA, O=CertiNomis, C=FR
      SerialNumber: [    30303030 39373534 38383434 39303030 ]
    Certificate Extensions: 6
    [1]: ObjectId: 2.16.840.1.113730.1.1 Criticality=false
    NetscapeCertType [
       SSL CA
       S/MIME CA
       Object Signing CA]
    [2]: ObjectId: 2.5.29.14 Criticality=false
    SubjectKeyIdentifier [
    KeyIdentifier [
    0000: [...]
    [3]: ObjectId: 2.5.29.35 Criticality=false
    AuthorityKeyIdentifier [
    KeyIdentifier [
    0000: [...]
    [4]: ObjectId: 2.5.29.31 Criticality=false
    Extension unknown: DER encoded OCTET string =
    0000: [...]
    [5]: ObjectId: 2.5.29.15 Criticality=false
    KeyUsage [
      DigitalSignature
      Key_CertSign
      Crl_Sign
    [6]: ObjectId: 2.5.29.19 Criticality=true
    BasicConstraints:[
    CA:true
    PathLen:2147483647
      Algorithm: [SHA1withRSA]
      Signature:
    0000: [...]
    [read] MD5 and SHA1 hashes:  len = 1088
    0000: [...]
    AWT-EventQueue-0, READ:  SSL v3.1 Handshake, length = 4
    *** ServerHelloDone
    [read] MD5 and SHA1 hashes:  len = 4
    0000: [...]
    *** ClientKeyExchange, RSA PreMasterSecret, v3.1
    Random Secret:  { 3, 1, 94, 206, 199, 220, 80, 40, 86, 42, 59, 54, 23, 92, 139,
    128, 16, 86, 141, 241, 78, 190, 245, 233, 179, 240, 248, 239, 144, 179, 120,
    41, 52, 117, 74, 230, 249, 185, 175, 141, 182, 0, 207, 81, 217, 66, 216, 69 }
    [write] MD5 and SHA1 hashes:  len = 134
    0000: [...]
    AWT-EventQueue-0, WRITE:  SSL v3.1 Handshake, length = 134
    SESSION KEYGEN:
    PreMaster Secret:
    0000: [...]
    CONNECTION KEYGEN:
    Client Nonce:
    0000: [...]
    Server Nonce:
    0000: [...]
    Master Secret:
    0000: [...]
    Client MAC write Secret:
    0000: [...]
    Server MAC write Secret:
    0000: [...]
    Client write key:
    0000: [...]
    Server write key:
    0000: [...]
    ... no IV for cipher
    AWT-EventQueue-0, WRITE:  SSL v3.1 Change Cipher Spec, length = 1
    *** Finished, v3.1
    verify_data:  { 48, 119, 230, 86, 67, 207, 57, 59, 18, 222, 4, 107 }
    [write] MD5 and SHA1 hashes:  len = 16
    0000: [...]
    Plaintext before ENCRYPTION:  len = 36
    0000: [...]
    AWT-EventQueue-0, WRITE:  SSL v3.1 Handshake, length = 36
    AWT-EventQueue-0, READ:  SSL v3.1 Change Cipher Spec, length = 1
    AWT-EventQueue-0, READ:  SSL v3.1 Handshake, length = 36
    Plaintext after DECRYPTION:  len = 36
    0000: [...]
    *** Finished, v3.1
    verify_data:  { 238, 82, 186, 214, 115, 130, 241, 249, 113, 52, 93, 58 }
    %% Cached client session: [Session-1, SSL_RSA_WITH_RC4_128_SHA]
    [read] MD5 and SHA1 hashes:  len = 16
    0000: [...]
    Finalizer, SEND SSL v3.1 ALERT:  warning, description = close_notify
    Plaintext before ENCRYPTION:  len = 22
    0000: [...]
    Finalizer, WRITE:  SSL v3.1 Alert, length = 22

    Just to keep this thread updated, here is some information I got from Sun's support :
    "They have closed this as a duplicate of the other bug[The bug was already identified internally].
    The fix for it has been put into build # 71 of merlin (1.4).
    I don't yet know whether that build is (or will be) early enough to be part of merlin-beta2 (second public beta).
    In any case, the problem has been fixed. It's just a matter of when it will
    appear in a publicly-available form."

  • LDAP compare not working as documented in SDK

    I'm developing a Java application against Novell eDirectory 8.8 SP6 with
    LDAP and seeing some differences between the Novell LDAP SDK
    Documentation and the actual LDAP implementation inside eDirectory for
    LDAP. The problem is that compare(java.lang.String dn, LDAPAttribute
    attr) method of com.novell.ldap.LDAPConnection is not working as
    described. I've noticed two strange issues:
    1) LDAP COMPARE THROWS AN ERROR WHEN IT SHOULD NOT
    According to the documentation ( the value FALSE should be returned when
    the entry does not have the value or the attribute. However, eDirectory
    return a -603 LDAP error when yo do a compare on an entry which does not
    have the attribute (it does exist in the schema though).
    In example:
    Compare on User John Doe without any value for myauxattr:
    ldapcompare -x -H ldap://ldapserver.test.com -D cn=admin,o=org -w
    <password> cn=jdoe,ou=users,o=org myauxattr:testfornomatch
    COMPARE RESULT: NO SUCH ATTRIBUTE (16)
    ADDITIONAL INFO: NDS ERROR: NO SUCH ATTRIBUTE (-603)
    UNDEFINED[/B] --> INCORRECT RESPONSE
    COMPARE ON USER JOHN DOE WITH VALUE 'TESTFORNOMATCH' FOR MYAUXATTR:
    LDAPCOMPARE -X -H LDAP://LDAPSERVER.TEST.COM -D CN=ADMIN,O=ORG -W
    <PASSWORD> CN=JDOE,OU=USERS,O=ORG MYAUXATTR:TESTFORNOMATCH
    TRUE
    COMPARE ON USER JOHN DOE WITH VALUE 'OTHERVALUE' FOR MYAUXATTR:
    LDAPCOMPARE -X -H LDAP://LDAPSERVER.TEST.COM -D CN=ADMIN,O=ORG -W
    <PASSWORD> CN=JDOE,OU=USERS,O=ORG MYAUXATTR:TESTFORNOMATCH
    FALSE
    *1) LDAP COMPARE DOES NOT THROW AN ERROR WHEN IT SHOULD
    Moreover, if you don't have the Compare Rights to that attribute,
    eDirectory always returns FALSE on a LDAP compare, which I beleive is
    not correct. A return value of FALSE implicitly states that the compare
    could be done, but no match is found. However, insufficient rights
    prevent the compare, so eDirectory should throw an error. Something like
    LDAP: error code 50 INSUFFICIENT_ACCESS_RIGHTS.
    In example:
    Compare on User John Doe without any value for myauxattr and no compare
    rights:
    ldapcompare -x -H ldap://ldapserver.test.com -D cn=limiteduser,o=org -w
    <password> cn=jdoe,ou=users,o=org myauxattr:testfornomatch
    [B]FALSE* --> incorrect response
    Compare on User John Doe with value 'testfornomatch' for myauxattr and
    no compare rights:
    ldapcompare -x -H ldap://ldapserver.test.com -D cn=limiteduser,o=org -w
    <password> cn=jdoe,ou=users,o=org myauxattr:testfornomatch
    *FALSE* --> incorrect response
    Compare on User John Doe with value 'othervalue' for myauxattr and no
    compare rights:
    ldapcompare -x -H ldap://ldapserver.test.com -D cn=limiteduser,o=org -w
    <password> cn=jdoe,ou=users,o=org myauxattr:testfornomatch
    *FALSE* --> incorrect response
    My question is: should I file this as a bug or is the LDAP SDK
    documentation invalid?
    sveldhuisen
    sveldhuisen's Profile: https://forums.netiq.com/member.php?userid=1813
    View this thread: https://forums.netiq.com/showthread.php?t=48106

    Thanks Ab for pointing that out. That explains the error when doing a
    compare on an entry without that attirbute. However, if no compare
    rights are given, LDAP compare shoudl throw an error as well. This part
    seems like a bug to me. My conclusion is that the documentation of JLDAP
    is incorrect and we have a bug upon insufficient rights. Interesting is
    that also the code Examples for LDAP compare in the SDK are invalid as
    well: no check is done if the attribute exists on the entry before
    calling LDAP compare.
    ab;231062 Wrote:
    > I think what you are seeing is correct per RFC 4511:
    >
    > <quote>
    > Upon receipt of a Compare Request, a server will attempt to perform
    > the requested comparison and return the result in the Compare
    > Response, defined as follows:
    >
    > CompareResponse ::= [APPLICATION 15] LDAPResult
    >
    > The resultCode is set to compareTrue, compareFalse, or an appropriate
    > error. compareTrue indicates that the assertion value in the ava
    > field matches a value of the attribute or subtype according to the
    > attribute's EQUALITY matching rule. compareFalse indicates that the
    > assertion value in the ava field and the values of the attribute or
    > subtype did not match. Other result codes indicate either that the
    > result of the comparison was Undefined (Section 4.5.1.7), or that
    > some error occurred.
    > </quote>
    >
    > Note the part about an "appropriate error", and the bit about the
    > comparison being Undefined. The full RFC can be read in many places,
    > such
    > as the following URL:
    >
    > http://www.ietf.org/rfc/rfc4511.txt
    >
    > Good luck.
    sveldhuisen
    sveldhuisen's Profile: https://forums.netiq.com/member.php?userid=1813
    View this thread: https://forums.netiq.com/showthread.php?t=48106

  • Does using two bus powered external devices MacBook Pro 13" put too much strain on the power supply?

    Will daisy chaining two bus powered external devices put too much strain on my 2011 MacBook Pro 13" power supply?  Specifically I would like use ProTools with a LaCie bus powered hard disc and a Digidesign Mbox 2 Pro which is also bus powered with firewire.

    Hi rrlavigne,
    The biggest difference between the two machines in maximum RAM capacity. The white MacBook is limited to 4GB, whereas the MacBook Pro will support 8GB of RAM. While the cost of RAM is prohibitory right now (to go to 8GB), to have that flexibility in the future will very much be worth it... especially considering you intend to install Logic.
    Other than that, I think in terms of "raw performance" the machines are very equally matched. You're paying for the unibody design, backlight keyboard, SD card and new battery technology for that $200 premium (in addition to the slight CPU bump).

  • GR shows as available though invoices are processsed more than G R . MR11

    Hi experts
    I have  a query , There are more invoices processed against A  PO than Goods receipted.All invoices have been paid
    All GR have been done  MR11
    An invoice got paid after MR11 was done
    If we try to process another invoice the GRs show as available
    My understanding was that once MR11 was done for GRs they wouldn't be available to process against them anymore
    Is that correct or other wise what is the functionality of it .
    Thanks in Advance .
    Points are assigned .
    Regards
    Ravindra.

    Thanks for your comments. I think nobody expects Sun to write everything including special features for its components. But I do think Sun should provide at least those standard user-friendly features for the GUI components because most users have been used to the GUI user-friendly features provided by Win95 and Access/Excel applications. Then this will help us to productively create applications to beat MS applications.
    Other wise like me, to get the existing GUI features, existed in old MS Access application, for our migrated Java application, I must re-create the GUI components library first which is a big burden to me at least, for others it might be fun for coding on their own from scratch, but I have to focus on the timing of project.
    If you really can pass the request to Sun and push them move a bit, please pass these words: before Sun starts to revise them, please play around window GUI, e.g., Access/Excel applications, then plan what to do, the bottom line is to equally match or better than them in FUNCTIONALITY(Look and feel is not my focus here). Don't ignore the influence of Windows regardless of you hate it or love it, the reality is most users are so familiar with windows GUI features which are accepted as industry standard. Thus the choice is to match or better to beat them. Don't make your car by closing your door, don't assume users will like what you come out in a closed room.

Maybe you are looking for