Installing Update Rollup 4 for R2. Question of post installation task

I will be installing Update Rollup 4 for Service Manager 2012 R2 on our Orchestrator, Data Warehouse, Service Manager and Portal Server as well as updating the client Consoles.
Following MS article
http://support2.microsoft.com/kb/2989601/en-us?sd=rss#install.
A bit confused about the Post installation tasks. Particularly the following:
Resynchronize System Center Operations Manager mount point data
To resynchronize Operations Manager mount point data after you apply this update, follow these steps:
Disable all the Operations Manager configuration item (CI) connectors in the Service Manager console.
In Windows PowerShell, check the current execution policy by running the following cmdlet:
Get-ExecutionPolicy
If the current execution policy is Restricted, set it to
Remotesigned by running the following command:
Set-ExecutionPolicy –force RemoteSigned
Find the following PowerShell script in your System Center 2012 R2 installation directory:
OMCIConnector_SyncMetadata_UpdateTimestamp.ps1
By default, you should find this file in the following location:
C:\Program Files\Microsoft System Center 2012 R2\Service Manager\PowerShell
Run the following command from the Primary Management server:
PowerShell .\OMCIConnector_SyncMetadata_UpdateTimestamp.ps1
Revert the execution policy to the original value that it had in step 2.
Enable and synchronize the relevant Operations Manager CI connectors.
Make sure that all the mount point data is populated in Service Manager.
I am guessing they are talking about the System Center Configuration Manager Connector but not sure. We don't have a Connector for SCOM. If by OMCIConnector they mean SCOM, then I don't need to worry about this.  If would be nice if they would tell
you why you are doing this. I don't even know what "Mount Point Data" is.
Does anyone know if it would cause any problems if I skipped this step? I hate doing stuff when I don't know why I am doing it. For example, step 8 "Make sure that all the mount point data is populated in Service Manager."
What does that even mean?
Also, I cannot even find the PowerShell script they are talking about in the C:\Program Files\Microsoft System Center 2012\Service Manager\Powershell folder so are they talking about SCOM or SCCM?

All of the steps listed refer to the Operations Manager connections. none of these steps relate to the Config Manager connector.  If you are not using SCOM, or don't have a SCOM connector, then you can safely ignore these steps. 

Similar Messages

  • VssNullProver stopped after installing Update Rollup 3 for System Center Data Protection Manager 2012 R2

    I recently installed Update Rollup 3 for System Center Data Protection Manager 2012 R2.
    As part of the update I updated all DPM Agents, including the ones on our Hyper-V Servers (which are part of a cluster). I also rebooted every DPM Protected Servers. After reboot all Hyper-V Servers raise a warning that the VssNullProvider service has stopped.
    Backup seems to work properly. I can start the VssNullProvider service manually. But after the next backup the service it is stopped again. Exactly the same issue occurs on our test Hyper-V Cluster. All our Hyper-V Servers run Windows Server 2012 R2 and
    we use System Center Virtual Machine Manager 2012 R2.
    Something is not ok with Update Rollup 3. Any suggestions?
    Boudewijn Plomp, BPMi Infrastructure & Security
    Please remember, if you see a post that helped you please click "Vote as Helpful" and if it answered your question, please click "Mark as Answer".

    Hi
    SEE NEW BLOG:
    Support Tip Service Manager alert for the VSSNullProvider service after installing
    DPM 2012 R2 UR3
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
    posting is provided "AS IS" with no warranties, and confers no rights.
    Thanks!
    Boudewijn Plomp, BPMi Infrastructure & Security | Please remember, if you see a post that helped you please click "Vote as Helpful" and if it answered your question, please click "Mark as Answer".

  • Installing Update Rollup 7 for Exchange Server 2010 SP3

    Hi,
    I have 4 Exchange servers. Two CAS and two DAG. I am currently on Rollup 2 for Exchange Server 3010 SP 3. Can I install Update Rollup 7 for Exchange Server 2010 SP3 or do I need to install a previous one first?
    Thannks!
    Wave~Chaser

    Hi,
    When I try to install Exchange 2010 SP3 roll up 7, am getting the below error:
    The upgrade cannot be installed by the Windows Installer service because the program to be upgraded may
    be missing, or the upgrade may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade.
    and please find below event log:
    Product: Microsoft Exchange Server - Update '{A93DA06F-A5B8-4DF8-8B3F-B285E014C659}' could not be installed. Error code 1642. Windows Installer can create logs to help troubleshoot issues with installing software packages. Use the following link for instructions
    on turning on logging support.
    Can you please help me with this error.
    Thanks

  • Database update failed for some organizations when installing Update Rollup 1 for Microsoft Dynamics CRM 2013 Service Pack 1

    Hi, 
    We get the following error in the logfile when we try to install the latest update for CRM: (KB2953252)
    Does anyone know how to fix this problem? 
    09:10:41|   Info| Database update install failed for orgId = 35e7ca08-43fb-4440-ba18-acfc3f42e115.  Continuing with other orgs.  Exception: System.ArgumentNullException: Value cannot be null.
    Parameter name: type
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at System.Activator.CreateInstance(Type type)
       at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.InstallUpdate(String configurationFilePath, Boolean upgradeDatabase)
       at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.OrgInstall(ArrayList orgIdArray)

    Hi, 
    We get the following error in the logfile when we try to install the latest update for CRM: (KB2953252)
    Does anyone know how to fix this problem? 
    09:10:41|   Info| Database update install failed for orgId = 35e7ca08-43fb-4440-ba18-acfc3f42e115.  Continuing with other orgs.  Exception: System.ArgumentNullException: Value cannot be null.
    Parameter name: type
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at System.Activator.CreateInstance(Type type)
       at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.InstallUpdate(String configurationFilePath, Boolean upgradeDatabase)
       at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.OrgInstall(ArrayList orgIdArray)

  • Issue with Update Rollup 5 for Exchange 2010 SP3 - Mailboxes that were auto mapped not working

    Below is  my response in another thread but creating a new one in the hopes that someone has the same issue and a solution besides mine below.
    Ever since we installed Update Rollup 5 for SP3 Exchange 2010 mailboxes that were auto mapped are not accessible. They all get the same error.
    Cannot expand the folder. The set of folders cannot be opened. The attempt to log on to the Microsoft Exchange has failed.
    What I have been doing is removing the users permission, then adding them back using the noautomap switch in Powershell. After doing that, the user manually adds the mailbox and all is well.
    Just a note here, I suspect it may have something to do with the version of Outlook 2010. We are running an older version here. I think only SP1 with no other incremental updates. Office is up to SP2. Also, one of the users I was working with could not access
    the mailbox no matter what we tried but she can walk over to another workstation and open Outlook and access the very same mailbox so that pretty much proves its software related particularly with Outlook.
    I cannot reproduce the problem on a workstation (XP) with a newer version of Outlook.
    This has been wearing me out and I suspected the Update Rollup all long. Now I am confident as others are having the same problem. If you find out anything on how to fix this other than the steps above, let me know.

    Not sure why it was suggested to use the auto mapping feature to grant permissions because that is the component that is causing the issue. Also, there is nothing wrong with the auto configuration because the user can access their own mailbox just fine and
    also select mailboxes in their Outlook that were NOT auto mapped.
    With that said, here is how I fixed them all.
    Remove the permissions using the Exchange Console. Don't forget Send As
    Wait about 15 minutes. The mailbox should disappear from the users Outlook
    Open an Exchange PowerShell window and run the following command:
    .\add-mailboxpermissionsnoautomap.ps1 -Identity mailbox -User user -AccessRights FullAccess
    Have the user add the mailbox to their Outlook using the manual process.
    All is well....
    If you don't have the PS script add-mailboxpermissionsnoautomap.ps1, you can download it. I stumbled across it a few years ago and use it all the time. If you can't find it, just use the Exchange built in command for adding mailbox folder permissions but
    specify automap $false.
    The idea here is to grant the user access without auto mapping.

  • OWA Blank Logon Page After Update Rollup 12 for Exchange 2007 SP3

    Hello
    After installing Update Rollup 12 for Exchange 2007 SP3, can no longer access OWA - internally or externally through Internet Explorer -  I just get a blank page (with IE). If I use Chrome or Firefox, and it uses the basic logon, I get a page with just
    text, and am able to logon successfully. I have looked at several related forums, but have not found a fix yet. I've seen several people with similar issue have had success by copying contents from a previous owa folder version to the latest one, then running
    Updateowa.ps1 and restarting IIS. This did not resolve the issue for me.
    Another forum suggested running remove-owavirtualdirectory and
    new-owavirtualdirectory, however I haven't attempted that yet, as I'm unsure how I could reverse the changes that the command runs if things get worse.
    Any assistance will be appreciated.

    Hi,
    I encountered a same situation,after recreating
    the virtual directory, the issue was solved.
    The following article for you reference:
    How To: Recreate OWA Virtual Directory – Exchange 2007
    Hope this helps!
    Thanks.
    Niko Cheng
    TechNet Community Support

  • Error installing DPM Agent in Update Rollup 5 for System Center 2012 R2 Data Protection Manager

    I have updated my main DPM server to Update Rollup 5 for System Center 2012 R2 Data Protection Manager and all went well.
    All Protected servers updated and rebooted and continued protection - EXCEPT one;
    Physical Windows Server 2012 R2 Datacenter.
    Tried Manual install - no luck
    Removed Protection Agent / rebooted / re-installed - no luck
    Installed all updates / re-install - no luck
    this seems to be the only indicated problem in MSDPMAgentInstall.LOG.....
    Property(S): PATCHMediaSrcProp = C:\Windows\Microsoft Data Protection Manager\DPM\ProtectionAgents\RA\4.2.1292.0\DPMProtectionAgent_KB3021791.msp
    MSI (s) (04:34) [09:24:23:772]: Product: Microsoft System Center 2012 R2 DPM Protection Agent - Update 'Microsoft System Center 2012 R2 DPM Protection Agent Update - KB3021791' could not be installed. Error code 1603. Additional information is available in
    the log file C:\Windows\\Temp\MSDPMAgentInstall.LOG.
    MSI (s) (04:34) [09:24:23:772]: Windows Installer installed an update. Product Name: Microsoft System Center 2012 R2 DPM Protection Agent. Product Version: 4.2.1292.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Update Name: Microsoft System
    Center 2012 R2 DPM Protection Agent Update - KB3021791. Installation success or error status: 1603.
    MSI (s) (04:34) [09:24:23:772]: Note: 1: 1729
    MSI (s) (04:34) [09:24:23:772]: Note: 1: 2205 2:  3: Error
    MSI (s) (04:34) [09:24:23:772]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1729
    MSI (s) (04:34) [09:24:23:772]: Note: 1: 2205 2:  3: Error
    MSI (s) (04:34) [09:24:23:772]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709
    MSI (s) (04:34) [09:24:23:772]: Product: Microsoft System Center 2012 R2 DPM Protection Agent -- Configuration failed.
    MSI (s) (04:34) [09:24:23:772]: Windows Installer reconfigured the product. Product Name: Microsoft System Center 2012 R2 DPM Protection Agent. Product Version: 4.2.1292.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success
    or error status: 1603.
    Any help would be greatly appreciated.

    Hotfix for known issue with Update Rollup 5 for System Center 2012 R2 Data Protection Manager
    http://www.microsoft.com/en-us/download/details.aspx?id=45914&WT.mc_id=rss_alldownloads_all
    Have a nice day !!!
    DPM 2012 R2: Remove Recovery Points

  • What is the total space Update Rollup 7 For Exchange 2010 SP3 (KB2961522) will take after installation?

    Quick question. 
    What is the total space Update Rollup 7 For Exchange 2010 SP3 (KB2961522) will take after installation?
    Hasan

    Hi
    Your question is a big vague. Extracting the rollup will use some space but you can delete the files afterwards.
    Are you concerned about space while installing? If you have adequate space it shouldnt be a problem.
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    I am asking space after installation, it will definitely install some files so how much space extra space it needed in exchange directory drive. 
    Hasan

  • FYI Update Rollup 3 for Microsoft System Center 2012 R2 - Virtual Machine Manager (KB2965413) Stops SCVMM service starting

    I just applied update:
    Update Rollup 3 for Microsoft System Center 2012 R2 - Virtual Machine Manager (KB2965413)
    and (KB2965414) but it failed to install.
    After a reboot I could not login to the VMM and the service would not start
    An event id 0 was reported with:
    Service cannot be started. System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
       at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
       at System.Reflection.RuntimeModule.GetTypes()
       at System.Reflection.Assembly.GetTypes()
       at Microsoft.VirtualManager.Remoting.IndigoSerializableObject.BuildKnownAssemblyTypes(Assembly assembly)
       at Microsoft.VirtualManager.Remoting.IndigoSerializableObject.InitializeKnownTypesCache(List`1 assembliesToExamine)
       at Microsoft.VirtualManager.Engine.Remoting.IndigoServiceHost.InitializeKnownTypesCache()
       at Microsoft.VirtualManager.Engine.VirtualManagerService.TimeStartupMethod(String description, TimedStartupMethod methodToTime)
       at Microsoft.VirtualManager.Engine.VirtualManagerService.OnStart(String[] args)
       at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
    After I removed the update the VMM was able to start, no reboot required.
    When I have time I will try to apply both updates again successfully and see if the issue still occurs.
    Vista Ultimate Dell XPS M1330

    FYI.  I've had the same issue after I installed Update Rollup 3 (KB2965413), seeing the exact same error on event log.  Tried to start the service manually, getting service unable to start error.  This is a machine running
    with Windows Server 2012 Standard.  Solution for me is simple. I just install
    KB2965414 (Update Rollup 3 for SCVMM 2012 R2), reboot the server, and the SCVMM service auto start up by itself. 

  • DPM 2012 R2 Rollup 4, Update Rollup 7 for Exchange Server 2010 SP3 backups with eseutil check fail

    Hi,
    It could be a coincidence, but ever since installing Update rollup 4 onto DPM 2012 R2, (which was at UR3 I believe) I haven't been able to complete an Exchange express full backup or consistency check with verification using Eseutil checked. If I have the
    eseutil check enabled I get the following error:
    Type: Consistency check
    Status: Failed
    Description: Data consistency verification check failed for LOGS of Exchange Mailbox Database Mailbox Database 2011112513 on SERVER.xxx. (ID 30146 Details: The process cannot access the file because it is being used by another process (0x80070020))
    Disabling the eseutil verification allows it to succeed, but I'm not happy to continue with that for too long.
    I've had this running for many years and this is the first real issue with exchange, its a single stand alone exchange database.
    Any ideas?
    Thanks,
    Andreas

    Andreas,
    the error is stating that something else has a handle to a file or files during the ESEUtil check.  Typically this is AV.  I have also seen where the Exchange limits are exceeded and that causes the issue. 
    Please ensure you have the DPM AV exclusions for the DPM server and I would advise the DPMRA.exe on the PS.  You can also trying disabling or removing AV as a test.
    DPM AV exclusions -
    http://technet.microsoft.com/en-us/library/hh757911.aspx
    You may also want to test using eseutil against the logs outside DPM and see if that fails with similar issue.  Let us know.  Thanks
    Regards, A.Nadar, This posting is provided "AS IS" with no warranties, and confers no rights.

  • Update Rollup 2 for SCO 2012 R2

    I have just installed SC2012R2 Orchestrator and then upgraded Rollup 2 through Windows Update.  Do I need to run anything special after it on the database like it is required for VMM Update Rollup 2?
    In the installation instructions there was one mention that if SMA is also in place then we need to change the database connection string, but since I do not have SMA at the moment, is it still applicable to me?

    Hi,
    UR2 is the current update for System Center 2012 R2 Orchestrator (without SMA). You don't need to configure anything after the update.
    http://www.sc-orchestrator.eu/index.php/scoblog/117-update-rollup-3-for-system-center-2012-r2-orchestrator-applies-to-orchestrator-or-not
    Regards,
    Stefan
    www.sc-orchestrator.eu ,
    Blog sc-orchestrator.eu

  • How install update rollup patch on Bulk agents?

    Hi Experts,
    I need to update UR5 on 8000+ agents.  Do we have powershell cmdlet to install Update Rollup on Bulk agents?
    Please suggest method to install UR5 patch bulk no. of agents.
    Expecting your reply!!
    Thanks in advance!
    Regards
    Karthick

    For deploy agent using script, you can refer below link
    http://www.systemcentercentral.com/opsmgr-2012-installing-opsmgr-2012-agents-from-the-command-line-sample-script/
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

  • Exchange 2010 update after Update Rollup 5 for Exchange Server 2010 (KB2407113)

    Mine exchange server 2010 standard has Update Rollup 5 for Exchange Server 2010 (KB2407113) as latest update.
    Can someone help me which update i can install after this, can i start with
     Update Rollup 1 for Exchange Server 2010 SP1.
    Many thanks in advance

    My recommendation will be:
    Remove update roll-up 5
    Install SP1 check that everything is working
    Install SP2 check that everything is working
    Install SP3 check that everything is working
    I think it will be risky for you to go straight to SP3.
    Exchange Blog:
    www.ntweekly.com
    MCSA, MCSE, MCITP:SA, MCITP:EA, MCITP:Enterprise Messaging Administrator 2010,MCTS:Virtualization

  • Can you please update the link for the flash player standalone installer?

    Can you please update the link for the flash player standalone installer?
    Link: http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_plugin_debug_3 2bit.exe
    Source: http://kb2.adobe.com/de/cps/191/tn_19166.html#main_ManualInstaller
    Source: http://forums.adobe.com/thread/889580

    Dogs Key wrote:
    Source: http://kb2.adobe.com/de/cps/191/tn_19166.html#main_ManualInstaller
    That is an old document (Flash Player 10.3) that shouldn't be there anymore.  (The English document redirects to the link below.)
    The download links for the offline installers for FP 11.2 are here http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#Ins tall_in_a_firewall_proxy_server_environment
    I have updated the download links for FP 10.3 in http://forums.adobe.com/thread/889580

  • Details for last question I post

    the original code for last question I post(about the DataInputStream& EOFException) is here, thanks if anyone will bother to read it
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.* ;
    public class MasterMindServer
         public MasterMindServer()
              try{
                   ServerSocket serverSocket=new ServerSocket(8000);
                   Socket socket=serverSocket.accept();
                   HandleAClient thread=new HandleAClient(socket);
                   thread.start();
                   }catch(IOException e){System.out.println("Error:"+e.toString());}
         public static void main(String args[])
              new MasterMindServer();
    //inner class
    class HandleAClient extends Thread
         DataOutputStream out;
         DataInputStream in;
         BufferedReader fromFile;
         private Socket socket;
         String line;
         public HandleAClient(Socket socket)
              this.socket=socket;
         public void run()
              int x,o;
              try{
                     out=new DataOutputStream(socket.getOutputStream());
                   in=new DataInputStream(socket.getInputStream());
                   fromFile=new BufferedReader(new FileReader("colorcode.txt"));
                  while((line=fromFile.readLine())!=null)
                    for(int i=0;i<10;i++)
                      String t=in.readUTF();
                      x=check_column(t);
                       System.out.println(x);
                       o=check_color(t);
                       System.out.println(o);
                       out.writeInt(x);
                       out.writeInt(o);
                       if(x==6) break;
                     out.writeUTF(line);
                   socket.close();
                   System.out.println("close");
             }catch(IOException e){
             System.out.println("Error:"+e.toString());}
         public int check_column(String s)
              String str;
              str=s;
              int count=0;
              for(int i=0;i<6;i++)
                   if(s.charAt(i)==line.charAt(i))
                   count++;
              return count;
         public int check_color(String s)
              String str;
              str=s;
              int count=0;
              for(int i=0;i<6;i++)
                   if((line.indexOf(s.charAt(i))!=-1)&&(line.charAt(i)!=s.charAt(i)))
                   count++;
              return count;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.* ;
    public class MasterMindClient extends JFrame implements MouseListener,ActionListener
      /** Default constructor */
      //keep track of the row (or trial) and column number
      int trial_num, col_now ;
      Socket socket;
      int count[]={5,5,5,5,5,5};
    JPanel A[]  = new JPanel[10];
      JPanel B1[] = new JPanel[10];
      JPanel B2[] = new JPanel[10] ;
      JPanel notice = new JPanel() ;
      JPanel sub_notice = new JPanel();
      JPanel D1, D2 ;
      static JTextField [][]color = new JTextField[10][6] ;
      static JTextField [][]Output = new JTextField[10][2];
      static JTextField [][]Answer = new JTextField[1][6] ;
      static JButton []ok = new JButton[10];  
      JLabel L1 = new JLabel("Click the textfield to change color");
      JLabel L2 , L3, L4 ;
      String colorRange="BCGRYW";
      Color colorName[]={Color.black,Color.cyan,Color.green,Color.red,Color.yellow,Color.white};
      String temp ;
    public MasterMindClient() {
        // initialize
        trial_num = 0;
        col_now = 0;
        //sub_notice is Panel where the heading labels are placed
        sub_notice.setLayout(new GridLayout(1,3)) ;
        L2 = new JLabel("  ") ;
        L3 = new JLabel("X");
        L3.setHorizontalAlignment(JTextField.CENTER);
        L4 = new JLabel("O");
        L4.setHorizontalAlignment(JTextField.CENTER);
        L3.setToolTipText("matching color and column");
        L4.setToolTipText("matching color but not matching column" );
        sub_notice.add(L2);
        sub_notice.add(L3);
        sub_notice.add(L4);
        notice.setLayout(new GridLayout(1,2)) ;
        notice.add(L1) ;
        notice.add(sub_notice) ;
        // Get the content pane of the frame
        Container c = getContentPane();
        // Set GridLayout, 4 rows, 3 columns, and gaps 5 between
        // components horizontally and vertically
        c.setLayout(new GridLayout(12, 1, 5, 5));
        c.add(notice);
         JPanel Display = new JPanel() ;
         Display.setLayout(new GridLayout(1,2,5,5)) ;
       //create a Panel for each row to accept use input
       // color[][] textfield is where the user input
       // Output[][] is where to display the number of X and O
        for (int i = 0; i <= A.length-1 ; i++)
        A[i] = new JPanel() ;
        A.setLayout(new GridLayout(1, 2,10,10));
    B1[i] = new JPanel();
    B1[i].setLayout(new GridLayout(1,6,5,5)) ;
    B2[i] = new JPanel();
    B2[i].setLayout(new GridLayout(1,3,5,5)) ;
    for (int j = 0; j <= color[i].length-1 ; j++)
    color[i][j] = new JTextField() ;
    color[i][j].setHorizontalAlignment(JTextField.CENTER);
    if (i == 0)
    {color[i][j].setEditable(true) ;
    else
    {color[i][j].setEditable(false);
    color[i][j].addMouseListener(this);
    B1[i].add(color[i][j]) ;
    } // j loop
    ok[i] = new JButton("SEND");
    if(i==0)
         ok[i].setEnabled(true);
    else
         ok[i].setEnabled(false);
    ok[i].addActionListener(this);
    B2[i].add(ok[i]) ;
    Output[i][0] = new JTextField();
    Output[i][1] = new JTextField();
    Output[i][0].setEditable(false);
    Output[i][1].setEditable(false);
    Output[i][0].setHorizontalAlignment(JTextField.CENTER);
    Output[i][1].setHorizontalAlignment(JTextField.CENTER);
    B2[i].add(Output[i][0]);
    B2[i].add(Output[i][1]);
    A[i].add(B1[i]);
    A[i].add(B2[i]) ;
    c.add(A[i]) ;
    } //for i loop
    //D panel is where we store the answer[][]
    D1 = new JPanel();
    D1.setLayout(new GridLayout(1,6)) ;
    D2 = new JPanel();
    D2.setLayout(new GridLayout(1,2)) ;
    for (int j = 0; j <= Answer[0].length-1 ; j++)
    Answer[0][j] = new JTextField(0) ;
    Answer[0][j].setHorizontalAlignment(JTextField.CENTER);
    Answer[0][j].setEditable(false) ;
    D1.add(Answer[0][j]) ;
    Display.add(D1) ;
    Display.add(D2) ;
    c.add(Display) ;
    public void runClient()
         try
    {      socket=new Socket("localhost",8000);
    DataInputStream in=new DataInputStream(socket.getInputStream());
    int x=0;
    int o=0;
    try{
    while(true)
         while(trial_num<10)
              x=in.readInt();
              //System.out.println(x);
              Output[trial_num][0].setText(String.valueOf(x));
              o=in.readInt();
              //System.out.println(o);
              Output[trial_num][1].setText(String.valueOf(o));
              for(int i=0;i<6;i++)
              color[trial_num][i].setEnabled(false);
         ok[trial_num].setEnabled(false);
         trial_num++;
         col_now=0;
         if(x==6)
                   JOptionPane.showMessageDialog( null, "Congratulation, you've won the game !! " );
                   //ok[trial_num].setEnabled(false);
    break;
         if(trial_num<10)
         {  for(int i=0;i<6;i++)
              color[trial_num][i].setEditable(true);
              count[i]=5;
         ok[trial_num].setEnabled(true);
         if(x!=6)
         {  JOptionPane.showMessageDialog( null, "sorry you did not win the game");
         temp=in.readUTF();
         System.out.println(temp);
         //temp=in.readUTF();
         //System.out.println("can");
         for(int i=0;i<6;i++)
         System.out.println(i);
         char a=temp.charAt(i);
         int index=colorRange.indexOf(String.valueOf(a));
         Answer[0][i].setBackground(colorName[index]);
         trial_num=0;
         for(int j=0;j<10;j++)
         for(int k=0;k<6;k++)
         color[j][k].setBackground(Color.white);
         for(int j=0;j<10;j++)
         for(int k=0;k<2;k++)
         Output[j][k].setText(null);
         for(int i=0;i<6;i++)
              color[trial_num][i].setEditable(true);
              count[i]=5;
         ok[0].setEnabled(true);
         catch(EOFException em){}
         }catch(IOException ex){
              System.out.println("Error:"+ex.toString());}
    public void mouseClicked(MouseEvent e)
    for(int i=0;i<6;i++)
         if(e.getComponent()==color[trial_num][i])
         {         col_now=i;
         break;
    count[col_now]=(count[col_now]+1)%6;
    color[trial_num][col_now].setBackground(colorName[count[col_now]]);
    public void mouseEntered(MouseEvent e)
    public void mouseExited(MouseEvent e)
    public void mouseReleased(MouseEvent e)
    public void mousePressed(MouseEvent e)
    public void actionPerformed(ActionEvent e)
         try{
              send();
         }catch(IOException et){System.out.println("Error:"+et);}
    public void send()throws IOException
         DataOutputStream out=new DataOutputStream(socket.getOutputStream());
         char cbuf[]=new char[6];
         for(int i=0;i<6;i++)
              cbuf[i]=colorRange.charAt(count[i]);
    System.out.println(cbuf);
         out.writeUTF(new String(cbuf));
    /** Main method */
    public static void main(String[] args) {
    MasterMindClient frame = new MasterMindClient();
    frame.setTitle("Master Mind");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setLocation(300,300) ;
    frame.setSize(450, 450);
    frame.setVisible(true);
    frame.runClient();
    } // end of class

    I notice that you have several hundred lines of GUI code there. None of them have anything to do with the problem you are trying to solve. So put them all aside and write a SMALL test program that does nothing but the little loop you are having a problem with. Shouldn't be more than 20 lines of code.

Maybe you are looking for

  • Solaris 8 on chroot in Solaris 10

    I've copied all nessesary Sol8 system files to machine with Sol10. After executing "chroot /home/chroot/sol8 /bin/bash" almost everything is OK except running programs which need the "libthread.so.1" library (for example java). These programs cause e

  • Iweb quit unexpectedly lost my project

    Hi, In the last week I have had my hard drive and RAM upgraded, also upgraded from Tiger 10.4 to Panther 10.6. I have had a website in iweb for over a year and made little changes here and there. Before I upgraded I started a major revamp of my websi

  • Macbook 2007 ram upgrade

    Hi, Searching this site.. its hard to find a basic answer for i think a simple question. which is NOT in the user manual. I have a late 2007 macbook (black, intel duo 2 core, 2,1) which comes with 1 GB RAM. I would like to upgrade to 2 or 4GB. i unde

  • TS1717 "ApplePhotoStream.exe has stopped working."

    These days when I started my computer, it always appear the message "ApplePhotoStream.exe has stopped working." Even I restart or terminate the program and reopen it, it couldn't help. What should I do to bring it back? Thanks

  • Pls,Pls, IMAQ1409: question on pulse generation, again!

    "In VC++, I used the following functions to generate some pulse. errChk(imgSessionTriggerDrive(Sid,IMG_EXT_TRIG0,IM G_TRIG_POLAR_ACTIVEH,IMG_TRIG_DRIVE_UNASSERTED)); imgPulseRate(1000,500,&delay,&width,&timebases); errChk(imgPulseCreat(timebases,dela