Strange behaviour of name used for desktop icon when mounting SMB shares

My iMac is joined to a Windows Active Directory domain. This works fine. User logins are setup to mount various Windows shares at login time using some custom scripts that I have written, invoked from an Applescript app that runs as a login item. Again this works very nicely. The one strange thing is as follows, and this is troublesome for me...
The sequence of commands used to perform the mount is:
mkdir /Volumes/mountpoint
mount -t smbfs //servername/sharename /Volumes/mountpoint
This correctly mounts the share on /Volumes/mountpoint
but the desktop icon that appears as a result is called 'sharename' not 'mountpoint'. Why is this a problem? Well consider that one has the following shares that one wants to mount:
//Server1/System (will be mounted on /Volumes/Server1System)
//Server2/System (will be mounted on //Volumes/Server2System)
what I'd like to see are two desktop icons with names 'Server1System' and 'Server2System' but in fact I end up with two icons both called 'System' with no way to tell which is which other than actually opening one of them in Finder.
Anyone know
(a)    Is this behaviour expected (i.e. by design)?
(b)    Is there a way to control the name used for the desktop icon when mounting things this way?
Thanks!

But, to invoke your app you will need to include it, otherwise you get the error above
sometimes you call
http://host:port/blank/page.jsp
instead of
http://host:port/blank/faces/page.jsp
In the last one the Faces Servlet will get your request and locate page.jsp inside the faces context. If you don't include it then you get that error

Similar Messages

  • Can anyone please help? Every time I start up my imac OSX 10.6 desktop my Aperture 3 programme opens up without being requested. Is it possible to stop this from happening and only open by using the desktop icon? Thank you for any assistance.

    Can anyone please help? Every time I start up my imac OSX 10.6 desktop my Aperture 3 programme opens up without being requested. Is it possible to stop this happening and only allow Aperture to open by using the desktop icon? Thank you for any assistance anyone may be able to give.
    Best regards, John.

    because there is absolutely no mention in my System Preferences of either Users & Groups nor Start Up Items.
    John,
    William's solution was much easier - just for completeness sake: The preferences panes to edit your startup items moved between the Mac OS X updates: I forgot that the "Users&Groups" preference pane used to be called "Users" in Mac OS X 10.6; it is the panel that you use to create new User accounts; and earlier systems had a separate preferences panel "Login" to enable and to disable the applications that are launched at login. Both are now combined in "Users&Groups". Sorry for sending you on a wild goose chase with the wrong Preferences panel.
    Regards
    Léonie

  • What is the logical system name used for in R/3?

    We have a R/3 server. The production client has a logical system name. What is the logical system name used for?
    Tony Tam

    Hi Tony
    Following Links will help you in understanding the concept
    http://benstudycenter.blogspot.com/2008/02/logical-system.html
    http://help.sap.com/saphelp_sm32/helpdata/en/78/217dc151ce11d189570000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_sm32/helpdata/en/78/217dc151ce11d189570000e829fbbd/frameset.htm
    thanks
    Bhudev

  • Choose accent color for hovered icons when using dark interface in Bridge?

    How about add the ability to choose the accent color for hovered icons when using a dark interface in Bridge?  Currently, the icon color remains orange and unchangeable.  Personally, I would prefer a blue accent color to match my system.  Any chance of making this possible in CS6?

    Oh, I should add that I'm looking for solutions somewhat up-to-date and/or are related to or designed for 10.6 Snow Leonard. I did a search for answers before asking the question, and the (mostly unsatisfactory) answers I found were all from several years ago and applied to earlier versions of OSX (10.3, 10.4, etc.), and therefore no longer were relevant or usable.

  • FINDER disappears, along with desktop icons, when I plug in external drive

    Hello, All:
    FINDER disappears, along with desktop icons, when I plug in an external memory card from my Nikon camera. This also happens regardless of which USB port I plug it in to. It didn't happen when I installed Leopard two weeks ago, but happens all the time now.
    Interestingly, the desktop icons (hard drives and files) DO show up when I open any software program and try to open up a file. The hard drives and files show up in the Open File windows.
    Thank you,
    Jon

    THANK YOU! I've been having the same problem, and the solution you linked to worked perfectly for me. Somehow, my computer's sharing name had been deleted. Once I put that back in the file sharing preference I was able to reconnect my external drive without all Hades breaking loose.
    This problem came on the heels of an aborted attempt to use a new Time Capsule (not ready for prime time) which I had to drive 50 miles to take back and replace with a new WD My Book -and I was afraid I was going to have to repeat the trip to take it back as well.

  • Install Adobe illustrator cc 2014 and I have no desktop icons when I save my work to my desktop

    I have installed Adobe illustrator cc 2014 and I have no desktop icons when I save my work to my desk top.  I have a white square and the file name and thats it.  What is wrong?  I have no other illustrator programs on my computer.

    File associations are handled by your operating system and without any specific system info we can't tell you anything.
    Mylenium

  • Which BW variable is used for date(range) when creating a portal service

    Hi,
    Can any one please let me know which BW variable is to be used for date(range) when creating a portal service for searching based on dates.
    Thanks
    Abhai

    Hi Arun,
    its just a portal service which would be called when  searching a document created on a particular date or betwwen a range of date.so what i require is which BW variable to be used when handling range.As for variable technical name we use VAR_NAME_I  and for single value variable we VAR_VALUE_EXT_I
    in the similar manner i want BW variable to be used for range of values.
    Thanks
    Abhai

  • Is there any way to create a time machine backup to an external hard drive with content already on it?  I have a hard drive that i have used for pictures but when i try to run a backup it says i need to start from a blank drive. Can i get around it?

    Is there any way to create a time machine backup to an external hard drive with content already on it?  I have a hard drive that i have used for pictures but when i try to run a backup it says i need to start from a blank drive. Can i get around it?

    It would be much better if you had separate drives for the pictures and Time Machine backups.....but, if you want to use the same drive for both purposes, temporarily move the folder with the pictures to another location for safe storage.
    Run the Time Machine backup on the hard drive and verify that everything is working correctly. Time Machine will format the disk for you in Mac OS Extended (Journaled) as part of the backup process.
    Then move the folder with the pictures back to the hard drive with the Time Machine backups.
    When you have tested to make sure that everything is working again, then and only then should you delete the folder with pictures from the temporary storage area.
    Again....it would be much better to keep Time Machine backups on a drive just for that purpose, and other data on another drive for that purpose. This is clearly one of those times when the fact that you can do something does not mean to imply that you should do it.

  • Using PM for Desktop Icon Preservation

    Using ZCM 10.1.3
    I have a user who very frequently has her carefully placed desktop icons all pushed over to the left and she has to resort and reposition.
    We have just failed trying to find why this happens, but it occurred to me that I could use PM to preserve her Desktop icons and re-apply them next time it happened.
    I created a template with only the icons selected, and --store seems to work to create the *.pnp file well, and can mix up the icons and run an --apply and it does the trick.
    Unfortunately, it does not seem to work any more after the workstation is rebooted. It still runs, and the log file PM creates looks ok, but the icons are not moved.
    I get this behavior whether running PersonalityMigration.exe on the workstation or via a bundle runing PersonalityMigrationCore.exe.
    Is there something about Windows Desktop icon positioning that makes it work this way?
    Is the icon layout really stored in the *.pnp file (which appears to be persistant).
    Any help appreciated.
    Tom

    tbreeden,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Strange behaviour of JDBC query for CHAR column

    Hi,
    I have a simple table with char type and several records in the table.
    create table char_test(str char(50));
    insert into char_test values ('abc');
    insert into char_test values ('abc ');
    insert into char_test values ('abc ');
    In JDBC, if I have a query like
    PreparedStatement st = conn.prepareStatement("select str from char_test where str = 'abc'");
    ResultSet rs = st.executeQuery();
    All three rows will be returned.
    However, If I use parameter for the PreparedStatment, nothing will be returned if the value of the parameter is passed as "abc".
    PreparedStatement st = conn.prepareStatement("select str from char_test where str = ?");
    st.setString(1, "abc");
    ResultSet rs = st.executeQuery();
    Personally, I think this is a bug of Oracle JDBC driver. Could anybody please give me any explanation?
    Thanks,
    Bill
    PS. I'm using Oracle 10g Release 2 DB and ojdbc14.jar under jdk 1.5.

    Hello Bill,
    Have you solved your problem ?
    I have encountered a similar one and found a strange behavior of JDBC driver for PrepareStatement : in some cases, deep in JDBC driver, the parameter values could'nt be convert and are send as null values to the server.
    Here are partial driver logs, the first for a program which works fine and the second for one which turns on error.
    ============================
    <record>
    <date>2006-09-06T16:27:43</date>
    <millis>1157552863218</millis>
    <sequence>335</sequence>
    <logger>oracle.jdbc.conversion</logger>
    <level>FINE</level>
    <class>oracle.jdbc.driver.DBConversion</class>
    <method>javaCharsToCHARBytes</method>
    <thread>10</thread>
    <message>DBConversion.javaCharsToCHARBytes(chars[]= (26 bytes):
    00 0c 00 65 00 78 00 70 00 73 00 74 00 6f 00 0a 00 73 00 6c
    00 65 00 65 00 70 , charOffset=1, bytes[]= (7 bytes):
    00 00 00 00 00 00 00 , byteOffset=0, cs=178, nchars=6)</message>
    </record>
    <record>
    <date>2006-09-06T16:27:43</date>
    <millis>1157552863218</millis>
    <sequence>336</sequence>
    <logger>oracle.jdbc.conversion</logger>
    <level>FINE</level>
    <class>oracle.jdbc.driver.DBConversion</class>
    <method>javaCharsToCHARBytes</method>
    <thread>10</thread>
    <message>DBConversion.javaCharsToCHARBytes(chars, nchars, bytes[], cs): returned 6</message>
    </record>
    =============================
    javaCharsToCHARBytes gets 6 characters OK
    =============================
    <record>
    <date>2006-09-06T16:12:32</date>
    <millis>1157551952843</millis>
    <sequence>333</sequence>
    <logger>oracle.jdbc.conversion</logger>
    <level>FINE</level>
    <class>oracle.jdbc.driver.DBConversion</class>
    <method>javaCharsToCHARBytes</method>
    <thread>10</thread>
    <message>DBConversion.javaCharsToCHARBytes(chars[]= (40 bytes):
    00 26 00 73 00 74 00 6f 00 72 00 61 00 67 00 65 00 5f 00 53
    00 74 00 6f 00 72 00 65 00 2e 00 71 00 75 00 65 00 72 00 79 , charOffset=1, bytes[]= (20 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 , byteOffset=0, cs=178, nchars=19)</message>
    </record>
    <record>
    <date>2006-09-06T16:12:32</date>
    <millis>1157551952843</millis>
    <sequence>334</sequence>
    <logger>oracle.jdbc.conversion</logger>
    <level>FINE</level>
    <class>oracle.jdbc.driver.DBConversion</class>
    <method>javaCharsToCHARBytes</method>
    <thread>10</thread>
    <message>DBConversion.javaCharsToCHARBytes(chars, nchars, bytes[], cs): returned 0</message>
    </record>
    =============================
    javaCharsToCHARBytes gets 0 characters instead of 19
    But I am unable to discover the differences between the 2 programs in the JDBC driver usage.
    Does this sounds familiar to someone ?
    François

  • I can not open up itunes using the desktop icon

    I have installed, uninstalled and reinstalled the latest version if itunes.  I cannot get itunes to open up by clicking on the desktop icon.  I keep getting the message"Do you want to allow this program to make changes?"  The program is Apple Inc.  I click on yes but nothing happens.  I have set itunes to run as the adminstrator. Can anyone help me?

    Odd that it is launching fine once after the repair.
    We'd better check to see if it's a compatibility mode issue.
    Try the following document, only be sure that none of the boxes in the compatibility mode tab are checked (not just the compatibility mode box itself):
    iTunes for Windows: How to turn off Compatibility Mode

  • Receiving message"There was a problem sending the command to the program" every time I access a website using a desktop icon via Firefox.

    When I click on a desktop icon and access a site via Firefox I get the message "There was a problem sending the command to the program". This started to happen after I downloaded the most recent version of Firefox. I uninstalled Firefox and reinstalled it and the message still comes up every time. The site will come up about three seconds after the message appears but the message is a real pain to put up with. What is the problem? I am ready to dump Firefox and go to Opera.

    Hi bob1935-
    I did some research and found a couple of previously answered questions that have multiple options for solving your problem. Please look at these:
    - https://support.mozilla.com/en-US/questions/760489
    - https://support.mozilla.com/en-US/questions/809976
    I hope one of those fixes your issue!

  • Stopping Desktop ICON when Updating reader

    Every time I Update Reader, it installs a desktop icon for reader.  There doesn't appear to be an option to avoid that.  I must drag it to the Recycle Bin every time and that is annoying.  If I allowed every application on my computer to put an icon on the desktop, I'd need to scroll the desktop to find all of them.  That would make the desktop less than useful.  So could someone get to Adobe and suggest that they stop automatically putting an icon to reader on my desktop each time they release an upgrade?  Besides, when does anyone ever launch the reader that way?  I always double-click a PDF file and the reader opens.  Who needs the icon?
    Another issue is the installation of scripts (or apps) that run at startup.  Again, if every program on my PC did that, I could go buy my groceries while the computer was booting.  Fortunately, I have a program that watches for those startup applications and gives the option to allow or disallow the registry change.  I usually disallow them for the reason stated.  Unless these startup routines are absolutely essential in order for Adobe Reader to run, they should be made optional.  I only have 1.5 GB of RAM and that could get filled just with resident apps loaded at boot time.  As it is, over half of that memory space is gone by the time the operating system is fully loaded, including the various resident programs loaded by each of my applications.
    Does anyone have any ideas as to how to stop this gluttony?
    Koi Guy

    Koi Guy wrote:
    So could someone get to Adobe and suggest that they stop automatically putting an icon to reader on my desktop each time they release an upgrade?
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=49

  • Repeating nodes using FOR loop but when concating XML string then concating only last iteration of FOr loop ??

    I stuck with a problem that I am using FOR loop for generating repeating nodes. 
    Now when I concat the generated node in the main node then I got only last iteration of that FOR loop.
    can anybody suggest me a way to handle this error....
    FOR i IN 1..pl_phone_tab.Count
    LOOP
    SELECT xmlelement("Phone"     
                                        ,xmlelement("PHONETYPE",xmlattributes('01' AS "dmnADRP_PHONETYPE"),pl_phone_tab(i).p_phtype_tab)
                         ,xmlelement("PHONENUM",pl_phone_tab(i).p_phnum_tab)
                         ,xmlelement("PRIMARY_CONTACT",pl_phone_tab(i).p_prcon_tab)
    INTO p_phone_xml
    FROM dual; END LOOP;
    SELECT xmlelement("PhoneInfo"
                           ,xmlconcat(p_phone_xml))
    INTO p_phone_info_xml
    FROM dual;
    here I am getting only one node but there has to be two nodes for PHONE node

    Not that I'm encouraging you but here are two standalone examples explaining how to do what you want :
    1) Loop through the input collection and append each node to its target container :
    SQL> declare
      2 
      3    type t_emp_tab is table of scott.emp%rowtype;
      4 
      5    emp_tab       t_emp_tab;
      6    emp_info_xml  xmltype;
      7    emp_xml       xmltype;
      8 
      9  begin
    10 
    11    -- filling emp_tab with data
    12    select e.*
    13    bulk collect into emp_tab
    14    from scott.emp e
    15    where e.deptno = 10;
    16 
    17    emp_info_xml := xmltype('<EmpInfo/>');
    18 
    19    -- looping through emp collection and appending to EmpInfo element
    20    for i in 1 .. emp_tab.count loop
    21      select appendchildxml(
    22               emp_info_xml
    23             , '/*'
    24             , xmlelement("Emp"
    25               , xmlattributes(emp_tab(i).empno as "id")
    26               , xmlforest(
    27                   emp_tab(i).ename as "Name"
    28                 , emp_tab(i).job as "Job"
    29                 )
    30               )
    31             )
    32      into emp_info_xml
    33      from dual;
    34    end loop;
    35 
    36    dbms_output.put_line(emp_info_xml.getclobval(1,2));
    37 
    38  end;
    39  /
    <EmpInfo>
      <Emp id="7782">
        <Name>CLARK</Name>
        <Job>MANAGER</Job>
      </Emp>
      <Emp id="7839">
        <Name>KING</Name>
        <Job>PRESIDENT</Job>
      </Emp>
      <Emp id="7934">
        <Name>MILLER</Name>
        <Job>CLERK</Job>
      </Emp>
    </EmpInfo>
    PL/SQL procedure successfully completed
    2) Build a secondary collection of XML nodes and use XMLAgg to aggregate them in one go :
    SQL> declare
      2 
      3    type t_emp_tab is table of scott.emp%rowtype;
      4 
      5    emp_tab       t_emp_tab;
      6    emp_info_xml  xmltype;
      7    emp_xml_tab   xmlsequencetype := xmlsequencetype();
      8 
      9  begin
    10 
    11    -- filling emp_tab with data
    12    select e.*
    13    bulk collect into emp_tab
    14    from scott.emp e
    15    where e.deptno = 10;
    16 
    17    -- looping through emp collection and appending to the collection of Emp nodes
    18    for i in 1 .. emp_tab.count loop
    19 
    20      emp_xml_tab.extend;
    21 
    22      select xmlelement("Emp"
    23             , xmlattributes(emp_tab(i).empno as "id")
    24             , xmlforest(
    25                 emp_tab(i).ename as "Name"
    26               , emp_tab(i).job as "Job"
    27               )
    28             )
    29      into emp_xml_tab(i)
    30      from dual;
    31 
    32    end loop;
    33 
    34    select xmlelement("EmpInfo", xmlagg(t.column_value))
    35    into emp_info_xml
    36    from table(emp_xml_tab) t ;
    37 
    38    dbms_output.put_line(emp_info_xml.getclobval(1,2));
    39 
    40  end;
    41  /
    <EmpInfo>
      <Emp id="7782">
        <Name>CLARK</Name>
        <Job>MANAGER</Job>
      </Emp>
      <Emp id="7839">
        <Name>KING</Name>
        <Job>PRESIDENT</Job>
      </Emp>
      <Emp id="7934">
        <Name>MILLER</Name>
        <Job>CLERK</Job>
      </Emp>
    </EmpInfo>
    PL/SQL procedure successfully completed
    Both solutions give the same output.
    Test them both and see which one fits better into your scenario.

  • How do I stop Lion from moving desktop icons when I startup?

    When I starup my iMac with Lion 10.7.1, the desktop icons that I have on my desktop organized in a particular order, all move to the far right of the desktop and do not stay in the same order.  How can I stop this from happening?  When I shut down, I uncheck the box open all windows when restarting, and I have unchecked the open application windows in the general section of system preferences.
    Thanks for the help!

    Several issues involved - please click through the threads to the right under More Like This.

Maybe you are looking for