Problem with Java Web Start application running from generated JNLP file

Forums » Opera for Windows/Mac/Linux » Opera browser

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

25. May 2010, 09:29:16

danielu78

Posts: 1

Problem with Java Web Start application running from generated JNLP file

Hi,
I've problem with Opera and JWS application. I've portal with link in menu which run my JWS application. JNLP file used to run JWS is dynamically generated by method in servlet. To every generated JNLP I've add token used to SSO (Single Side-on). Every token can by used only once.
When I first run JWS application its run correctly. Problem is when I try to run JWS application for second time. Opera download generated JNLP file, but to run JWS application it used the old version of JNLP file downloaded earlier. My JWS application run with error because it has wrong token, which was used earlier.
So, problem is that Opera didn't use newest downloaded JNLP file to run JWS application, but used the old one. In other browsers like Firefox and IE is ok, they always used newest version of JNLP to run JWS application. Problem exist in Opera 10.5x, when I tested in Opera 9.0 it was ok too.
Did someone have similar problem, and know how to fix it? I try to set headers in request with no-cache, but with no result.

Best regards,
Daniel

My example generated JNLP file:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="http://hosta_name:8081/application_name/jws_method_name/">
<information>
<title>some_titile</title>
</information>
<security>
<all-permissions />
</security>
<resources>
<property name="javaws.my_token" value="DA7BACA248B52A94855886C977F2F8A74A20D2CC"/>
<j2se version="1.4+" />
</resources>
<application-desc main-class="com.example.MyMain">
</application-desc>
</jnlp>

Forums » Opera for Windows/Mac/Linux » Opera browser