JNLP - input parameters not recieved
Posted on 2003-11-26
I have two different servers with the exact same .jar and the exact same dynamic .jnlp file.
On one server, when I run it - my application gets the parameters it needs. On the other, it's empty.
On BOTH servers, the HTTP log looks like this:
Nov 26 16:01:54 notus httpd: test.bam - rundod: automode=openwork, user=testuser, user-agent=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)Nov 26 16:01:55 notus httpd: test.bam - rundod: automode=, user=, user-agent=JNLP/1.0.1 javaws/1.4.2_01 (b06) J2SE/1.4.2_01
The first time the JNLP is called (from the browser) - the arguments are correct (automode & user) - the second time it is called (from javaws) the arguments are empty.
As I said, the http log is the same on both servers, but on one my app gets the arguments and on the other it doesn't. I run it from the same machine, so it can't be differences in the java version.
I know it doesn't get the arguments on one of the servers because I do a println of all arguments passed and look at the Java Web Start log.