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

          導航

          常用鏈接

          留言簿(16)

          隨筆檔案

          文章分類

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

           

          2006年12月8日

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

          在 Microsoft Windows 上

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

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



            注意

            如果您的 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 產品關聯的服務都將被刪除。

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

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

            HKEY_LOCAL_MACHINE\SOFTWARE\Sun Microsystems\Application Server

          5. 退出注冊表編輯器。

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

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

          8. 重新引導系統。

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

          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).

          自己對照了一下,發現在c:\winnt\system32下確實發現了兩個producteregistry前綴的文件,一個為正常的,還有一個tmp文件,臨時文件,大小0K,刪除后安裝,ok!
          posted @ 2006-12-23 15:36 夜色狼族 閱讀(581) | 評論 (1)編輯 收藏
           
          明天去下上海
          posted @ 2006-12-08 00:50 夜色狼族 閱讀(457) | 評論 (6)編輯 收藏
           
          Copyright © 夜色狼族 Powered by: 博客園 模板提供:滬江博客
          主站蜘蛛池模板: 塔城市| 荥阳市| 定远县| 柏乡县| 白沙| 新安县| 志丹县| 高唐县| 晴隆县| 乐东| 黔南| 峨边| 缙云县| 西华县| 长垣县| 会昌县| 宿松县| 祁门县| 二连浩特市| 汨罗市| 樟树市| 阳高县| 陕西省| 兖州市| 舟山市| 宜君县| 资源县| 漾濞| 襄樊市| 淳化县| 望奎县| 东源县| 铜川市| 清河县| 南丰县| 襄城县| 盐边县| 石棉县| 广南县| 潼关县| 江川县|