您的位置:首页 > 其它

Weblogic 端口被占用问题

2014-02-17 10:41 190 查看
今天本机启动weblogic服务器的时候,启动不起来,看日志报错,但是查看端口确显示端口并没有被占用

<Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "Default". The address 192.168.0.194 might be incorrect or another process is using port 7001: java.net.BindException: Cannot assign requested
address: JVM_Bind.> 

<2014-2-17 上午10时41分10秒 CST> <Emergency> <Security> <BEA-090087> <Server failed to bind to the configured Admin port. The port may already be used by another process.> 

<2014-2-17 上午10时41分10秒 CST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: Server failed to bind to any usable port. See preceeding log message for details.> 

解决办法:在domain下面有一个edit.lok文件,删除之后再启动,就好了。这种可能是weblogic没有正常关闭造成的。

还有一种情况是本机的ip地址变了,注意这句话,可能是ip不正确

The address 127.0.0.1 might be incorrect or another process is using port 7001: 

查看weblogic的配置文件

weblogic 的config文件,修改这一段:
<listen-address>localhost.localdomain</listen-address>
将localhost.localdomain改成本机上的IP地址,修改后启动weblogic正确。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息