Can the server kick the client?

Hello,
how can I realize, that the server is able to quit the connection to the client?
thx
Tobias

Well there may be a way to extract the socket reference from the client reference, and close it;
but I suspect most clients would think this a network related failure, and simply reconnect to your server.
Basically, once a reference to your server is given to a client, either using a registry, or some other method; that client is free to pass it around to other remote clients, and all of them can use it to contact your server.
I think that's a neat part of RMI, I use that tecnhique a lot in my free RMI project : https://cajo.dev.java.net
RMI is not like a standard socket-based network application. It is intended to allow access to an object in one VM, by other remote VMs. The socket mechanism is abstracted away, in fact, you can even run RMI on non-socket based communication channels. Why I've even heard that one crazy guy managed to get RMI working over UDP! :-) http://www.rmiproxy.com/download/RMI-UDP.zip
(BTW: rmiproxy.com has some excellent solutions, if you are in a position to purchase them)
If not being able to disconnect clients is a feature you can't work without, then perhaps RMI is not the right technology for your application, but I hope it can be, because it's so cool! :-)

Similar Messages

  • How can the client know if the SSL certificate specified in the service-config.xml file is invalid/u

    Hi,
    How can the client know if the SSL certificate specified in the service-config.xml file is invalid/untrusted/expired? For example using iOS client, the trusted certificate will not work and the client has no way to know that the certificate is untrusted. Can the lcds server return any specific exceptions for SSL errors?
    Thanks,
    Swathi.

    We use a standard Java keystore and certificate validation can be handled as per standard best practices. At present we do not provide a hook point to validate the server certificate. However, you can register a bootstrap service which validates the certificate on system startup: http://help.adobe.com/en_US/dataservicesjee/4.6/Developing/WSc3ff6d0ea77859461172e0811f00f 6fe7f-7ffeUpdate.html This would require you to pass another copy of the keystore configuration to you Bootstrap service and then you can inspect the certificate in the keystore and validate it.

  • Can Tiger Server host Leopard Clients?

    Can Tiger Server host Leopard Clients?
    I have Mac OS X Tiger clients on Tiger Server. If the clients upgrade to Leopard will they be able to access their user accounts or network shares?

    In my case, rebooting the Tiger server restored access to all accounts except the original one that would not work. I've successfully logged in with 3 separate user accounts, and have just the one returning an unspecified error.
    I did review the other post regarding setting up AFP, but we've already done that. I don't see that that could be the issue given I've got 3 of 4 accounts working. Unless there's something missing on that one account that I'm not thinking of.

  • Server kicks off clients counting each client as two logins

    I Have a Mac OSX Server (version 10.3) that has a 20 Client Connection limit. I have 11 client computers all running Mac OSX (also version 10.3). All of the users in these clients are in OpenDirectory and have their home folder on the server. They all also need to access another share on the server all the time. I have Workgroup manager set up to share the required folder and automount it on all clients as /Network/ShareName. All of this works great until I have all 11 clients active at the same time. Apparently each AFP share takes up an individual connection on the server, so nine clients make 18 connections, the server takes up one connection, and the last 2 machines can no longer log in. I have already attempted to change the sharing protocol from AFP to NFS on the secondary share, hopefully circumventing the 20 Client Connection Limit (I didn’t think NFS shares would count toward the total client connection limit, as I thought the total connection limit only counted toward AFP), but as I discovered, the simultaneous client connections govern the whole server, not just AFP. My goal is to make this transparent to the end users who generally know nothing about computers or client/server technology and don’t need to be taught how to use the “Finder -> Go -> Connect To Server” command (and besides, using the Profile tool in Workgroup Manager, this command is disabled for them).
    I come from a Linux and Microsoft Windows background and the idea of tracking connections this way does not make sense to me. In Windows a client connection counts for a machine and that machine can use as many resources from the server as they want while still counting as one client connection. And with Linux there is no Client Licensing in this sense. Am I doing something wrong? Is there another solution to map these drives? Coming from my Unix side I thought about just making a link in the users home directories to this share (i.e. /Volumes/Users/<Username>/Share => /Volumes/Share), but when I tried a symbolic link (i.e. ln –s /Volumes/Share /Volumes/Users/<Username>/Share), when it is mapped on the user’s computer it doesn’t work because it looks for the /Volumes/Share on the local computer. And when I tried a hard link (i.e. ln /Volumes/Share /Volumes/Users/<Username>/Share), I got an error message because you can’t link across different volumes. Either of these options would have solved my problem, as would getting each client to only take up one connection to the server even thought they are using two file shares, but I cannot get them to work. Any help in the matter would be greatly appreciated!
    Unfortunately, my background with this server and network is limited, as I “inherited” it when the regular network admin moved on. As far as I can tell, the server is setup with a big hard drive split in to three volumes, the Boot volume, the User Homes volume and the Reference Material volume (as I called “Share” above).
    \ (Boot)
    |
    |-Volumes
    |-Share
    |-Users
    I am sure my linking method would work if everything were on the same volume, but this doesn’t really fix the problem, and I am in no rush to backup, reformat and reinstall this computer. In my opinion this isn’t a proper solution either. I also thought about purchasing more Client Access licenses, but I don’t know if they can be easily added or how that would even work, since the client access license limit is hard coded into the server serial number used when originally setting up the machine. Any help in this matter would be greatly appreciated as well.

    Which version of Mac OS X Server, specifically, are you running?
    This article explains that Apple changed (fixed?) the concurrent user count to be based on simultaneous machines, not simultaneous connections in 10.3.3.
    Your simplest solution may just be to upgrade the server.
    Note also thai the article specifically calls out 'automounted share points'. I don't know if manual mounts count in the same way, but that might be worth looking at.

  • Can Leopard Server update Tiger clients?

    Can anyone tell me if Leopard server can update the OS of Tiger clients? I know Tiger server can't update Leopard clients, but the other way around?

    Hi
    Not true. I have a 10.4 OD Master with a managed group using the SUS Service on a 10.5 Server. The 10.5 Server is connected to the 10.4 Directory. DNS Services for both servers are on the 10.4 Server as is the DHCP Service. 10.4 and 10.5 Clients that bind to the 10.4 Server are updated using the 10.5 SUS with no problems at all. The only issue I've seen is 10.5 clients occasionally can't use the 10.5.2 Combo Update on the SUS Server. There is the 'cant expand package properly' error message. At first I thought this was because the latest Intel iMacs were able to update but not Leopard installed PPC models. One solution was to keep a manually downloaded .dmg of the 10.5.2 update on the Server and push it out using ARD or copying it locally and installing it that way. However earlier Intel models - occasionally - are also not updating - pre-dominantly first generation macbooks and macminis but every now and again some of the later Aluminium model iMacs.
    This is an intermittent problem though and may be due to the small bandwidth that the SUS server is having to use to access apple's downloads server (1MB). When the SUS was on the 10.4 Server with a higher bandwidth connection (4-5MB) there was never any problems with the downloads but quite a few with the Service stopping itself and having to be restarted using the command line.
    The amount downloaded for 10.5 SUS is greater (approx 13-16GB) than 10.4 SUS (approx 10-11GB) - obviously. It took 4-5 days for the 10.5 SUS to make available all the downloaded updates - obviously due to the 1MB connection but also there were problems with accessing the updates server at that time. I think this was because Leopard Server had not long been made available and like a lot others it was in a testing environment where all the services were being tried to see what was worked and what did not.
    Tony

  • About the communication issues in the client-server program

    About the communication issues in the client-server program
    Hi, I have some questions about the communication issues in a java project, which is basically the client and server architecture. In brief, the client, written in java, can be deployed anywhere, and in the following part, assume it is in the LAN (Local Area Network) which is connnected to the internet through the firewall and/or proxy, and the server, written in
    java too, simply provides the listening service on a port in a remote machine. And assume the server is connected to the internet directly so that the scenario can be simple to focus on the core questions.
    My questions are as follows:
    1 About the relationship between the communication port and protocol
    Generally, protocols at the application level like HTTP, FTP have their own default port, e.g., HTTP is corresponding to 80,
    FTP is to 25. But it is NOT necessary for the web server to provide the HTTP listening service at port 80, right? E.g, Tomcat provides the HTTP listening service at 8080. So it means the default relationship between the application protocl and their port is some routine, which is not necessary to follow, right?
    2 Assume a LAN connected to the internet through a proxy, which only allows HTTP protocol, then questions are:
    2.1 Does the proxy recognize the HTTP request from the client by the port number (carried in the request string)? For example, when the server provides the HTTP listening service at 80, then the request from the client will include the port number 80, then the proxy will parse such info and decide if or not the request can be out.
    2.2 Does the proxy recognize the HTTP request from the client by protocol (carried in the request string)? For example, the protocol used in the communicatin should be included in the request, then the proxy can parse it to make the decision.
    3 In java programm, if using the HTTP protcol, then on the client: the corresponding API is java.net.URLConnection, right?
    If using the TCP protocol directly, then on the client:the corresponding API is java.net.Socket, right? In both cases, the server side use the same API, java.net.ServerSocket?
    Is it correct to say that the communication by Socket is faster than URLConnection?
    4 Take MSN messenger for example, which protocol does it use? Since proxy configure is only the possible option, so I guess generally the TCP protocol is used directly so that the better perfomrance can be achieved, right?
    5 Given 3 computers within the same LAN, can the client, proxy, server environment above be correctly simulated? If so, can
    you recommend me some typical proxy program so that I can install it to configure such an enviroment to perform some test?
    6 I guess there should be some software to find out which port number a given program/process is going through to connect to
    the remote machine, and which port number a given program/process is listening on? Also, what protocl is used in the given
    communication.
    7 Finally, regarding each of the above questions, it will be highly appreciated that if you can recommed some references,
    tutorials, books etc. In summary, what I care about is how to enable the java client behind the proxy and firewall to
    communicate with the remote server without problems, so if you know some good tutorials plz let me know and thx in advance!
    Finally, thanks for your attention so such long questions =).

    FTP is to 25. But it is NOT necessary for the web
    server to provide the HTTP listening service at port
    80, right? E.g, Tomcat provides the HTTP listening
    service at 8080. So it means the default relationship
    between the application protocl and their port is
    some routine, which is not necessary to follow,
    right?Not sure what you're saying here.
    There must be a server listening on some port. The client must know what port that is. If you open the connection using the Socket class, you'll explicitly specify the port. If you use some higher level class like URLConnection or something in the commons Net package, there's probably a default port that will be used if you don't explicitly specify another.
    There's no way for the client to know that the HTTP request will go to port 80 instead of port 8080. If you think the the client contacts the server without explicitly naming a port, and then asks the server "get me your HTTP server", and the port is determined from that, you're mistaken.
    Not sure if you're thinking that, but it sounded like you might be.
    2 Assume a LAN connected to the internet through
    a proxy, which only allows HTTP protocol, then
    questions are:
    2.1 Does the proxy recognize the HTTP request
    from the client by the port number (carried in the
    request string)? For example, when the server
    provides the HTTP listening service at 80, then the
    request from the client will include the port number
    80, then the proxy will parse such info and decide if
    or not the request can be out. I'm not sure, but I think most proxies and firewalls are configured by ports. I thought I'd heard of more sophisticated, higher-level ones that could understand the content to some degree, but I don't know anything about those.
    3 In java programm, if using the HTTP protcol,
    then on the client: the corresponding API is
    java.net.URLConnection, right?That's one way.
    You might want to look into this:
    http://jakarta.apache.org/commons/httpclient/
    If using the TCP protocol directly, then on the
    client:the corresponding API is java.net.Socket,
    right? In both cases, the server side use the same
    API, java.net.ServerSocket? A Java client will user Socket, and a Java server will use ServerSocket and Socket.
    Is it correct to say that the communication by Socket
    is faster than URLConnection?Probably not.

  • Async tcp client and server. How can I determine that the client or the server is no longer available?

    Hello. I would like to write async tcp client and server. I wrote this code but a have a problem, when I call the disconnect method on client or stop method on server. I can't identify that the client or the server is no longer connected.
    I thought I will get an exception if the client or the server is not available but this is not happening.
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    How can I determine that the client or the server is no longer available?
    Server
    public class Server
    private readonly Dictionary<IPEndPoint, TcpClient> clients = new Dictionary<IPEndPoint, TcpClient>();
    private readonly List<CancellationTokenSource> cancellationTokens = new List<CancellationTokenSource>();
    private TcpListener tcpListener;
    private bool isStarted;
    public event Action<string> NewMessage;
    public async Task Start(int port)
    this.tcpListener = TcpListener.Create(port);
    this.tcpListener.Start();
    this.isStarted = true;
    while (this.isStarted)
    var tcpClient = await this.tcpListener.AcceptTcpClientAsync();
    var cts = new CancellationTokenSource();
    this.cancellationTokens.Add(cts);
    await Task.Factory.StartNew(() => this.Process(cts.Token, tcpClient), cts.Token, TaskCreationOptions.LongRunning, TaskScheduler.Default);
    public void Stop()
    this.isStarted = false;
    foreach (var cancellationTokenSource in this.cancellationTokens)
    cancellationTokenSource.Cancel();
    foreach (var tcpClient in this.clients.Values)
    tcpClient.GetStream().Close();
    tcpClient.Close();
    this.clients.Clear();
    public async Task SendMessage(string message, IPEndPoint endPoint)
    try
    var tcpClient = this.clients[endPoint];
    await this.Send(tcpClient.GetStream(), Encoding.ASCII.GetBytes(message));
    catch (Exception exception)
    private async Task Process(CancellationToken cancellationToken, TcpClient tcpClient)
    try
    var stream = tcpClient.GetStream();
    this.clients.Add((IPEndPoint)tcpClient.Client.RemoteEndPoint, tcpClient);
    while (!cancellationToken.IsCancellationRequested)
    var data = await this.Receive(stream);
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    private async Task Send(NetworkStream stream, byte[] buf)
    await stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
    await stream.WriteAsync(buf, 0, buf.Length);
    private async Task<byte[]> Receive(NetworkStream stream)
    var lengthBytes = new byte[4];
    await stream.ReadAsync(lengthBytes, 0, 4);
    var length = BitConverter.ToInt32(lengthBytes, 0);
    var buf = new byte[length];
    await stream.ReadAsync(buf, 0, buf.Length);
    return buf;
    Client
    public class Client
    private TcpClient tcpClient;
    private NetworkStream stream;
    public event Action<string> NewMessage;
    public async void Connect(string host, int port)
    try
    this.tcpClient = new TcpClient();
    await this.tcpClient.ConnectAsync(host, port);
    this.stream = this.tcpClient.GetStream();
    this.Process();
    catch (Exception exception)
    public void Disconnect()
    try
    this.stream.Close();
    this.tcpClient.Close();
    catch (Exception exception)
    public async void SendMessage(string message)
    try
    await this.Send(Encoding.ASCII.GetBytes(message));
    catch (Exception exception)
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    private async Task Send(byte[] buf)
    await this.stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
    await this.stream.WriteAsync(buf, 0, buf.Length);
    private async Task<byte[]> Receive()
    var lengthBytes = new byte[4];
    await this.stream.ReadAsync(lengthBytes, 0, 4);
    var length = BitConverter.ToInt32(lengthBytes, 0);
    var buf = new byte[length];
    await this.stream.ReadAsync(buf, 0, buf.Length);
    return buf;

    Hi,
    Have you debug these two applications? Does it go into the catch exception block when you close the client or the server?
    According to my test, it will throw an exception when the client or the server is closed, just log the exception message in the catch block and then you'll get it:
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.Invoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    Console.WriteLine(exception.Message);
    Unable to read data from the transport connection: An existing   connection was forcibly closed by the remote host.
    By the way, I don't know what the SafeInvoke method is, it may be an extension method, right? I used Invoke instead to test it.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I display the front panel of the dinamically loaded VI on the cliente computer, the VI dinamically loaded contains files, I want to see the files that the server machine has, in the client machine

    I can successfully view and control a VI remotly. However, the remote VI dinamically loads another VI, this VI loaded dinamically is a VI that allows open others VIs, I want to see the files that contains the server machine, in the client machine, but the front panel of the dinamic VI appears only on the server and not on the client, How can I display the fron panel with the files of the server machine of the dinamically loaded VI on the client computer?
    Attachments:
    micliente.llb ‏183 KB
    miservidor.llb ‏186 KB
    rdsubvis.llb ‏214 KB

    I down loaded your files but could use some instructions on what needs run.
    It seems that you are so close yet so far. You need to get the data on the server machine over to the client. I generally do this by doing a call by reference (on the client machine) of a VI that is served by the server. THe VI that executes on the server should pass the data you want to diplay via one of its output terminals. You can simply wire from this terminal (back on the client again) to an indicator of your choosing.
    Now theorectically, I do not think that there is anything that prevents use from getting the control refnum of the actual indicator (on the server) of the indicator that has the data, and read its "Value" using a property node. I have never tried this idea but it seems t
    hat all of the parts are there. You will need to know the name of the VI that holds the data as well as the indicator's name. You will also have to serve all VI's. This is not a good idea.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • After connecting the clients to start video chat using RTMFP , Can the server finish the video chat

    After connecting the clients to start video chat using RTMFP , Can the server finish the video chat between clients regardless of clients' will ?

    Hi,
    I looked on this site http://portforward.com/routers.htm
    It lists many routing devices both modems and routers.
    I did not see the Surfboard you listed but that does not mean it does not route (It just means it is not in the list)
    Your computer is getting the IP 192.168.1.3 which means a device somewhere between you and the internet is routing.
    Most likely in System Preferences > Network for the connection method you are using you can see a "Router IP" (192.168.1.1 is most likely based on the IP you get)
    Type this into to your Web Browser like you would Apple.com
    You should get a Pop Up.
    Hopefully it will tell what device you are now trying to Log in to.
    This info may help in looking in the Port Forward list.
    If not check all the Motorola devices listed and then iChat in the Next page.
    The third page from the Link page I gave you will detail the default access info (IP and User ID and Password) for each device you visit.
    You may find that there is a common User ID and password across the various devices and this may work for you.
    At Random this one says admin and motorola as the User ID and Password. (others may say different)
    Don't worry about the fact it says to set a Static IP at this stage Or the Port Forwarding info further down each page.
    You will hopefully be now looking at the web pages stored on the modem.
    They work like any other web pages with menu items and links to other pages.
    Search all the menu items and link to see if the device has UPnP
    It tends to be in different places on different routing devices but try Advanced or Admin as well as anything to to do with opening ports.
    A Status page like the first pic on the second link page I listed may well tell you if it has UPnP enable or not (but this is not always the case)
    Tell us what you find out or if you have some other routing device in between you and the Motorola Surfboard.
    10:56 PM Monday; January 19, 2009

  • Can I access the built-in queue of the client-server configuration?

    We are working on a remote lab, using LabVIEW 6i. Our solution is based on a client-server structur, where the server unit has the dual function of communicating with the client over the Internet and controlling the experimental setup. If two or more clients are using the setup at the same time, we have discovered that LabVIEW 6i is using a built-in queue system. In our work to make the client inteface userfriendly, we have the following problem. Is it possible to inform the client that he/she is in a queue, and also how many clients are in front of him/her?
    Thanks for any hints.
    Greetings, Anna Söderlund
    anna@ic
    .chalmers.se
    Solid State Electronics, Department of Microelectronics,
    Chalmers University of Technology
    Sweden

    Take a look to this sample Tcp/ip LLB.
    The server vi build-up a queue according to the number of clients connected.
    Based on this principle you can probably manage to make the server to broadcast which client it is sending data to.
    Attachments:
    tcp-ip_daq.llb ‏161 KB

  • How can we execute an *.exe that is present on the client side from Server.

    Hi
    My application users would be having their own exe's installed on their machines. Using a wizard thay would be providing the path where the executable would reside on their machine and this information will be store in our data base. So how can we provide the user the capability of executing the exe from my application that is a server based.
    Thank you in advance.

    basically... drop the requirement as it is simply impossible. Whatever the executable is doing, perhaps you can mimic it in an applet, javafx, flash, silverlight, flex or whatever similar platform you want to use. Doing anything to or with that which resides on the client side is off limits to you and with very good reasons. Just think about the horrible things you could do to a computer if you had access to it through a simple webpage!

  • How can I tell what exactly is being distributed from the SCCM server to a client

    Hi,
    If I know an IP Address of a client machine, is there a way I can see what SCCM is exactly sending to that particular machine at that moment in time?
    thanks.

    Also, there is no way to see traffic "at that moment in time".
    ConfigMgr is just not a "real-time" product.
    As Jörgen said the best you can get is to look at the client logs.
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • When I connected to FREENX server, the client can see nothing

    I choose UNIX-KDE in my client, but only find a black windows with 1024x768 when connected ,  and when I check the server, I found no KDE running.
    On my client machine I edit the connection,  select  "custom" under the desktop section, and manually specify the command for starting kde. but  that doesn't work eighter .

    I checked this issue with 32 and 64 bit versions, as well as different desktops to connect to (KDE, Gnome, XFCE4). The problem is always the same, so I believe the actual version of freenx is just buggy. Please, whoever maintains freenx, have a look at it. The problem happens with any NX client. I used the new version 3 due to best logging. Again in short:
    - Installation and nxsetup works well
    - Authentification works
    - Downloading session information works
    - The clients last message is: "Established the display connection"
    At this point Nomchines session administrator shows a running session, although no display is showing up. A little later the client terminates with a timeout and following log:
    nfo: Proxy running in client mode with pid '7600'.
    Session: Starting session at 'Sat Jun 30 11:26:05 2007'.
    Info: Connecting to remote host '192.168.1.50:5000'.
    Info: Connection to remote proxy '192.168.1.50:5000' established.
    Warning: Connected to remote version 2.1.0 with local version 3.0.0.
    Info: Connection with remote proxy completed.
    Info: Using LAN link parameters 1536/24/1/0.
    Info: Using image streaming parameters 50/128/1024KB/6144/768.
    Info: Using image cache parameters 1/1/32768KB.
    Info: Using pack method '16m-rle-9' with session 'unix-kde'.
    Info: Not using NX delta compression.
    Info: Not using ZLIB data compression.
    Info: Not using ZLIB stream compression.
    Info: Not using a persistent cache.
    Info: Forwarding X11 connections to display ':0.0'.
    Session: Session started at 'Sat Jun 30 11:26:05 2007'.
    Info: Established X server connection.
    Info: Using shared memory parameters 1/2048K.
    Session: Terminating session at 'Sat Jun 30 11:27:07 2007'.
    Info: Waiting the cleanup timeout to complete.
    Warning: Parent process appears to be dead. Exiting watchdog.
    Last edited by jcci (2007-06-30 03:31:38)

  • SCCM 2012 R2 site server client installation error: The client version 5.00.7958.1000 does not match the MP version 5.00.7804.1000.

    Hello,
    When I try to install the client on the site server itself it gives me this error message and fails the ccmsetup. I only have this on the site server. Clients to other servers and computers are pushed fine. If I check the version of the MP it says 5.00.7958.1000
    in ADSI. I removed the MP object in CN=System, CN=System Management. Waited for it to be regenerated automatically by SCCM but the installation doesn't work still.
    I tried to install with several methods including directly from ccmsetup.exe in ccmsetup folder, pushing by sccm itself, running from commandline, ...
    I run SCCM 2012 R2 on Windows Server 2008 R2 and the database on SQL 2008 on Server 2008 R2
    Below you find the ccmsetup.log:
    <![LOG[==========[ ccmsetup started in process 5072 ]==========]LOG]!><time="07:29:25.392-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="7532" file="ccmsetup.cpp:9437">
    <![LOG[Running on platform X64]LOG]!><time="07:29:25.393-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="7532" file="util.cpp:1837">
    <![LOG[Updated security on object C:\Windows\ccmsetup\cache\.]LOG]!><time="07:29:25.394-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="7532" file="ccmsetup.cpp:9281">
    <![LOG[Launch from folder C:\Windows\ccmsetup\]LOG]!><time="07:29:25.394-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="7532" file="ccmsetup.cpp:721">
    <![LOG[CcmSetup version: 5.0.7958.1000]LOG]!><time="07:29:25.395-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="7532" file="ccmsetup.cpp:727">
    <![LOG[In ServiceMain]LOG]!><time="07:29:25.397-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="ccmsetup.cpp:3365">
    <![LOG[Running on 'Microsoft Windows Server 2008 R2 Enterprise ' (6.1.7601). Service Pack (1.0). SuiteMask = 274. Product Type = 18]LOG]!><time="07:29:25.490-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="util.cpp:1919">
    <![LOG[Ccmsetup command line: "C:\Windows\ccmsetup\ccmsetup.exe" /runservice /config:MobileClient.tcf]LOG]!><time="07:29:25.491-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:3590">
    <![LOG[Command line parameters for ccmsetup have been specified. No registry lookup for command line parameters is required.]LOG]!><time="07:29:25.491-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:3775">
    <![LOG[Command line: "C:\Windows\ccmsetup\ccmsetup.exe" /runservice /config:MobileClient.tcf]LOG]!><time="07:29:25.491-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:3776">
    <![LOG[SslState value: 224]LOG]!><time="07:29:25.499-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="ccmsetup.cpp:4425">
    <![LOG[CCMHTTPPORT: 80]LOG]!><time="07:29:25.511-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:8617">
    <![LOG[CCMHTTPSPORT: 443]LOG]!><time="07:29:25.511-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:8632">
    <![LOG[CCMHTTPSSTATE: 224]LOG]!><time="07:29:25.511-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:8650">
    <![LOG[CCMHTTPSCERTNAME: ]LOG]!><time="07:29:25.511-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:8668">
    <![LOG[FSP: SCCMSRV-02]LOG]!><time="07:29:25.511-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:8720">
    <![LOG[CCMFIRSTCERT: 1]LOG]!><time="07:29:25.511-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:8778">
    <![LOG[Config file: C:\Windows\ccmsetup\MobileClientUnicode.tcf]LOG]!><time="07:29:25.513-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:4539">
    <![LOG[Retry time: 10 minute(s)]LOG]!><time="07:29:25.513-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:4540">
    <![LOG[MSI log file: C:\Windows\ccmsetup\Logs\client.msi.log]LOG]!><time="07:29:25.513-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:4541">
    <![LOG[MSI properties: INSTALL="ALL" SMSSITECODE="ZAV" FSP="SCCMSRV-02" DISABLESITEOPT="TRUE" SMSCACHEDIR="CACHE" SMSCACHEFLAGS="MAXDRIVE" SMSCACHESIZE="20000" CCMHTTPPORT="80" CCMHTTPSPORT="443" CCMHTTPSSTATE="224" CCMFIRSTCERT="1"]LOG]!><time="07:29:25.514-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:4542">
    <![LOG[Source List:]LOG]!><time="07:29:25.514-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:4550">
    <![LOG[ \\SCCMSRV-02.snba.be\SMSClient]LOG]!><time="07:29:25.514-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:4557">
    <![LOG[ \\SCCMSRV-02.SNBA.BE\SMSClient]LOG]!><time="07:29:25.514-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:4566">
    <![LOG[MPs:]LOG]!><time="07:29:25.514-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:4569">
    <![LOG[ SCCMSRV-02.snba.be]LOG]!><time="07:29:25.514-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:4584">
    <![LOG[No version of the client is currently detected.]LOG]!><time="07:29:25.520-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:2748">
    <![LOG[Task 'Configuration Manager Client Retry Task' does not exist]LOG]!><time="07:29:25.525-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="wintask.cpp:634">
    <![LOG[Updated security on object C:\Windows\ccmsetup\.]LOG]!><time="07:29:25.529-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="ccmsetup.cpp:9281">
    <![LOG[Sending Fallback Status Point message to 'SCCMSRV-02', STATEID='100'.]LOG]!><time="07:29:25.530-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:9756">
    <![LOG[Failed to get client version for sending messages to FSP. Error 0x80041010]LOG]!><time="07:29:25.534-120" date="04-17-2014" component="ccmsetup" context="" type="2" thread="2724" file="ccmsetup.cpp:9838">
    <![LOG[Params to send FSP message '5.0.7958.1000 Deployment ']LOG]!><time="07:29:25.535-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="ccmsetup.cpp:9887">
    <![LOG[State message with TopicType 800 and TopicId {C6441082-A993-4410-9F89-D4CCB6624ED0} has been sent to the FSP]LOG]!><time="07:29:25.676-120" date="04-17-2014" component="FSPStateMessage" context="" type="1" thread="2724" file="fsputillib.cpp:752">
    <![LOG[Running as user "SYSTEM"]LOG]!><time="07:29:25.693-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:1995">
    <![LOG[Detected 20167 MB free disk space on system drive.]LOG]!><time="07:29:25.693-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="util.cpp:628">
    <![LOG[Checking Write Filter Status.]LOG]!><time="07:29:25.694-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:2024">
    <![LOG[This is not a supported write filter device. We are not in a write filter maintenance mode.]LOG]!><time="07:29:25.694-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:2051">
    <![LOG[Performing AD query: '(&(ObjectCategory=mSSMSManagementPoint)(mSSMSDefaultMP=TRUE)(mSSMSSiteCode=ZAV))']LOG]!><time="07:29:25.716-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="lsad.cpp:656">
    <![LOG[OperationalXml '<ClientOperationalSettings><Version>5.00.7958.1000</Version><SecurityConfiguration><SecurityModeMask>0</SecurityModeMask><SecurityModeMaskEx>224</SecurityModeMaskEx><HTTPPort>80</HTTPPort><HTTPSPort>443</HTTPSPort><CertificateStoreName></CertificateStoreName><CertificateIssuers></CertificateIssuers><CertificateSelectionCriteria></CertificateSelectionCriteria><CertificateSelectFirstFlag>1</CertificateSelectFirstFlag><SiteSigningCert>308202EF308201D7A00302010202102F8856AD510DC3AB4F4908160FC3185E300D06092A864886F70D01010B05003016311430120603550403130B53697465205365727665723020170D3133303830373134323233325A180F32313133303731353134323233325A3016311430120603550403130B536974652053657276657230820122300D06092A864886F70D01010105000382010F003082010A0282010100DDAAEB161F4ACB759E0E56C6F784F3BEDD4DA0303B40657298A41D7F9714E112CC80272A238E605DADD2D409658211D40590BD92D0DFE4E50E8F5AF482BF747E8D00636C41F7F939EF53FA6581B173A15BE25BC24DB9E3620D78612650415DF862AFA17F75128A601A011358B27CFB9989EEBD128485F167A5E378A0A3A106DEE3DD6CE7C5804B0BA3724C4455D2EA8D646B47D989AFC7D2BACC6AD0E62FA0D6B338C2CD3B5879B4794F5D29A89ADC93489E43237E4C3BA30F645F4E4FE0E3B562ABCFC73F52C33B7D179DD10888D2EB00F6F4E121009F1CB80BCF4FA0F5CAA5BA167AE7DC0A767BC3C9031A95A42C791B100D7F15144B4FE5AC104C2BEB3EAB0203010001A3373035301D0603551D110416301482125343434D5352562D30322E736E62612E626530140603551D25040D300B06092B060104018237650B300D06092A864886F70D01010B050003820101004802B9C3A3A9EA0DB5C6624F9152C60CA38F2857691234B5FE13DDED32DB3BADF4C847F5EA097DB9918537F40A94D56A06364775E62B9F75C51189BC510EE8F2848B264C41A4E941C9CD996BEF70B9F72345BEB05F39B87BF88B3A461333BD61CD50E6E16B15709D58B78A7B385E914DF2C7949AA5BEEFC8199D69CD6DCA312DBCFE64AC43D6F13B80FED4967447532E1A65F5E0588CA7246B417DD8530E28E3DAD170F71C00B6D79645EC49332CD9F8815DB65AAB441E6C41F72C37F432E5B5E23065B6D308486C398F340B1FF2361F3C342A50EA9A02D01138BACEDCFA0E7FAA681C1FC6157797171A0593EA0ACE0BD7BBBEB26E2F34FFD461210C76669FE1</SiteSigningCert></SecurityConfiguration><RootSiteCode>ZAV</RootSiteCode><CCM> <CommandLine>SMSSITECODE=ZAV FSP=SCCMSRV-02 DISABLESITEOPT=True SMSCACHEDIR=Cache SMSCACHEFLAGS=MAXDRIVE SMSCACHESIZE=20000</CommandLine> </CCM><FSP> <FSPServer>SCCMSRV-02.snba.be</FSPServer> </FSP><Capabilities SchemaVersion ="1.0"><Property Name="SSLState" Value="0" /></Capabilities><Domain Value="snba.be" /><Forest Value="snba.be" /></ClientOperationalSettings>']LOG]!><time="07:29:26.401-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="lsadcache.cpp:236">
    <![LOG[HTTP is selected for Client. The current state is 0.]LOG]!><time="07:29:26.403-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmutillib.cpp:420">
    <![LOG[The MP name retrieved is 'SCCMSRV-02.snba.be' with version '7958' and capabilities '<Capabilities SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities>']LOG]!><time="07:29:26.404-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="lsadcache.cpp:334">
    <![LOG[MP 'SCCMSRV-02.snba.be' is compatible]LOG]!><time="07:29:26.404-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="lsadcache.cpp:339">
    <![LOG[Retrieved 1 MP records from AD for site 'ZAV']LOG]!><time="07:29:26.404-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="lsadcache.cpp:287">
    <![LOG[Retrived site version '5.00.7958.1000' from AD for site 'ZAV']LOG]!><time="07:29:26.405-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="siteinfo.cpp:575">
    <![LOG[SiteCode: ZAV]LOG]!><time="07:29:26.405-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:2076">
    <![LOG[SiteVersion: 5.00.7958.1000]LOG]!><time="07:29:26.406-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:2077">
    <![LOG[Ccmsetup is being restarted due to an administrative action. Installation files will be reset and downloaded again.]LOG]!><time="07:29:26.406-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:2111">
    <![LOG[Deleted file C:\Windows\ccmsetup\client.msi]LOG]!><time="07:29:26.413-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:9493">
    <![LOG[Only one MP SCCMSRV-02.snba.be is specified. Use it.]LOG]!><time="07:29:26.414-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:10080">
    <![LOG[Searching for DP locations from MP(s)...]LOG]!><time="07:29:26.414-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:11018">
    <![LOG[Current AD site of machine is DAT]LOG]!><time="07:29:26.415-120" date="04-17-2014" component="LocationServices" context="" type="1" thread="2724" file="lsad.cpp:770">
    <![LOG[Local Machine is joined to an AD domain]LOG]!><time="07:29:26.415-120" date="04-17-2014" component="LocationServices" context="" type="0" thread="2724" file="lsad.cpp:714">
    <![LOG[Current AD forest name is snba.be, domain name is snba.be]LOG]!><time="07:29:26.419-120" date="04-17-2014" component="LocationServices" context="" type="1" thread="2724" file="lsad.cpp:842">
    <![LOG[DhcpGetOriginalSubnetMask entry point is supported.]LOG]!><time="07:29:26.424-120" date="04-17-2014" component="LocationServices" context="" type="0" thread="2724" file="ccmiputil.cpp:117">
    <![LOG[Begin checking Alternate Network Configuration]LOG]!><time="07:29:26.424-120" date="04-17-2014" component="LocationServices" context="" type="0" thread="2724" file="ccmiputil.cpp:1095">
    <![LOG[Finished checking Alternate Network Configuration]LOG]!><time="07:29:26.433-120" date="04-17-2014" component="LocationServices" context="" type="0" thread="2724" file="ccmiputil.cpp:1172">
    <![LOG[Sending message body '<ContentLocationRequest SchemaVersion="1.00">
    <AssignedSite SiteCode="ZAV"/>
    <ClientPackage/>
    <ClientLocationInfo LocationType="SMSPACKAGE" DistributeOnDemand="0" UseProtected="0" AllowCaching="0" BranchDPFlags="0" AllowHTTP="1" AllowSMB="0" AllowMulticast="0" UseInternetDP="0">
    <ADSite Name="DAT"/>
    <Forest Name="snba.be"/>
    <Domain Name="snba.be"/>
    <IPAddresses>
    <IPAddress SubnetAddress="172.31.20.0" Address="172.31.20.101"/>
    <IPAddress SubnetAddress="172.31.105.0" Address="172.31.105.17"/>
    <IPAddress SubnetAddress="172.31.109.0" Address="172.31.109.135"/>
    </IPAddresses>
    </ClientLocationInfo>
    </ContentLocationRequest>
    ']LOG]!><time="07:29:26.441-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="siteinfo.cpp:96">
    <![LOG[Sending message header '<Msg SchemaVersion="1.1"><ID>{76CC1A6C-D696-4C32-82D6-4F56FCA9E926}</ID><SourceHost>SCCMSRV-02</SourceHost><TargetAddress>mp:[http]MP_LocationManager</TargetAddress><ReplyTo>direct:SCCMSRV-02:LS_ReplyLocations</ReplyTo><Priority>3</Priority><Timeout>600</Timeout><ReqVersion>5931</ReqVersion><TargetHost>SCCMSRV-02.snba.be</TargetHost><TargetEndpoint>MP_LocationManager</TargetEndpoint><ReplyMode>Sync</ReplyMode><Protocol>http</Protocol><SentTime>2014-04-17T05:29:26Z</SentTime><Body Type="ByteRange" Offset="0" Length="1338"/><Hooks><Hook3 Name="zlib-compress"/></Hooks><Payload Type="inline"/></Msg>']LOG]!><time="07:29:26.441-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="siteinfo.cpp:177">
    <![LOG[CCM_POST 'HTTP://SCCMSRV-02.snba.be/ccm_system/request']LOG]!><time="07:29:26.442-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="httphelper.cpp:807">
    <![LOG[Content boundary is '--aAbBcCdDv1234567890VxXyYzZ']LOG]!><time="07:29:27.999-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="httphelper.cpp:1972">
    <![LOG[Received header '<Msg SchemaVersion="1.1">
    <ID>{431A4120-7DA1-4EF2-8A6C-2EDEF4D9E169}</ID>
    <SourceID>GUID:1C3F455F-F166-4B50-BE8E-68FD4F565096</SourceID>
    <SourceHost>SCCMSRV-02</SourceHost>
    <TargetAddress>direct:SCCMSRV-02:LS_ReplyLocations</TargetAddress>
    <ReplyTo>MP_LocationManager</ReplyTo>
    <CorrelationID>{00000000-0000-0000-0000-000000000000}</CorrelationID>
    <Priority>3</Priority>
    <Timeout>600</Timeout>
    <TargetHost>SCCMSRV-02</TargetHost><TargetEndpoint>LS_ReplyLocations</TargetEndpoint><ReplyMode>Sync</ReplyMode><Protocol>http</Protocol><SentTime>2014-04-17T05:29:27Z</SentTime><Body Type="ByteRange" Offset="0" Length="2504"/><Hooks><Hook3 Name="zlib-compress"/><Hook Name="authenticate"><Property Name="Signature">3082019206092A864886F70D010702A08201833082017F020101310B300906052B0E03021A0500300B06092A864886F70D0107013182015E3082015A02010130373023311330110603550403130A5343434D5352562D3032310C300A06035504031303534D5302104BA58C43C476A39E491A7F539E935ED8300906052B0E03021A0500300D06092A864886F70D010101050004820100B7018B6C14F24335592C864FDFAC6E038A9B2AC9AF3819C692F3DE515F97BF701A47E8595CE6CAD80F209EFFF3B1009F5AE60858FA6839B32C36FF9514D291895613A1A447C27E2BB8B05D71775FF770FF962DCC98AD3FC0DE0D45DD6BC16C9BAB0F697EF098FFC99228E26C52E661D3F6C929FEF527383DEBFA9C15027C58BAF8A7FFE4205C0198A9163E86535716E344D5012887A6AD8F563F2528DE6BD62BF2BF20DFDA4DA061EF57E755178827DAD0CB6CFC65FF4AB235E5EAAFBA565DC1B6E4AE7C093199B95CFE792F5FA6D0625D0938DC4EAF1BE70E708864B1E79B00FB32A1E6E37CF94FF54AC10C7FF994B5945E9CA1A3FA16B2F9D35462AFFAC001</Property><Property Name="AuthSenderMachine">SCCMSRV-02;SCCMSRV-02.snba.be;</Property><Property Name="MPSiteCode">ZAV</Property></Hook></Hooks><Payload Type="inline"/></Msg>']LOG]!><time="07:29:27.999-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="httphelper.cpp:1724">
    <![LOG[Received reply body '<ContentLocationReply SchemaVersion="1.00"><ContentInfo PackageFlags="16777216"><ContentHashValues/></ContentInfo><Sites><Site><MPSite SiteCode="ZAV" MasterSiteCode="ZAV" SiteLocality="LOCAL" IISPreferedPort="80" IISSSLPreferedPort="443"/><LocationRecords><LocationRecord><URL Name="http://SCCMSRV-02.snba.be/SMS_DP_SMSPKG$/ZAV00114" Signature="http://SCCMSRV-02.snba.be/SMS_DP_SMSSIG$/ZAV00114"/><ADSite Name="DAT"/><IPSubnets><IPSubnet Address="172.31.20.0"/><IPSubnet Address="172.31.109.0"/><IPSubnet Address="172.31.105.0"/><IPSubnet Address=""/></IPSubnets><Metric Value=""/><Version>7958</Version><Capabilities SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>SCCMSRV-02.snba.be</ServerRemoteName><DPType>SERVER</DPType><Windows Trust="1"/><Locality>LOCAL</Locality></LocationRecord></LocationRecords></Site></Sites><ClientPackage FullPackageID="ZAV00114" FullPackageVersion="1" FullPackageHash="BFC11E099E8F451107B43E0DBEFD93B01DB2D6453DA74F8A2CB94B73D676C1CD" MinimumClientVersion="5.00.7958.1000" RandomizeMaxDays="7" ProgramEnabled="false" LastModifiedTime="30357216;2152392064" SiteVersionMatch="true" SiteVersion="5.00.7958.1000" EnablePeerCache="true"/><RelatedContentIDs/></ContentLocationReply>']LOG]!><time="07:29:28.000-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="siteinfo.cpp:221">
    <![LOG[Found local location 'http://SCCMSRV-02.snba.be/SMS_DP_SMSPKG$/ZAV00114']LOG]!><time="07:29:28.001-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="siteinfo.cpp:351">
    <![LOG[Discovered 1 local DP locations.]LOG]!><time="07:29:28.002-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:11153">
    <![LOG[PROPFIND 'http://SCCMSRV-02.snba.be/SMS_DP_SMSPKG$/ZAV00114']LOG]!><time="07:29:28.002-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="httphelper.cpp:807">
    <![LOG[Using DP location http://SCCMSRV-02.snba.be/SMS_DP_SMSPKG$/ZAV00114]LOG]!><time="07:29:28.009-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:11395">
    <![LOG[GET 'http://SCCMSRV-02.snba.be/SMS_DP_SMSPKG$/ZAV00114/ccmsetup.cab']LOG]!><time="07:29:28.009-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="httphelper.cpp:807">
    <![LOG[C:\Windows\ccmsetup\ccmsetup.cab is Microsoft trusted.]LOG]!><time="07:29:28.090-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="util.cpp:1465">
    <![LOG[Successfully extracted manifest file C:\Windows\ccmsetup\ccmsetup.xml from file C:\Windows\ccmsetup\ccmsetup.cab.]LOG]!><time="07:29:28.101-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:6670">
    <![LOG[Retrieved client version '5.00.7958.1000' and minimum assignable site version '5.00.7845.1000' from manifest]LOG]!><time="07:29:28.104-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="siteinfo.cpp:668">
    <![LOG[Checking compatibility of site version '5.00.7958.1000', expect newer than '5.00.7845.1000']LOG]!><time="07:29:28.104-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="siteinfo.cpp:703">
    <![LOG[Site version '5.00.7958.1000' is compatible. Client deployment will continue.]LOG]!><time="07:29:28.104-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="siteinfo.cpp:726">
    <![LOG[Location 'http://SCCMSRV-02.snba.be/SMS_DP_SMSPKG$/ZAV00114' passed site version check.]LOG]!><time="07:29:28.104-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:6809">
    <![LOG[Loading manifest file: C:\Windows\ccmsetup\ccmsetup.xml]LOG]!><time="07:29:28.104-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:153">
    <![LOG[Successfully loaded ccmsetup manifest file.]LOG]!><time="07:29:28.106-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:171">
    <![LOG[Checking if manifest version '5.00.7958.1000' is newer than the ccmsetup version '5.0.7958.1000']LOG]!><time="07:29:28.106-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:10475">
    <![LOG[Running from temp downloaded folder or manifest is not newer than ccmsetup.]LOG]!><time="07:29:28.107-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:2213">
    <![LOG[Item 'i386/vcredist_x86.exe' is applicable. Add to the list.]LOG]!><time="07:29:28.212-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:343">
    <![LOG[Item 'x64/vcredist_x64.exe' is applicable. Add to the list.]LOG]!><time="07:29:28.269-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:343">
    <![LOG[Item 'i386/vc50727_x86.exe' is not applicable.]LOG]!><time="07:29:28.269-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:348">
    <![LOG[Item 'x64/vc50727_x64.exe' is applicable. Add to the list.]LOG]!><time="07:29:28.325-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:343">
    <![LOG[Item 'i386/WindowsUpdateAgent30-x86.exe' is not applicable.]LOG]!><time="07:29:28.325-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:348">
    <![LOG[Item 'x64/WindowsUpdateAgent30-x64.exe' is applicable. Add to the list.]LOG]!><time="07:29:28.380-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:343">
    <![LOG[Item 'i386/msxml6.msi' is not applicable.]LOG]!><time="07:29:28.380-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:348">
    <![LOG[Item 'x64/msxml6_x64.msi' is applicable. Add to the list.]LOG]!><time="07:29:28.433-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:343">
    <![LOG[Item 'i386/msrdcoob_x86.exe' is not applicable.]LOG]!><time="07:29:28.433-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:348">
    <![LOG[Item 'x64/msrdcoob_amd64.exe' is not applicable.]LOG]!><time="07:29:28.434-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:348">
    <![LOG[Item 'pkgmgr.exe' is not applicable.]LOG]!><time="07:29:28.434-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:348">
    <![LOG[Item 'dism.exe' is applicable. Add to the list.]LOG]!><time="07:29:28.504-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:343">
    <![LOG[Item 'wimgapi.msi' is not applicable.]LOG]!><time="07:29:28.504-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:348">
    <![LOG[Item 'i386/MicrosoftPolicyPlatformSetup.msi' is not applicable.]LOG]!><time="07:29:28.504-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:348">
    <![LOG[Item 'x64/MicrosoftPolicyPlatformSetup.msi' is applicable. Add to the list.]LOG]!><time="07:29:28.560-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:343">
    <![LOG[Item 'i386/WindowsFirewallConfigurationProvider.msi' is not applicable.]LOG]!><time="07:29:28.561-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:348">
    <![LOG[Item 'x64/WindowsFirewallConfigurationProvider.msi' is applicable. Add to the list.]LOG]!><time="07:29:28.615-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:343">
    <![LOG[Item 'i386/Silverlight.exe' is applicable. Add to the list.]LOG]!><time="07:29:28.670-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:343">
    <![LOG[Item 'i386/wic_x86_enu.exe' is not applicable.]LOG]!><time="07:29:28.670-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:348">
    <![LOG[Item 'x64/wic_x64_enu.exe' is not applicable.]LOG]!><time="07:29:28.670-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:348">
    <![LOG[Item 'i386/dotNetFx40_Client_x86_x64.exe' is applicable. Add to the list.]LOG]!><time="07:29:28.723-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:343">
    <![LOG[Item 'SCEPInstall.exe' is applicable. Add to the list.]LOG]!><time="07:29:28.779-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:343">
    <![LOG[Item 'i386/client.msi' is not applicable.]LOG]!><time="07:29:28.779-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:348">
    <![LOG[Item 'x64/client.msi' is applicable. Add to the list.]LOG]!><time="07:29:28.841-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:343">
    <![LOG[Default CSP is Microsoft Enhanced RSA and AES Cryptographic Provider]LOG]!><time="07:29:28.842-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="ccmutillib.cpp:1363">
    <![LOG[Default CSP Type is 24]LOG]!><time="07:29:28.842-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="ccmutillib.cpp:1364">
    <![LOG[Discovering whether item 'i386/vcredist_x86.exe' exists.]LOG]!><time="07:29:28.842-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:553">
    <![LOG[Detected item 'i386/vcredist_x86.exe']LOG]!><time="07:29:28.842-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:614">
    <![LOG[Discovering whether item 'x64/vcredist_x64.exe' exists.]LOG]!><time="07:29:28.842-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:553">
    <![LOG[Detected item 'x64/vcredist_x64.exe']LOG]!><time="07:29:28.843-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:614">
    <![LOG[Discovering whether item 'x64/vc50727_x64.exe' exists.]LOG]!><time="07:29:28.843-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:553">
    <![LOG[Upgrade code '{A8D19029-8E5C-4E22-8011-48070F9E796E}': product = '{ad8a2fa1-06e7-4b0d-927d-6e54b3d31028}', installed = 1, version = 8.0.61000]LOG]!><time="07:29:28.843-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="msiutil.cpp:1273">
    <![LOG[Checking '{A8D19029-8E5C-4E22-8011-48070F9E796E}' version '8.0.61000' expecting >= '8.0.61000'.]LOG]!><time="07:29:28.844-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="manifest.cpp:873">
    <![LOG[Detected item 'x64/vc50727_x64.exe']LOG]!><time="07:29:28.844-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:614">
    <![LOG[Discovering whether item 'x64/WindowsUpdateAgent30-x64.exe' exists.]LOG]!><time="07:29:28.844-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:553">
    <![LOG[Checking file 'C:\Windows\system32\wuapi.dll' version '7.6.7600.0256' expecting >= '7.4.7600.226'.]LOG]!><time="07:29:28.846-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="manifest.cpp:1278">
    <![LOG[Detected item 'x64/WindowsUpdateAgent30-x64.exe']LOG]!><time="07:29:28.846-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:614">
    <![LOG[Discovering whether item 'x64/msxml6_x64.msi' exists.]LOG]!><time="07:29:28.846-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:553">
    <![LOG[Checking file 'C:\Windows\system32\msxml6.dll' version '6.30.7601.17857' expecting >= '6.10.1129.0'.]LOG]!><time="07:29:28.847-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="manifest.cpp:1278">
    <![LOG[Detected item 'x64/msxml6_x64.msi']LOG]!><time="07:29:28.847-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:614">
    <![LOG[Discovering whether item 'dism.exe' exists.]LOG]!><time="07:29:28.847-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:553">
    <![LOG[File 'C:\Windows\system32\msrdc.dll' exists. Discovery passed]LOG]!><time="07:29:28.848-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="manifest.cpp:1250">
    <![LOG[Detected item 'dism.exe']LOG]!><time="07:29:28.848-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:614">
    <![LOG[Discovering whether item 'x64/MicrosoftPolicyPlatformSetup.msi' exists.]LOG]!><time="07:29:28.848-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:553">
    <![LOG[Upgrade code '{19B9818B-7432-49E9-BC02-B126025EE235}': product = '{90D295B8-BA08-487E-B904-0E624209A410}', installed = 1, version = 1.2.3602.0]LOG]!><time="07:29:28.849-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="msiutil.cpp:1273">
    <![LOG[Checking '{19B9818B-7432-49E9-BC02-B126025EE235}' version '1.2.3602.0' expecting >= '1.2.3602.0'.]LOG]!><time="07:29:28.849-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="manifest.cpp:873">
    <![LOG[Detected item 'x64/MicrosoftPolicyPlatformSetup.msi']LOG]!><time="07:29:28.849-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:614">
    <![LOG[Discovering whether item 'x64/WindowsFirewallConfigurationProvider.msi' exists.]LOG]!><time="07:29:28.849-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:553">
    <![LOG[Validated file 'C:\Windows\ccmsetup\WindowsFirewallConfigurationProvider.msi' hash '3BF0651FD4A01170925CEF694468D4EF6F64D76FD3413DEBD14CB8DE019AA10E']LOG]!><time="07:29:28.868-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="util.cpp:2609">
    <![LOG[File 'C:\Windows\ccmsetup\WindowsFirewallConfigurationProvider.msi' exists. Discovery passed]LOG]!><time="07:29:28.868-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="manifest.cpp:1250">
    <![LOG[Detected item 'x64/WindowsFirewallConfigurationProvider.msi']LOG]!><time="07:29:28.868-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:614">
    <![LOG[Discovering whether item 'i386/Silverlight.exe' exists.]LOG]!><time="07:29:28.869-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:553">
    <![LOG[32-bit Hive selected]LOG]!><time="07:29:28.869-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:948">
    <![LOG[Detected item 'i386/Silverlight.exe']LOG]!><time="07:29:28.869-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:614">
    <![LOG[Discovering whether item 'i386/dotNetFx40_Client_x86_x64.exe' exists.]LOG]!><time="07:29:28.869-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:553">
    <![LOG[Detected item 'i386/dotNetFx40_Client_x86_x64.exe']LOG]!><time="07:29:28.869-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:614">
    <![LOG[Discovering whether item 'SCEPInstall.exe' exists.]LOG]!><time="07:29:28.870-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:553">
    <![LOG[Validated file 'C:\Windows\ccmsetup\SCEPInstall.exe' hash 'FDDB17A148D8358B5BFBF63BBB3CDE902DCE807366081FE16B8E6042DCB47C71']LOG]!><time="07:29:29.649-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="util.cpp:2609">
    <![LOG[Checking file 'C:\Windows\ccmsetup\SCEPInstall.exe' version '4.3.0220.0000' expecting >= '4.3.220.0'.]LOG]!><time="07:29:29.651-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="manifest.cpp:1278">
    <![LOG[Detected item 'SCEPInstall.exe']LOG]!><time="07:29:29.651-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:614">
    <![LOG[Discovering whether item 'x64/client.msi' exists.]LOG]!><time="07:29:29.651-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:553">
    <![LOG[Item x64/client.msi has not been installed yet. Put to pending install list.]LOG]!><time="07:29:29.651-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="manifest.cpp:609">
    <![LOG[PROPFIND 'http://SCCMSRV-02.snba.be/SMS_DP_SMSPKG$/ZAV00114']LOG]!><time="07:29:29.651-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="httphelper.cpp:807">
    <![LOG[No client patches are detected.]LOG]!><time="07:29:29.658-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="ccmsetup.cpp:1736">
    <![LOG[PROPFIND 'http://SCCMSRV-02.snba.be/SMS_DP_SMSPKG$/ZAV00114']LOG]!><time="07:29:29.658-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="httphelper.cpp:807">
    <![LOG[No client language packs are detected.]LOG]!><time="07:29:29.664-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="ccmsetup.cpp:1777">
    <![LOG[Searching for available transform]LOG]!><time="07:29:29.665-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:1807">
    <![LOG[PROPFIND 'http://SCCMSRV-02.snba.be/SMS_DP_SMSPKG$/ZAV00114']LOG]!><time="07:29:29.665-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="httphelper.cpp:807">
    <![LOG[No transform available for this locale. Installation will proceed with no transformation.]LOG]!><time="07:29:29.671-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:1892">
    <![LOG[File 'C:\Windows\ccmsetup\client.msi' doesn't exist.]LOG]!><time="07:29:29.672-120" date="04-17-2014" component="ccmsetup" context="" type="2" thread="2724" file="util.cpp:2595">
    <![LOG[Using branch cache option.]LOG]!><time="07:29:29.690-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:6443">
    <![LOG[Adding file 'http://SCCMSRV-02.snba.be:80/SMS_DP_SMSPKG$/ZAV00114/x64/client.msi' to BITS job, saving as 'C:\Windows\ccmsetup\client.msi'.]LOG]!><time="07:29:29.690-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:6474">
    <![LOG[Starting BITS download for client deployment files.]LOG]!><time="07:29:29.698-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:6487">
    <![LOG[Download Update: 32616448 out of 32616448 bytes transferred.]LOG]!><time="07:29:30.700-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:6578">
    <![LOG[Successfully completed BITS download for client deployment files.]LOG]!><time="07:29:32.701-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:6536">
    <![LOG[Retrieved client version '5.00.7958.1000' and minimum assignable site version '5.00.7845.1000' from client package]LOG]!><time="07:29:34.020-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="siteinfo.cpp:678">
    <![LOG[Checking compatibility of site version '5.00.7958.1000', expect newer than '5.00.7845.1000']LOG]!><time="07:29:34.020-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="siteinfo.cpp:703">
    <![LOG[Site version '5.00.7958.1000' is compatible. Client deployment will continue.]LOG]!><time="07:29:34.020-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="siteinfo.cpp:726">
    <![LOG[Successfully downloaded client files via BITS.]LOG]!><time="07:29:34.020-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:1396">
    <![LOG[Validated file 'C:\Windows\ccmsetup\client.msi' hash 'A5732CE24F2B1545E9FBA458971E0A5504093E0F743CA9E8BD9C047582902878']LOG]!><time="07:29:35.032-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="util.cpp:2609">
    <![LOG[An MP exists on this machine.]LOG]!><time="07:29:35.048-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="msiutil.cpp:565">
    <![LOG[The client version 5.00.7958.1000 does not match the MP version 5.00.7804.1000. The client will not be installed.]LOG]!><time="07:29:35.048-120" date="04-17-2014" component="ccmsetup" context="" type="3" thread="2724" file="msiutil.cpp:583">
    <![LOG[Sending Fallback Status Point message to 'SCCMSRV-02', STATEID='318'.]LOG]!><time="07:29:35.049-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="2724" file="ccmsetup.cpp:9756">
    <![LOG[Failed to get client version for sending messages to FSP. Error 0x80041010]LOG]!><time="07:29:35.054-120" date="04-17-2014" component="ccmsetup" context="" type="2" thread="2724" file="ccmsetup.cpp:9838">
    <![LOG[Params to send FSP message '5.0.7958.1000 Deployment ']LOG]!><time="07:29:35.054-120" date="04-17-2014" component="ccmsetup" context="" type="0" thread="2724" file="ccmsetup.cpp:9887">
    <![LOG[State message with TopicType 800 and TopicId {5FF017B3-AF3F-4D38-B037-0A7EE1F479C5} has been sent to the FSP]LOG]!><time="07:29:35.075-120" date="04-17-2014" component="FSPStateMessage" context="" type="1" thread="2724" file="fsputillib.cpp:752">
    <![LOG[InstallFromManifest failed 0x80004005]LOG]!><time="07:29:35.084-120" date="04-17-2014" component="ccmsetup" context="" type="3" thread="2724" file="ccmsetup.cpp:7202">
    <![LOG[CcmSetup failed with error code 0x80004005]LOG]!><time="07:29:35.086-120" date="04-17-2014" component="ccmsetup" context="" type="1" thread="7532" file="ccmsetup.cpp:10879">
    I hope someone can help me with this.
    Kind regards

    I agree with Idan. You can easily remove the Management Point Site System role and add it again with no adverse effect. This should solve your problem.
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • How to make the client connect to the server at the command prompt?

    I found this code on IBM's website, it was a training session on servers and clients using java.
    The code compiles fine and the server seems to start up properly when I use java Server 5000. I think whats happening is the server is running and listening for a connection on port 5000.
    When I try to run the client I get the following error.
    Exception in thread "main" java.lang.NoSuchMethodError: main
    I see a start() method but no main. As far as I know, applications should all have main, it seems as if the person who wrote this kinda confused applets with application. Not that I would really know what happened.
    If you have time, could you tell me if there's an easy fix for this? I would love to have this client/server working if it isn't too much trouble. As I have looked all over the net for a free client/server applet that will actually let me see the java code and none of the free ones do allow getting to their source.
    Most of them allow you to customize them somewhat but also have built in advertising that can't be removed.
    This is the closest I have come to finding one that lets me look under the hood. But alas it doesn't work out of the box and I don't know what to do to fix it.
    Heres the code: Server:
    import java.io.*;
    import java.net.*;
    import java.util.*;
    public class Server
      // The ServerSocket we'll use for accepting new connections
      private ServerSocket ss;
      // A mapping from sockets to DataOutputStreams.  This will
      // help us avoid having to create a DataOutputStream each time
      // we want to write to a stream.
      private Hashtable outputStreams = new Hashtable();
      // Constructor and while-accept loop all in one.
      public Server( int port ) throws IOException {
        // All we have to do is listen
        listen( port );
      private void listen( int port ) throws IOException {
        // Create the ServerSocket
        ss = new ServerSocket( port );
        // Tell the world we're ready to go
        System.out.println( "Listening on "+ss );
        // Keep accepting connections forever
        while (true) {
          // Grab the next incoming connection
          Socket s = ss.accept();
          // Tell the world we've got it
          System.out.println( "Connection from "+s );
          // Create a DataOutputStream for writing data to the
          // other side
          DataOutputStream dout = new DataOutputStream( s.getOutputStream() );
          // Save this stream so we don't need to make it again
          outputStreams.put( s, dout );
          // Create a new thread for this connection, and then forget
          // about it
          new ServerThread( this, s );
      // Get an enumeration of all the OutputStreams, one for each client
      // connected to us
      Enumeration getOutputStreams() {
        return outputStreams.elements();
      // Send a message to all clients (utility routine)
      void sendToAll( String message ) {
        // We synchronize on this because another thread might be
        // calling removeConnection() and this would screw us up
        // as we tried to walk through the list
        synchronized( outputStreams ) {
          // For each client ...
          for (Enumeration e = getOutputStreams(); e.hasMoreElements(); ) {
            // ... get the output stream ...
            DataOutputStream dout = (DataOutputStream)e.nextElement();
            // ... and send the message
            try {
              dout.writeUTF( message );
            } catch( IOException ie ) { System.out.println( ie ); }
      // Remove a socket, and it's corresponding output stream, from our
      // list.  This is usually called by a connection thread that has
      // discovered that the connectin to the client is dead.
      void removeConnection( Socket s ) {
        // Synchronize so we don't mess up sendToAll() while it walks
        // down the list of all output streamsa
        synchronized( outputStreams ) {
          // Tell the world
          System.out.println( "Removing connection to "+s );
          // Remove it from our hashtable/list
          outputStreams.remove( s );
          // Make sure it's closed
          try {
            s.close();
          } catch( IOException ie ) {
            System.out.println( "Error closing "+s );
            ie.printStackTrace();
      // Main routine
      // Usage: java Server <port>
      static public void main( String args[] ) throws Exception {
        // Get the port # from the command line
        int port = Integer.parseInt( args[0] );
        // Create a Server object, which will automatically begin
        // accepting connections.
        new Server( port );
    }CLIENT:
    import java.io.*;
    import java.net.*;
    public class ServerThread extends Thread
      // The Server that spawned us
      private Server server;
      // The Socket connected to our client
      private Socket socket;
      // Constructor.
      public ServerThread( Server server, Socket socket ) {
        // Save the parameters
        this.server = server;
        this.socket = socket;
        // Start up the thread
        start();
      // This runs in a separate thread when start() is called in the
      // constructor.
      public void run() {
        try {
          // Create a DataInputStream for communication; the client
          // is using a DataOutputStream to write to us
          DataInputStream din = new DataInputStream( socket.getInputStream() );
          // Over and over, forever ...
          while (true) {
            // ... read the next message ...
            String message = din.readUTF();
            // ... tell the world ...
            System.out.println( "Sending "+message );
            // ... and have the server send it to all clients
            server.sendToAll( message );
        } catch( EOFException ie ) {
          // This doesn't need an error message
        } catch( IOException ie ) {
          // This does; tell the world!
          ie.printStackTrace();
        } finally {
          // The connection is closed for one reason or another,
          // so have the server dealing with it
          server.removeConnection( socket );
    }Thanks for your time.

    CLIENT:
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    public class Client extends Panel implements Runnable
      // Components for the visual display of the chat windows
      private TextField tf = new TextField();
      private TextArea ta = new TextArea();
      // The socket connecting us to the server
      private Socket socket;
      // The streams we communicate to the server; these come
      // from the socket
      private DataOutputStream dout;
      private DataInputStream din;
      // Constructor
      public Client( String host, int port ) {
        // Set up the screen
        setLayout( new BorderLayout() );
        add( "North", tf );
        add( "Center", ta );
        // We want to receive messages when someone types a line
        // and hits return, using an anonymous class as
        // a callback
        tf.addActionListener( new ActionListener() {
          public void actionPerformed( ActionEvent e ) {
            processMessage( e.getActionCommand() );
        // Connect to the server
        try {
          // Initiate the connection
          socket = new Socket( host, port );
          // We got a connection!  Tell the world
          System.out.println( "connected to "+socket );
          // Let's grab the streams and create DataInput/Output streams
          // from them
          din = new DataInputStream( socket.getInputStream() );
          dout = new DataOutputStream( socket.getOutputStream() );
          // Start a background thread for receiving messages
          new Thread( this ).start();
        } catch( IOException ie ) { System.out.println( ie ); }
      // Gets called when the user types something
      private void processMessage( String message ) {
        try {
          // Send it to the server
          dout.writeUTF( message );
          // Clear out text input field
          tf.setText( "" );
        } catch( IOException ie ) { System.out.println( ie ); }
      // Background thread runs this: show messages from other window
      public void run() {
        try {
          // Receive messages one-by-one, forever
          while (true) {
            // Get the next message
            String message = din.readUTF();
            // Print it to our text window
            ta.append( message+"\n" );
        } catch( IOException ie ) { System.out.println( ie ); }
    import java.applet.*;
    import java.awt.*;
    import java.io.*;
    import java.net.*;
    public class ClientApplet extends Applet
      public void init() {
        String host = getParameter( "192.168.1.47" );
        int port = Integer.parseInt( getParameter( "5000" ) );
        setLayout( new BorderLayout() );
        add( "Center", new Client( host, port ) );
    }Sorry about that. Now when I run an html file with this applet I just get the x in the corner.
    Thanks for looking.

Maybe you are looking for