2008年11月12日星期三

使用Unlocker和Autoruns清除Bonjour mDNSResponder.exe 进程

mDNSResponder.exe
进程文件:mDNSResponder 或者 mDNSResponder.exe
进程名称: Bonjour for Windows Component

描述:
mDNSResponder.exe是一款名为Bonjour的音乐分享软件相关程序。

出品者: Apple
属于: Bonjour for Windows

系统进程: 否
后台程序: 否
使用网络: 否
硬件相关: 否
常见错误: 未知N/A
内存使用: 未知N/A

安全等级 (0-5): 2
间谍软件: 否
广告软件: 否
病毒: 否
木马: 否

安装了ADOBE CS3 ,发现进程中出现这个东西。 在windows服务里面加了一个服务项。进程为mDNSResponder.exe。 禁用这个服务后又会自动启动。

1,Ctrl+Alt+Del打开Windows任务管理器,找到mDNSResponder.exe,单击右键结束进程;
2,选择 C:\Program Files\Bonjour ,右键菜单中选择unlocker,解除所有进程锁定并删除 ;
3,启动Autoruns,从服务中删除该服务项。
到此清理完毕。

该方法比重命名的方法更加方便可靠、彻底。

参考: http://www.starfox.cn/Studio/article.asp?id=96

 

Technorati 标签: ,,

HttpClient中用POST方式提交中文数据时的解决方案

在用HttpClient编程时,如果用PostMethod提交中文数据,则在服务器端不能得到正确的数据,可以通过下面的方法解决:

1、从PostMethod派生一个类,并改写getRequestCharSet()方法

import org.apache.commons.httpclient.methods.PostMethod;

class UTF8PostMethod extends PostMethod {
    public UTF8PostMethod(String url) {
        super(url);
    }

    @Override
    public String getRequestCharSet() {
        // return super.getRequestCharSet();
        return "gb2312";
    }
}

2、在相关的地方,用UTF8PostMethod替换原来的PostMethod类