夜色狼族  
          J2EE追隨者
          日歷
          <2007年2月>
          28293031123
          45678910
          11121314151617
          18192021222324
          25262728123
          45678910
          統(tǒng)計(jì)
          • 隨筆 - 4
          • 文章 - 0
          • 評(píng)論 - 45
          • 引用 - 0

          導(dǎo)航

          常用鏈接

          留言簿(16)

          隨筆檔案

          文章分類

          搜索

          •  

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

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

          在 Microsoft Windows 上

          1. 在 Microsoft Windows 任務(wù)管理器中,終止 WindowsNativeToolkit 進(jìn)程并刪除相應(yīng)文件。

          2. 使用 wincleanup 公用程序刪除 appserv70-adminserver1 以及任何其它相關(guān)服務(wù)。



            注意

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



            使用以下語法運(yùn)行 wincleanup

            wincleanup service_name

            其中 service_name 是顯示在 Microsoft Windows“控制面板”中的“服務(wù)”屏幕上的實(shí)例服務(wù)器的名稱(顯示在括號(hào)中)。例如,“服務(wù)”屏幕可能會(huì)在“名稱”下顯示以下內(nèi)容:

            Sun ONE Application Server 7 (server1)

            在本例中,服務(wù)名是 server1

            對(duì)于管理服務(wù)器,使用 admin-server 作為服務(wù)名。

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

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

          4. 刪除以下注冊(cè)表文件夾及其內(nèi)容:

            HKEY_LOCAL_MACHINE\SOFTWARE\Sun Microsystems\Application Server

          5. 退出注冊(cè)表編輯器。

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

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

          8. 重新引導(dǎo)系統(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).

          自己對(duì)照了一下,發(fā)現(xiàn)在c:\winnt\system32下確實(shí)發(fā)現(xiàn)了兩個(gè)producteregistry前綴的文件,一個(gè)為正常的,還有一個(gè)tmp文件,臨時(shí)文件,大小0K,刪除后安裝,ok!
          posted on 2006-12-23 15:36 夜色狼族 閱讀(581) 評(píng)論(1)  編輯  收藏
          評(píng)論:

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


          網(wǎng)站導(dǎo)航:
           
           
          Copyright © 夜色狼族 Powered by: 博客園 模板提供:滬江博客
          主站蜘蛛池模板: 桂阳县| 肥西县| 黄平县| 周宁县| 尉氏县| 房山区| 屏山县| 南通市| 黄陵县| 兴和县| 辽阳县| 惠安县| 德庆县| 汉阴县| 恩平市| 和田县| 伊通| 白银市| 阿鲁科尔沁旗| 张家界市| 饶阳县| 锦州市| 孙吴县| 颍上县| 手机| 云浮市| 龙海市| 额敏县| 陇川县| 文水县| 来凤县| 正阳县| 忻州市| 黄梅县| 昌江| 玉山县| 搜索| 龙泉市| 文昌市| 左贡县| 云龙县|