IBM Support

LO82465: WHY NLNOTES.EXE AND NOTES2.EXE SEE DIFFERENT PATH VALUES?

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • ENV:
    
    standard Notes client R901FP2
    Process Explorer v16.04
    Win2008 64 bit (my test environment)
    
    Steps:
    
    1. Open control panel >> system>>edit environment variable
    
    only PATH field: append many folders such as:
    c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\1;
    c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\2 up to
    c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\52
    
    2. After this start your Notes client:
    
    3. Then start the "process explorer" (procexp.exe from
    Sysinternals).
    
    Choose nlnotes.exe, right click the mouse -> properties ->
    environment -> select "path" -> cntl-c -> start notepad ->
    cntl-v
    And you'll get the path settings of this process.
    On my client it looks this:
    
    Path
    C:\Notes\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbe
    m;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\temp\aaaaaaaaaa
    aaaaaaaaaaaaaaa\1;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\2;c:\temp\aa
    aaaaaaaaaaaaaaaaaaaaaaa\3;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\4;c:
    \temp\aaaaaaaaaaaaaaaaaaaaaaaaa\5;c:\temp\aaaaaaaaaaaaaaaaaaaaaa
    aaa\6;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\7;c:\temp\aaaaaaaaaaaaaa
    aaaaaaaaaaa\8;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\9;c:\temp\aaaaaa
    aaaaaaaaaaaaaaaaaaa\10;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\11;c:\t
    emp\aaaaaaaaaaaaaaaaaaaaaaaaa\12;c:\temp\aaaaaaaaaaaaaaaaaaaaaaa
    aa\13;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\14;c:\temp\aaaaaaaaaaaaa
    aaaaaaaaaaaa\15;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\16;c:\temp\aaa
    aaaaaaaaaaaaaaaaaaaaaa\17;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\18;c
    :\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\19;c:\temp\aaaaaaaaaaaaaaaaaaaa
    aaaaa\20;;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\21;c:\temp\aaaaaaaaa
    aaaaaaaaaaaaaaaa\22;;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\23;;c:\te
    mp\aaaaaaaaaaaaaaaaaaaaaaaaa\24;;c:\temp\aaaaaaaaaaaaaaaaaaaaaaa
    aa\25;;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\26;;c:\temp\aaaaaaaaaaa
    aaaaaaaaaaaaaa\27;;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\28;;c:\temp
    \aaaaaaaaaaaaaaaaaaaaaaaaa\29;;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa
    \30;;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\31;;c:\temp\aaaaaaaaaaaaa
    aaaaaaaaaaaa\32;;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\33;;c:\temp\a
    aaaaaaaaaaaaaaaaaaaaaaaa\34;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\35
    ;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\36;c:\temp\aaaaaaaaaaaaaaaaaa
    aaaaaaa\37;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\38;c:\temp\aaaaaaaa
    aaaaaaaaaaaaaaaaa\39;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\40;c:\tem
    p\aaaaaaaaaaaaaaaaaaaaaaaaa\41;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa
    \42;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\43;c:\temp\aaaaaaaaaaaaaaa
    aaaaaaaaaa\44;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\45;c:\temp\aaaaa
    aaaaaaaaaaaaaaaaaaaa\46;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\47;c:\
    temp\aaaaaaaaaaaaaaaaaaaaaaaaa\48;c:\temp\aaaaaaaaaaaaaaaaaaaaaa
    aaa\49;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\50;c:\temp\aaaaaaaaaaaa
    aaaaaaaaaaaaa\51;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\52
    
    
    4. Do the same with notes2.exe:
    Here's my value:
    
    Path
    C:\Notes\;C:\Notes\;C:/Notes/framework/../jvm/bin/j9vm;C:/Notes/
    framework/../jvm/bin;C:/Notes/framework/../jvm/lib/i386;C:\Notes
    \;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Win
    dows\System32\WindowsPowerShell\v1.0\;c:\temp\aaaaaaaaaaaaaaaaaa
    aaaaaaa\1;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\2;c:\temp\aaaaaaaaaa
    aaaaaaaaaaaaaaa\3;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\4;c:\temp\aa
    aaaaaaaaaaaaaaaaaaaaaaa\5;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\6;c:
    \temp\aaaaaaaaaaaaaaaaaaaaaaaaa\7;c:\temp\aaaaaaaaaaaaaaaaaaaaaa
    aaa\8;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\9;c:\temp\aaaaaaaaaaaaaa
    aaaaaaaaaaa\10;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\11;c:\temp\aaaa
    aaaaaaaaaaaaaaaaaaaaa\12;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\13;c:
    \temp\aaaaaaaaaaaaaaaaaaaaaaaaa\14;c:\temp\aaaaaaaaaaaaaaaaaaaaa
    aaaa\15;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\16;c:\temp\aaaaaaaaaaa
    aaaaaaaaaaaaaa\17;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\18;c:\temp\a
    aaaaaaaaaaaaaaaaaaaaaaaa\19;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\20
    ;;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\21;c:\temp\aaaaaaaaaaaaaaaaa
    aaaaaaaa\22;;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\23;;c:\temp\aaaaa
    aaaaaaaaaaaaaaaaaaaa\24;;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\25;;c
    :\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\26;;c:\temp\aaaaaaaaaaaaaaaaaaa
    aaaaaa\27;;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\28;;c:\temp\aaaaaaa
    aaaaaaaaaaaaaaaaaa\29;;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\30;;c:\
    temp\aaaaaaaaaaaaaaaaaaaaaaaaa\31;;c:\temp\aaaaaaaaaaaaaaaaaaaaa
    aaaa\32;;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\33;;c:\temp\aaaaaaaaa
    aaaaaaaaaaaaaaaa\34;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\35;c:\temp
    \aaaaaaaaaaaaaaaaaaaaaaaaa\36;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\
    37;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\38;c:\temp\aaaaaaaaaaaaaaaa
    aaaaaaaaa\39;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\40;c:\temp\aaaaaa
    aaaaaaaaaaaaaaaaaaa\41;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\42;c:\t
    emp\aaaaaaaaaaaaaaaaaaaaaaaaa\43;c:\temp\aaaaaaaaaaaaaaaaaaaaaaa
    aa\44;c:\temp\aaaaaaaaaaaaaaaaaaaaaaaaa\45;c:\temp;C:/Notes/fram
    ework/rcp/eclipse/plugins/com.ibm.rcp.os.win32_9.0.1.20131002-14
    04/os/win32/x86;C:/Notes/framework/rcp/eclipse/plugins/com.ibm.m
    obileservices.isync.win32.x86_9.1.3.1-20131002-1404/os/win32/x86
    ;C:/Notes/framework/rcp/eclipse/plugins/com.ibm.rcp.hunspell.win
    32_9.0.1.20131002-1404/os/win32/x86;C:/Notes/framework/../;C:\No
    tes\framework;
    
    
    And now you should see the difference:
    nlnotes.exe has all the c:\temp\aaaa... values where notes2.exe
    doesn't.
    And that's our problem. The path to our dll is the last one in
    the PATH variable and notes2.exe doesn't get it and therefore
    it isn't available in the IE (when it's opened out of Notes)
    
    And that's the problem!
    
    And therefore my questions:
    Why does the PATH variable become corrupted?
    How can we avoid the corruption of the PATH variable?
    How can we ensure that the PATH variable is correct in the
    browser?
    
    More info:
    
    You do not have to create the folders under the c:\temp
    directory.
    
    You just have to append these values rightmost to the PATH
    variable.
    

Local fix

  • Customer is quite sure that it depends on the length of the
    value of the PATH variable.
    
    If the PATH variable (before the start of Notes) is at least
    1.900 characters long, you should face the problem.
    

Problem summary

  • No plans to address
    

Problem conclusion

  • recommend path statement be modified to accomodate product
     limitation. Different code base (expeditor vs code/basic
     notes) is the reason for the difference.
    

Temporary fix

Comments

  • This APAR is associated with SPR# YGAO9Q5KSC.
    recommend path statement be modified to accomodate product
     limitation. Different code base (expeditor vs code/basic
     notes) is the reason for the difference.
    

APAR Information

  • APAR number

    LO82465

  • Reported component name

    NOTES CLIENT

  • Reported component ID

    5724E6255

  • Reported release

    901

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-10-22

  • Closed date

    2015-08-25

  • Last modified date

    2015-08-25

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSKTWP","label":"Lotus Notes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
25 August 2015