A thread running in the server

Hey ho, didn't know where else to post this...
I'm running Orion web server with mySQL. What I need is a thread, that would perform certain tasks hourly.
Any tips how to do this ? I don't have any clue.

After some research, I finally found a solution. For those interested, here's the code:
import java.lang.*;
import java.util.*;
import java.sql.*;
import java.text.*;
public class UpdaterThread extends Thread {
      long sleepTime = 1000 * 60 * 60;
      long lastUpdate;
      boolean running = true;
      public UpdaterThread() {
      public void run() {
         while(running) {
               // Do the stuff
            synchronized(this) {
               lastUpdate = System.currentTimeMillis();
                  try {
                     this.wait(sleepTime);
               } catch (Exception e) {
                     e.printStackTrace();
      public String getTimeRemaining() {
            long theTime = System.currentTimeMillis() - lastUpdate;
         theTime = sleepTime - theTime;
         return DateFormat.getInstance().format(new Timestamp(theTime));
      public void stopThread() {
            running = false;
}If someone thinks there is a bug in my code, please tell me asap ! I haven't put this to use yet.

Similar Messages

  • Sharepoint 2013 search error - The search application 'Search Service Application 1' on server is not provisioned.Confirm that the Microsoft SharePoint Foundation Timer service and Central Administration service are running on the server.

    Hi All,
    I'm getting the below error in My SHarepoint 2013 search Administration page.
    Crawler background activity - The search application 'Search Service Application 1' on server ""  is not provisioned. Confirm that the Microsoft SharePoint Foundation Timer service and Central Administration service are running
    on the server.
    and when i click on Crawl Log and content source
    it throws the below error
    The search service is currently offline. Visit the Services on Server page in SharePoint Central Administration to verify whether
    the service is enabled. This might also be because an indexer move is in progress
    When i check the search status
    Get-SPEnterpriseSearchServiceInstance, it shows all the components are online.
    As of now search service application is online and search is working.But not sure why it throws the above error.
    I have restarted timer service,search service in services.msc and cleared the sharepoint cache as well.
    But no luck,This is happening in my prodcution environment.
    Any help will be greatly appreciated.
    There are the logs i have found
    05/23/2014 13:03:22.71 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://dca-app-617:90/_admin/search/listcontentsources.aspx?appid=e830c1b3%2Dc3e4%2D4097%2D85fd%2Daa5248346d2e) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.71 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0 d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.73 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.79 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Search Administration djs2 High [Forced due to logging gap, cached @ 05/23/2014 13:03:22.76, Original Level: VerboseEx] {0} d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.79 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Database 8acb High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.80 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Search Administration djj1 High Unable to find application 'b9c8106c-c7ed-4eb3-96c9-ae1881ffb695' d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Search Administration djj1 High Unable to find application 'b9c8106c-c7ed-4eb3-96c9-ae1881ffb695' d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General 8nca Medium Application error when access /_admin/search/listcontentsources.aspx, Error=The search service is currently offline. Visit the Services
    on Server page in SharePoint Central Administration to verify whether the service is enabled. This might also be because an indexer move is in progress.   at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object
    sender, EventArgs e)     at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep
    step, Boolean& completedSynchronously) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Runtime tkau Unexpected Microsoft.SharePoint.SPException: The search service is currently offline. Visit the Services on Server page in SharePoint Central
    Administration to verify whether the service is enabled. This might also be because an indexer move is in progress.    at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object sender, EventArgs e)    
    at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
    Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep
    step, Boolean& completedSynchronously) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General ajlz0 High Getting Error Message for Exception Microsoft.SharePoint.SPException: The search service is currently offline. Visit the Services on
    Server page in SharePoint Central Administration to verify whether the service is enabled. This might also be because an indexer move is in progress.     at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object
    sender, EventArgs e)     at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep
    step, Boolean& completedSynchronously) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General aat87 Monitorable  d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation DistributedCache ah24q Unexpected SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts are present in the farm. d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation DistributedCache ah24w Unexpected Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedViewStateCache'
    - Exception 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts present in the farm.     at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'. d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General ajb4s Monitorable ViewStateLog: Failed to write to the velocity cache:
    http://dca-app-617:90/_admin/search/listcontentsources.aspx?appid=e830c1b3-c3e4-4097-85fd-aa5248346d2e d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://dca-app-617:90/_admin/search/listcontentsources.aspx?appid=e830c1b3%2Dc3e4%2D4097%2D85fd%2Daa5248346d2e)).
    Execution Time=109.695855199474 d4c6939c-b10d-4000-6d95-14caeefe67df
    Anil Loka

    Please try below mentioned steps:
    1. Central Administration > Monitoring > Review job definitions > Look for following timer job "Application Server Administration Service Timer Job" > Disable
    2. Then open windows administrative services (services.msc), stop SharePoint Timer Service
    3. Clear SharePoint Timer configuration cache by following steps mentioned in below blog:
    http://blogs.msdn.com/b/jamesway/archive/2011/05/23/sharepoint-2010-clearing-the-configuration-cache.aspx
    4. Start SharePoint Timer Service and give it a few seconds so that the new XML files from the location you deleted then are re-populated.
    5.Central Administration > Monitoring > Review job definitions > Look for following timer job "Application Server Administration Service" Timer Job > Enable
    Please ensure that you mark a question as Answered once you receive a satisfactory response.

  • Issue with opening a site in SharePoint Designer 2010 -The version of SharePoint foundation running on the server is more recent than the version of SPD you are using, you need a more recent version of SPD.

    I have a SharePoint site which I am trying to open in SPD 2010, I am getting the following error(some of my team members are able to open)
    The version of SharePoint foundation running on the server is more recent than the version  of SPD you are using, you need a more recent version of SPD.
    These are the ways I tried
    1) Earlier I have MS office 32 bit and SPD 32 bit, I uninstalled them and installed both 64 bit versions
    2) I uninstalled restarted my machine and installed it again still no use.
    3) I installed SPD 2010 Service Pack 2 of 64 bit
    4) I uninstalled the SPD 2010 and opened the site—site actions—edit page in SPD , then it asked me to install SPD 2010, then I installed and tried to open the same site, again same error.
    How to solve this issue?
    I checked permissions also at that site level – I have full control like others. I don’t have access to Central Admin so where else I can check the permission settings?

    Please update us SharePoint version 
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • Can I create a custom SCSM task that runs on the server?

    I'm new to SCSM (got roped in as the developer/Powershell guy). I see instructions for adding a custom task to SCSM, which I know generally run from the user's console, under their security context. I also found a reference to "runtime tasks" which
    run from the server. Is there a way for me to make a custom task that runs from the server?  
    If it helps, I'll be creating a task that implements the Poweshell script found
    here that converts an incident to a service request. I'd much rather the conversion take place on the server so that we don't need to deploy the SMlets Powershell module (and another dependency) on each user's workstation. 
    Thanks!

    I'm new to SCSM (got roped in as the developer/Powershell guy). I see instructions for adding a custom task to SCSM, which I know generally run from the user's console, under their security context. I also found a reference to "runtime tasks" which
    run from the server. Is there a way for me to make a custom task that runs from the server?  
    If it helps, I'll be creating a task that implements the Poweshell script found here that converts an incident to a service request. I'd much rather the conversion take place on the server so that we don't need to deploy the SMlets Powershell module (and
    another dependency) on each user's workstation. 
    Thanks!
    Not sure what capabilities you have, but would something like this be useful?
    http://scsmlab.com/2013/12/09/how-to-create-a-custom-scsm-console-task-by-using-some-c-and-xml-magic/

  • Will subsequent calls to an object running in a thread run in the thread?

    Hi,
    If I start a thread with an empty run method and then make a call to the object that I started in the thread, will the method call run in the other thread? For example:
    class ThreadClass implements Runnable {
        public void someMethod() {
        public void run() {
    class ThreadCaller {
        private ThreadClass threadClass;
        public ThreadCaller() {
            threadClass = new ThreadClass();
            Thread thread = new Thread(threadClass);
            thread.start();
        public blah() {
            threadClass.someMethod();
    }Will the method call in blah() run in the same thread as ThreadCaller, or will it run in the thread that was started in ThreadCaller's constructor?
    Thanks,
    Dan

    Djaunl wrote:
    vanilla_lorax wrote:
    Djaunl wrote:
    Is there a way to keep the thread alive until the object that started the thread is terminated,Objects don't get terminated. What do you mean?I want the thread to stay alive indefinitely until I arbitrarily terminate it makes more sense. The thread will stay alive until its run method completes. The canonical approaches are
    public void run() {
      while (!Thread.interrupted()) { // NOT isInterrupted()
        // do stuff
        // if you need to catch InterruptedException, do this:
        try {
        catch (InterruptedException exc) {
          Thread.currentThread().interrupt();
    }And then from another thread, call theAboveThread.interrupt() when it's time to stop. Read the docs in interrupt(), interrupted(), the interrupt flag, etc.
    OR
    while (!done()) {
      // do stuff
    }and then another thread calls setDone(true) or somesuch when it's time to stop. Note that all access to done--both get and set--must be synchronized, or done must be declared volatile. Also note that you may still have to handle interrupts, so you may have some repeated code with this approach--testing both done() and interrupted().
    Let me give the end-goal of this.
    Currently, I have a "main" thread which the user can input commands into, and another thread which occasionally runs in the background. When I want something to run in the background, I just create a new thread. However, I figured it'd be more efficient to have one thread running in the background to do something as opposed to spawning hundreds of new threads to do the same task over and over. If the task happens VERY frequently and what it does is VERY small and quick, then the overhead of thread creation may make this a valid approach. Otherwise, don't overcomplicate it. Since you're new to threads, first get it working where you spawn one thread for each background task. Then move on to thread pooling. Look into ThreadPoolExecutor and related classes.
    http://java.sun.com/javase/6/docs/api/java/util/concurrent/ThreadPoolExecutor.html

  • To find out the database running in the Server

    Hi,
    How to find out the number of database running in the server other than this command : ps -ef | grep pmon
    Thanks,
    Suresh Bommalata.

    There's no single answer.
    1. What if one or more of the database instance(s) is/are down at the moment that you run "ps -ef | grep smon" ?
    2. "ps -ef" cannot be used on Windows.
    3. You could check the oratab file (the location is platform specific -- generally /opt or /var/opt or /etc on Unix/Linux) but not all databases may be registered on the oratab file
    4. You could look for the running (if any !) listener on the server and check the listener.ora listener.log file (database instances do not need to be in the listener.ora !)
    So : You have to run multiple checks.
    Hemant K Chitale
    Edited by: Hemant K Chitale on Aug 2, 2010 3:09 PM

  • Is it possible to have 2 threads running at the same time?

    Is it possible to have 2 threads running at the same time at different times eg 1 repeats every 20 miliseconds and the other 40 for example. Also could you have 2 run() methods in one script, in one file? If so how? Help soon would be appreciated. Thanks.

    Is it possible to have 2 threads running at the same
    time at different times eg 1 repeats every 20
    miliseconds and the other 40 for example. Yes.
    http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html

  • Run again the server assistant

    I got a minimac server with Snow Leopard Server and when I installed I configured all the details like it was going to be a server only for internal use but now I want to use the mail and iChat server from outside and I dont know how to change all the parameters so every computer gets an update preferences for all services.
    How can I run again the server assistant? or how can I change the preferences? I dont find anything neither in WGM or Server Admin.
    Please help

    I have used the changeip so now the server is using the external dns name but in server admin the Computer Name is the external dns name but the Local Hostname remains the same.
    I think I understand what you are saying and that sounds correct. If you post real names then I can double check for you.
    Another problem is the automatic configuration, mail, ichat, address book, still uses the old names. How can I change managed clients?
    Not sure if you are saying the names of the services on the server HAVE changed and are all working correctly, but the client setups are now wrong? If that is the case and you need to change settings for Managed Clients then, I cannot help, but others here should be able to. I suggest this question may be answered and you should start another one that will make it easier for others to reply to.

  • Needs a background webdynpro application running at the server side

    Hi All,
    We have a requirement wherein we need to have an application running all the time at the server side to capture the response coming from a web application. Based on the response that the application receives, it needs to update some backend R/3 tables.
    We are thinking of a webdynpro java application.
    Can anyone suggest what kind of application needs to be implemented here?
    And what  would be the steps required to run the application at the server side without calling the application.
    Thanks & Regards,
    Anurag

    Hi Robin,
    Thanks for the detailed explaination.
    This may sound silly to you but I've another doubt which is as follows:
    As you mentioned that the external web application will be sending requests to our Web service(in SOAP envelopes) and rest of the functionality can be  achieved by our web service.
    Actually, we are expecting only responses from the external web application. The thing is that we are sending the requests to the external web applications from our custom webdynpro application and in return the web application will be sending us 2 responses.
    First response would be back to our WD java application URL(to the browser in which WD java app is running) which would get the response and display some message based on the response.
    Second would be to this web service which you have just suggested. We are having two responses so that even if the browser in which the WD java application is running gets accidentally closed, the response from the external web application must get captured somewhere else and should not get lost in any case.
    So, now since we are only expecting the response from the web application and we do not want any requests from the web application to our web service; how is this possible?
    I am asking the above question because you have mentioned that the external web application has to request our Web service but we want is only this web service to capture the response coming from the Web application.
    Or is it like the web application will send us the response string as request string to our Web Service and the web service will capture these response parameters as request parameters from the web application and do the further processing.
    But in that case, we do not want any response to be sent by the Web Service to the external web application.
    Please suggest if this is possible.
    Once again, many thanks for the help so far.
    Thanks & Regards,
    Anurag

  • SharePoint 2013 - document libraries and newsfeeds are visible when viewed using Internet Explorer running on the server but not from any other machine

    On a single Windows 2012 R2 server I have installed SQL 2012 and SharePoint 2013 SP1 with the latest update roll ups. When I remote desktop to the server using the farm and site collection admin account  and open page http://server_name_here using
    Internet Explorer, I'm able to see newsfeeds and document libraries.
    If I connected to a separate Windows 7 machine as  the farm and site collection admin account  and open page http://server_name_here using Internet Explorer, I'm able to view the SharePoint pages except I cannot see any newsfeeds or document libraries.
    There's just blank space where they should be. I have repeated this process on several other machines that are not the server and get the same result on every machine (I've tried other servers, desktops, adding the SharePoint site to the trusted sites list
    in IE, even using firefox). I'm using the same account as I did when I logged onto the server directly. Any thoughts as to what's going on?
    Thanks!

    Thanks for the idea, Harsh. What am I looking for?
    It is currently set to the default of http://server_name and http://server_name:port_number (the latter is for Central Admin).
    When I have access to the server, I have always done so the same way, using http://server_name. This was true when I access it from the desktop of the server itself and when I tried to access it from other desktops and servers (the machines where I had the
    issues with the libraries and feeds not showing up). Are there other values I should add?
    I have not tried to add http://server_FQDN as we don't plan on using that to access it but if you think it will help I would be happy to add it.

  • Running on the server- but not in other machines

    Hi everyone,
    I have a starnge problem....i have setup a site in my Tomcat 4.0.6 and it works fine when i am tesing it on the server...but when i try to access the site from other than machine in which my Tomcat is there it's giving null poniter exceptions.I have found out the cause...i.e session varibles r not getting set...so it's giving that problem...previously that site was working well with the same code...and also i did not use many session variablea(so not the session varible overflow problem)....is there limit for the "webapps" folder size..my "webapps" folder size is 1.5 GB.
    I am very much struggling with this untoward behaviour of Tomcat 4.0.6..I would be thankful to you if you could help me ........Thanks in advance....
    Vamsi Pola

    Can you post the JSP code which you are trying to access?

  • Why does a job still show as running on the server even after it's deleted from Instance Manager?

    Deleting a job in Instance Manager doesn't seem to delete the job on the actual server.  Is there another location where we need to cancel the 'connection' to the database from where it's running?

    I should also note that this only seems to be an issue with music that was purchased through itunes. Once I delete songs purchased through itunes on my iphone 5 they still show up with the cloud and down arrow and I can still play them. I do not want them visible unless I choose to download them.

  • How to find out if Applicatin Server is running on the server

    Hello,
    On a unix server, how would I find out if there are Application Servers running?
    What would I grep for? ps -ef|grep .... Thank you.

    Hi,
    On Unix platform, jus login as AS owner, set your Env. well.
    on the prompt cd $ORACLE_HOME\dcm\bin
    #dcmctl getstate -v -d
    form more info. on how to use dcmctl, just type in on the prompt
    #dcmctl -help
    Cheers,
    Hamdy

  • Hundreds of isql processes run as the time going in my solman server

    Hi dear experts,
    I have a tough issue in my solman. My solman SID is SMP. SMP always down once a week or two.Each time SMP is down, I find hundreds of isql processes running on the server:
    Then I find thousends of below log in /sybase/SMP/ASE-15_0/install/SMP_BS.log.
    Aug  1 00:24:12 2014: Backup Server: 2.23.1.1: Connection from Server SMP on Host smsp with HostProcid 19536.
    Aug  1 00:39:12 2014: Backup Server: 2.23.1.1: Connection from Server SMP on Host smsp with HostProcid 19536.
    Aug  1 00:54:12 2014: Backup Server: 2.23.1.1: Connection from Server SMP on Host smsp with HostProcid 19541.
    Aug  1 01:09:12 2014: Backup Server: 2.23.1.1: Connection from Server SMP on Host smsp with HostProcid 13800.
    Aug  1 01:24:12 2014: Backup Server: 2.23.1.1: Connection from Server SMP on Host smsp with HostProcid 19534.
    Aug  1 01:39:12 2014: Backup Server: 2.23.1.1: Connection from Server SMP on Host smsp with HostProcid 30385.
    Could you give me any advices?

    Hi Pan,
    Sysbase infocenter SyBooks Online and SAP note: 1982469 - SYB: Updating SAP ASE with saphostctrl / sapdbctrl  and 1590719 - SYB: Updates for SAP Adaptive Server Enterprise (SAP ASE) are the starting point to cover the update.
    Please refer those two links. I hope that is not going to be a big task.
    Divyanshu

  • For no reason the MMC for WSUS is not connectiing to the server

    All,
    I rebooted the WSUS server after a windows update and now I cannot connect to the WSUS server.  I get error: connection error.  I've reviewed all posts for this issue, but none of them help.  This is ridiculous as I finally got it working
    and once again, right after an update, it screws up!!!  What is going on?
    Here's the details of the error when copied to clipboard:
    The WSUS administration console was unable to connect to the WSUS Server via the remote API.
    Verify that the Update Services service, IIS and SQL are running on the server. If the problem persists, try restarting IIS, SQL, and the Update Services Service.
    The WSUS administration console has encountered an unexpected error. This may be a transient error; try restarting the administration console. If this error persists,
    Try removing the persisted preferences for the console by deleting the wsus file under %appdata%\Microsoft\MMC\.
    System.IO.IOException -- The handshake failed due to an unexpected packet format.
    Source
    System
    Stack Trace:
       at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
       at System.Net.TlsStream.CallProcessAuthentication(Object state)
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
       at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.ConnectStream.WriteHeaders(Boolean async)
    ** this exception was nested inside of the following exception **
    System.Net.WebException -- The underlying connection was closed: An unexpected error occurred on a send.
    Source
    Microsoft.UpdateServices.Administration
    Stack Trace:
       at Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)
       at Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)
       at Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.GetUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)
       at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.GetUpdateServer(PersistedServerSettings settings)
       at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.ConnectToServer()
       at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.get_ServerTools()
    It was working perfectly before the update.  Please help!!
    Lee Feldman
    Feldman Consulting Co.
    Lee Feldman SMB Consultant

    Thank you for your input.  At least you're not like Lawrence giving poor information.
    Hmmmm.. having been working with this product for eight years now, while sometimes I make an erroneous statement, it rarely happens these days.
    In this case, it is Yan Li who has given you incomplete information. In addition to the split-server scenario not supporting the
    database on a Terminal Services server (which is the information provided by Yan, but not really relevant to this conversation), it is also true that WSUS has
    never been supported on a Terminal Services server.
    This was posted to the Release Notes, historically, but due to several omissions in the WSUS v3 SP2 Release Notes, does not appear in that document. (That is to say, the SP2 release notes were exclusive to the SP2 feature set, and were not inclusive of the
    RTM and SP1 limitations and issues.)
    Here is the entry from the
    WSUS v3 Service Pack 1 Release Notes:
    WSUS 3.0 SP1 is not supported on servers running Terminal Services
    Although WSUS 3.0 SP1 may still run on servers running Terminal Services, doing so is not supported or recommended. WSUS 3.0 SP1 will not run on a server running Terminal Services in configurations using remote SQL Server implementations. Because all remote
    custom actions (including installation) on a Terminal Services license server will be run as the system account, and the server's system account may not have permissions on the remote SQL Server, the installation may fail.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

Maybe you are looking for

  • Why can't I read or write from my external hard drive?

    Hey there, I recently borrowed my brother's laptop to use as a media station for listening to music from, and watching movies, in order to free up some space on my main macbook.  In trying to migrate some files over, I discovered that my hard drive,

  • Best way to select several mysql table rows at random?

    What is the best and quickest way to have one form button select multiple rows from a table with complete randomness? Can you also offer some explanation (or link to a good tutorial)- I am a beginner in myql and php. thanks p.s. the id column in my t

  • How to Reduce import time

    Hi All, Import time of a specific dump file is 1.5 Hr on oracle server 9i realese2 OS is United Linux. While the same file is imported on another machine having oracle server 9i realese2 OS is windows XP in 15 min. Although the specification of Linux

  • HWIC-3G-GSM on ISR 2811 Troubleshooting

    Hi, Documentation says this 3G card is working in 2800 routers. Why cannot my 2811 not recognize the card? ------------show diag WIC Slot 0:         Unknown WAN daughter card         WIC module not supported/disabled in this slot         Hardware Rev

  • Why does my macbook Pro pinwheel after reopening from sleep?

              I have a 2.4 i5 MBP with 8GB Ram running 10.6.7.  It is attached to my work exchange server with authenicates my login and network.  My problem is that often, but not always, when i reopen the lid of my MBP awaking it from an overnight slee