Weblogic创建channel

简介:

如果创建域的开始阶段没有为AdminServer指定绑定地址,那么weblogic遍历所在主机的所有IP地址。每一个IP地址创建一个ServerSocket,也就是我们在界面上看到channel,比如以下输出:

<2012-8-13 下午06时32分39秒 CST> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channe
l "Default[4]"
. The address fe80:0:0:0:0:0:0:1 might be incorrect or another process is using port 7001: java.net.BindEx
ception: Cannot assign requested address: JVM_Bind.>
<2012-8-13 下午06时32分39秒 CST> <Warning> <Server> <BEA-002611> <Hostname "guojianjun", maps to multiple IP addresses:
192.168.1.62, 0:0:0:0:0:0:0:1>
<2012-8-13 下午06时32分39秒 CST> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channe
l "Default[3]".
 The address fe80:0:0:0:224:1dff:fe2a:689a might be incorrect or another process is using port 7001: java
.net.BindException: Cannot assign requested address: JVM_Bind.>
<2012-8-13 下午06时32分39秒 CST> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channe
l "Default[2]"
. The address fe80:0:0:0:0:ffff:ffff:fffd might be incorrect or another process is using port 7001: java.n
et.BindException: Cannot assign requested address: JVM_Bind.>
<2012-8-13 下午06时32分39秒 CST> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channe
l "Default[5]"
. The address 0:0:0:0:0:0:0:1 might be incorrect or another process is using port 7001: java.net.BindExcep
tion: Address already in use: JVM_Bind.>
<2012-8-13 下午06时32分39秒 CST> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channe
l "Default[1]"
. The address fe80:0:0:0:0:5efe:c0a8:13e might be incorrect or another process is using port 7001: java.ne
t.BindException: Cannot assign requested address: JVM_Bind.>
<2012-8-13 下午06时32分39秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[6]" is now listening on 127.0.0.1:7001
 for protocols iiop, t3, ldap, snmp, http.>
<2012-8-13 下午06时32分39秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.1.62:7001
 for protocols iiop, t3, ldap, snmp, http.>
<2012-8-13 下午06时32分39秒 CST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for
 domain "base_domain" running in Development Mode>

从上面的输出可以看到,总共有7个channel,有的绑定成功,有的失败:

1. fe80:0:0:0:0:0:0:1 :                    Default[4]

2. fe80:0:0:0:224:1dff:fe2a:689a  Default[3]

3. fe80:0:0:0:0:ffff:ffff:fffd            Default[2]

4. fe80:0:0:0:0:5efe:c0a8:13e        Default[1]

5. 192.168.1.62                            Default/Default[0]

6. 127.0.0.1                                  Default[6]

7. 0:0:0:0:0:0:0:1                           Default[5]

我们罗列一下机器的IP地址:

public static void main(String[] args) throws IOException {
        Enumeration<NetworkInterface> eni = NetworkInterface.getNetworkInterfaces();
        while(eni.hasMoreElements()){
            NetworkInterface ni = eni.nextElement();
            Enumeration<InetAddress> eIa = ni.getInetAddresses();
            while(eIa.hasMoreElements()){
                System.out.println(eIa.nextElement().getHostName());
            }
        } 
    }

127.0.0.1
guojianjun
fe80:0:0:0:0:0:0:1%1
guojianjun
fe80:0:0:0:224:1dff:fe2a:689a%4
fe80:0:0:0:0:ffff:ffff:fffd%5
fe80:0:0:0:0:5efe:c0a8:13e%2


本文转自 anranran 51CTO博客,原文链接:http://blog.51cto.com/guojuanjun/962579


相关文章
|
1月前
|
Java 应用服务中间件 Linux
centos7安装weblogic
centos7安装weblogic
|
负载均衡 Java 应用服务中间件
Weblogic的了解、安装及其使用(三)
Weblogic的了解、安装及其使用
1205 0
|
Oracle Java 关系型数据库
Weblogic的了解、安装及其使用(二)
Weblogic的了解、安装及其使用
874 0
|
开发框架 Kubernetes 监控
Weblogic的了解、安装及其使用(一)
Weblogic的了解、安装及其使用
1943 0
|
安全 Oracle Java
Oracle Weblogic--CentOS Linux 8.5.2安装weblogic11G
Weblogic在centos上详细安装步骤及安装过程中可能遇到的问题
313 0
Oracle Weblogic--CentOS Linux 8.5.2安装weblogic11G
|
Oracle 关系型数据库 Java
EOS Platform 7.2下安装weblogic插件
在实际工作中,需要用到EOS Platform,这是一个基于Eclipse的开发工具,自带了Tomcat,可以满足大部分需要,但是有时候需要使用Weblogic,这就得手动安装Weblogic插件了。这个过程与Eclipse相同(Eclipse下安装weblogic插件),本文中在EOS Platform 7.2中安装Weblogic插件。
184 0
EOS Platform 7.2下安装weblogic插件
|
Oracle 关系型数据库 Java
Eclipse下安装weblogic插件
安装好weblogic dev版本(Windows下安装weblogic dev版本),可以在Eclipse中安装weblogic server tools插件,直接连接到weblogic server,发布、部署、调试都变得简单些。
667 0
Eclipse下安装weblogic插件
|
Oracle 关系型数据库 Java
Windows下安装weblogic dev版本
在开发过程中,有一种情况是比较尴尬的:需要用到某个软件,但是只需要用到这个软件中的一小部分功能,这样既浪费的磁盘空间,又浪费了CPU空间。比如Weblogic,完整版包括很多功能,但是开发过程中,只是需要创建数据源、部署项目,然后进行测试即可。所以开发过程中,需要一款简化的Weblogic(Weblogic开发版)是挺有必要的(如果电脑配置比较壕,也可以任性的使用完整版)。
318 0
Windows下安装weblogic dev版本
|
XML SQL 开发框架
Weblogic安装与配置详解
Weblogic安装与配置用Eclipse MyEclipse WebLogic8.1开发第一个Web程序1.安装jreEclipse虽然由java开发,但本身并不自带jre。所以你必须先自己安装,去http://java.sun.com/downloads下载最新J2SE1.4.2_03的jre安装文件j2re-1_4_2_03-windows-i586-p.exe。安装成功后,重启机器,并将jre的bin文件夹路径添加到系统环境变量PATH中,如:C:\Program Files\Java\j2re1.4.2_03\bin。
431 0
|
Java Linux 应用服务中间件
Linux安装weblogic服务
Linux安装weblogic服务 一、环境准备: Linux系统 jdk-7u75-linux-x64.tar.gz(http://pan.baidu.com/s/1kTh5Vx1) wls1212_dev.zip(http://pan.baidu.com/s/1nttDkq1) 二、安装步骤: 1、首先创建weblogic用户、用户组并设置主目录 [root@localhost ~]# useradd -d /weblogic weblogic [root@localhost ~]# passwd weblogic 更改用户 weblogic 的密码。
2814 0