2009-11-26 92 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>