夜色狼族  
          J2EE追隨者
          日歷
          <2006年12月>
          262728293012
          3456789
          10111213141516
          17181920212223
          24252627282930
          31123456
          統(tǒng)計
          • 隨筆 - 4
          • 文章 - 0
          • 評論 - 45
          • 引用 - 0

          導航

          常用鏈接

          留言簿(16)

          隨筆檔案

          文章分類

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

           
          今天升級了一下jdk,看到JDK1.6正式版發(fā)布了,就下來看看,升級的時候出問題了,由于原目錄下有JavaEE5.0的版本,裝5.2的時候我就先取消了一下,然后繼續(xù)裝,在選中安裝目錄后,程序停止了,查看服務進程看不出什么異常,后來去官方查,看到以下內容:

          在 Microsoft Windows 上

          1. 在 Microsoft Windows 任務管理器中,終止 WindowsNativeToolkit 進程并刪除相應文件。

          2. 使用 wincleanup 公用程序刪除 appserv70-admin、server1 以及任何其它相關服務。



            注意

            如果您的 Microsoft Windows 計算機上未安裝 wincleanup 公用程序,則需要下載它。有關詳細信息,請參見 Sun ONE 知識庫:
            http://sunsolve.sun.com/pub-cgi/show.pl?target=home



            使用以下語法運行 wincleanup

            wincleanup service_name

            其中 service_name 是顯示在 Microsoft Windows“控制面板”中的“服務”屏幕上的實例服務器的名稱(顯示在括號中)。例如,“服務”屏幕可能會在“名稱”下顯示以下內容:

            Sun ONE Application Server 7 (server1)

            在本例中,服務名是 server1

            對于管理服務器,使用 admin-server 作為服務名。

            如果未提供服務名,所有與 Sun ONE Application Server 產(chǎn)品關聯(lián)的服務都將被刪除。

          3. 單擊 Microsoft Windows“開始”按鈕并選擇“運行”,在文本框中鍵入 regedit 以打開 Microsoft Windows 注冊表編輯器。

          4. 刪除以下注冊表文件夾及其內容:

            HKEY_LOCAL_MACHINE\SOFTWARE\Sun Microsystems\Application Server

          5. 退出注冊表編輯器。

          6. 在 Microsoft Windows 資源管理器中,刪除產(chǎn)品注冊表文件 (system_drive\WinNT\system32\productregistry),或僅刪除其中的 appserver 條目。

          7. 在 Microsoft Windows 資源管理器中,從 Sun ONE Application Server 安裝目錄中刪除產(chǎn)品文件。

          8. 重新引導系統(tǒng)。

          但問題卻沒有象想象的那么好解決,后只好去官方的英文論壇看到了這樣的解決方法

          Could you please check following two things:

          1) Do you have environment variable SystemDrive defined on this system? If not, define it and set it to C:

          2) Look into c:\winnt\system32 folder and look for any files whose name begins with "productregistry". There should be only one file (or none at all). If you can see more than one such file, it means that deadlock occured during the update of this file. If this is the case, leave only file called "productregistry" and delete any other such files (they would be called "productregistry.lock" and "productregistry.bak", or something similar to that).

          自己對照了一下,發(fā)現(xiàn)在c:\winnt\system32下確實發(fā)現(xiàn)了兩個producteregistry前綴的文件,一個為正常的,還有一個tmp文件,臨時文件,大小0K,刪除后安裝,ok!
          posted on 2006-12-23 15:36 夜色狼族 閱讀(581) 評論(1)  編輯  收藏
          評論:
          • # re: 升級JDK的時候注意點[未登錄]  lovejava Posted @ 2007-02-25 09:53
            好的,支持狼兄啊!  回復  更多評論   


          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導航:
           
           
          Copyright © 夜色狼族 Powered by: 博客園 模板提供:滬江博客
          主站蜘蛛池模板: 班戈县| 曲沃县| 德兴市| 合江县| 陈巴尔虎旗| 沈阳市| 桐乡市| 太康县| 元谋县| 澄江县| 安顺市| 渝中区| 贵南县| 广元市| 中方县| 泗洪县| 平陆县| 永清县| 安龙县| 新沂市| 华阴市| 苏州市| 绥江县| 逊克县| 余庆县| 甘南县| 咸阳市| 南开区| 高州市| 康乐县| 开化县| 德格县| 灵寿县| 徐汇区| 随州市| 宜良县| 从化市| 连平县| 日照市| 临邑县| 扬中市|