2009-11-26 90 views
1

在测试我们的用户验收测试设置时,我们得到了一些报告,指出我们的Web应用程序中的Java applet有时无法加载。报告的地方是WinXP/IE6,并且在java控制台中没有发现错误。Applets无法加载

显然我们想避免它。我们应该在这里检查什么样的东西?在我们的本地服务器上,一切都很好。将问题发送给现场人员时有一些周转时间,所以我希望尽可能涵盖尽可能多的原因。

一些更多信息: 我们有多个小程序,在它们加载失败的实例中,所有这些小程序都无法加载。小程序jar文件大小从2MB到8MB不等。我被告知,如果applet尚未被缓存,看起来更有可能发生,也就是说,如果他们已经能够在给定的机器上加载applet一次,那么在该机器上进一步运行就会顺利进行。我想知道下载小程序时是否有某种网络传输错误,但我不知道如何验证。

任何意见,欢迎!

回答

0

在发生故障的机器上是否存在与JRE的版本依赖关系/不匹配?我有一些需要Java 6崩溃浏览器(Mac/Safari)的代码,但没有它。

0

我在企业环境中使用小应用程序的经验通常会导致3个问题中的1个问题。

不正确或冲突的JRE版本的客户端

腐败JRE客户端上。

腐败IE缓存

我发现卸载一个JRE通常是不够的,它往往需要卸载机器上所有的JRE,并重新安装只需要的人。

另一个窍门是重置他们的NT配置文件。这并不奇怪更正IE缓存问题。经常这样做,我已经记录了这个过程。我通常在JRE卸载重装失败时执行此操作。

This can only be done by an administrator off the workstation. 
Meaning a user with Admin access cannot delete their own profile. 

Before a user profile is deleted good practice is to back up the following folders found in: 
C:\Documents and Settings\<USERNAME> 

Desktop 
Favorites 
My Documents 

These folders could be copied to the user’s H:\ drive then can be copied back to the same folder 
after the user logs back on to the system. 

1. Reboot the workstation. When you are back to the log on screen log in as the administrator. 

2. Right click on My Computer and choose properties. 

3. Choose the Advanced Tab then, under User Profiles, click on Settings. 

4. Highlight the user profile you would like to remove then click Delete. Close all the way out of the properties box. 

5. Go to Windows Explorer and navigate to C:\Documents and Settings. The folder named after the USERNAME 
should have been removed. If it still remains manually delete the folder, 
then empty the recycling bin to make sure it’s been fully removed from the system. 

6. Reboot the workstation. At the log on prompt the user can log back in as themselves. 
This will create a brand new NT profile with their username. 
This will recreate certain OS settings as well as Internet Explorer settings 
that might have been corrupted in the old profile. 

7. At this point the three folders copied to the users H:\ drive can now be copied back to 
C:\Documents and Settings\<USERNAME>