Problem with ioinning multiple Threads

Hi,
I have multiple sub Threads T1, T2, T3.... started by main Thread T. After starting each sub Thread, I stored them in the HashMap. When finish starting all Threads, I want to join each sub Thread to my main Thread.
The problem is when T3 join with T, it hanged forever! Here is my code:
class MyThread extends Thread
private name;
MyThread(String tName)
name = tName;
public void run()
// doing something....
public HashMap startThreads()
HashMap tList = new HashMap();
for (int i=0; i<5; ++i)
String tName = "Thread" + i;
MyThread myT = new MyThread(tName);
myT.start();
tList.put(tName, myT);
public void joinThreads(HashMap tList)
Iterator iter = tList.values().iterator();
while (iter.hasNext())
Thread activeThread = (Thread)iter.next();
if (activeThread.isAlive()) {
System.out.println("Join alive thread " + activeThread.tName);
activeThread.join();
In my method:
... doing s/t
HashMap tMap = startThreads();
joinThreads(tMap);
... doing s/t else (never excecuted!!!)
My purpose is staring multi Threads at the same time and executing some code after they all die.
If I join my sub Thread right after creating it, then the other sub Thread couldn't started until subThread 1 dies!
If I don't join the sub Thread but remove it from the thread Map when it's not alive then my code executed perfectly. I want to apply join method with my mutiple Threads, how ????
Could some one give me a hint? Thanks.

Hi,
What I don't understand here is why the main Thread
does not join all the sub Threads ?If you're getting a ConcurrentModificationException while iterating the list of threads, then that's why.
Why main Thread
has to wait for sub Thread 1 to finish before joinning
next sub Threads?It has to join all of the threads. That means it has to wait for all of them to finish. In order to wait for all of the threads it has to wait for the first thread.
I'm 100% sure that my sub Threads in
the threadList are valid and alive since I already
veriffied with other methods.I don't see what that has to do with your problem.
I already set my joinThreads method as synchronized,
how come I still have ConcurrentModificationException?Because the list was modified concurrently.
How can I fix this error?Stop modifying the list concurrently. You haven't posted all of the relevant code, so I can't offer any clues about how to do that.

Similar Messages

  • Is there any problem to use multiple threads to send email with JavaMail

    Dear all,
    I am using JavaMail 1.3.2 to send emails with SMTP, it works very well for a long time.
    But one day, I found that the email service hanged and I could never send email again until I restart the tomcat. I found that the reason was a deadlock had been created, the required resource for sending email had not been released.
    I guess the error is due to multiple threads are sending email at the same time. I made a test to create seperate thread for sending each email. After few days, I found this deadlock happened again. So, my question is: Can I use JavaMail with multiple threads? If not, I may need to sychronized all the thread that using JavaMail. I would like to make sure this is the reason for causing the deadlock problem.
    Here is part of my code for using JavaMail:
    transport = session.getTransport("smtp");
    transport.connect(email_host, smtp_user, smtp_pass);
    message.saveChanges();
    transport.sendMessage(message,message.getAllRecipients());
    which is very standard call, and it worked well for a long time.
    Here is part for my thread dump on tomcat:
    (Thread-339)
    - waiting to lock <0x5447c180> (a sun.nio.cs.StandardCharsets)
    (Thread-342)
    - locked <0x5447c180> (a sun.nio.cs.StandardCharsets)
    It seems that these happened after call the method transport.sendMessage() or message.updateChanges()
    , and the underlying implementation may require the JRE StandardCharsets object. But the object had been locked and never be released. So, the sendMessage() or updateChanges() can't be completed.
    Please give me some helps if you have any idea about it.
    Thanks very much!
    Sirius

    Note that the Nightly build gets updated daily (and sometimes more than once in case of a respin) and it is always possible that something goes wrong and it doesn't work properly, so be prepared for issues if you decide to stay with the Nightly build and make sure to have the current release with its own profile installed as well in case of problems.
    See also:
    * http://kb.mozillazine.org/Testing_pre-release_versions
    *http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    *http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    *http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • Problem with JDialogs and Threads

    Hi. I'm new to this forum and I hope I'm not asking a repeat question. I didn't find what I needed after a quick search of existing topics.
    I have this problem with creating a new JDialog from within a thread. I have a class which extends JDialog and within it I'm running a thread which calls up another JDialog. My problem is that the JDialog created by the Thread does not seem to function. Everything is unclickable except for the buttons in the titlebar. Is there something that I'm missing out on?

    yeah, bad idea, don't do that.

  • Problem with Serialization from Threads

    I'm quite new to java threads, and i'm doing a simple server.
    It opens a thread for every socket connection that is opened, so the Socket is extern to the Thread.
    When I try to serialize on the socket a Vector (that contains Vectors, etc..) that is extern to the Thread, the first time everything goes ok, but when the thread modifies some variables in some objects contained in a vector(that, i repeat is extern to the thread), the serialized object doesn't seem to change, and the client continues receiving the same variables, without change.
    In a first time i thought that maybe creating a thread, the second one took a copy of the space of addresses of the main one(and so when i modify a variable from a thread the variable in the main thread didn't change), but i read that java uses the same space of addresses for every thread, so i don't really know what it could be.
    Maybe i've not been clear so i make an example:
    MyType is a class containing some fields, let's put x and y
    In the class MainClass i have an istance of this class, and also a socket and from here i open a thread of class MyThread
    MyThread modifies x and y in a object of MyType contained in the "3D array" that is in MainClass
    Then from that thread i serialized on the socket (which was been passed by MainClass).
    Well, doing this way the vector that the client receives has always the x and y fields unchanged.
    Please help me, cause i've been thinking all day of what it could be and found nothing on the web.
    Also sorry for my poor english.

    I thought that could be the problem, but it wasn't.
    The client still receives the vector with objects
    unchanged.
    I think the problem is that the thread can only access
    to a copy of the class that contains the vector, and
    so when i send the real one, it isn't changed.not likely. one of the things about threads is that they share everything but local (read: non-Object) data. All objects are accessible to any thread of your application, as long as that thread has a reference to it.

  • Problem with running multiple servlet in same webapplication with tomcat 3

    Hi all,
    I am using Tomcat 3.0 as webserver with jdk1.3, Servlet 2.0,
    Templates for html file and oracle 8i on UNIX platform.
    I have problem with multiple servlet running same webapplication.
    There are two servlet used in my application. 1) GenServlet.class
                   and 2) ServletForPrinting.class
    All of my pages go through GenServlet.class which reads some property files
    and add header and footer in all pages.
    I want reports without header & footer that is not possible through GenServlet in my application.
    So I have used another servlet called ServletForPrinting --- just for reading html file.
    It is as follow:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ServletForPrinting extends HttpServlet {
    public void service (HttpServletRequest request,
    HttpServletResponse response) throws ServletException, IOException
    // set content-type header before accessing the Writer
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    File f1 = null;
    String report = null;
    String path = request.getPathInfo();
    try{
    String p = "/var/home/latif/proj/webapps/WEB-INF/classes" + path;
    System.out.println(p);
    f1 = new File(p);
    p = null;
    if (f1.exists()) {
    FileReader fr = new FileReader(f1);
    BufferedReader br = new BufferedReader(fr);
    report = new String();
    while ((report = br.readLine()) != null) {
    out.println(report);
    }catch(Exception e) {
    out.close();
    report = null;
    path = null;
    f1 = null;
    } // end class
    It works fine and display report properly.
    But now Problem is that if report is refreshed many times subsequently,
    WebServer will not take any new change in any of java file used in web-application.
    It works with the previous class only and not with updated one.
    Then I need to touch it. As soon as I touch it, webserver will take updated class file.
    Anybody has any idea regarding these situation?
    Is there any bug in my ServletForPrinting.java ?
    Any solution ????? Please suggest me.
    Suggestion from all are invited. That will help me a lot.
    Thanks in advance
    Deepalee.

    Llisas wrote:
    I solved the problem, I just had to wire the blocks in a sequential way (I still don't know why, but it works).
    Feel free to delete this topic.
    I would strongly suggest at least reading this tutorial to give you an idea of why your fix worked (or maybe only appeared to work).  Myself, I never just throw up my hands and say, "Whatever," and wash my hands of the situation without trying my best to understand just what fixed it.  Guranteed you'll run into the same/similar problem and this time your fix won't work.
    Please do yourself a favor and try to understand why it is working now, and save yourself (or more likely, the next poor dev to work on this project) some heartache.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Problem with image multiplication

    Hi,
    I am working on an image processing application and I have a problem with multiplacation of image. I use an autothresholding function to get a binary image. After thresholding I want to superimpose binary image with image taken with a traditional camera. The problem is that I need to multiply every pixel value of the binary image by 255 to get proper results of image fusion. To multiply image I used IMAQ multiply function which seems to work properly. After multiplication I need to convert image to array, so I used imagetoarray function. Unfortunately I don't get proper values after this operation - all array values are 0. I appreciate any help with this problem.
    I attached the vi with added a comment next to the conversion function.
    Attachments:
    Image Fusion-single_image_ver3.vi ‏84 KB

    I'm not sure if this is the problem, as I've only done a little image manipulation.  I believe that, by default (unless you specify otherwise), images are U8 gray-scale quantities.  If you multiply a U8 by 255 (Sgl) and express the result as a U8, the result will be 255 for all values except 0 (when it will be 0).
    Does your thresholded image autoBthreshold 4 image look all black (or white -- I can't remember which color = 255)?  If so, then your code is "doing what you told it to do", which might not be the same thing as "doing what you want it to do" ...

  • Help with running multiple threads

    I'm new to programming with threads. I want to know how to run
    multiple threads at the same time. Particularly for making games
    in Java which I'm also begining to learn. For running multiple
    threads at the same time, do you have to put two run() methods
    in the source? If not then how do you make two threads or more
    run at the same time?
    Thanks for helping.

    For running multiple
    threads at the same time, do you have to put two run()
    methods
    in the source? Hi there,
    Each thread is presumably performing a task. You may be performing the same task multiple times or be performing different tasks at once. Either way, each task would typically be contained within the run() method of a class. This class would either be a subclass of java.lang.Thread (extends Thread) or would be an implementation of java.lang.Runnable (implements Runnable). In either case, you would define a method with signature (public void run()...). The difference comes into play when you wish to actually perform one of these tasks. With a subclass of Thread, you would simply perform:
    new MyTask().start();
    With an implementation of Runnable, you would do this:
    new Thread(new MyTask()).start();
    This assumes you don't need to monitor the threads, won't be sending any messages to your tasks or any such thing. If that were the case, you would need to tuck away those returns to new MyTask() for later access.
    In order to launch two threads simultaneously, you would have something along the lines of:
    new MyTask().start();
    new MyOtherTask().start();
    Now it is perfectly possible that MyTask() would complete before MyOtherTask() managed to start in which case it wouldn't appear as if you had actually had multiple threads running, but for non-trivial tasks, the two will likely overlap. And of course, in a game, these tasks would likely be launched in response to user input, which means that you wouldn't have any control over when or in what order they executed.
    Anyhow, it's as simple as that. You should also consider following the Java Threading trail which shows a simple example of using multiple threads. You can find it at:
    http://java.sun.com/docs/books/tutorial/essential/threads/index.html
    Regards,
    Lynn

  • I'm having a problem with downloading multiple app updates and moving songs between iTunes and my external hard drive.

    I'm having two problems with iTunes, but I'm not sure if they're related issues. First, when I try to click "Download All Updates" for apps, only one update will download and I will get successive error messages for all of the other updates. However, if I click update for each individual app, they download fine. Why am I not able to download all app updates simultaneously now.
    My second issue is that I cannot move songs from iTunes to my external hard drive or vice versa. When I drag the files, the blue plus sign appears, but the file does not appear where I moved it to.
    Both issues have been occuring for about month. Any help would be greatly appreciated.

    While downloading select Downloads in the left-hand column and make sure Allow Simultaneous Downloads is unchecked. This seems to help with partial downloads...
    The other issue doesn't ring any bells.
    tt2

  • What's the problem with having multiple users with the same UID?

    I've got three edit systems connected to the SAN using open directory off our server.
    I want all edit systems to have read/write access to everything created. I don't need to protect anything from any of the systems. With all three systems logged on using the same user, I never have to change permissions.
    The other cool thing about this is that Final Cut Pro will let me know if someone else is modifying a project that I have open with the warning:
    “The project "projectName" has been modified externally. If another user is working on it, saving will overwrite their changes. Do you still want to save?”
    This sounds great, right?
    RED FLAG!!!! Apple gives the warning in this article:
    http://docs.info.apple.com/article.html?artnum=302450
    "You should not allow two users with the same UID to access an Xsan volume at the same time."
    So why is it bad to have two (or more) users with the same UID?
    I can see that in some situations it means that you can't prevent people from read/write privileges. But I don't want to restrict privileges.
    What am I missing? With all of these warnings, it seems like if I do this my edit systems could all explode or something. Please help me understand the potential ramifications of having three users have the same UID.

    Hi Russell,
    1) If you have OD set up and "editor" has UID 1111, then when they log in to any machine that's bound to OD as editor, they will get UID 1111. Therefore, there won't be any of these permission errors. This is typically the recommended approach.
    2) I assume you mean "You'd prefer to not using open directory?" Whatever the case, OD isn't mandatory with Xsan -- it's just that with multiple user accounts, managing them centrally tends to be easier. For 3 or 4 accounts and 3 or 4 machines maybe it's no big deal. If you go larger, it could get a lot more complicated. That said, if you set it up such that each machine has the exact same set of users (as you said, Mary = UID 502, Fred = UID 503, William = UID 504), then you can do what you want. Mary can log in from multiple machines at the same time, and in general you won't have permissions problems. Of course, if you try and read and write the same file from multiple workstations at the same time, you will get file locking issues, which will prohibit somebody from successfully writing the file.
    File locking issues are different from general permissions errors. The former basically says "hey, someone else is editing this file. Therefore I won't let you edit it right now... you can read it if you want though." Permissions means somebody saves it, and Xsan thinks you saved it and own the file, when you really don't.
    Quad-Core PMG5, 4 GB RAM, 7800 GT, 1 TB disk.   Mac OS X (10.4.4)  

  • Out of Frequency Problem with Apple Multiple Scan 720 Display and Mac mini

    If a resolution with a horizontal and/or vertical frequency not compatible with your display, in this case an Apple Multiple Scan 720 Display, is selected in the Display preference pane of the Mac OS X 10.4.10 system running on a Mac mini (Early '06), you will recieve a message on your screen about being "out of frequency" and the power management feature will shut down and restart your display repeatedly. The following solution should restore your display to proper function. It may apply to other displays and Macintoshes running Mac OS X, but it has only been tested specially on this setup.
    1. Shut down the Mac mini with the power button (press and hold for 5 seconds)
    2. Start the computer up with the Mac mini Mac OS X Install Disc 1 (press the power button, insert the disc, hold the C key down until the progress bar starts up)
    3. Click on the language, then select Utilities > Terminal...
    4. Type "cd /" and return
    5. Type "cd Volumes" and return
    6. Type "cd your hard drive name" and return (you need to enclose the hard drive name in double quotes if more than one word)
    7. Type "cd Library" and return
    8. Type "cd Preferences" and return
    9. Type "rm com.apple.windowserver.plist" and return
    10. Type "exit" and return
    11. Quit Terminal
    12. Select Utilities > Startup Disc...
    13. Select the OS on the hard drive and click on Restart button, holding down the Shift key until the progress bar starts.
    14. Log in to the account that had the display problem in Safe Boot mode
    15. In System Preferences select Display, select a resolution with the appropriate frequency, 60 Hz should be fine, then close System Preferences
    16. Restart the computer, log in to the account normally, and the display should be functioning properly.
    DO NOT SELECT AN INAPPROPRIATE RESOLUTION/FREQUENCY FOR YOUR DISPLAY IN THE DISPLAY PREFERENCE PANE! BE AFRAID, BE VERY AFRAID!
    Mac mini (Early '06)   Mac OS X (10.4.10)   Apple Multiple Scan 720 Display
    Mac mini (Early '06)   Mac OS X (10.4.10)   Apple Multiple Scan 720 Display

    Just a correction and an elaboration:
    It should be Startup Disk... with a k, not a c.
    Both the resolution and the frequency must be appropriate for your display to work properly. Check your documentation or the manual information available on your display for the appropriate resolutions/frequencies. Evidently the Apple Multiple Scan 720 Display is considered so old that no allowance was made for it in the Display preference pane of Mac OS X 10.4.10.
    Mac mini (Early '06)   Mac OS X (10.4.10)  

  • BIG Problem with generating multiple pdfs

    Hi,
    I have an application for which the final output is a pdf report about an applicant from a database of applicants.
    If I print the form just once, all the stylesheet formatting is applied correctly.
    If I try to loop through the database and generate multiple reports of multiple applicants, the styles and formatting get applied ONLY to the first report, and then the subsequent reports do not have any styles applied which of course makes them unacceptable.
    I've tried loading the stylesheet before the loop and inside the loop, no difference.
    The styles being lost are for divs and tables and cells.  Fonts are handled separately by calling functions within the report which apply them on the fly.to text based on the section and type of output.
    Is anyone familiar with this problem?  Is there a workaround? I really really really need this to work.
    Thanks,
    RIchard

    I do not know the cause, but if all else fails you could move the cfdocument code to a separate template.  Then the styles seem to work as expected.
        <!--- loop code --->
        <cfloop from="1" to="5" index="x">
              <!--- call separate script cfinclude, cfmodule, etcetera ... --->
              <cfinclude template="test.cfm?x=#x#">
         </cfloop>
         <!--- test.cfm --->
        <cfdocument format="pdf" filename="testpdf-#url.x#.pdf" overwrite="true">
            <div style="background-color: #ff0000;">Test div</div>
        </cfdocument>

  • Problem with socket and Threads

    Hi,
    I have coded a package that sends an sms via a gateway.
    Here is what is happening:
    * I create a singleton of my SMSModule.
    * I create an sms object.
    * I put the object in a Queue.
    * I start a new Thread in my sms module that reads sms from queue.
    * I connect to sms gateway.
    * I send the sms.
    * I disconnect from socket! This is where things go wrong and I get the following error (see below).
    I have a zip file with the code so if you have time to take a look at it I would appreciate it.
    Anyway all hints are appreciated!
    //Mikael
    GOT: !LogoffConf:
    mSIP Kommando var: !LogoffConf
    CoolFlix log: MSIPProtocolHandler;setLoggedin(false)
    We got LogOffConf
    Waiting ......for thread to die
    java.net.SocketException: Socket operation on nonsocket: JVM_recv in
    socket input stream read
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:116)
    at
    sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:405)

    Off the top of my head, probably the garbage collector cleared your SMSModule coz all classes loaded through other classloaders will be unloaded when that classloader is unloaded.
    mail in the code if you want me to look at it with greater detail.

  • Problem with StatelessConnectionPool and Threads on Windows XP

    I am trying to use a StatelessConnectionPool in a multithreaded app under Windows using 10g. The problem is that when my application is exiting and I go to terminate the StatelessConnectionPool, I get an access violation inside Environment::terminateStatlessConnectionPool.
    A short program that demonstrates the problem is at the end of this post. One thing I have noticed is that by calling terminateConnection inside the thread instead of releaseConnection the problem goes away. However, performance really degrades. Thanks in advance.
    #include <windows.h>
    #include <occi.h>
    #include "RegisterDataMappings.h"
    #include "Consumers.h"
    #include "Thread.h"
    using namespace oracle::occi;
    Environment* env = NULL;
    StatelessConnectionPool* connPool = NULL;
    //Derived from opur Thread class
    class TestThread : public Thread
    public:
         TestThread(void){}
    protected:
         //get an object 10 times, sleeping every 500 msecs in between
         virtual DWORD run(void)
              printf("Thread 0x%08x Enter...\n", GetCurrentThreadId());
              Sleep(500);
              int i = 0;
              while(i < 10)
                   try
                        Connection* conn = connPool->getConnection();
                        Statement* stmt = conn->createStatement("select Ref(c) from consumers c where pid = 7038878582");
                        ResultSet* rs = stmt->executeQuery();
                        if(rs->next())
                             Ref<Consumers> consumer = rs->getRef(1);
                             printf("Thread 0x%08x #%d - %.0f\n", GetCurrentThreadId(), i+1, (double)consumer->getconsumerid());
                        stmt->closeResultSet(rs);
                        conn->terminateStatement(stmt);
                        connPool->releaseConnection(conn);
                        //connPool->terminateConnection(conn);
                        Sleep(500);
                        ++i;
                   catch(SQLException& sql)
                        printf("Oracle exception: %s\n", sql.getMessage().c_str());
              printf("Thread 0x%08x Leave...\n", GetCurrentThreadId());
              return 0;
    //Helper function to create a connection
    void createConnection(void)
         env = Environment::createEnvironment((Environment::Mode)(Environment::OBJECT|Environment::THREADED_MUTEXED));
         RegisterDataMappings(env);
         connPool = env->createStatelessConnectionPool("user", "pass", "orcldev", 10, 10, 0, StatelessConnectionPool::HOMOGENEOUS);
    //Helper function to terminate a connection
    void terminateConnection(void)
         env->terminateStatelessConnectionPool(connPool);
         Environment::terminateEnvironment(env);
    int main(int argc, char* argv[])
         try
              //Connect to the database
              createConnection();
              //Create 10 threads and wait for them to complete
              const int numThreads = 10;
              HANDLE handles[numThreads];
              for(int i = 0; i < numThreads; i++)
                   TestThread* thread = new TestThread;
                   thread->start();
                   handles[i] = thread->getThreadHandle();
              WaitForMultipleObjects(numThreads, handles, TRUE, INFINITE);
              //Clean up
              terminateConnection();
         catch(SQLException& sql)
              printf("SQLException caught: %s\n", sql.getMessage().c_str());
         return 0;

    When I search MetaLink for bug 4183098, it says there's nobug 4183098. Any information on this?

  • Problem With Booleans and Threads

    Since using the .stop() and .resume() properties of a thread are dangerous, I resorted to using Booleans....
    I can get it to stop just fine by setting "keepGoing" to false. That works...
    But when I set the boolean to true... nothing happens. I think the while loop is broken when I set it to false and can't be fixed when the boolean is set back to true.
    There's some deep process I'm not getting with while loops and/or threads.
    Thanks for any help. The first segment of code is what's wrong. Post if it would help to see the rest.
    class startUpdatingThread extends Thread {
          public void run() {
              System.out.println("THREAD STARTING TO RUN!");
            while (keepGoing == true) {
                if (keepGoing == true) {
                Long nextGoAbout = imgTime + 5000;//five seconds more
                if ( ((nextGoAbout - connection.getDate()) < 10000) ) {
                    getnewPicture();
                    imgCanvas.repaint();
    }

    Still a missing }, and you'll still fall out the end of the thread. Something like this:
    class StartUpdatingThread extends Thread
         private volatile boolean     keepGoing = true;
         public void run()
              System.out.println("THREAD STARTING TO RUN!");
              for (;;)
                   synchronized (this)
                        while (!keepGoing)
                             try
                                  this.wait();
                             catch (InterruptedException exc)
                   Long nextGoAbout = imgTime + 5000;//five seconds more
                   if ( ( (nextGoAbout - connection.getDate()) < 10000) )
                        getnewPicture();
                        imgCanvas.repaint();
         public void pause()
              this.keepGoing = false;
         public synchronized void unpause()
              this.keepGoing = true;
              notifyAll();
    }//<--end of StartUpdatingThread()

  • Problem with iTunes multiple users

    My wife and I both have an iphone4. Previously we both synced to my itunes under my username on our shared PC.Now I want her to be able to sync to her own itunes account under her own username on our PC. I have downloaded itunes to her account on the PC and then changed the AppleID to her ID so she could download past purchases.
    When I logged onto my username on our PC I now get a message saying "This computer is already associated with an AppleID. You can auto download purchases on this computer with just one AppleID every 90 days. You cannot associate this computer with a different AppleID for 81 days".
    Originally when I was setting up her iTunes account under username I got a message saying that if I switched account I would not be able to log in again for 90 days. So I went to the Apple store and enquired about this. I was told that was probably just incorrect language used and Apple would know that two separate accounts were running from one PC but with different usernames. Clearly this is not the case.
    Obviously this is a problem as it means purchases I am making on my phone, podcasts etc also, are not being transferred to my iTunes account on my computer.
    I assume Apple is only recognising this computer, not the fact that we have two separate users.
    There are plenty of posts on this site, and other websites, saying it is perfectly possible to run two separate iTunes accounts from one computer, so long as you have separate user accounts on the computer. But it's not working for me.
    By the way I have Windows 7 Starter version 6.1.
    Does anybody know any fixes for this?
    Sorry if this is not clear, I am not technical in any way so I may not have explained this very well.
    Any help would be much appreciated. Thank you for your help.

    Was your wife logged into the libray at the time you tried to log in? I have had a similar problem and it was because another user was logged into the library when I attempted to. I got the permission denied banner.

Maybe you are looking for

  • Hilfe habe 3 Monat abo und kann nicht das adobe creative cloud installieren sagt immer kein Programm vorhanden  bei mac

    ich hatte mal eine Probe und habe aus versehen in der über leiste das creative cloud Fenster gelöscht und bekomme jetzt nicht mehr dran oder kann es nicht mehr installieren . jedesmal kommt die aussage das das Programm nicht geöffnet werden kann weil

  • Directory on server

    how can i give grant permission to a directory in sql developer tool, but here in sql developer, i want to create directory on server, how to do this.. any notes or links ???

  • Lightening Images/Photos in InDesign

    Can someone help me how to lighten images (.gif) that I have dragged and dropped into InDesign (CS5) - when the finished product is printed, some images are too dark?

  • ConversionException with Oracle 9

    Hello everyone, I've got a problem, which came up when switching from an Oracle 8.1.7 database to a 9.2. When I access the database via TopLink, I get the following exception: LOCAL EXCEPTION STACK: EXCEPTION [TOPLINK-3001] (TopLink - 9.0.3 (Build 42

  • HP Envy Touchsmart 15-j063cl Microprocessor Upgrade

    I was looking into upgrading the microprocessor for my HP Envy Touchsmart 15 Notebook PC 15-j063cl from the original stock Intel 4th generation Core i7-4700MQ to either a i7-4910MQ or a i7-4940MX, but I ran into an issue,  which was if I could even r