XA connections remain open

We are using Oracle 9.0.2, JDBC thin driver 9.0.2 and Weblogic 6.1 We create XA
connections (without pooling) directly from the middle-tier (Weblogic server)
to the database. We have noticed that these XA connections remain open for an
arbitrary amount of time after the connection was closed by the middle-tier. Has
anyone experienced similar problem? Does anyone know what can keep an XA connection
open after the connection.close() has been issued.
Thanks in advance, Eugenia

Eugenia,
According to the WLS 7.0 release notes in the e-docs site:
"WebLogic Server applications that use distributed transactions with Oracle
Server 9.2.0.x are experiencing problems with the Oracle thin driver
9.2.0.x. For such applications, BEA recommends against using Oracle thin
driver 9.2.0.x at this time. Instead, use a 9.0.1.X driver, where X is 3 or
higher. "
Hope this helps.
"Eugenia" <[email protected]> wrote in message
news:[email protected]..
>
We are using Oracle 9.0.2, JDBC thin driver 9.0.2 and Weblogic 6.1 Wecreate XA
connections (without pooling) directly from the middle-tier (Weblogicserver)
to the database. We have noticed that these XA connections remain open foran
arbitrary amount of time after the connection was closed by themiddle-tier. Has
anyone experienced similar problem? Does anyone know what can keep an XAconnection
open after the connection.close() has been issued.
Thanks in advance, Eugenia

Similar Messages

  • ODBC connection remains open after disconnect

    Hello,
    in my application I use 2 ODBC connects to 2 different ODBC drivers.
    My problem:
    When I close one connection (with DBDisconnect), the connection on the database remains open until I close the second one.
    Is this a known behavior?
    Is there a way to force the closing or to make it independant of the other connection?
    Regards
    Fred
    Solved!
    Go to Solution.

    As ODBC connections are not inherently included in the CVI environment, I looked up the DBDisconnect function and it says that the DBDisconnect function disconnects the last connected ODBC database. So it is expected behavior.
    Ian M.
    National Instruments

  • Database connection remains open after close being called

    I am using oracle OC4J as my application server. I am not using connection pool and I am using non-pooled datasource to get connection. The database connection is made at runtime and then closed. I want to test if the users' connection sessions have been killed after they logout the application. But when I checked the table v$session in the database, it shows one connection remaining. I checked my program, the close method has been called. Does anybody know the solution?

    Hi Chen,
    This is just a suggestion for something to try -- only if you haven't
    already tried it, that is!
    Try running OC4J in "debug" mode. Here are details on how to do that:
    http://kb.atlassian.com/content/atlassian/howto/orionproperties.jsp
    Hope this helps you!
    Good Luck,
    Avi.

  • SQL Connections remain open after Crystal Report closes

    I am wirting an interface to use the crystal report viewer to print reports, connecting to a Progress Open Edge 10.1B database.  From our application we declare the application, report, exportoptions and connectionproperties objects and pass these to the crystal reports viewer.  Once the report is printed we release the objects and set their variables for null.  However we are finding that the SQL connection to the database is remaining connected and we can only release the connection by manually going in a disconnecting.
    I have read in forums that people use .dispose or .close to release the connection, however we do not have access to these methods as we do not use .NET.  Are there any methods we can use to disconnect these sql connections?

    Hi Dean,
    Moved to the Legacy Application forums. Likely using the RDC as your report engine.
    You should still be able to close and dispose of the report objects. They are not specific to .NET.
    In VB it would look something like these lines::
        crReport.Close
        Set CrystalActiveXReportViewer1.ReportSource = Nothing
        Set crReport = Nothing
    Once the report is closed it should disconnect from the DB. If you close the application does that disconnect?
    Have you looked on 4GL's site for info on how to?
    Thank you
    Don

  • Connection remains opened even after calling conn.close

    i have a need to copy records from one table in a database (say db1) to another table in another database(say db2). I open connection to both databases, and get a Recordset (say rs1) by executing a query that contains all rows that i have to insert in the database db2. Next i get an empty recordset(rs2) on the table in the database db2 (with locktype batchoptimistic, clientside cursor). i loop on rs1 and for each row in rs1 i insert a row in rs2 and copy the fields. after all rows are done, i delete the rows from db2 that will be affected and do an updatebatch on rs2. then i close the recordsets and the connections
    everything works fine except that the connection with the db2 is not getting closed, neither is it throwing any exception. when i comment the updateBatch code the connection closes normally.
    can anyone please help me out, where am i going wrong.
    thanks
    Vijay Sharma

    Hi,
    There is one more thing that I want to add to the above question. After calling conn.close() I checked the status of the connection and it was not 'OPEN' but when I checked session information through DBA studio it was showing one connection. I enabled trace of Oracle provider for OLE DB. Trace showed that two sessions were opened but only one session was closed.
    Thanks,
    Vijay

  • RFC Connection remains open after portal logoff

    Hi,
    We have configured Universal Worklist in our EP7 EHP1 SPS4 Portal.
    When a user connects to the Portal and launches the UWL it creates an RFC connection to the backend ECC. However, when the user moves away from UWL iview or logs out or closes the browser the RFC connection in the backend still
    remains and is released only after the timeout value reached as set in ECC.
    Are there any settings on the portal or ECC to release the session immediately once  user moves away from UWL or logs out of portal ?
    Thanks,
    Savy.

    Hi my friend
    It costs time and resources to establish an RFC connection, therefore it is not immediately deleted but maintained by the system to be reused. But in case there're special purpose to control RFCs, here're 2 parameters to do so:
    The parameter gw/gw_disconnect is a timeout in seconds to close the TCP connection between two SAP gateways if there is no RFC connetion on it for the given timeout. But if there is an active RFC connection onit it will not be closed even if there is no traffic on that RFC connection. Thats why you need another parameter.
    The parameter gw/keepalive is used to periodically check all active RFC (and other) gateway connections if there was no traffic on them for the given time.
    Regards,

  • 5 in 10000 connections remains open --- Why?

    Hi:
    I am currently working of a real high volume application that uses
    WLS 5.1, WLS RMI JDBC Driver, Oracle DB 8i.
    The deal is --- code looks right. Every connection that is opened is then closed after doing all the DB specific stuff. No issues on that front. In a low volume environment no connections are lost. However in production environment, with the number of users scaling up the connections gets lost!.
    Today we lost about 5 connection out of 14,000 granted connection. The pool size is 200 and we are hovering about 130 lost connections. The server will then need a reboot at the end of day to refresh the pools.
    Any ideas would would be great!
    Thanks
    ~v

    Sounds to me like you have a thread synchronizing problem...

  • Cursors remained open after closing connection

    I am using OC4J 10g (Application Server) and Oracle10g DB. OC4J is maintaining the connection pool(com.evermind.sql.DriverManagerDataSource). I get the connection from pool and call DB procedure, then close resultset, statement and connection. It closes the opened cursors against resultset. But left some implicit cursors opened and never closed so cursor count is going to increase.
    If i dont use pool no cursor remained open and count is zero. It means the cursors of pooled connections are not closed.
    wait-timeout="60"
    min-connections="5"
    max-connections="100"
    inactivity-timeout="15"
    <property name="stmt-cache-size" value="2000"/>
    Tahir

    Hi Justin,
    Thnx for your reply and you're understanding is correct but the problem I face is when multiple concurrent users access the JSP page from which I'm actually calling the servlet to retrieve the image, the number of cursors being left open increases. As the load on the page increases (i.e. no of usesrs increase) oracle seems to have problems in garbage collecting the open cursors ... which eventually leads it to throw maximum cursors exceeded exceptions.
    Any suggestions ?
    -Athar

  • Sockets remaining open after connection failure

    Hi - I have a multithreaded application that runs as a daemon (always up) and uses OCI (10.2.0, 64-bit client). If a database connection or query fails for any reason, it is coded to keep on retrying on a set schedule until it succeeds. The application runs on RHEL 4 (64-bit) and is compiled with g++ 3.4.6. (It's nominally C++, but is really what I call "C with objects" as it doesn't use a lot of the standard C++-isms, though there are objects -- the OCI code in question is in a C++ object wrapper that I wrote.)
    Anyway, about 5 days ago, the database where most of the queries are run went down (it's a 10g server; I don't remember the exact version, but since it's down, I'm not sure it matters), and it has not come back up, although the hosts it runs on are up. Meanwhile, my application kept failing to connect and retrying, and the number of queries that this was happening to kept on growing as new ones are added every day. Unknown to me, the failed connection attempts were leaving open TCP sockets to the database that was down, until eventually the maximum open files on the system was exceeded and I was forced to reboot. Twice. (It happened again the next day.)
    From what I can tell, I am properly dropping the handles and such when a connection fails, so why are the sockets staying open? Is there anything that can be done to force the socket to close after a failed connect? This morning I changed all the queries to use a different database (that's actually up), but according to lsof, there are still 56 open sockets to the old (non-working) database, even though none of my program threads are actively trying to connect there anymore.
    The sockets do close, by the way, if the application is stopped and restarted. But they remain open as long as the instance that created them is still running. (I added a periodic restart to clean things up, but I'd really like to fix the problem instead of using a stopgap like this!)
    Sample code is below. This first bit is what is used to connect and log in. (Note that I have this mutex-locked -- I know OCI is supposed to be thread-safe if you use the OCI_THREADED attribute, but I've been having so many issues that I thought it was safer.)
    if (check_err(OCIEnvCreate(&env, (OCI_THREADED), (void *) 0, 0, 0, 0, (size_t) 0, (void **) 0)) != 0)
    fprintf(stderr, "Error allocating OCI environment handle\n");
    return;
    // Allocate error handle.
    if (check_err(OCIHandleAlloc((void *) env, (void **) &err, OCI_HTYPE_ERROR, 0, (void **) 0)) != 0)
    fprintf(stderr, "Error creating OCI error handle.\n");
    return;
    // Allocate server handle.
    if (check_err(OCIHandleAlloc((void *) env, (void **) &server, OCI_HTYPE_SERVER, 0, (void **) 0)) != 0)
    fprintf(stderr, "Error allocating OCI server handle.\n");
    return;
    // Allocate service handle.
    if (check_err(OCIHandleAlloc((void *) env, (void **) &svc, OCI_HTYPE_SVCCTX, 0, (void **) 0)) != 0)
    fprintf(stderr, "Error allocating OCI service handle.\n");
    return;
    [Note: these are snippets from two different functions; this is a C++ wrapper that uses OCI, so the above code is in the database object constructor, and below is a separate login function.]
    // Attach to server.
    retcode = OCIServerAttach(server, err, (text *) curDS, strlen(curDS), OCI_DEFAULT);
    if (check_err(retcode))
    fprintf(stderr, "Error attaching to Oracle server.\n");
    return(retcode);
    // Set server attribute in service handle.
    retcode = OCIAttrSet((void *) svc, OCI_HTYPE_SVCCTX, (void *) server, 0, OCI_ATTR_SERVER, err);
    if (check_err(retcode))
    fprintf(stderr, "Error setting OCI server attribute.\n");
    return(retcode);
    // Allocate session handle.
    retcode = OCIHandleAlloc((void *) env, (void **) &sess, OCI_HTYPE_SESSION, 0, (void **) 0);
    if (check_err(retcode))
    fprintf(stderr, "Error allocating OCI session handle.\n");
    return(retcode);
    // Set username attribute in session handle.
    retcode = OCIAttrSet((void *) sess, OCI_HTYPE_SESSION, (void *) curUser, strlen(curUser), OCI_ATTR_USERNAME, err);
    if (check_err(retcode))
    fprintf(stderr, "Error setting OCI username.\n");
    return(retcode);
    // Set password attribute in session handle.
    retcode = OCIAttrSet((void *) sess, OCI_HTYPE_SESSION, (void *) curPass, strlen(curPass), OCI_ATTR_PASSWORD, err);
    if (check_err(retcode))
    fprintf(stderr, "Error setting OCI password.\n");
    return(retcode);
    // Start session.
    retcode = OCISessionBegin(svc, err, sess, OCI_CRED_RDBMS, OCI_DEFAULT);
    if (check_err(retcode) != 0)
    return(retcode);
    // Set session attribute in service handle
    retcode = OCIAttrSet((void *) svc, OCI_HTYPE_SVCCTX, (void *) sess, 0, OCI_ATTR_SESSION, err);
    if (check_err(retcode))
    fprintf(stderr, "Error setting OCI session attribute.\n");
    return(retcode);
    If any of the above calls returns an error, the next call is to the database object destructor (also mutexed), which looks like this:
    if (connected && svc && err && sess && check_err(OCISessionEnd(svc, err, sess, OCI_DEFAULT)))
    fprintf(stderr, "Oracle - Error ending session\n");
    if (connected && server && err && check_err(OCIServerDetach(server, err, OCI_DEFAULT)))
    fprintf(stderr, "Oracle - Error detaching from server\n");
    if (connected && server && check_err(OCIHandleFree((void *) server, OCI_HTYPE_SERVER)))
    fprintf(stderr, "Oracle - Error freeing server handle\n");
    if (connected && svc && check_err(OCIHandleFree((void *) svc, OCI_HTYPE_SVCCTX)))
    fprintf(stderr, "Oracle - Error freeing service handle\n");
    if (connected && err && check_err(OCIHandleFree((void *) err, OCI_HTYPE_ERROR)))
    fprintf(stderr, "Oracle - Error freeing error handle\n");
    if (connected && env && check_err(OCIHandleFree((void *) env, OCI_HTYPE_ENV)))
    fprintf(stderr, "Oracle - Error freeing environment handle\n");
    Anyone else had this happen? Any insights/help would be greatly appreciated!
    Oh, one more note: though the application is multithreaded, none of the database objects or connections is shared -- each thread makes its own connections and maintains database objects separately. I added the mutex locks because Helgrind was reporting race conditions on handle allocations and deallocations.
    Thanks,
    --Tina                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hmm, I believe I did have an OCIHandleFree on the session handle in an earlier version of the code. I can't remember why I took it out, but I do remember that there was a reason -- it was causing a problem. (Yeah, I know, vague enough for ya?) Anyway, the OCI documentation said that when you call OCIHandleFree on the environment handle, any child handles would be implicitly freed, so I assumed it wouldn't be a problem. Still, I'll try putting it back and see what happens. Thanks.
    Oh, and to answer your question (about netstat), it said the processes were ESTABLISHED. But the Oracle server was down (although the hosts it resided on were up). The connection attempt failed with the error message:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Message was edited by:
    user613364

  • Page 741 Step # 12 : editEmployee.jsff 's dialog remains opened / rendered

    I am using JDeveloper 11.1.1.5.
    This post is regarding "Oracle JDeveloper Handbook",
    Chapter 20 subsection entitled "Fix The Popup Behavior",
    page 741, Step # 12...
    Running templateTest.jspx displays all the records... I can scroll through all of them.
    Then step 12, when I click the tuhraTrainTemplate.jspx 's "Finish" button,
    the editEmployee.jsff 's popup does indeed close.
    HOWEVER, the editEmployee.jsff 's dialog remains opened / rendered.
    This dialog is a child of the popup.
    This dialog's Title is "Manage Employee Images".
    This dialog is supposed to close according to step # 12.
    SOMEWHAT RELATED (and background) INFORMATION:
    I tried reproducing the (above) dialog problem by downloading www.tuhra.com 's C20-II.zip
    (since the problem cited above is very near the end of Chapter 20 section 2).
    The C20-II.zip templateTest.jspx runs on my JDeveloper 11.1.1.5 and renders.
    HOWEVER, no records are displayed (and no anomalies / exceptions appear in the integrated weblogic log window).
    On a positive note, clicking the "Manage Images" command link produces the
    popup and clicking the "Finish" button closes both the popup and the dialog.
    For C20-I.zip, templateTest.jspx runs on my JDeveloper 11.1.1.5 and renders.
    HOWEVER, no records are displayed (and no anomalies / exceptions appear in the integrated weblogic log window).
    If others are also seeing no records displayed, that could be useful information (but a different issue).
    For C19-V.zip, templateTest.jspx runs on my JDeveloper 11.1.1.5 and renders...
    AND the records are displayed and I can scroll through all of them... all seems well.
    NOTE:
    Since I started "Developing Developing The Sample Application" on page 567,
    I have been using Oracle Database 11g Express the whole time.
    When peaking at www.tuhra.com downloadable applications (available after each section),
    I just remove the existing DB connection and create a new one for " XE ", express edition.
    Edited by: 818167 on Jul 17, 2011 6:05 PM

    Solved:
    1. Type  chflags nohidden ~/Library/ in a Terminal window.
    2. Click on the hard drive icon located on the desktop.
    3. Go to Users > [username] > Library > Safari folder.
    4. Delete all files except “Bookmarks.plist”.
    5. Then go to Users > [username] > Library > Preferences.
    6. Find com.apple.Safari.plist, com.apple.internetconfigpriv.plist, and com.apple.internetconfig.plist and delete them (ignore any file you can’t find).

  • Black window remains open even after closing the window programatically

    I have an application which has multiple windows. From mainwindow button click event I am closing the child form of the application. The child window is opened after a successful socket, serial or gateway connection attempt, after which the application
    do work with some threads and while clicking on a button on mainwindow I am closing this child window after disconnecting the respective connection mode. But after the close event the child window background gets black and it remains open unless and until
    I just do a minimize and maximize the application. Please help me on this to get this issue fixed.

    Well the details are rather going to depend on what it's doing.
    It's a very open ended question really.
    But...
    Your options include.
    Background worker.
    https://msdn.microsoft.com/en-us/library/cc221403(v=vs.95).aspx
    DIspatcherTimer
    https://msdn.microsoft.com/en-us/library/system.windows.threading.dispatchertimer(v=vs.110).aspx
    Async Await
    https://msdn.microsoft.com/en-us/library/hh191443.aspx
    Tasks
    Task.Factory.StartNew(() => { Dosomething(); });
    Or just a plain thread
    using System.Threading;
    new Thread(() =>
    Thread.CurrentThread.IsBackground = true;
    // DoSomething();
    }).Start();
    Where DoSomething is a method.
    You can also have inline code of course instead of a method.
    Whilst on a different thread to the UI you can't update UI objects.
    You'll get a thread affinity error message if you try.
    That means you either return your results to the ui thread and process them there ( particularly convenient with async await ).
    Or you update something which doesn't have thread affinity.
    An observablecollection bound to an itemssource doesn't have thread affinity eg.
    You do need to raise property changed at the end of your processing with that option because it notifies collectionchanged on the wrong thread and the UI won't know it changed.
    Or you can dispathcher.begininvoke to get back to the UI thread.
    All depends what you're doing but hopefully one of those options there will suit you.
    Hope that helps.
    Recent Technet articles:
    Property List Editing ;  
    Dynamic XAML

  • Sql Plus Help! (the window remain open)

    I'm currently using sql plus to export data from oracle to text with spool command, in this way:
    sqlplus user/[email protected] @F:\pathtosql\query.sql (this line is in a bat file)
    where the file query.sql contain the spool comand
    spool F:\textfile.txt;
    set head on;
    set pagesize 0;
    set linesize 512;
    set trimspool on;
    set feedback off;
    set termout off;
    select field1, field2, ..., fieldn
    from table;
    spool off;
    exit;
    mi problem is when I run .bat (contining the sqlplus command) and for some reason the source database is not available the windows remain open requesting for a logon information, I want the windows close if are connection problem
    Can I do that with sqlplus
    Thanx

    Specify the -L command line option to SQL*Plus, i.e.:
    sqlplus -L username/password@db @blah.sql
    (this will prevent the second prompt for username/password if the initial login is unsuccessful for any reason, like an invalid password).

  • Excessive no. of ports remaining open with HttpUrlConnection

    Hi,
    I am facing problem where excess no. of TCP ports getting opened or remaining open on client of my application (from where I send XML requests to application).
    The scenario happens when I simulate a load of 100 concurrent requests through JMeter (SOAP/XML-RPC requests)
    Client app is deployed on Tomcat 5.5 on a Linux box.
    My code looks like follow:
    try {
    URL url = new URL(<url string>);
    HttpURLConnection httpURLConnection = (HttpURLConnection) url.openConnection();
    httpURLConnection.setRequestMethod("POST");
    httpURLConnection.setConnectTimeout(10000);
    httpURLConnection.setDoOutput(true);
    OutputStreamWriter outputStreamWriter = new OutputStreamWriter(httpURLConnection.getOutputStream());
    outputStreamWriter.write(<write something>);
    outputStreamWriter.close();
    BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(httpURLConnection.getInputStream()));
    <read buffered reader here>
    bufferedReader.close();
    } catch {}
    finally {
    httpURLConnection.disconnect();
    }What's wrong here that is causing excessive TCP IP ports to remain open?
    Also, I want to restrict the no. of Http connections that I can make from client to server. Is this possible?
    I searched about <Connector acceptCount=<> .... > in server.xml on Tomcat. But it is about incoming connections on Tomcat port and not the outgoing connections. I also explored -Dhttp.maxconnections but it doesn't serve my purpose. Only option I can think about is creating a custom object pool for HttpConnectionUrl (which I would like to avoid due to some reasons)
    Is there any built-in support/ready API/tool to restrict no .of connections while sending Http requests?
    regards,
    suraj

    I am facing problem where excess no. of TCP ports getting opened or remaining open on clientCompared to what?
    The scenario happens when I simulate a load of 100 concurrent requests through JMeter (SOAP/XML-RPC requests)Aha.
    What's wrong here that is causing excessive TCP IP ports to remain open? Nothing except your definition of 'excessive'. You are simulating hundreds of clients on one client host so you will get all the bahaviour of those client hosts in your single client host. The problem is in the simulation, not the TCP ports.
    Also, I want to restrict the no. of Http connections that I can make from client to server. Is this possible? Why?

  • Cannot turn off Homesharing to AppleTV: IPv6 connections remain

    I CANNOT prevent my AppleTV from sharing my iTunes Library even though ALL sharing on my computer (including "home sharing" in iTunes) is turned OFF
    There are several discussions about Homesharing not working if the AppleTV has gone asleep for over 24 hours.
    In "most cases", restarting the AppleTV and/or restarting iTunes will solve this problem.  On occasion, I have had to reboot the computer that was suppose to be sharing.
    I have two computers.  One with Homesharing (system 1) on and the other with Homesharing (and all sharing) turned off. (system 2)
    When I restart the AppleTV so that it will see the iTunes library for system 1, it will -also- pick up the iTunes library for system 2.
    The Bonjour Sleep Proxy is somehow involved in this.  It keeps the ARP table populated with IP addresses of systems that have gone to sleep.  (AppleTV)   An Airport Extreme will run the Bonjour Sleep Proxy.  I have found that the AEX will cause as many as 60 DAAP sockets (both v4 and v6) to be open on my computers -- if iTunes is running.  When the AppleTV wakes up, restarting it seems to clear these extraneous DAAP sockets and ONLY ipv6 sockets remain open on system 2.
    On system 1 (Homesharing enabled) has 3 ipv4 sockets open for DAAP.
    This appears to mean that when Homesharing is turned off it is ignored by IPv6.
    On further investigation, I note that link local addresses are being used between the AppleTV and system 2.
    tcp6       0      0  johns-macbook-pr.daap  great-room-apple.54552 ESTABLISHED
    tcp6       0      0  johns-macbook-pr.daap  great-room-apple.54551 ESTABLISHED
    tcp6       0      0  johns-macbook-pr.daap  great-room-apple.54550 ESTABLISHED
    The only problem is that the MAC address these connections are made over are to the Airport Extreme
    great-room-apple-tv.local               90:72:40:c:8c:9f     en1 22h54m16s S   
    fe80::cbc:15ab:bdd7:98b7%en1    90:72:40:c:8c:9f     en1 22h54m0s  S   
    ? (10.0.1.1) at 90:72:40:c:8c:9f on en1 ifscope [ethernet]
    Of course, this is a side-effect of using Bonjour Sleep Proxy.
    When the appleTV is asked to list the contents of the iTunes Library on System 2, the MAC address is corrected to the Apple TV.
    But the problem remains that HomeSharing for system 2 is OFF.  How did this information get into the Apple TV and why does System 2 even answer?
    Attempting to turn off IPv6 on system 2 has resulted in "System Preferences" freezing and being "force quit"
    (I set up IPV6 for manual configuration but did not enter any address.  A warning message came up saying an address was required but System Preferences no longer responded.)
    Properly entering "::" for all zeros worked.  But that still does not disable "link-local" addresses.  So restarting the AppleTV -STILL- shows system 2 iTunes Library being available over IPv6 sockets.
    Check out these threads:
    Apple TV homesharing keeps dropping out ...
    Numerous ATV DAAP ports to MacBook Pro
    DHCP conflicts between AppleTV and Airport Extreme repeater

    Have you recently installed LittleSnitch or some other network "guardian"?
    There have been a number of these messages recently, though generally with other apps.
    http://discussions.apple.com/thread.jspa?threadID=2087017&start=0&tstart=0
    Lots More

  • I've downloaded the Creative Cloud, once completed the creative cloud window pos up with spinning whell in center then the entire window disapears. How do I get it to remain open so that I can download programs needed.

    I've downloaded the Creative Cloud, once completed the creative cloud window pos up with spinning whell in center then the entire window disapears. How do I get it to remain open so that I can download programs needed

    right click the executable > click 'run as administrator'.

Maybe you are looking for

  • Charging for 12 hrs plus, almost half charged. What's with that?

    Have been attempting to recharge an iPad for more than 12  hrs now and still am not halfway there. What's with that?

  • Cant read the contents

    when i plug my ipod into the computer it says in itunes that it cant read the contents of my ipodtouch and i would have 2 restore it. i dont really get what this means? and i dont want 2 restore it because i dont want 2 lose everything in my ipod. i

  • MSS Reporting - Cannot choose Manager's Desktop Application Category

    Dear experts, I need to add reports to Reporting in mss. I am trying to custom Reports in launchpad (fpb_launchpad_cust). I can see the reports in folder. However, I can't  add new application under Manager's Desktop Application Category. Is there an

  • Where can I download the latest video driver for macbook pro 13''?

    I have this game that I want to play but it won't start cos it says that I need the latest video driver. Btw, im using windows 7 64bit to run this game. Thank you.

  • I messed up BIG time....

    Or so I think. So apparently, I decided to erase my partition of Windows on my iMac. However, Bootcamp would not run. So instead, I did a dumb thing and erased the disk image using DISK UTILITY, thinking it would erase the partition as well. What a d