点java更新的时候,升级JDK的时候注意点

在 Microsoft Windows 上在 Microsoft Windows 任务管理器中,终止 WindowsNativeToolkit 进程并删除相应文件。

使用 wincleanup 公用程序删除 appserv70-admin、server1 以及任何其它相关服务。

注意如果您的 Microsoft Windows 计算机上未安装 wincleanup 公用程序,则需要下载它。有关详细信息,请参见 Sun ONE 知识库:

http://sunsolve.sun.com/pub-cgi/show.pl?target=home

使用以下语法运行 wincleanup:wincleanupservice_name

其中 service_name 是显示在 Microsoft Windows“控制面板”中的“服务”屏幕上的实例服务器的名称(显示在括号中)。例如,“服务”屏幕可能会在“名称”下显示以下内容:Sun ONE Application Server 7 (server1)

在本例中,服务名是 server1。对于管理服务器,使用 admin-server 作为服务名。

如果未提供服务名,所有与 Sun ONE Application Server 产品关联的服务都将被删除。

单击 Microsoft Windows“开始”按钮并选择“运行”,在文本框中键入 regedit 以打开 Microsoft Windows 注册表编辑器。

删除以下注册表文件夹及其内容:

HKEY_LOCAL_MACHINE\SOFTWARE\Sun Microsystems\Application Server

退出注册表编辑器。

在 Microsoft Windows 资源管理器中,删除产品注册表文件 (system_drive\WinNT\system32\productregistry),或仅删除其中的 appserver 条目。

在 Microsoft Windows 资源管理器中,从 Sun ONE Application Server 安装目录中删除产品文件。

重新引导系统。

但问题却没有象想象的那么好解决,后只好去官方的英文论坛看到了这样的解决方法

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 on 2006-12-23 15:36 夜色狼族 阅读(478) 评论(1)  编辑  收藏

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值