After quit app, disconnect from server

I am running into problems launching an application (Type to Learn 3 on OS 10.4.11) that must connect to server-based data folder (Windows Server 2000) in a computer lab environment. Presently, I must select Go>Connect to Server>afp://xx.xx.xx.xxx>Connect, then launch the app. After the student quits the app, the shared data drive remains mounted. I would like for the mounted drive to automatically eject following quit app.
I have been able to create an Automator script that will Connect to the server and launch the app, but I am unable to figure out how to eject the shared drive upon quit app.
Any help would be greatly appreciated!
I am not sure that using Automator is the best option. Any other ideas?
Thanks,
Steve

Hopefully I can clarify.
After the user quits the application accessing the server-based drive, I want the drive to be unmounted automatically. I do not want students to have access to the student data located within the drive.
It is possible to hide the drive from appearing in the sidebar, but I would prefer that it is unmounted to ensure data security.
So, the entire process looks something like this:
1. connect to server "drive"
2. launch app "TTL3"
3. student uses app
4. student quits app
5. "drive" unmounts
Thanks again for your assistance.
Steve

Similar Messages

  • Can you still use your iPhone for apps, music, and videos after it is disconnected from your carrier?

    Can you still use your iPhone for apps, music, and videos after it is disconnected from your carrier?

    Using an iPhone without a wireless service plan

  • Disconnect from Server

    I have a G4(MDD)that I am trying to connect to my Windows 2003 Server. The problem is that when I connect using SBM,CIFS or AFP I get a [email protected] has been disconnected. I have changed patch cables added some info into the DNS nothing seems to help. I have another G4 (MDD) with the same setting running with no problems. Im not sure what more to try. Im thinking of telling my company to buy an Xserve that would solve the problem.
    Thanks for the help.
    The OS on the G4 is 10.4.6

    Now I understand better some of what's going on. The networking functions are fine; it's the GUI that's misleading me.
    As soon as I select a server icon in the "Shared" section of the Finder sidebar, Leopard connects as "Guest" and displays the share points. Select a share point and the shared volume icon mounts on the desktop, and the triangular unmount icon appears next to the share icon in the Finder.
    BUT: disconnect from server or share point, and the Finder STILL displays all share points and indicates I am still "Connected as: Guest" . . . but now there is no disconnect triangle.
    Further weirdness: If I have a share point mounted, and click "Connect as" (button available in column-view), it unmounts the share, but doesn't launch the "Connect to Server" dialog.
    Then, click "Connect as" again to bring up the "Connect to Server" dialog, authenticate as NON-GUEST user to an SMB share, the volume mounts, but the Finder displays "Connected as Guest"!
    Even if I connect as a NON-GUEST user to a PC share using SMB in the older way -- CMD-K or "Go > Connect to Server" -- then select the newly-mounted Server icon in the Finder sidebar, the Finder tells me I am -- you "guest" it -- "Connected as Guest."
    Interestingly, the Finder displays AFP connections correctly, with actual user names, and a "disconnect" button, under the server icon in the 1st Finder column; SMB connections do not.
    So my issues here seem to be confusion created by miscues in the GUI -- the "Connected as Guest" indication before you've actually connected, and after you've disconnected. And for SMB connections, the additional miscues of being told you're connected as guest instead of the user account you've authenticated under, and the curious absence of a "Disconnect" button under the server icon in the 1st Finder column.
    I just installed Leopard three days ago. Overall, I love it. I hope this feedback helps Apple refine some minor bumps in the user experience.
    Message was edited by: Samildanach

  • Cm.jar is working even after deleting the jar from Server

    Hi,
    To update the environment with the new changes we had manually copied the cm.jar into the respective folders but due to some class errors Deployment was not successful,So as a matter of trial we had deleted cm.jar from the respective folders and then we had ran the initialsetup,
    Strange thing what we have observed is that all the custom logic which was initially deployed through cm.jar was still exisiting in the applicationserver and are getting executed smoothly
    This is the process what we have followed
    Method 1:
    1)     Stop server
    2)     
    Copy cm.jar to SPLBASE/etc/conf/root/WEB-INF/lib
    Copy cm.jar to SPLBASE/etc/conf/XAI-APP/WEB-INF/lib
    Copy cm.jar to SPLBASE/ splapp/businessapp
    Copy cm.jar to SPLBASE/ splapp/ standalone/lib
    3)     Run InitialSetup
    4)     Start Server
    Method 2:
    1)     Stop server
    2)     Set Exploded directories to true
    3)     Initial Setup
    4)     
    Copy cm.jar to SPLBASE/splapp/applications/root/WEB-INF/lib
    Copy cm.jar to SPLBASE/ splapp/applications /XAI-APP/WEB-INF/lib
    Copy cm.jar to SPLBASE/ splapp/businessapp
    Copy cm.jar to SPLBASE/ splapp/ standalone/lib
    5)     Run InitialSetup
    6)     Start Server
    Method 3:
    1)     Cm packaging.
    Even after removing cm.jar from all places manually my custom code which I deployed initially is working. I could run custom batch and custom algorithm. Very Strange. I am not sure what I missed or where application is referring to.
    We want the old code to be removed permanently from server?Can you anyone help?
    Thanks
    shiva

    Hi Mr Shankar,
    Even if you have deleted the cm.jar file from respective location.It do exist in splapp.war file.If you will extract that file you will find the cm.jar file in /splapp/web-inf/lib/cm.jar location.So whenever you will run the initialsetup it will restore the cm.jar.This thing is happening in your case also.So delete the file from splapp.war and rebuild the war.This will solve your issue.
    Hope it will work for you.
    Regards
    sunil sahu

  • N95 - emails vanish when disconnect from server??

    Hi,
    I've set up my N95 to send and receive emails - its doing both even though when I "send" it says server not found but the email DID arrive at its destination..??
    My other problem is that after I have downloaded emails to my phone and I then disconnect from the server - when I then goto reconnect those emails dissappear.. Is there a setting to stop this from happening?
    can you help me with eithe rof those issues?
    Thank you
    Angela

    Good luck with that.  It most likely has something to do with the network, and Bridge is really not set up for network function.  It works that way but Adobe says there are so many variables with networks that can not be quantified.  Not sure but if  Bridge does error checking like Photoshop does it could lead to what you see.

  • Clean way to disconnect from server?

    I can't find any socket.disconnect() method (just a socket.isConnected()). What's the cleanest way to disconnect from a server? I just do a socket.close, but then i get this exception on the server:
    java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(Unknown Source)
    at java.io.ObjectInputStream$PeekInputStream.read(Unknown Source)
    at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
    at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Sour
    ce)
    at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
    at java.io.ObjectInputStream.<init>(Unknown Source)

    You can send a bye message.
    Once the server has that it knows that it can close the socket on its end (and it can safely ignore a reset error.)

  • Automator - Disconnect from server

    Hi,
    I'm working on a small automator workflow that helps me synchronizing iTunes music across 3 computers. Basically it connects to a server, uses the sync folders action to synchronize the contents and then I want to disconnect from the server.
    That's the point where I'm stuck ... searched the web but couldn't find a real answer how to disconnect from a server using Automator.
    Any ideas?
    Thanks a lot!

    I don't have an answer for you.
    Did you ever get it working?
    If so I would like to shamelessly steal your workflow.
    thanks
    chuck

  • Flash app disconnects from FMS after an hour

    I have developed a Flash chat for a client using FMS2. The
    application is used by goups of 5-15 people, who will use it for up
    to 2 or 3 hours in one session, sometimes even longer.
    Many of our users are complaining that they consistently get
    disconnected after about an hour. They can usually log back in
    immediately. Are there any known issues with connections being
    lost?
    A second problem I'm facing is that periodically my entire
    interface(AS2, SWF7) stops interacting properly. No user
    input(click actions, text input) is received, and several animation
    scripts stop updating. However, the application is still connected
    and new messages are received. Again, users report this behavior
    consistently after an hour. I know that is an extremely ambiguous
    problem, but I've been going crazy trying to isolate the problem,
    if anyone has even a guess, I'm all ears.
    A few facts about the chat:
    - It uses a persistent RSO to store chat history
    - Chat messages are sent from client to server, and processed
    by server and put in the chat RSO
    - User listing and info is in an RSO, which is created by
    ther server and modified by the clients. It is modified frequently
    by all clients when they type, setting a "isTyping" flag to be
    rendered by their name on each clients user list window
    - I'm using a complex custom message renderer, which includes
    emoticon support and dynamic attach/removal of message clips when
    scrolled(to prevent application slow down as the chat history gets
    long).
    - Our users I believe are are using somewhat older computer
    equipment, and are fairly minimal in computer literacy/experience.
    Any help would appreciated.

    I solved my interface problem. Long story short I
    accidentally had an endless loop in teh suers RSO that was causing
    focus to be constantly stolen and placed on a certain textfield.
    However, I'd still be interested to know if there are any
    problems with connections dying after an hour, or any amount of
    time.

  • WRT54G v6.0 Disconnects From Server After Ten Minutes

    I posted this once before and somehow it got....deleted?
    Anyway....here we go again. I purchased A WRT54G over the holidays. It has worked fine for me with the exception of a real estate data source (server) that I need to use for my business. I can log on and start doing my analysis just fine, but when when the ten minute mark hit....the router disconnects me. It's EXACTLY ten minutes...everytime. I've spent the better part of 20 hours on the phone with Liksys Tech Support and they have been very helpfull, but unable to help me fix this issue. They sent me a new router to replace the one I bought thinking that there was something wrong with that router. After installing the router they sent me....same problem. We opened ports, reduced the MTU to 1375, disabled security, ect... with no luck. Can anyone tell me what I need to do? Any thoughts or advice would be greatly appreciated.

    Actually try this...
    Connect wired to your ISP provider cable/dsl modem  and release/renew dhcp lease...
    IP address is then assigned based on MAC address of that computer
    IPCONFIG to check assigned address
    Re-connect wireless router and in settings duplicate the mac address of the PC used above.
    Release/renew dhcp on router and check status on router settings pages
    assigned IP should be same or in relative range.
    Why this may be occuring....     At least what leads to the above suggestion:
    ISP providers in the mid-west region around me started assignment of Router based MAC addressing to monitored and limited bandwidth servers - IP assigned would renew into those servers as the MAC address from a router was a clear indication of mutiple PC use and bandwidth consumption.
    Duplication of a desktop or wired network card on your PC into the router defused this by detection your MAC appears to be a single PC and the ISP assigns the address to standard server loads.
    Try it see if this helps - keep in mind most of these hardware manufacturers use base hardware from common pools of sub-suppliers - I believe you will have just as much issue with a netgear unit.
    Daak 

  • ADWS Broken after in-place upgrade from Server 2008 R2 to Server 2012 R2

    I performed an in-place upgrade from 64-bit Server 2008 R2 to Server 2012 R2.  This machine ran Active Directory Web Services. After the upgrade ADWS will not start. I get the following event log error:
    Log Name:      Application
    Source:        .NET Runtime
    Date:          11/21/2014 3:23:02 PM
    Event ID:      1026
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      COMPUTER
    Description:
    Application: Microsoft.ActiveDirectory.WebServices.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.ServiceModel.CommunicationObjectFaultedException
    Stack:
       at System.ServiceModel.Channels.CommunicationObject.Close(System.TimeSpan)
       at Microsoft.ActiveDirectory.WebServices.WindowsHostService.StartService(System.Object)
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
       at System.Threading.ThreadHelper.ThreadStart(System.Object)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name=".NET Runtime" />
        <EventID Qualifiers="0">1026</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-11-21T20:23:02.000000000Z" />
        <EventRecordID>65596</EventRecordID>
        <Channel>Application</Channel>
        <Computer>COMPUTER</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Application: Microsoft.ActiveDirectory.WebServices.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.ServiceModel.CommunicationObjectFaultedException
    Stack:
       at System.ServiceModel.Channels.CommunicationObject.Close(System.TimeSpan)
       at Microsoft.ActiveDirectory.WebServices.WindowsHostService.StartService(System.Object)
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
       at System.Threading.ThreadHelper.ThreadStart(System.Object)
    </Data>
      </EventData>
    </Event>

    I compared the registry with a working system but the Counters - and all other keys - looked fine.
    At the same time as upgrading a DC a colleague was updating an unrelated server, and he started to see similar events in the event log (but for the Dell OpenManage Essentials service, not ADWS). The error was complaining about KERNELBASE.dll which set my
    spider sense tingling. We knew that this server had Windows Updates pending. Fully updating it solved the problem on that server.
    I solved the ADWS problem in the end by fully Windows Updating the DC. In particular, the ADWS Service started successfully after installing KB2919355 and rebooting. That also
    'unlocked' a further 59 updates pending. 
    After the in-place upgrade I always fully Windows Update but I'm 99% certain that KB2919355 did NOT show up when I did a Check for Updates straight after a reboot so I thought the DC was up-to-date. I then spent hours investigating the ADWS problem and rebooted
    as part of the diagnostics. It was then that I noticed on the logon screen that there were updates pending...
    Moral of the story? Windows Update, then Update again, and again, and again. The length of time it takes to Windows Update after an upgrade from 2008R2 to 2012R2 is painful though.

  • Error Starting Certificate Authority after upgrading in place from Server 2003 Enterprise (32 bit) to Server 2008 Enterprise (32 bit).

    Hope this is the place to seek help with Active Directory Certificate Services.  We recently upgraded in place an issuing CA in our lab from 2003 to 2008 and the upgrade of the OS was successful but the CA service now will not start. 
    The error is:
    Error 0xc8000222 (ESE: -546)
    More info.  We did stop the CA service prior to doing the upgrade.

    Answering my own question with the hopes to help someone else. 
    The problem has something to do with the logs for the certificate database.  There is some sort of a format conflict after upgrading to 2008.
    To get around this error, and get the Certificate Authority service to start, remove all the logs from the C:\Windows\system32\CertLog directory that should be where your .edb database file lives, leave the database file there
    This worked for us on three of four of our CA servers, the other one had a database that went down in a dirty state, so we had to use ESEUTIL utility to fix the database.
    NOTE: there is no ESEUTIL utility on the CA servers, so we had to copy our database to an Exchange server in our test lab, then run ESEUTIL /MH to see what the Status is, it may say Dirty or Clean, then we ran ESEUTIL / P (P for Repair, go figure I know
    right) anyway that fixed the database, so we copied it back over to the CA and started the service
    hope this helps some of you out, we have a case opened with Microsoft Technical Support on this issue and will update this thread with their feedback as well once they get back to us (it has been a week already)

  • OS X Server 3.0.1 and OS X Mavericks: Managed Preferences not Removing on Mac After They are Removed from Server

    I just upgraded my server to OS X Server 3.0.1 and am testing changing some managed preferences on my MacBook Air with OS X Mavericks.  Initially from the upgrade the security & privacy and users & groups is disabled.  I changed the settings in profile manager, and the push was successful.  I then restarted my macbook air, and after logging in, it stalls and says "Updating Managed Preferences..."  it stalls for about one minute and then logs in.  Those preferences that I allowed in Profile Manager are still grayed out as if the preferences are not updating.  Has anyone see this or have any idea how to troubleshoot?
    Thank you.
    Mikel

    Brandon Macinnis wrote:
    Dnar,
    Thanks for the follow up bit about using the smbutil statshares command.  I used that and could confirm that I am also able to force it to connect with smb2.  Oddly though, in the stat share info it still says "AUTO_NEGOTIATE"
                                  SMB_NEGOTIATE                 AUTO_NEGOTIATE
                                  SMB_VERSION                   SMB_2.1
    But maybe that just means something else and not the fact that it did not auto negotiate to SMB.  I guess for now this will be what I have to do to use smb2.
    I think in this case the AUTO_NEGOTIATE merely means it will auto negotiate a connection between SMB1, SMB2, and (from your data) also SMB2.1 this would have nothing to do with auto negotiating between SMB2 and AFP, which from this thread appears broken.
    I also would like to thank Brandon for the tip about smbutil statshares, I had been looking for a simple way to tell what version of SMB was being used to test my NAS.
    For everyone's benefit, it would appear from the above that whilst Apple advertise Mavericks as using SMB2 they have gone as far as implementing SMB2.1 and merely list it only as SMB2 for simplicity and due to the fact there is not a huge different between SMB2 and SMB2.1
    See http://en.wikipedia.org/wiki/Server_Message_Block#SMB_2_and_3

  • Email disconnect from server

    Dear All,
    I have an iPhon I set up my work email account. After setting up the account was working fine after few mints I got message on my iphone screen your connection to the server is faild. Some time I can get my emails but sometime I get connection failed.
    I will appreciate if any one can tell me how can I fix the problem please.
    Thanks

    hi beth-martin,
    what do mean?
    tnx

  • HT4623 Backed up our iPhone on iTunes, started the update.  Got an error notice, were disconnected from server.  Phone now has an unchangabel plug in to iTunes screen but cant contact iPhone server. What do we do?

    Backed up iPhone to iTunes on our computer then started the software update. Got an error notice and phone now has a screen indicating to plug in to iTunes that we can't change even if we turn the phone off and back on. Every attempt to connect to the iPhone software update server comes back with a could not contact message.  What do we do? How do we proceed?

    Many thanks for your answer.
    Before starting a new discussion I tried everything of your link, google etc... nothing works for me.
    I´m using a pc running windows 8, last version of itunes etc.. tried using different usb ports, uninstalling avast antivirus but nothing works.
    Any other suggestion?

  • !! Query not running - disconnecting from server!!

    BW GURUS!
    I have 140 queries out of our Live 1 (GL1) and now we are on GL2 (Go Live 2). I transorted all the queries in here.All the config and defnition everything is normal (even for the new queries I created in GL2 NOT Transported from earlier system....It does the same thing). When I open to run a query it is kicking me out of teh srever giving the following error message.
    My best guess is I miss some std setting that I need to implement in the process. It is something related to SAP exit or so.
    Error Group
    RFC_ERROR_SYSTEM_FAILURE
    Message
    Syntax error in program SAPLXRSR
    And the dump is as follows :
    Error in ABAP application program.
    The current ABAP program "CL_IM_RSR_OLAP_BADI===========CP" had to be
    terminated because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    In program "SAPLXRSR ", the following syntax error occurred
    in the Include "ZXRSRU01 " in line 333:
    "The field "I_FISCYEAR" is unknown, but there are the following fields "
    "with similar names: "FISCYEAR" and "I_FISCPER"."
    Error analysis
    In program "SAPLXRSR ", the following syntax error occurred:
    "The field "I_FISCYEAR" is unknown, but there are the following fields "
    "with similar names: "FISCYEAR" and "I_FISCPER".
    Let me know your thoughts!
    Regards
    Praveen

    Check your user exit code for syntax errors first. Make sure that you check all includes as well. The error below suggests that you are using a field called "I_FISCYEAR" which probably isn't defined using a
    DATA:
       i_fiscyear type blah...

Maybe you are looking for

  • Data file recovery from Windows 7

    A Macbook that was running OS X with data files and pictures was taken by someone without their permission. That person then wiped the hard drive and installed Windows 7. The Laptop has since been returned to the original owner and to her dismay real

  • Verbose Boot. How to get rid of it?

    My Mac Pro boots with a bunch of what look like Unix line-items showing in white monospaced text on surround lines of black. How did I do that? How do I turn them off? At one point it seems to be saying that it is in dev mode with a "verbose boot."

  • Media Files in Premiere Pro CS5.5

    I have several large 60GB media video files I will be importing into the project section of Premiere Pro CS5.5   These files are stored on an external hard drive (will be using FW800) where I plan on working with these files from the external HD.   T

  • Opening a CD with photos saved as JPG.

    Hello I've looked through all the "error -43" files I could find. When I insert a Cd that has photos saved from around 2005, most likely from a computer running windows ... I open the picture folder on the Cd, there are no picture icons, so I ask it

  • Adobe Media Server failing to record video if switched from play to record midstream

    The Adobe Media Server is failing to record video if switched from play to record midstream. It is an intermittent issue that happens randomly one out of every 30 attempts. Flash Runtime: Flash Player ActiveX 11.7.700.169 or Flash Player ActiveX 11.4