[英]Where are JAR files downloaded after launching JNLP through Web Start
[英]jnlp files not launching anymore
我想使用webstart從瀏覽器啟動程序,為此,我有一個.jnlp文件,如下所示:
<?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>
我很確定.jnlp文件是正確的,因為它一天可以工作,而第二天就不工作了。 不工作是指在Firefox中而不是啟動程序,只是在第二個選項卡中打開了.jnlp文本。 在Chrome瀏覽器中,我在另一個標簽中得到了此信息:
Vendor Title server.address description server.address rmi://localhost:1111?http=:8080 client.rmi.ssl.truststore C:\keystore
我不知道如果不更改任何內容,系統從一天到一天會有什么變化。 如果我嘗試執行jnlp,則會收到以下異常,並且該應用程序當然不會啟動:
java.io.IOException: Invalid Http response
誰能想到我做錯了什么,或者可以更改系統使其不起作用?
感謝您的所有幫助,您的某些回答已幫助我通過進一步思考來發現問題。 問題在於,Web服務器發生了更改,無法再正確提供.jnlp文件。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.