版本下载协议JWS

时间:2015-06-11 00:35:43

标签: java java-web-start

我使用Avoiding Unnecessary Update Checks上列出的JWS版本下载协议部署了一个Java Web Start应用程序。

根据本手册,JWS应在后台检查版本号是否已更改,并在必要时下载新应用程序。但它对我不起作用 - 检查我的服务器日志文件显示JWS甚至没有连接到服务器,因此客户端永远不会知道有更新版本可用。

这是主要的JNLP文件:

    <?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for PEE Mail Client -->
<jnlp spec="1.0+" codebase="http://www.peemail.org/home/projects/pee/beta/" >
    <!-- information -->
    <information>
        <title>PEE Mail</title>
        <vendor>Andreas Junius, Software Engineer</vendor>
        <homepage href="http://www.peemail.org/" />
        <description>PEE - Privacy Enhanced Email</description>
        <icon kind="shortcut" href="stamp16x16.png" width="16" height="16" />
        <icon kind="default" href="stamp32x32.png" width="32" height="32" />
        <icon kind="shortcut" href="stamp32x32.png" width="32" height="32" />
        <icon kind="splash" href="javanerd_500x290.png" width="500"
        height="290" />
        <shortcut online="true" install="true">
            <desktop />
            <menu submenu="Javanerd" />
        </shortcut>
        <offline-allowed />
    </information>
    <!-- full access required -->
    <security>
        <all-permissions />
    </security>
    <!-- check always for updates -->
    <update check="background" policy="always" />
    <!-- resources -->
    <resources>
        <j2se version="1.8+" />
        <jar href="peemail.jar" main="true" download="eager" size="1143096" version="01.00.66" />
        <property name="jnlp.versionEnabled" value="true"/>
        <!-- cryptographic libraries -->
        <extension name="BouncyCastle cryptography library" href="bcprov.jnlp" />
        <extension name="BouncyCastle pkix library" href="bcpkix.jnlp" />
    </resources>
    <!-- main class -->
    <application-desc main-class="org.peemail.client.swing.PeeMain" />  
</jnlp>

我错过了什么?

0 个答案:

没有答案
相关问题