Weblogic 端口被占用问题

来源:互联网 发布:淘宝二手链接怎么做 编辑:程序博客网 时间:2024/05/20 15:38

今天本机启动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正确

0 0
原创粉丝点击