I want to launch a program from the browser using webstart, and for that I have a .jnlp file that looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+"
codebase="http://localhost:8080/webstart/"
href="ncb-client.jnlp">
<information>
<title>Title</title>
<vendor>Vendor</vendor>
<homepage href="http://www.example.com/"/>
<description>Description</description>
<icon href="example.gif"/>
</information>
<resources>
<j2se version="1.7+" />
<jar href="MyProgram.jar"/>
</resources>
<security>
<all-permissions/>
</security>
<application-desc main-class="com.Mainclass">
<argument>server.address</argument>
<argument>rmi://localhost:1111?http=:8080</argument>
<argument>client.rmi.ssl.truststore</argument>
<argument>C:\keystore</argument>
I am pretty sure that the .jnlp file is correct as it worked one day and the following day didn't work anymore. By not working I mean that in Firefox instead of launching the program I just get the .jnlp text opened in a second tab. In Chrome I get this in another tab:
Vendor Title server.address description server.address rmi://localhost:1111?http=:8080 client.rmi.ssl.truststore C:\keystore
I don't know what can have changed in the system from one day to another, without me changing anything. If I try to execute the jnlp I get the following exception and of course the app doesn't start:
java.io.IOException: Invalid Http response
Can anybody think of something that I'm doing wrong or can have changed in my system to make this not to work?