|
|
 Rank: Advanced Member Groups: Administration
, Member
Joined: 7/28/2003 Posts: 1,235 Points: -208 Location: WA, US
|
After you update Java runtime you may encounter the problem with Image Uploader applet update in cache. This article describes how to resolve this issue.OverviewAfter you update Java runtime to version 1.6 or above, you may encounter the following error message every time Image Uploader Java applet is loaded to the page: "Unable to update files in cache" error message. If you click Details you will see the similar error log: Code:sun.plugin.cache.JarCacheVersionException: Number of attributes specified in 'cache_archive' doesn't match those in 'cache_version' at sun.plugin.cache.JarCacheUtil.getJarsWithVersion(Unknown Source) at sun.plugin.AppletViewer.initJarVersionMap(Unknown Source) at sun.plugin.AppletViewer.createClassLoader(Unknown Source) at sun.plugin.AppletViewer.appletInit(Unknown Source) at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source) at sun.plugin.viewer.WNetscapePluginObject$Initer.run(Unknown Source) ReasonSyntax of the applet embedding in iuembed.js file became invalid for the latest updates of Firefox browser. ResolutionThis problem is fixed since Image Uploader build 4.5.35. So you should just download the most recent version of Image Uploader and replace iuembed.js file. If for some reason you do not want to update it, you should patch it manually. Find all these entries (note, there are two of them!): Code:
if (this.javaAppletCached&&this.javaAppletVersion!=""){
r+=this._getObjectParamHtml("cache_archive",this.javaAppletJarFileName);
var v=this.javaAppletVersion.replace(/\,/g,".");
r+=this._getObjectParamHtml("cache_version",v+","+v);
}
and just replace them by the following: Code:
if (this.javaAppletCached&&this.javaAppletVersion!=""){
r+=this._getObjectParamHtml("cache_archive",this.javaAppletJarFileName);
var v=this.javaAppletVersion.replace(/\,/g,".");
r+=this._getObjectParamHtml("cache_version",v);
}
Best regards, Fedor Skvortsov
|
|
Rank: Member Groups: Member
Joined: 9/21/2007 Posts: 12 Points: 33
|
I have a web based application which is used by a number of users. Some of them who are using Firefox reported the similar issue.
What will happen with the users, who do not have the latest Firefox, if I will apply the patch that you described?
Will it affect the users who are using Internet Explorer?
|
|
 Rank: Advanced Member Groups: Administration
, Member
Joined: 8/3/2003 Posts: 996 Points: 1
|
Hello, Everything will be OK with IE users because the fix changes only Java version-related code of iuembed.js file. Everything will be OK with older Firefox users too because the problem was common for all Firefox versions.
Sincerely yours, Alex Makhov. Not in Aurigma any more. But still with my clients. Want to know the last news about Image Uploader? Visit my blog on Aurigma Blogs.
|
|
Rank: Newbie Groups: Member
Joined: 2/20/2008 Posts: 1 Points: 3
|
I am experiencing this issue as well, but I can't find the .JS file that i need to edit. Can you tell me where to look for it on a Windows 2000 system?
Thanks
Trevor
|
|
 Rank: Advanced Member Groups: Administration
, Member
Joined: 8/2/2003 Posts: 708 Points: 105
|
Trevor, This file (iuembed.js) is a part of redistributives of Image Uploader like .cab and .jar file. Typically it is placed in the same folder with them. If Image Uploader loads on the page, a link to this file is specified in one of the <script> tags of this page. It looks like this: Code:<script type="text/javascript" src="../iuembed.js"></script>
In this case iuembed.js is on one level up relatively the page with Image Uploader. Sincerely yours, Andrew Simontsev from Aurigma Team
|
|
Rank: Newbie Groups: Member
Joined: 3/5/2008 Posts: 2 Points: 6 Location: South Africa
|
I am using java version only, and I get this error in IE. what can I do to resolve this issue? I have the latest version of ImageUploader. 5.1.10
|
|
Rank: Advanced Member Groups: Administration
, Member
Joined: 8/3/2003 Posts: 500 Points: 330
|
Hello Carolyn, It is a bit strange that you experience this problem on IE. Could you describe the issue in more detail? What error do you get? Please, post the script used to embed Image Uploader to your site here. Also it would be great if you provide us with access to your site to test it. You can send me a link to your site via PM or create a case with it.
Sincerely yours, Dmitry Sevostjanov.
|
|
|
Guest |