WebLogic 9.2远程NodeManager配置
来源:互联网 发布:firefox ubuntu 编辑:程序博客网 时间:2024/05/17 22:44
我参加过WebLogic Server 8.1管理的培训,但是ArcGIS Server 9.2需要新的J2EE 1.4也就是WebLogic 9.2才行,另外访问量很大,为了容错,也为了试验Cluster,所以我需要配置NodeManager来管理多个Machine。但是遇到很大的困难,错误消息非常怪异:
<I/O error while reading domain directory: java.io.FileNotFoundException: Domain directory 'C:\bea\weblogic\common\nodemanager' invalid (domain salt file not found)>
java.io.FileNotFoundException: Domain directory 'C:\bea\weblogic\common\nodemanager' invalid (domain salt file not found)
FileNotFoundException,怎么会找不到文件呢?我记得WLS 8.1下配置是非常简单的,看来9.2开始发生了很大变化。在Google上找了找,还真有不少人遇到和我一样的问题,最后找到一篇真正有价值的文章:
problems in manage remote machine
简单地说需要先把NodeManager注册到AdminServer上,然后AdminServer才能管理远程的NodeManager。具体步骤如下:
-Go to weblogic92\server\bin
-Run the Command:
D:\bea92\weblogic92\server\bin>setwlsenv
-Start WLST at the remote Machine to run nmEnroll command
D:\bea92\weblogic92\server\bin>java weblogic.WLST
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
-wls:/offline> connect()
Note:Give the user name and password for the Admin server which located on Machine A:
Please enter your username [weblogic] :weblogic
Please enter your password [weblogic] :
Please enter your server URL [t3://localhost:7001] :t3://10.128.23.111:7001
Connecting to t3://10.128.23.111:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'Nodemanager_domain'.
Warning: An insecure protocol was used to connect to the server. To ensure on-the-wire security, the SSL port or Admin port should be used instead.
-Run The nmEnroll Command:
wls:/Nodemanager_domain/serverConfig> nmEnroll(r'C:\bea9.2\weblogic92\common\nodemanager')
Enrolling this machine with the domain directory at C:\bea9.2\weblogic92\common\
nodemanager ...
Successfully enrolled this machine with the domain directory at C:\bea9.2\weblogic92\common\nodemanager.
wls:/Nodemanager_domain/serverConfig>
-Done. Now start the Nodemanager .
Steps that needs to be followed at Machine A
-Start the weblogic server
-Open the Weblogic Console http://localhost:7001/console
-Create a Machine in the console
(Environments\Mahine)
-Click on Node manager
-Listen Addresss : Give the IP address of remote machine
-Save and click on Monitoring.
-It will show status :Reachable.
-Create a managed server, give the Listen address of the Remote Machine.
-Save and restart the Admin server.
-Click on Managed server once the Admin server is up.
-Click on Control-> Start the managed server.
简单地说是如下如下两步,用weblogic.WLST的connect()命令连接到AdminServer,然后用nmEnroll(r'...\nodemanager')将NodeManager注册到AdminServer,将在NodeManager目录下建立两个目录,这样就有了连接AdminServer的配置信息。
<I/O error while reading domain directory: java.io.FileNotFoundException: Domain directory 'C:\bea\weblogic\common\nodemanager' invalid (domain salt file not found)>
java.io.FileNotFoundException: Domain directory 'C:\bea\weblogic\common\nodemanager' invalid (domain salt file not found)
FileNotFoundException,怎么会找不到文件呢?我记得WLS 8.1下配置是非常简单的,看来9.2开始发生了很大变化。在Google上找了找,还真有不少人遇到和我一样的问题,最后找到一篇真正有价值的文章:
problems in manage remote machine
简单地说需要先把NodeManager注册到AdminServer上,然后AdminServer才能管理远程的NodeManager。具体步骤如下:
-Go to weblogic92\server\bin
-Run the Command:
D:\bea92\weblogic92\server\bin>setwlsenv
-Start WLST at the remote Machine to run nmEnroll command
D:\bea92\weblogic92\server\bin>java weblogic.WLST
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
-wls:/offline> connect()
Note:Give the user name and password for the Admin server which located on Machine A:
Please enter your username [weblogic] :weblogic
Please enter your password [weblogic] :
Please enter your server URL [t3://localhost:7001] :t3://10.128.23.111:7001
Connecting to t3://10.128.23.111:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'Nodemanager_domain'.
Warning: An insecure protocol was used to connect to the server. To ensure on-the-wire security, the SSL port or Admin port should be used instead.
-Run The nmEnroll Command:
wls:/Nodemanager_domain/serverConfig> nmEnroll(r'C:\bea9.2\weblogic92\common\nodemanager')
Enrolling this machine with the domain directory at C:\bea9.2\weblogic92\common\
nodemanager ...
Successfully enrolled this machine with the domain directory at C:\bea9.2\weblogic92\common\nodemanager.
wls:/Nodemanager_domain/serverConfig>
-Done. Now start the Nodemanager .
Steps that needs to be followed at Machine A
-Start the weblogic server
-Open the Weblogic Console http:/
-Create a Machine in the console
(Environments\Mahine)
-Click on Node manager
-Listen Addresss : Give the IP address of remote machine
-Save and click on Monitoring.
-It will show status :Reachable.
-Create a managed server, give the Listen address of the Remote Machine.
-Save and restart the Admin server.
-Click on Managed server once the Admin server is up.
-Click on Control-> Start the managed server.
简单地说是如下如下两步,用weblogic.WLST的connect()命令连接到AdminServer,然后用nmEnroll(r'...\nodemanager')将NodeManager注册到AdminServer,将在NodeManager目录下建立两个目录,这样就有了连接AdminServer的配置信息。
- WebLogic 9.2远程NodeManager配置
- 配置nodemanager启动weblogic服务器
- 关于配置Weblogic的NodeManager服务
- weblogic SSH版本的Nodemanager的配置
- WebLogic NodeManager 配置文件nodemanager.properties
- 在HP-UX平台上搭建WebLogic 9.2集群之NodeManager配置篇
- Foglight 监控 weblogic 10.3 NodeManager 的配置方法
- weblogic nodemanager管理
- Weblogic 节点管理器 nodemanager
- Weblogic远程调试配置
- weblogic突然挂掉后nodemanager起不来
- weblogic 的远程调试配置
- weblogic weblogic.nodemanager.NMConnectException 异常处理
- linux下 配置weblogic 与nodemanager到服务里,开机自启动
- weblogic配置结点管理器实现远程启动
- 【Weblogic】Weblogic远程调试
- weblogic 9.2 配置使用
- weblogic 9.2 配置使用
- Ubuntu软件安装位置
- C++头文件包含的问题
- 清空表
- 函数传参
- 同步控制中Mutex互斥器Critical Section 临界会话的区别
- WebLogic 9.2远程NodeManager配置
- java web/tomcat项目中Date类获取时间不正确的问题
- 【转】.NET xml操作小结
- 一起来进行javascript全面系统再学习(正在学习,不断更新中。。。),(1)javascript基础
- javascript中数据类型转换
- 刀片服务器
- 用C#对XML的操作
- Nodemanager启动MS的一个错误
- 交互设计需要考虑的一些事