permaculture playing cards*
The moose likes JNLP and Web Start and the fly likes Getting CookieUnavailableException while using update check as background Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Getting CookieUnavailableException while using update check as background" Watch "Getting CookieUnavailableException while using update check as background" New topic
Author

Getting CookieUnavailableException while using update check as background

Bala Selva
Greenhorn

Joined: Apr 12, 2010
Posts: 1
Hi all,

Applet is getting very long time to validate the jars before downloading it. So I have used update check=background in jnlp xml. But in java console I am getting below exception:


com.sun.deploy.net.cookie.CookieUnavailableException: No registered plugin
for applet ID 1
at
sun.plugin2.main.client.MessagePassingExecutionContext.doCookieOp(Unknown
Source)
at
sun.plugin2.main.client.MessagePassingExecutionContext.getCookie(Unknown
Source)
at
sun.plugin2.main.client.PluginCookieSelector.getCookieFromBrowser(Unknown
Source)
at
com.sun.deploy.net.cookie.DeployCookieSelector.getCookieInfo(Unknown
Source)
at com.sun.deploy.net.cookie.DeployCookieSelector.get(Unknown Source)
at
sun.net.www.protocol.http.HttpURLConnection.setCookieHeader(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.writeRequests(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown
Source)
at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
at com.sun.deploy.net.DownloadEngine.isUpdateAvailable(Unknown
Source)
at com.sun.deploy.net.DownloadEngine.isUpdateAvailable(Unknown
Source)
at com.sun.javaws.jnl.JARUpdater.updateCheck(Unknown Source)
at com.sun.javaws.jnl.JARUpdater.isUpdateAvailable(Unknown Source)
at com.sun.javaws.jnl.LDUpdater.updateCheck(Unknown Source)
at com.sun.javaws.jnl.LDUpdater.access$000(Unknown Source)
at com.sun.javaws.jnl.LDUpdater$2.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Can anyone help me to sort out this slowness and exception issue.


Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Getting CookieUnavailableException while using update check as background