This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
 
subject: Getting CookieUnavailableException while using update check as background
 
Similar Threads
Applet throwing exception when running it through web browser
Applet Servlet Communication
Applet laoding issue: class not found
ClassNotFoundException - Applets/ Swings
My applet is not being seen in its jar anymore. Please help!