Need example of client requesting information from server

I have a thick-client application that also acts as a server for remote clients.
I have it set up so that they send messages to each other. The server can initiate action on the client and the client can initiate action on the server. All of my communication is essentially asynchronous.
Now I want to start adding more transactional synchronous interactions, for instance:
- User initiates action on client
- Client gets data from server
- Client uses that information to perform further action
Is there a good example or tutorial for someone who hasn't done that before?

If you want to keep it a J2SE app im not sure you can use JMS to do it, but would have to use RMI or just plain network programming, with lots of thread control.
Anyhow if you would like to do it the easy way run a J2EE server, find a small one, but one that supports JMS (think one of the minimal installs of jboss might be good). Make a topic called messageExchange or somethign. Connect server/client to the topic. Can use MVC or something as a messagelistener. You can even persist the topic (DurableTopic) to log events to a database.
This is a little job that requires little planning compared to setting up a thread hieracy with sockets flying all around. And easier than rmi.
I have really never tought of using JMS in outside of an J2EE container, but there might be some plugins or api's that support this for J2SE.
Thomas

Similar Messages

  • How to retrieve information from server?

    Hi,
    I'm currently working on a project, which is implemented with JSP. The function of the JSP is to connect to different servers within the Intranet(IP address already known) and get database list & file list residing on each server. And then compose all those information into a table, and display them in JSP. I just wonder how can I connect to those server? Can I just set up a socket client? Once the connection between servers has been setup, how can I retreive information from server? Are there any reference I can use? Thank you very much for your considerations.
    Myra

    Actually, I need extract some information from the file, and those files are on the server. In this case, do you think I should use FTP client to visit server? The server is running with Weblogic.

  • How to refresh a client's browser from server without using Timer !

    Hi,
    can anyone have the code for refreshing the client's browser from server side with out setting the timer . U can do this by setting the Timer from server. but we need some other solution for this problem.
    Thanks.

    There's a meta tag for it.
    Kind regards,
      Levi

  • Passing Information From Server to GUI

    Hi, I'm making a chat client, but I'm having trouble passing information from server's input stream to my GUI. I made two threads, one for sending and one for receiving, and I start them both when I click "connect" after I log in to the server. So what happens is I run my program, the frame appears as I want it to, and then I click connect, and after a little wait the button "unclicks" (or w/e) and nothing happens. I don't know why I am not receiving the messages from the server. If I make the program "GUI-less" it works, I can both send and receive messages via the console. But in the GUI, where I am sending/receiving via my two TextAreas, it doesn't work. Here's my code:
    (I apologize ahead of time for posting so much code in a thread, I tried to cut it down as best as I could.)
    actionPerformed method for connect and disconnect buttons (in BotWindow class)
    public void actionPerformed(ActionEvent evt) {
            JButton src = (JButton)evt.getSource();
            if(src == connect) {
                try {
                    bnet = new BattleNet("useast.battle.net");
                    bnet.logIn("dynobot1", "test");
                catch(Exception error) {
                    System.out.println(error);
            if(src == disc) {
                try {
                    BattleNet bnet = new BattleNet("useast.battle.net");
                    bnet.logOut();
                catch(Exception error) {
                    System.out.println(error);
    BattleNet class
    import java.io.*;
    import java.net.*;
    public class BattleNet extends SendAndReceive {
        Socket sock;
        InputStream in;
        OutputStream out;
        Send send;
        Receive receive;
        public BattleNet(String server) {
            try {
                sock = new Socket(server, 6112);
                in = sock.getInputStream();
                out = sock.getOutputStream();
                send = new Send(this.out);
                receive = new Receive(this.in);
            catch(Exception error) {
                System.out.println(error);
        public void logIn(String username, String password) {
            byte[] u = username.getBytes();
            byte[] p = password.getBytes();
            try {
                out.write((byte) 0x03);
                out.write((byte) 0x04);
                out.write(u);
                out.write((byte) 0x0a);
                out.write(p);
                out.write((byte) 0x0a);
                receive.start();
                send.start();
            catch(IOException e) {
                System.out.println(e);
        public void logOut() {
            try {
                sock.close();
                in.close();
                out.close();
            catch(Exception error) {
                System.out.println(error);
    SendAndReceive class (with Threads as subclasses)
    import java.io.*;
    import java.net.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class SendAndReceive implements ActionListener {
        JButton src = null; 
        public SendAndReceive() {} 
        public void actionPerformed(ActionEvent evt) {
            src = (JButton)evt.getSource();
    class Send extends Thread {
        OutputStream out;
        SendAndReceive sr = new SendAndReceive();
        BotWindow bw = new BotWindow();
        public Send(OutputStream inputOut) {
            out = inputOut;
        public void run() {
            if(sr.src == bw.submit) {
                String newLine = "\n";
                String messageOut = bw.inText.getText();
                bw.outText.setText(bw.outText.getText() + newLine + messageOut);
                byte[] m = messageOut.getBytes();
                try {
                    out.write((byte) 0x05);
                    out.write(m);
                catch(IOException e) {
                    System.out.println(e);
                String blank = "";
                bw.inText.setText(blank);
                sr.src = null;
    class Receive extends Thread {
        InputStream in;
        SendAndReceive sr = new SendAndReceive();
        BotWindow bw;
        public Receive(InputStream inputIn) {
            in = inputIn;
            bw = new BotWindow();
        public void run() {
            while(true) {
                try {
                    bw.outText.setText(bw.outText.getText() + (char)in.read());
                catch(IOException e) {
                    System.out.println(e);
    }So, to repeat my questions, SendAndReceive class, but I'm not sure if this is the right approach.why isn't my TextArea (BotWindow.outText) not receiving and setting it's text to the information from the server? Is my threading correct? Also, with the way I set up the threads, will the Send function be able to send in the midst of the receive function? I tried to set it up so that it could by implementing ActionListener in my SendAndReceive class, but I am not sure if this is the correct approach.
    P.S. The reason I put this in Swing is because it works without a GUI/Swing components! If it will help, I will post the GUI-less program I made that works.

    Multi-post. Reply to this posting: http://forum.java.sun.com/thread.jspa?threadID=656211

  • Need help in fetching requested data from JSP

    Hello,
    I really need help in fecthing requested data from JSP to servlet. Can anyone assist me as soon
    as possible because I must finish my program by today.....( 20/02/2002).
    Thanks in advance.

    It is very likely that somebody can help you, if you say what your problem is. In fact somebody might already have helped you. What is your problem?

  • Just need a simple client sending message to server example????

    Im trying to find a simple client-server example, where i can put the client on one laptop, server on the other and pass messages from the client to the server.
    I've been trying to follow examples and ive had problems with policies, stubs(?) etc etc
    Would someone please be able to provide me with an example i can follow and show me how to setup a policy. Im not a business user, i just want to learn how to make a simple message-sending app with RMI

    Ok! rmiregistry is working (i think), ie no error messages.
    But, when i execute i now get this:
    init:
    deps-jar:
    compile:
    run:
    Server exception: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
            java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
            java.lang.ClassNotFoundException: test.hello
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
            java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
            java.lang.ClassNotFoundException: test.hello
            at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:396)
            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
            at sun.rmi.transport.Transport$1.run(Transport.java:159)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            at java.lang.Thread.run(Thread.java:619)
            at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
            at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
            at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:359)
            at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
            at test.Server.main(Server.java:33)
    Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
            java.lang.ClassNotFoundException: test.hello
            at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
            at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:386)
            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
            at sun.rmi.transport.Transport$1.run(Transport.java:159)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.ClassNotFoundException: test.hello
            at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:247)
            at sun.rmi.server.LoaderHandler.loadProxyInterfaces(LoaderHandler.java:711)
            at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:655)
            at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:592)
            at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:628)
            at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:294)
            at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:238)
            at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1531)
            at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
            at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
            ... 12 more

  • Need to pull vendor address information from PO

    Hi Friends..
    I am creating a shipper instructions smartform and need to display shippers address in the form.. For that purpose i need to pull the vendor address information from the PO...
    Can some one tell me the data extraction logic involved here like what tables i need to access to get the required vendor address and flow of it...
    Here the client is creating the PO and also sending the shippers instruction form when PO is created as far as i my understanding...
    Thanks,
    Kanthi..

    Hi
    When a PO is created, at that time you need to enter vendor number (LIFNR).
    The details of different vendors are maintained in table LFA1.
    The tables for PO are EKKO (header table) and EKPO (line item table).
    But, if you want to capture the vendor address for printing, you only need to know the PO number (EBELN field). And, then you can proceed like:
    Select LIFNR from EKKO into <yourDefinedVAR> where EBELN = XYZ.
    Select <requiredAddressFields> from LFA1 into (....) where LIFNR = <yourDefinedVAR>.
    So, finally, if you know the PO number, you can find rest of the things.
    Regards
    Ashish

  • Call Client Java Proxy from Server Java Proxy

    Hi Gurus!!
    I'm trying to call a Client Java Proxy from a Server Java Proxy.
    Is possible to do this? I think must be possible.
    I have called this Client Java Proxy from another application, and run ok.
    I have tried to call it following the Guide to call Java Client Proxies:
                    es.navantia.xi.mm.dispositivosRobotizadosKasto.MIRobotOut_PortTypeHome queryOutHome = null;
                    es.navantia.xi.mm.dispositivosRobotizadosKasto.MIRobotOut_PortTypeRemote queryOutRemote = null;                     
                    try {
                         //      Get naming context
                         Properties p = new Properties();
                         p.put(
                              Context.INITIAL_CONTEXT_FACTORY,
                              "com.sap.engine.services.jndi.InitialContextFactoryImpl");
                         p.put(Context.PROVIDER_URL, "myurl:50104");
                         p.put(Context.SECURITY_PRINCIPAL, "MMIGUEZ");
                         p.put(Context.SECURITY_CREDENTIALS, mypasswrod);
                         Context ctx = new InitialContext(p);
                         Object ref = ctx.lookup("RobotOut");
                         //      Look up jndi name of proxy bean
                        try {
                         queryOutHome =
                              (MIRobotOut_PortTypeHome) PortableRemoteObject.narrow(
                                   ref,
                                   MIRobotOut_PortTypeHome.class);
                        } catch (Exception e) {
                             throw new RuntimeException(e + "1");
                         //        Get Remote interface
                         queryOutRemote = queryOutHome.create();
                    } catch (Exception e) {
                        throw new RuntimeException(e + "2");
    but I get this error
    "com.sap.aii.af.ra.ms.api.DeliveryException: Error invoking method mIRobotIn of proxy bean $Proxy351: es.navantia.xi.mm.dispositivosRobotizadosKasto.MIRobotOut_PortTypeHome: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Error invoking method mIRobotIn of proxy bean $Proxy351: es.navantia.xi.mm.dispositivosRobotizadosKasto.MIRobotOut_PortTypeHome"
    es.navantia.xi.mm.dispositivosRobotizadosKasto.MIRobotOut_PortTypeHome is the corresponding PortTypeHome to the Client Java Proxy.
    I have tried to call too calling directly from the server Java Proxy to the method correcponding to the Client Java Proxy. The error I get is:
    "com.sap.aii.af.ra.ms.api.DeliveryException: Error invoking method mIRobotIn of proxy bean $Proxy351: es/navantia/xi/mm/dispositivosRobotizadosKasto/DTRobot_Type: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Error invoking method mIRobotIn of proxy bean $Proxy351: es/navantia/xi/mm/dispositivosRobotizadosKasto/DTRobot_Type"
    Tha call to the client is:
    es.navantia.xi.mm.dispositivosRobotizadosKasto.MIRobotOut_PortType clase = null;
    es.navantia.xi.mm.dispositivosRobotizadosKasto.DTRobot_Type client_req = null;
    es.navantia.xi.mm.dispositivosRobotizadosKasto.DTRobotResponse_Type client_res = null;
    client_res = clase.mIRobotOut(client_req);
    Please, any help will be useful.
    Thanks and regards,
    Manuel Míguez.

    Hi,
    Now I get another error message:
    com.sap.aii.af.ra.ms.api.DeliveryException: Error invoking method mIRobotIn of proxy bean $Proxy351: es/navantia/xi/mm/dispositivosRobotizadosKasto/MITextoOut_PortTypeRemote: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Error invoking method mIRobotIn of proxy bean $Proxy351: es/navantia/xi/mm/dispositivosRobotizadosKasto/MITextoOut_PortTypeRemote
    Now, my source is:
      MITextoOut_PortTypeHome queryOutHome = null;
      MITextoOut_PortTypeRemote queryOutRemote = null;
      try {
    //     Get naming context
    Context ctx = new InitialContext();
    //     Look up the EJB name in the environment
    Object ref = ctx.lookup("java:comp/env/ejb/TextoOut");
    // Object ref = ctx.lookup("java:comp/env/ejb/MITextoOut_PortTypeBean");
    //     Cast to Home interface
         queryOutHome = (MITextoOut_PortTypeHome)
    PortableRemoteObject.narrow(ref,
    MITextoOut_PortTypeHome.class);
    //     Get Remote interface
    queryOutRemote = queryOutHome.create();
    } catch (Exception e) {
    System.out.println("RemoteException occurred: "+e.getMessage());
    e.printStackTrace();
    //return;
    try {
          queryOutRemote.$messageSpecifier();
    } catch (RemoteException e2) {
          // TODO Auto-generated catch block
          e2.printStackTrace();
    DTTexto_Type Texto_type = new DTTexto_Type();
    Texto_type.setTexto(req_texto);
    DTTextoResponse_Type Texto_response = new DTTextoResponse_Type();
    try {
         Texto_response = queryOutRemote.mITextoOut(Texto_type);
    } catch (SystemFaultException e1) {
          // TODO Auto-generated catch block
          e1.printStackTrace();
    } catch (ApplicationFaultException e1) {
          // TODO Auto-generated catch block
          e1.printStackTrace();
    } catch (RemoteException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
    I have tryed removing queryOutRemote.$messageSpecifier() and I get the error:
    com.sap.aii.af.ra.ms.api.DeliveryException: Error invoking method mIRobotIn of proxy bean $Proxy351: es/navantia/xi/mm/dispositivosRobotizadosKasto/DTTexto_Type: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Error invoking method mIRobotIn of proxy bean $Proxy351: es/navantia/xi/mm/dispositivosRobotizadosKasto/DTTexto_Type
    Somebody knows what could be the cause of these errors?
    Thanks and regards,
    Manuel.

  • Siri can not download required information from server

    siri can not download required information from serve

    Make sure you are connected to the internet whether it is via Wi-fi or 3G.
    Then, try turning Siri off in Settings>General>Siri and then wait a couple seconds after it is off. Turn it back on and ask it something again.

  • Need to make periodic request to App Server from NSAPI SAF

    I have to send a keep alive ping to a existing Session on our app server from a NSAPI SAF on IWS6.
    First, is making a direct socket call the best way to handle it or is there another suggestion for sending the request.
    Second, if using the direct socket connection is the way to go do I need to use the net_* methods within the NSAPI code or can I use native socket code.
    Third, will there be any issues with making this type of socket call from a spawned thread, and can I use the native threads on Sun Solarias.
    Some code examples would be very helpful since I can't find much at all on the site.

    NSAPI doesn't expose any infrastructure for managing outbound connections, and the list of supported net_* functions does not include socket, bind, or connect analogs. You are probably best off using native socket code.
    On Solaris, you can create your thread using the NSAPI systhread_create function or the Solaris pthread_create or thr_create functions. Note that you should not call NSAPI functions from a thread you create yourself unless you first call the NSAPI prepare_nsapi_thread function.

  • How can I prevent client certificate information from being written to kjs log?

    I have an application running on iPlanet Application server 6.0 that makes an SSL connection to an external site using client certificate. Problem : Every time the connection is wrapped in a client certificate, the entire SSL handshake including the key-exchange information is automatically being logged in the kjs log. How do I prevent the kjs from writing this inormation to the log ?

    How are you making this SSL connection? Whatever library you are using must be writing to System.out().
    You could avoid logging these messages by using file logs rather than console logs. But you could probably disable these messages by working with your SSL libraries as well.

  • Error 61 when sending data from client and back from server.vi

    Trying to generate and send a data from client.vi and adding the numbers generated and sending it back to the client .In client the data is received only once and an error 61 occurs .How do I get rid of this error?I have attached the two files for reference
    Attachments:
    Sguruserver.vi ‏63 KB
    client1.vi ‏100 KB

    You can certainly use and application started by WebStart to send data to a server.
    However, the Sandbox restrictions allow you to contact the server the application was loaded from without asking for permission first (i.e. signing your application and requesting the proper permissions in your JNLP file).
    The JNLP BasicService can be used to retrieve the URL (and therefore the server) the application was loaded from.

  • Client request / response from a specific jpd instance

    Hi all,
    I have a business process whose instances are long running and need to be
    individually accessed by multiple clients (mostly pageflow controllers on
    numerous portlets).
    How can I possibly target a client receive/send call to/from a specific
    instance of a business process (not a specific JPD class, rather a specific
    INSTANCE of a JPD that is already running and has not necesarily need
    started by the current pageflow controller etc.)???
    This seems like a pretty fundamental requirement - I'd hate to have to use
    message brokers and message filter for all interchanges. Is that my only
    option?
    I looked into dynamic binding, but that seems to be a method for dynamically
    selecting between multiple JPD classes - and not running instances of those
    classes.
    cheers,
    Markus

    Where is this getInstanceId() method. This does not seem to be a method of ProcessDefinition.
    I can only see the getConversationId() and setConversationId() methods. The getConversationId()
    method returns null.
    "Markus Blumrich" <[email protected]> wrote:
    This helps immensely - thank you for taking the time to post.
    Really I think BEA should address this rather basic scenario in a more
    developer friendly way - and if they have, then publish a how-to.
    cheers,
    Markus
    "Yueming Xu" <[email protected]> wrote in message
    news:[email protected]...
    We had the same request, and I figured it out the hard way. The solutionis actually
    pretty simple.
    (1) When the JPD processes the initial request, it should usegetInstanceId()
    to get the conversation ID and store it somewhere the client app canfind
    (e.g.,
    in an Entity bean), or return it to your client, and manage it at theclient.
    (2) At a later time, client app may retrieve the conversation ID, andthen
    send
    follow-up requests to the JPD instance (which is actually an Entitybean
    whose
    primary key is the conversation ID).
    (3) To send a request to a specific JPD instance using a process control,you
    need to first call setConversationID(), and then call the request method.
    Hope this helps.
    Yueming
    "Markus Blumrich" <[email protected]> wrote:
    Hi all,
    I have a business process whose instances are long running and need
    to
    be
    individually accessed by multiple clients (mostly pageflow controllers
    on
    numerous portlets).
    How can I possibly target a client receive/send call to/from a specific
    instance of a business process (not a specific JPD class, rather aspecific
    INSTANCE of a JPD that is already running and has not necesarily need
    started by the current pageflow controller etc.)???
    This seems like a pretty fundamental requirement - I'd hate to haveto
    use
    message brokers and message filter for all interchanges. Is that myonly
    option?
    I looked into dynamic binding, but that seems to be a method fordynamically
    selecting between multiple JPD classes - and not running instancesof
    those
    classes.
    cheers,
    Markus

  • How to retrieve client certificate information from sender mail adapter

    Hi, expert:
    I have a requirement to verify the validation of coming email with digital certification. The mail is with digital certification. If the coming email is valid, I 'll get the attachemt of the mail for further processing. I have a sender mail adapter and receiver file adapter configued.
    I have already my own developed adapter module, which is configued in mail adapter. My question is how to retrieve the detailed certificate information in the adapter module developed by myself. Is it feasible?
    Thanks a lot.

    The WL-Client-Proxy cert should be the cert used on the proxy side if SSL is configured between Apache and WebLogic, so I believe that is the reason why that does not work. Basically, the problem here is that SSL is end-to-end, and the two ends of this transaction are the client and apache.
    That said, when you add the +ExportCertData option, this should record the client's SSL certificate in the vairable SSL_CLIENT_CERT.  So you should be able to use request.getAttribute("SSL_CLIENT_CERT").
    See:
    http://www.modssl.org/docs/2.8/ssl_reference.html
    If this doesn't work for you (which is possible if the WL_Proxy is doing something funny to the request), it is probably best just to dump out the entire contents of the session, and see what you have:
    for (Enumeration e = request.getAttributeNames() ; e.hasMoreElements() ; ) {
    String attr = (String)e.nextElement();
    System.out.println("ATTR = " + attr);
    System.out.println("VAL = " + request.getAttribute(attr));
    If you can't see any SSL certificate there, you will have to work out some way to pass this on manually.
    cheers,
    Trevor

  • Quicktime Update Error: Invalid information from server and network administrator error?

    I'm contantly getting a pop-up saying that I need to update my Quick Time software. So, I click "Do it now", and get a message saying that the informaion recieved from the Quick Time server is invalid.
    Other times, I get a message saying: "Your Network Aministrator has disabled your ability to change the system directory," and asks me to update with a different user. However, I AM the administartor on my computer...so what is going on?
    Please help, since this message keeps popping up whenever I try any application that uses Quick Time, like iTunes, or even this website.
    Operating System: Windows 7

    Thanks for responding, but I kept looking around the forums and solved the problem by doing what this post said:
    https://discussions.apple.com/message/7288145#7288145
    Those 2 files really should be removed when you try to install/reinstall quicktime or update it to another version.
    Thanks again

Maybe you are looking for