2 Replies Latest reply on Jul 23, 2008 1:15 PM by 807581

    Applications wont run on remote machines! only locally. Help needed

      Hi I`m beginning with all these technologies and don't know why my client application run perfectly when I download it from the server interface on the local machine, but never got it running on remote machines, It downloads a file when i click on "launch" button then runs the java web Start and then asks me if I allow a program to run, I say yes, and thats the end. No error message, no nothing.
      Any Hint would be appreciated, I think I has to be some configuration issue but dont know where to look.
      I have enabled the access logging in order to see whats happening (I am and
      "" "NULL-AUTH-USER" "11/Dec/2007:11:10:29 -0300" "GET /__JWSappclients/__appserver/aslib/webservices-rt.jar HTTP/1.1" 304 0
      "" "NULL-AUTH-USER" "11/Dec/2007:11:10:29 -0300" "GET /__JWSappclients/__appserver/aslib/webservices-tools.jar HTTP/1.1" 304 0
      "" "NULL-AUTH-USER" "11/Dec/2007:11:10:29 -0300" "GET /__JWSappclients/__appserver/aslib/javaee.jar HTTP/1.1" 304 0
      "" "NULL-AUTH-USER" "11/Dec/2007:11:10:29 -0300" "GET /__JWSappclients/__appserver/aslib/jmac-api.jar HTTP/1.1" 304 0
      "" "NULL-AUTH-USER" "11/Dec/2007:11:10:29 -0300" "GET /__JWSappclients/__appserver/aslib/dbschema.jar HTTP/1.1" 304 0
      "" "NULL-AUTH-USER" "11/Dec/2007:11:10:29 -0300" "GET /__JWSappclients/__appserver/aslib/appserv-ext.jar HTTP/1.1" 304 0
      "" "NULL-AUTH-USER" "11/Dec/2007:11:10:29 -0300" "GET /__JWSappclients/__appserver/aslib/derbyclient.jar HTTP/1.1" 304 0
      "" "NULL-AUTH-USER" "11/Dec/2007:11:10:29 -0300" "GET /__JWSappclients/__application/Tenasiuspesado1/Tenasiuspesado1Client.jar HTTP/1.1" 304 0
      HTTP/1.1" 304 0
      "" "NULL-AUTH-USER" "11/Dec/2007:11:19:01 -0300" "GET /__JWSappclients/__appserver/aslib/webservices-rt.jar HTTP/1.1" 304 0
      "" "NULL-AUTH-USER" "11/Dec/2007:11:19:01 -0300" "GET /__JWSappclients/__appserver/aslib/webservices-tools.jar HTTP/1.1" 304 0
      "" "NULL-AUTH-USER" "11/Dec/2007:11:19:01 -0300" "GET /__JWSappclients/__appserver/aslib/javaee.jar HTTP/1.1" 304 0
      "" "NULL-AUTH-USER" "11/Dec/2007:11:19:01 -0300" "GET /__JWSappclients/__appserver/aslib/jmac-api.jar HTTP/1.1" 304 0
      "" "NULL-AUTH-USER" "11/Dec/2007:11:19:01 -0300" "GET /__JWSappclients/__appserver/aslib/dbschema.jar HTTP/1.1" 304 0
      "" "NULL-AUTH-USER" "11/Dec/2007:11:19:01 -0300" "GET /__JWSappclients/__appserver/aslib/appserv-ext.jar HTTP/1.1" 304 0
      "" "NULL-AUTH-USER" "11/Dec/2007:11:19:01 -0300" "GET /__JWSappclients/__appserver/aslib/derbyclient.jar HTTP/1.1" 304 0
      "" "NULL-AUTH-USER" "11/Dec/2007:11:19:01 -0300" "GET /__JWSappclients/__application/Tenasiuspesado1/Tenasiuspesado1Client.jar HTTP/1.1" 304 0{code}
      I can see that both of us are connecting to the server and requesting the same files... 
      but at the remote machine nothing is displayed..
      Edited by: juanmf on Dec 11, 2007 6:27 AM
      EDITED 2ND:
      I have deployed my app on a win 2003 server and could run the client from my slackware client. BUT the server was supposed to be Slackware, Now Im wondering if my question should be answered in LinuxQuestions rather than here.
      Edited by: juanmf on Dec 11, 2007 7:41 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
        • 1. Re: Applications wont run on remote machines! only locally. Help needed
          Looks like the task you are trying to do, is to download jar files from a java web start (JWS) application, and I will assume that. After all, please use JWS forums

          access log files states there was a request with a 304 response code. As per HTTP 1.1 it means:

          304 Not Modified

          If the client has performed a conditional GET request and access is allowed, but the document has not been modified, the server SHOULD respond with this status code. The 304 response MUST NOT contain a message-body, and thus is always terminated by the first empty line after the header fields.

          I adivise you to enable JWS logging/debugging at client side, to see what happens.
          • 2. Re: Applications wont run on remote machines! only locally. Help needed
            I have just figured out the problem!
            Linux Permissions!
            everything under /opt/SUNWappserver/ was owned by root...
            SOLUTION: chown -R nobody /opt/SUNWappserver/domains
            insecure but it`s for academic purose.
            ALSO, there was an other problem ( I forgot to complete this post ) in this file:
            here you MUST set the IP address of the server, and in my case it came with the value "localhost". As you might be thinking, when java web start tries to reach the server resources in the client PC, they wont be available in "localhost".
            I couldn find the solution in internet, so i hope it can help someone in future.

            Edited by: juanmf on 23/07/2008 10:00