Reputation: 2234
Steps to reproduce:
==> The codebase+href is called 3-times. Why?
Here is my jnlp:
<?xml version="1.0" encoding="utf-8"?>
<jnlp
spec="1.0+"
codebase="http://myserver/test"
href="servlet/abc.jnlp?id=12345">
<information>
<title>tst jnlp</title>
<vendor></vendor>
<offline-allowed/>
<shortcut online="true">
<desktop/>
<menu submenu="test"/>
</shortcut>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.6+" initial-heap-size="64m" max-heap-size="192m"/>
<jar href="test.jar" main="true"/>
</resources>
<application-desc main-class="stack.overflow.Testclass"/>
</jnlp>
Upvotes: 2
Views: 546
Reputation: 766
If you define href
atribute in jnlp
tag, and run this jnlp file from your OS, Web Start will download jnlp file once again and will use a version form server. Remove href
in jnlp
tag.
Upvotes: 1